CN103369015B - A kind of method for easily passing through web access web camera - Google Patents
A kind of method for easily passing through web access web camera Download PDFInfo
- Publication number
- CN103369015B CN103369015B CN201210102350.XA CN201210102350A CN103369015B CN 103369015 B CN103369015 B CN 103369015B CN 201210102350 A CN201210102350 A CN 201210102350A CN 103369015 B CN103369015 B CN 103369015B
- Authority
- CN
- China
- Prior art keywords
- web
- web camera
- camera
- server
- registrar
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to a kind of easily by the method for web access web camera, the website that a preset the Internet can be accessed, website provide the user the ID based on web camera or access web camera based on web camera another name;ID of the user based on web camera or call to Web server inquire about web camera http server webpage;The corresponding outer net IP ports of ID of the Web server of website web camera according to the ID of web camera sends requesting query to registrar;After registrar receives the request of Web server, corresponding for the ID of web camera outer net IP ports are sent to Web server;On the webpage of the http server that Web server turns to the web camera with this outer net IP ports.User directly inputs the ID or another name of web camera by website, to Web server inquire about web camera http server webpage, with easy to use, access quick the characteristics of.
Description
Technical field
The present invention relates to net application technology field, more particularly, it relates to one kind is easily taken the photograph by web access network
The method of camera.
Background technology
Web camera is a kind of combination traditional cameras and the video camera of new generation produced by network technology, except possessing
Outside the general all of image capture function of traditional cameras, also built-in digitalization compressed controller and the behaviour based on Web in machine
Make system.User can carry out video by browser in LAN or wide area network and watch.
At present, the wide-area network access of traditional web camera is all to need to sign in web camera webpage in LAN
On do the configuration of series of complex.General step is as follows:The first step, arranges web port and video port of web camera etc.;
Second step, enters the router of web camera connection, the outer net IP ports of mapping network video camera;3rd step, applies for domain name,
For router, DDNS domain names are set;4th step, accesses web camera by domain name or mapping outer net IP ports.In configuration
Very numerous and diverse with the steps such as application domain name, therefore unprofessional user often configures unsuccessful and cannot access the net on wide area network
Network video camera.
Content of the invention
The technical problem to be solved in the present invention is that the above-mentioned access web camera for prior art need to carry out complexity
Configuration defect, there is provided a kind of easily by the method for web access web camera.
The technical solution adopted for the present invention to solve the technical problems is:Construction is a kind of easily to pass through web access network
The method of video camera, comprises the following steps:
A. the website that a preset the Internet can be accessed, the website provide the user the ID based on web camera or
Web camera is accessed based on web camera another name;
B., in the terminating machine of user, user accesses network shooting by the Internet Website login to Web server request
The webpage of the http server of machine;If user inquires about web camera using the ID based on web camera to Web server
Http server webpage, then execution step d;If user using based on web camera call to Web server inquire about
The webpage of the http server of web camera, then execute c;
C. corresponding web camera called by web camera described in the Web server to data base querying of the website
ID;
D. the Web server of website net according to the ID of web camera sends requesting query to registrar
The corresponding outer net IP ports of ID of network video camera;
E. after registrar receives the request of Web server, then by corresponding for the ID of web camera outer net IP
Port is sent to Web server with HTTP and soap protocol;
After f.Web servers receive the outer net IP ports of the web camera, the net is turned to this outer net IP ports
On the webpage of the http server of network video camera;
G. the http server of web camera returns the webpage of web camera http server to Web server;
H.Web servers return the webpage of the http server of the web camera to website.
In the method for easily passing through web access web camera of the present invention, also include before step b following
Step:
I. web camera reports log-on message to registrar;The log-on message include web camera ID and
Outer net IP ports.
In the method for easily passing through web access web camera of the present invention, step i is further wrapped
Include:The web camera is built-in with Registering modules, and the web camera is upper with the registrar by router
Report log-on message process is as follows:
I1. web camera by Registering modules to router by the Intranet IP port of the http server of web camera
IP port mappings are done, the outer net IP ports after being mapped;
I2, router by mapping after outer net IP ports preserve in the routing table, and to after web camera return mapping
Outer net IP ports;
I3. outer net IP port of the Registering modules of web camera after mapping sends to registrar and submits a report asking for
Ask, the log-on message for reporting request to include the web camera;
I4. registrar receive web camera report request after, the log-on message of web camera is formed
One record, is stored in the Map tables inside registrar, and returns the response that succeeds in registration to web camera.
Of the present invention easily by the method for web access web camera in, the web camera according to
Predetermined period is reported to repeat step i1-i4.
In the method for easily passing through web access web camera of the present invention, also include the network shooting
Machine reports de-registration information request to the registrar, and process is as follows:
I5., when web camera prepares shutdown, the web camera sends de-registration request to registrar, the note
Pin request includes the corresponding ID of the web camera;
After i6, registrar receive the de-registration request that the web camera sends, then by the web camera
The corresponding record deletions in Map table storage insides of ID.
In the method for easily passing through web access web camera of the present invention, further comprising the steps of:
I7, registrar detect the registration letter of the web camera stored in Map tables according to detection predetermined period timing
Breath, if finding, the log-on message record of web camera does not change, and judges that the web camera is not online, and from Map
By the log-on message record deletion of the web camera in table.
In the method for easily passing through web access web camera of the present invention, the web camera passes through
HTTP and soap protocol send to registrar and report request.
In the method for easily passing through web access web camera of the present invention, also include before step b following
Step:
J., in the terminating machine of user, user sends web camera another name by the Web server of website to data base
Binding.
In the method for easily passing through web access web camera of the present invention, step j is further wrapped
Include:
J1. user sends the ID binding another name requests of web camera by the Web server of website to data base;
J2. after data base receives binding another name request, then arrive first in data base and check whether the existing another name;If existing
Then prompting user alias are existing;Otherwise execution step d3;
J3. the record of the web camera ID of database auditing bind request whether there is;If not existing, will another name with
Web camera ID binds;Otherwise execution step d4;
J4. in modification data base, the another name of web camera ID is the another name in bind request, and passes through Web server
Notify website web camera ID and another name binding success.
Implement easily by the method for web access web camera, having the advantages that for the present invention:User
Can directly by the ID or another name of input web camera on website, to the HTTP that web camera inquired about by Web server
The webpage of server, does the work such as any setting or application domain name mapping without the need for user to web camera.Web camera
According to reporting predetermined period log-on message to be reported to registrar, can ensure which under dynamic IP allocation remains to be accessed.
Description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the method flow diagram that the present invention easily passes through web access web camera;
Fig. 2 is web camera and registrar in the method for easily passing through web access web camera of the invention
Data interaction flow chart;
Fig. 3 is the data of Web server and data base in the method for easily passing through web access web camera of the invention
Interaction diagrams.
Specific embodiment
In order that the purpose of the present invention becomes more apparent, below in conjunction with drawings and Examples, enter traveling one to the present invention
Step is described in detail.It should be appreciated that specific embodiment described herein is not used to limit this only in order to explain the present invention
Bright.
As Figure 1-3, a kind of method for easily passing through web access web camera of the invention, comprising following step
Suddenly:
A. the website that a preset the Internet can be accessed, website provide the user the ID based on web camera or are based on
Web camera another name accesses web camera;
B., in the terminating machine of user, user accesses network shooting by the Internet Website login to Web server request
The webpage of the http server of machine;If user inquires about web camera using the ID based on web camera to Web server
Access webpage, then execution step d;If user using based on web camera call to Web server inquire about network shooting
The webpage of the http server of machine, then execute c;
C. the ID of corresponding web camera called by the Web server of website to data base querying web camera;
D. the Web server of website sends requesting query web camera according to the ID of web camera to registrar
The corresponding outer net IP ports of ID;
E. after registrar receives the request of Web server, then by corresponding for the ID of web camera outer net IP ports
Web server is sent to HTTP and soap protocol;
After f.Web servers receive the outer net IP ports of web camera, the network is turned to this outer net IP ports and is taken the photograph
On the webpage of the http server of camera;
G. the http server of web camera returns the webpage of the http server of web camera to Web server
Data;
H.Web servers return the data of web camera webpage to website.
Further, the step also includes that web camera carries out data interaction with registrar, to registrar
Report log-on message and report de-registration information request, the web camera is built-in with Registering modules.The web camera with
Registrar carries out the flow chart of data interaction as shown in Fig. 2 comprising the following steps:
I1. web camera does IP port mappings by Registering modules to router, by the HTTP service of web camera
IP port mappings are done in the Intranet IP port of device, the outer net IP ports after being mapped;
I2, router by mapping after outer net IP ports preserve in the routing table, and to after web camera return mapping
Outer net IP ports;
I3. outer net IP port of the Registering modules of web camera after mapping sends to registrar and submits a report asking for
Ask, this reports request to include the log-on message of web camera;The log-on message includes the ID of web camera and outer net IP ends
Mouthful;
I4. registrar receive web camera report request after, the log-on message of web camera is formed
One record, is stored in the Map tables inside registrar, and returns the response that succeeds in registration to web camera;
I5. when web camera prepares shutdown, the web camera sends de-registration request to registrar, and nullifying please
Seek ID corresponding including web camera;
I6. after registrar receives the de-registration request of web camera transmission, then the ID of web camera is corresponding
Record deletion in Map table storage insides;
I7, registrar detect the registration letter of the web camera stored in Map tables according to detection predetermined period timing
Breath, if finding, the log-on message record of web camera does not change, and judges that the web camera is not online, and from Map
By the log-on message record deletion of the web camera in table.
Web camera is sent to registrar by HTTP and soap protocol and reports request, and web camera is according to upper
Report predetermined period repeats step i1-i4.
Further, the step also includes that the data interaction of Web server and data base, Web server are held to data base
Row binding another name, in the terminating machine of user, user sends web camera another name by the Web server of website to data base
Binding, concrete as shown in figure 3, comprising the following steps:
J1. user sends the ID binding another name requests of web camera by the Web server of website to data base;
J2. after data base receives binding another name request, then arrive first in data base and check whether the existing another name;If existing
Then prompting user alias are existing;Otherwise execution step j3;
J3. the record of the web camera ID of database auditing bind request whether there is;If not existing, will another name with
Web camera ID binds;Otherwise execution step j4;
J4. in modification data base, the another name of web camera ID is the another name in bind request, and passes through Web server
Notify website web camera ID and another name binding success.
The present invention also provides a kind of system for easily passing through web access web camera, including:Web camera, note
Volume server, Web site, data base, router.
The built-in Registering modules of web camera, after web camera start, Registering modules can automatically in got continuously router
On do IP port mappings, IP port mappings are done in the Intranet IP port of the http server of web camera, after being mapped
Outer net IP ports;And by mapping after outer net IP ports, also corresponding photographic head ID is reported on registrar.Network is taken the photograph
Camera start after, Registering modules according to reporting Preset Time to report again once to registrar, to keep web camera
ID and registrar on outer net IP port informations concordance.This reports the Preset Time time set according to actual needs
Put, for example, can be 5 minutes.Log-on message is reported using Registering modules to registrar, replace traditional user to set by hand
Put IP ports and the function of domain name mapping of web camera.
Registrar, is responsible for ID that web camera is reported and outer net IP port informations carry out registration preservation, and to
WEB websites provide the outer net IP interface queryings of web camera.When registrar receives de-registration request, by web camera
ID the corresponding record deletion in Map table storage insides.Registrar is detected in Map tables according to detection predetermined period timing
The log-on message of the web camera of storage, if finding, the log-on message record of web camera does not change, and judging should
Web camera is not online, and by the log-on message record deletion of the web camera from Map tables.The detection Preset Time can
Arrange according to actual needs, for example, can be 10 minutes.Can achieve to replace legacy network video camera completely using the registrar
Domain name application and registration server or dynamic IP is needed to access the numerous and diverse problem that brings.
Data base, the ID and another name for website web camera provide bindings.Ensure that each web camera
ID and web camera another name relation uniqueness.User there is no concern that web camera another name has the problem of repetition.
Web site, provides web camera another name binding by Web server.Add to data base or repair in WEB websites
Change the unique relationships of the another name of the ID and web camera of web camera, there is provided web camera ID is accessed and web camera
Another name accesses web camera.User can pass through the network that web camera ID or web camera another name access wide area network
Video camera, is input into the mode of IP address and port so as to replace tradition to access needs in IE browser address, allows user with network
The mode simply easy to remember such as video camera ID and web camera another name is accessing web camera.
Presently preferred embodiments of the present invention is the foregoing is only, not in order to limit the present invention, all in essence of the invention
Any modification, equivalent and improvement that is made within god and principle etc., should be included within the scope of the present invention.
Claims (7)
1. a kind of easily by the method for web access web camera, it is characterised in that to comprise the following steps:
A. the website that a preset the Internet can be accessed, the website provide the user the ID based on web camera or are based on
Web camera another name accesses web camera;
B., in the terminating machine of user, user asks to access web camera to Web server by the Internet Website login
The webpage of http server;If user inquires about web camera using the ID based on web camera to Web server
The webpage of http server, then execution step d;If user using based on web camera call to Web server inquire about net
The webpage of the http server of network video camera, then execute c;
C. the ID of corresponding web camera called by web camera described in the Web server to data base querying of the website;
D. the Web server of website network according to the ID of web camera sends requesting query to registrar is taken the photograph
The corresponding outer net IP ports of ID of camera;
E. after registrar receives the request of Web server, then by corresponding for the ID of web camera outer net IP ports
Web server is sent to HTTP and soap protocol;
After f.Web servers receive the outer net IP ports of the web camera, the network is turned to this outer net IP ports and is taken the photograph
On the webpage of the http server of camera;
G. the http server of web camera returns the webpage of the http server of web camera to Web server;
H.Web servers return the data of the webpage of the web camera http server to website;
Further comprising the steps of before step b:
I. web camera reports log-on message to registrar;The log-on message includes the ID and outer net of web camera
IP ports;
Step i is further included:The web camera is built-in with Registering modules, and the web camera passes through router
Report log-on message process as follows to the registrar:
I1. web camera does IP port mappings by Registering modules to router, by the http server of web camera
IP port mappings are done in Intranet IP port, the outer net IP ports after being mapped;
I2. the outer net IP ports after router is by mapping preserve in the routing table, and to outside after web camera return mapping
Net IP ports;
I3. outer net IP port of the Registering modules of web camera after mapping sends to registrar and reports request, institute
State the log-on message for reporting request to include the web camera;
I4. registrar receive web camera report request after, the log-on message of web camera is formed one
Record, is stored in the Map tables inside registrar, and returns the response that succeeds in registration to web camera.
2. according to claim 1 easily by the method for web access web camera, it is characterised in that the net
Network video camera repeats step i1-i4 according to reporting predetermined period.
3. according to claim 2 easily by the method for web access web camera, it is characterised in that also to include
The web camera reports de-registration information request to the registrar, and process is as follows:
I5. when web camera prepares shutdown, the web camera sends de-registration request to registrar, and the cancellation please
Seek ID corresponding including the web camera;
I6. after registrar receives the de-registration request that the web camera sends, then by the ID of the web camera
The corresponding record deletion in Map table storage insides.
4. according to claim 3 easily by the method for web access web camera, it is characterised in that also to include
Following steps:
I7. registrar detects the log-on message of the web camera stored in Map tables according to detection predetermined period timing, if
It was found that the log-on message record of web camera does not change, then judge that the web camera is not online, and will from Map tables
The log-on message record deletion of the web camera.
5. according to claim 4 easily by the method for web access web camera, it is characterised in that the net
Network video camera is sent to registrar by HTTP and soap protocol and reports request.
6. according to claim 1 easily by the method for web access web camera, it is characterised in that step b it
Front further comprising the steps of:
J., in the terminating machine of user, user sends web camera another name binding by the Web server of website to data base.
7. according to claim 6 easily by the method for web access web camera, it is characterised in that the step
Rapid j is further included:
J1. user sends the ID binding another name requests of web camera by the Web server of website to data base;
J2. after data base receives binding another name request, then arrive first in data base and check whether the existing another name;Carry if existing
Show that user alias are existing;Otherwise execution step j3;
J3. the record of the web camera ID of database auditing bind request whether there is;If not existing, will another name and network
Video camera ID binds;Otherwise execution step j4;
J4. in modification data base, the another name of web camera ID is the another name in bind request, and is notified by Web server
Website web camera ID and another name binding success.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210102350.XA CN103369015B (en) | 2012-04-10 | 2012-04-10 | A kind of method for easily passing through web access web camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210102350.XA CN103369015B (en) | 2012-04-10 | 2012-04-10 | A kind of method for easily passing through web access web camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103369015A CN103369015A (en) | 2013-10-23 |
CN103369015B true CN103369015B (en) | 2017-03-15 |
Family
ID=49369546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210102350.XA Active CN103369015B (en) | 2012-04-10 | 2012-04-10 | A kind of method for easily passing through web access web camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103369015B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104253849A (en) * | 2013-12-20 | 2014-12-31 | 上海通富立信息科技有限公司 | Method and system for remotely accessing web camera |
CN104811817B (en) * | 2015-04-30 | 2018-04-13 | 北京奇艺世纪科技有限公司 | The method and device of video is played using videoconference client software |
CN105872453A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Web camera monitoring method and system as well as server |
CN106209816B (en) * | 2016-07-01 | 2019-10-18 | 浙江宇视科技有限公司 | A kind of web camera login method and system |
KR102596485B1 (en) * | 2016-12-15 | 2023-11-01 | 한화비전 주식회사 | Apparatus and method for registering camera |
CN108111636B (en) * | 2017-12-11 | 2021-12-24 | 日立楼宇技术(广州)有限公司 | IP address setting method, device and system for mining network camera |
CN113766186B (en) * | 2021-08-25 | 2023-05-23 | 浙江大华技术股份有限公司 | Method, device, system and electronic device for skipping configuration interface of network camera |
CN114286054B (en) * | 2021-12-27 | 2023-10-27 | 苏州万店掌网络科技有限公司 | Remote debugging method, system, equipment and storage medium for network camera |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282450A (en) * | 2007-04-02 | 2008-10-08 | 厦门瑞科技术有限公司 | Method capable of immediate access and management of network camera |
CN101420464A (en) * | 2008-12-05 | 2009-04-29 | 上海复控华龙微系统技术有限公司 | Dynamic address and access implementing method used for network camera |
CN101719927A (en) * | 2009-11-18 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system thereof for carrying out remote management on gateway down-hanging device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060271695A1 (en) * | 2005-05-16 | 2006-11-30 | Electronics Line 3000 Ltd. | System for remote secured operation, monitoring and control of security and other types of events |
-
2012
- 2012-04-10 CN CN201210102350.XA patent/CN103369015B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282450A (en) * | 2007-04-02 | 2008-10-08 | 厦门瑞科技术有限公司 | Method capable of immediate access and management of network camera |
CN101420464A (en) * | 2008-12-05 | 2009-04-29 | 上海复控华龙微系统技术有限公司 | Dynamic address and access implementing method used for network camera |
CN101719927A (en) * | 2009-11-18 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system thereof for carrying out remote management on gateway down-hanging device |
Also Published As
Publication number | Publication date |
---|---|
CN103369015A (en) | 2013-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103369015B (en) | A kind of method for easily passing through web access web camera | |
Kamilaris et al. | Exploring the Use of DNS as a Search Engine for the Web of Things | |
CN103905497B (en) | Realize the method, apparatus and application platform of third-party application business website log | |
CN104247362B (en) | For providing method, equipment and network entity that IP is served by | |
CN105530324B (en) | The method and system of process resource request | |
CN106790530A (en) | The tracking of domain name service and polymerization | |
CN103716398B (en) | The monitoring method and monitoring system of CDN server | |
CN102624914B (en) | Method for detecting local DNS (Domain Name Server) used by client side in Web form | |
CN105516171B (en) | Portal keep-alive system and method, Verification System and method based on authentication service cluster | |
CN107222492A (en) | A kind of DNS anti-attack methods, equipment and system | |
CN102196060A (en) | Method and system for selecting source station by Cache server | |
CN101499996B (en) | Domain name differentiate parsing method and domain name server | |
CN105592046B (en) | A kind of authentication-exempt access method and device | |
CN109327559B (en) | Domain name resolution method and device based on hybrid cloud platform | |
CN106161667A (en) | A kind of domain name analytic method and device | |
CN109067936A (en) | A kind of method and device of domain name mapping | |
CN107979659A (en) | Convenient access method, system, electronic equipment and storage medium based on domain name | |
CN110430188A (en) | A kind of quick url filtering method and device | |
CN108848205A (en) | A kind of CNAME domain name analytic method for distinguishing IPv4, IPv6 | |
CN106603556B (en) | Single-point logging method, apparatus and system | |
CN104301415A (en) | Global load balancing method based on HTTP redirection | |
CN110266661A (en) | A kind of authorization method, device and equipment | |
CN101924799A (en) | Method and system for querying information of domain name | |
US20160197877A1 (en) | Method and device for providing dns service | |
CN101877718A (en) | SIP-based integrated interconnection management system of internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |