CN106303419A - A kind of video frequency monitoring method towards wired home - Google Patents
A kind of video frequency monitoring method towards wired home Download PDFInfo
- Publication number
- CN106303419A CN106303419A CN201610666377.XA CN201610666377A CN106303419A CN 106303419 A CN106303419 A CN 106303419A CN 201610666377 A CN201610666377 A CN 201610666377A CN 106303419 A CN106303419 A CN 106303419A
- Authority
- CN
- China
- Prior art keywords
- collection terminal
- server
- opensips
- monitoring client
- video
- 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
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/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- 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/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of video frequency monitoring method towards wired home, monitoring client, collection terminal, ID management server and OPENSIPS server need to be provided, described monitoring client and collection terminal are all by the ID management unique ID of server application and password, registering to OPENSIPS server according to described ID and password;Collection terminal by scanning Quick Response Code according to No. ID generation Quick Response Code of self, monitoring client, is added to and selects for monitoring client in collection terminal list by collection terminal;Monitoring client initiates to access calling to OPENSIPS server, described access calls the ID carrying the collection terminal specified, OPENSIPS server sends access request to corresponding collection terminal, and collection terminal gathers video and returns to OPENSIPS server, and video is transmitted to monitoring client by OPENSIPS server;MESSAGE message is transmitted to collection terminal by OPENSIPS server by monitoring client, and described collection terminal performs MESSAGE message.The present invention realizes remotely operating, and can substitute photographic head by using idle smart mobile phone, it is achieved functional diversities, reduces cost.
Description
Technical field
The present invention relates to Smart Home technical field, particularly relate to a kind of video frequency monitoring method towards wired home.
Background technology
The video monitoring of existing wired home is at indoor location photographic head and in indoor, realization regards by central control system
Frequency obtains, on the one hand, user needs to operate on indoor equipment, obtains video, and region limitation is big, it is impossible to remotely grasp
Making, Consumer's Experience is the best.On the other hand, the acquisition of video often uses the photographic head of specialty to realize, and the most multiple positions are entered
Row is installed, then equipment cost puts into bigger.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of video frequency monitoring method towards wired home, it is achieved remote
Journey operates, and can substitute photographic head, functional diversities by using idle smart mobile phone, reduces cost.
The present invention is achieved in that a kind of video frequency monitoring method towards wired home, need to provide monitoring client, collection
End, ID management server and OPENSIPS server, described method comprises the steps:
Step 10, described monitoring client and collection terminal are before first use, all unique by managing server application to ID
ID and password, register to OPENSIPS server according to described ID and password;
After the registration is finished, according to No. ID generation Quick Response Code of self, described monitoring client is by scanning for step 20, collection terminal
Described Quick Response Code, adds to described collection terminal and selects for monitoring client in collection terminal list;
Step 30, monitoring client initiate to access calling to OPENSIPS server, and the collection specified is carried in described access calling
The ID of end, described OPENSIPS server sends access request according to the ID of described collection terminal to corresponding collection terminal, described in adopt
Collection end gathers video after receiving access request and returns to OPENSIPS server, described OPENSIPS server forwarded by video
To monitoring client;
MESSAGE message is transmitted to collection terminal, described collection terminal root by OPENSIPS server by step 40, monitoring client
Corresponding operating is performed according to described MESSAGE message.
Further, described monitoring client, collection terminal, ID management server and OPENSIPS server are by wireless network phase
Connect.
Further, described monitoring client is smart mobile phone, panel computer or PC.
Further, described collection terminal is photographic head.
Further, described ID management server and OPENSIPS server disposition are beyond the clouds.
Further, described collection terminal is the smart mobile phone of band photographic head.
Further, described step 10 farther includes:
Step 11, described monitoring client or collection terminal, when ID manages server application account, are carried certainly by HTTP POST
The mac address of body is sent to ID and manages server;
Step 12, described ID management is after server receives mac address, is described monitoring client according to described mac address or adopts
Collection end generates unique ID and password, adds described ID and password by OPENSIPSctl order to OPENSIPS server;
Step 13, ID management server returns 200OK, and carries described ID, password and OPENSIPS server address
Give corresponding described monitoring client or collection terminal;
After step 14, described monitoring client or collection terminal receive the ID of ID management server-assignment, to OPENSIPS server
Initiate logon message;
Step 15, logon message Register is authenticated, returns 401, invite corresponding monitoring client or collection terminal to enter
Row certification;
Step 16, described monitoring client or collection terminal carry authentication field and re-register;
Step 17, OPENSIPS server carry out legitimate authentication, preserve described monitoring client or collection terminal information, return
200OK, described information includes ID and the IP address of monitoring client or collection terminal.
Further, described step 30 farther includes:
Step 31, monitoring client initiate to access calling to OPENSIPS server, and described access in calling field carries finger
Fixed collection terminal ID;
After step 32, OPENSIPS server receive access calling, resolve described access and call, find the collection terminal specified
IP address;
Step 33, OPENSIPS server send access request to described collection terminal;
After step 34, described collection terminal receive access request, automatic-answering back device, respond 200OK, carry SDP, and start to gather
Video, is sent to OPENSIPS server by RTP after being encoded by video;
After step 35, OPENSIPS server receive collection terminal 200OK, send 200OK to corresponding monitoring client, carry
SDP, comprises audio frequency and video address and audio/video coding;
After step 36, monitoring client receive 200OK, start audio video transmission.
Further, the instruction that the MESSAGE message in described step 40 is carried includes: focusing correspondence instruction, preposition after
Put photographic head switching command or open flash of light instruction.
Present invention have the advantage that the present invention is realized monitoring client arrived by ID management server and OPENSIPS server
The SIP calling of collection terminal and real-time video call, and realize the control of the video effect to collection terminal, provide the user facility, carry
Rise Consumer's Experience;And the present invention can use the idle smart mobile phone with photographic head to substitute specialty photographic head, add flash of light
Outside the functions such as lamp, reduce equipment cost simultaneously.
Accompanying drawing explanation
The present invention is further illustrated the most in conjunction with the embodiments.
Fig. 1 is that a kind of video frequency monitoring method towards wired home of the present invention performs flow chart.
Fig. 2 is the account management flow chart of a kind of video monitoring towards wired home of the present invention.
Fig. 3 is the flow chart of video preview in the inventive method.
Fig. 4 is the flow chart that in the inventive method, monitoring client controls collection terminal.
Detailed description of the invention
As shown in Figures 1 to 4, a kind of video frequency monitoring method towards wired home, monitoring client, collection terminal, ID need to be provided
Management server and OPENSIPS server, monitoring client, collection terminal, ID management server and OPENSIPS server are by wireless
Network is connected with each other, and described ID management server and OPENSIPS server disposition are beyond the clouds, and described monitoring client is intelligence hands
Machine, panel computer or PC, described collection terminal is smart mobile phone or the photographic head of band photographic head, and described method comprises the steps:
Step 10, described monitoring client and collection terminal are before first use, all unique by managing server application to ID
ID and password, register to OPENSIPS server according to described ID and password;Described step 10 farther includes step 11
~step 17:
Step 11, described monitoring client or collection terminal, when ID manages server application account, are carried certainly by HTTP POST
The mac address of body is sent to ID and manages server;
Step 12, described ID management is after server receives mac address, is described monitoring client according to described mac address or adopts
Collection end generates unique ID and password, adds described ID and password by OPENSIPSctl order to OPENSIPS server;
Step 13, ID management server returns 200OK, and carries described ID, password and OPENSIPS server address
Give corresponding described monitoring client or collection terminal;
After step 14, described monitoring client or collection terminal receive the ID of ID management server-assignment, to OPENSIPS server
Initiate logon message;
Step 15, logon message Register is authenticated, returns 401, invite corresponding monitoring client or collection terminal to enter
Row certification;
Step 16, described monitoring client or collection terminal carry authentication field and re-register;
Step 17, OPENSIPS server carry out legitimate authentication, preserve described monitoring client or collection terminal information, return
200OK, described information includes ID and the IP address of monitoring client or collection terminal.
After the registration is finished, according to No. ID generation Quick Response Code of self, described monitoring client is by scanning for step 20, collection terminal
Described Quick Response Code, adds to described collection terminal and selects for monitoring client in collection terminal list, i.e. open a certain collection terminal when needs
During video, directly choose from collection terminal list;
Step 30, monitoring client initiate to access calling to OPENSIPS server, and the collection specified is carried in described access calling
The ID of end, described OPENSIPS server sends access request according to the ID of described collection terminal to corresponding collection terminal, described in adopt
Collection end gathers video after receiving access request and returns to OPENSIPS server, described OPENSIPS server forwarded by video
To monitoring client;Described step 30 farther includes step 31~step 36:
Step 31, monitoring client initiate to access calling to OPENSIPS server, and described access in calling field carries finger
Fixed collection terminal ID;
After step 32, OPENSIPS server receive access calling, resolve described access and call, find the collection terminal specified
IP address;
Step 33, OPENSIPS server send access request to described collection terminal;
After step 34, described collection terminal receive access request, automatic-answering back device, respond 200OK, carry SDP, and start to gather
Video, is sent to OPENSIPS server by RTP after being encoded by video;
After step 35, OPENSIPS server receive collection terminal 200OK, send 200OK to corresponding monitoring client, carry
SDP, comprises audio frequency and video address and audio/video coding;
After step 36, monitoring client receive 200OK, start audio video transmission.
MESSAGE message is transmitted to collection terminal, described collection terminal root by OPENSIPS server by step 40, monitoring client
According to described MESSAGE message perform corresponding operating, the instruction that described MESSAGE message is carried includes: focusing correspondence instruction, preposition
Post-positioned pick-up head switching command or unlatching flash of light instruction.
Such as, when the Android smartphone that described collection terminal is with photographic head:
Described collection terminal gathers the process of video particularly as follows: after collection terminal receives invite access request, and automatic-answering back device is returned
Answer 200OK, carry SDP, comprise audio frequency and video address, audio/video coding;
Collection terminal by call android SDK interface " camera.open, setPreviewSize,
StartPreivew ", start to gather video, after function onPreviewFrame receives original NV21 data, call android
SDK mediacodec interface carries out video H264 coding, after Video coding completes, is regarded to OPENSIPS transmission by RTP
Frequently.
Collection terminal starts recording audio by calling android sdk interface audio record, and carries out G711 coding,
After coding, send audio frequency by RTP to OPENSIPS.
Monitoring client sends MESSAGE message to OPENSIPS, and message body BODY carries order and includes: focusing correspondence instruction "
FOCUS:ON/OFF ", pre-post photographic head switching command " CAM:0/1 ", open flash of light instruction " FLASH:0/1 ";
When MESSAGE message carries focusing instruction, call android SDK interface, by android camera
SetFocusMode focuses;When MESSAGE message carries switch flash lamp instruction, by setFlashMode, parameter
Camera.Parameters.FLASH_MODE_ON, opens flash lamp, parameter Camera.Parameters.FLASH_MODE_
OFF, closes sudden strain of a muscle and turns off the light, then call setParameters and make parameter come into force;(front-facing camera is flashless);
When MESSAGE message carries pre-post switching command, call android SDK interface, first call
StopPreview, then re invocation camera.open, parameter preposition or rearmounted after, then re invocation startPreview
Switching can be realized.
Present invention have the advantage that the present invention is realized monitoring client arrived by ID management server and OPENSIPS server
The SIP calling of collection terminal and real-time video call, and realize the control of the video effect to collection terminal, provide the user facility, carry
Rise Consumer's Experience;And the present invention can use the idle smart mobile phone with photographic head to substitute specialty photographic head, shooting can be increased
Function, including switching and the use of flash lamp of pre-post, reduces equipment cost simultaneously.
Although the foregoing describing the detailed description of the invention of the present invention, but those familiar with the art should managing
Solving, our described specific embodiment is merely exemplary rather than for the restriction to the scope of the present invention, is familiar with this
The technical staff in field, in the equivalent modification made according to the spirit of the present invention and change, should be contained the present invention's
In scope of the claimed protection.
Claims (9)
1. the video frequency monitoring method towards wired home, it is characterised in that: monitoring client, collection terminal, ID need to be provided to manage clothes
Business device and OPENSIPS server, described method comprises the steps:
Step 10, described monitoring client and collection terminal before first use, all by ID management the unique ID of server application and
Password, registers to OPENSIPS server according to described ID and password;
After the registration is finished, according to No. ID generation Quick Response Code of self, described monitoring client is described by scanning for step 20, collection terminal
Quick Response Code, adds to described collection terminal and selects for monitoring client in collection terminal list;
Step 30, monitoring client initiate to access calling to OPENSIPS server, described access calling and carry the collection terminal specified
ID, described OPENSIPS server sends access request, described collection terminal according to the ID of described collection terminal to corresponding collection terminal
Gather video after receiving access request and return to OPENSIPS server, described OPENSIPS server be transmitted to supervise by video
Control end;
MESSAGE message is transmitted to collection terminal by OPENSIPS server by step 40, monitoring client, and described collection terminal is according to institute
State MESSAGE message and perform corresponding operating.
A kind of video frequency monitoring method towards wired home the most according to claim 1, it is characterised in that: described monitoring
End, collection terminal, ID management server and OPENSIPS server are connected with each other by wireless network.
A kind of video frequency monitoring method towards wired home the most according to claim 1, it is characterised in that: described monitoring client
For smart mobile phone, panel computer or PC.
A kind of video frequency monitoring method towards wired home the most according to claim 1, it is characterised in that: described collection terminal
For photographic head.
A kind of video frequency monitoring method towards wired home the most according to claim 1, it is characterised in that: described ID manages
Server and OPENSIPS server disposition are beyond the clouds.
A kind of video frequency monitoring method towards wired home the most according to claim 1, it is characterised in that: described collection terminal
Smart mobile phone for band photographic head.
A kind of video frequency monitoring method towards wired home the most according to claim 6, it is characterised in that: described step 10
Farther include:
Step 11, described monitoring client or collection terminal, when ID manages server application account, carry self by HTTPPOST
Mac address is sent to ID and manages server;
After step 12, described ID management server receives mac address, it is described monitoring client or collection terminal according to described mac address
Generate unique ID and password, add described ID and password by OPENSIPSctl order to OPENSIPS server;
Step 13, ID management server returns 200OK, and carries described ID, password and OPENSIPS server address to right
The described monitoring client answered or collection terminal;
After step 14, described monitoring client or collection terminal receive the ID of ID management server-assignment, initiate to OPENSIPS server
Logon message;
Step 15, logon message Register is authenticated, returns 401, invite corresponding monitoring client or collection terminal to recognize
Card;
Step 16, described monitoring client or collection terminal carry authentication field and re-register;
Step 17, OPENSIPS server carry out legitimate authentication, preserve described monitoring client or collection terminal information, return 200OK,
Described information includes ID and the IP address of monitoring client or collection terminal.
A kind of video frequency monitoring method towards wired home the most according to claim 6, it is characterised in that: described step 30
Farther include:
Step 31, monitoring client initiate to access calling to OPENSIPS server, described access calling field carries specify
Collection terminal ID;
After step 32, OPENSIPS server receive access calling, resolve described access and call, find the IP of the collection terminal specified
Address;
Step 33, OPENSIPS server send access request to described collection terminal;
After step 34, described collection terminal receive access request, automatic-answering back device, respond 200OK, carry SDP, and start collection and regard
Frequently, it is sent to OPENSIPS server by RTP after being encoded by video;
After step 35, OPENSIPS server receive collection terminal 200OK, send 200OK to corresponding monitoring client, carry SDP, bag
Containing audio frequency and video address and audio/video coding;
After step 36, monitoring client receive 200OK, start audio video transmission.
A kind of video frequency monitoring method towards wired home the most according to claim 6, it is characterised in that: described step 40
In the instruction carried of MESSAGE message include: focusing correspondence instruction, pre-post photographic head switching command or open flash of light and refer to
Order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610666377.XA CN106303419A (en) | 2016-08-15 | 2016-08-15 | A kind of video frequency monitoring method towards wired home |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610666377.XA CN106303419A (en) | 2016-08-15 | 2016-08-15 | A kind of video frequency monitoring method towards wired home |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303419A true CN106303419A (en) | 2017-01-04 |
Family
ID=57670873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610666377.XA Pending CN106303419A (en) | 2016-08-15 | 2016-08-15 | A kind of video frequency monitoring method towards wired home |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303419A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107386933A (en) * | 2017-09-09 | 2017-11-24 | 卢美璇 | A kind of family expenses door mirror based on smart mobile phone |
CN110851532A (en) * | 2019-11-11 | 2020-02-28 | 浪潮云信息技术有限公司 | Intelligent cloud monitoring implementation system based on mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585309A (en) * | 2004-05-24 | 2005-02-23 | 萧学文 | Long-range monitoring system based on mobile terminal and method thereof |
CN101291429A (en) * | 2008-06-02 | 2008-10-22 | 沈海涛 | Network video monitoring method and system |
CN102186056A (en) * | 2011-03-29 | 2011-09-14 | 河北师范大学 | Mobile phone remote control intelligent video monitoring system and monitoring method thereof |
CN104270468A (en) * | 2014-10-23 | 2015-01-07 | 深圳市领耀东方科技股份有限公司 | System for controlling device for internet of things through Wechat |
CN105141897A (en) * | 2015-08-10 | 2015-12-09 | 闻泰通讯股份有限公司 | Remote video monitoring system and method |
CN105357482A (en) * | 2015-11-13 | 2016-02-24 | 浙江宇视科技有限公司 | Video monitoring system, front-end equipment and safety access equipment |
-
2016
- 2016-08-15 CN CN201610666377.XA patent/CN106303419A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585309A (en) * | 2004-05-24 | 2005-02-23 | 萧学文 | Long-range monitoring system based on mobile terminal and method thereof |
CN101291429A (en) * | 2008-06-02 | 2008-10-22 | 沈海涛 | Network video monitoring method and system |
CN102186056A (en) * | 2011-03-29 | 2011-09-14 | 河北师范大学 | Mobile phone remote control intelligent video monitoring system and monitoring method thereof |
CN104270468A (en) * | 2014-10-23 | 2015-01-07 | 深圳市领耀东方科技股份有限公司 | System for controlling device for internet of things through Wechat |
CN105141897A (en) * | 2015-08-10 | 2015-12-09 | 闻泰通讯股份有限公司 | Remote video monitoring system and method |
CN105357482A (en) * | 2015-11-13 | 2016-02-24 | 浙江宇视科技有限公司 | Video monitoring system, front-end equipment and safety access equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107386933A (en) * | 2017-09-09 | 2017-11-24 | 卢美璇 | A kind of family expenses door mirror based on smart mobile phone |
CN107386933B (en) * | 2017-09-09 | 2018-05-22 | 卢美璇 | A kind of family expenses door mirror based on smart mobile phone |
CN110851532A (en) * | 2019-11-11 | 2020-02-28 | 浪潮云信息技术有限公司 | Intelligent cloud monitoring implementation system based on mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10944629B2 (en) | Data analytics for adaptive networks | |
CN104618780B (en) | Electrical equipment control method and system | |
US10212207B2 (en) | Method and apparatus for accessing devices and services | |
CN108377410A (en) | The method, apparatus and TV of video calling are realized in TV split screen | |
US9351328B2 (en) | Method for transferring a communication session between devices | |
US8804659B2 (en) | Communication terminal, method for controlling communication terminal | |
CN106130881A (en) | A kind of account number login method and device | |
CN104135443B (en) | Router control method and device | |
US20170223186A1 (en) | Telephone user interface providing enhanced call blocking | |
CN102185728A (en) | Communication system and method with unified management platform | |
CN105898181A (en) | Video conversation system and method and related equipment | |
US9450988B2 (en) | Method and apparatus for initiating communication modes | |
EP2884750A1 (en) | Monitoring method and internet protocol television set top box | |
WO2015004250A1 (en) | Distributed programmable connection method to establish peer-to-peer multimedia interactions | |
US20180098115A1 (en) | Gatewaydevice, system and method | |
US20090175268A1 (en) | Method, device and system for communication | |
CN110365931A (en) | The control method and device of multi-party call, electronic equipment, storage medium | |
CN104836980A (en) | System and method for implementing video calls based on intelligent terminals and IP (Internet Protocol) cameras | |
US20180376171A1 (en) | Methods, systems, and devices for providing a video trailer for media content during a voice communication session | |
CN106303419A (en) | A kind of video frequency monitoring method towards wired home | |
CN103581607A (en) | Method for transmitting video stream to local endpoint host using remote camera device | |
CN105163201A (en) | Method and system for switching TV program by scanning two-dimensional code | |
CN104602108A (en) | Method and system for transferring files of mobile phone and set-top box | |
CN111882711A (en) | Door lock control method and system, storage medium and electronic device | |
US20180102049A1 (en) | Gateway device, system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170104 |