TWI513322B - Universal plug and play network monitoring system and its control method - Google Patents
Universal plug and play network monitoring system and its control method Download PDFInfo
- Publication number
- TWI513322B TWI513322B TW102137707A TW102137707A TWI513322B TW I513322 B TWI513322 B TW I513322B TW 102137707 A TW102137707 A TW 102137707A TW 102137707 A TW102137707 A TW 102137707A TW I513322 B TWI513322 B TW I513322B
- Authority
- TW
- Taiwan
- Prior art keywords
- transmission
- router
- network camera
- camera
- packet
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 26
- 238000012544 monitoring process Methods 0.000 title claims description 25
- 230000005540 biological transmission Effects 0.000 claims description 171
- 238000012795 verification Methods 0.000 claims description 28
- 238000012546 transfer Methods 0.000 claims description 10
- 239000000872 buffer Substances 0.000 claims description 9
- 230000032258 transport Effects 0.000 description 33
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Description
本發明是有關於一種監控系統及其控制方法,特別是指一種通用隨插即用網路監控系統及其控制方法。The invention relates to a monitoring system and a control method thereof, in particular to a universal plug-and-play network monitoring system and a control method thereof.
隨著網際網路蓬勃的發展,網路攝影機的應用已經是越來越為普遍。目前網路攝影機已廣泛地應用於政府機關、金融機構、醫療院所和辦公大樓等等的遠端監控中。此外,由於網路攝影機可將拍攝到的影音即時傳輸至遠端,因此也常被應用於視訊會議中。With the rapid development of the Internet, the application of network cameras has become more and more popular. At present, network cameras have been widely used in remote monitoring of government agencies, financial institutions, medical institutions, office buildings, and the like. In addition, because the network camera can instantly transmit the captured video to the far end, it is also often used in video conferencing.
於安裝網路攝影機時,往往需先將網路攝影機連接至路由器,並經過一連串繁複的網路相關設定,才能完成網路攝影機之安裝。若使用有支援通用隨插即用(Universal Plug and Play,簡稱UPnP)功能的路由器進行相關設定時,使用者需先登入網路攝影機確認其對應的公有傳輸埠(Public Port),接著於瀏覽器中鍵入其公有位址及公有傳輸埠號後,才能透過網路連線至網路攝影機。When installing a webcam, it is often necessary to connect the webcam to the router and go through a series of complicated network-related settings to complete the installation of the webcam. If you use a router that supports the Universal Plug and Play (UPnP) function, you need to log in to the network camera to confirm its corresponding public port (Public Port), and then click on the browser. You can connect to the webcam via the Internet by typing in its public address and public transmission nickname.
此外,現有的存取遠端網路攝影機之技術中,習知支援UPnP功能的路由器亦無法將與其連接之網路攝影機顯示於路由器所提供的網頁上,以便於使用者進行後續相關操作,故有必要尋求解決之道。In addition, in the existing technology of accessing the remote network camera, the router supporting the UPnP function cannot display the network camera connected thereto on the webpage provided by the router, so that the user can perform subsequent related operations. It is necessary to seek a solution.
因此,本發明之目的,即在提供一種便於使用者進行監控的通用隨插即用網路監控系統的控制方法。Accordingly, it is an object of the present invention to provide a method of controlling a universal plug-and-play network monitoring system that is convenient for the user to monitor.
於是本發明通用隨插即用網路監控系統的控制方法包含以下步驟:(A)一網路攝影機傳送一註冊資訊封包至一路由器,其中,該註冊資訊封包具有一包括多個欲請求之傳輸埠號的傳輸埠請求訊息及一包括一驗證碼的描述訊息,該等傳輸埠號分別對應多個欲請求使用之傳輸埠;(B)該路由器將該等傳輸埠提供給該網路攝影機使用,且該路由器比對一預先儲存於該路由器的預定驗證碼及該網路攝影機的驗證碼是否相同;及(C)當該步驟(B)中的比對結果為是時,該路由器將該網路攝影機的連線方式呈現於該路由器所提供的一路由器端網頁上。Therefore, the control method of the universal plug-and-play network monitoring system of the present invention comprises the following steps: (A) a network camera transmits a registration information packet to a router, wherein the registration information packet has a transmission including a plurality of requests. An 埠 埠 transmission request message and a description message including a verification code corresponding to a plurality of transmissions to be used for request; (B) the router provides the transmission 埠 to the network camera for use And the router compares whether the predetermined verification code pre-stored in the router and the verification code of the network camera are the same; and (C) when the comparison result in the step (B) is YES, the router will The connection method of the webcam is presented on a router-side webpage provided by the router.
本發明之另一目的,即在提供一種便於使用者進行監控的通用隨插即用網路監控系統。Another object of the present invention is to provide a universal plug-and-play network monitoring system that is easy for the user to monitor.
於是本發明通用隨插即用網路監控系統包含一網路攝影機及一電連接於該網路攝影機的路由器。Thus, the universal plug-and-play network monitoring system of the present invention comprises a network camera and a router electrically connected to the network camera.
該網路攝影機包括一第一通用隨插即用單元。該第一通用隨插即用單元用以傳送一註冊資訊封包,其中,該註冊資訊封包具有一包括多個欲請求之傳輸埠號的傳輸埠請求訊息及一包括一驗證碼的描述訊息,該等傳輸埠號分別對應多個欲請求使用之傳輸埠。The webcam includes a first universal plug and play unit. The first universal plug-and-play unit is configured to transmit a registration information packet, wherein the registration information packet has a transmission request message including a plurality of transmission nicknames to be requested, and a description message including a verification code. The transmission nicknames correspond to a plurality of transmissions to be used.
該路由器包括一儲存單元、一第二通用隨插即用單元、一網路攝影機管理單元及一路由器端網頁伺服器 。該儲存單元用以預先儲存一預定驗證碼。該第二通用隨插即用單元用以接收該註冊資訊封包。該網路攝影機管理單元用以比對預先儲存於該儲存單元的預定驗證碼及該網路攝影機的驗證碼是否相同。該路由器端網頁伺服器用以提供一路由器端網頁,其中,當該儲存單元中的預定驗證碼及該網路攝影機之驗證碼間的比對結果相同時,該路由器端網頁伺服器還用以將該網路攝影機的連線方式呈現於該路由器端網頁伺服器所提供的該路由器端網頁上。The router includes a storage unit, a second universal plug-and-play unit, a webcam management unit, and a router-side web server. . The storage unit is configured to store a predetermined verification code in advance. The second universal plug-and-play unit is configured to receive the registration information packet. The webcam management unit is configured to compare whether the predetermined verification code pre-stored in the storage unit and the verification code of the webcam are the same. The router-side web server is configured to provide a router-side webpage, wherein when the comparison result between the predetermined verification code in the storage unit and the verification code of the network camera is the same, the router-side web server is further used. The connection mode of the webcam is presented on the router-side webpage provided by the router-side web server.
本發明之功效在於,藉由該路由器進行該預定驗證碼及該網路攝影機的驗證碼之比對,並將比對吻合的網路攝影機之連線方式呈現於該路由器所提供的該路由器端網頁上,使得使用者可直接連線到該路由器端網頁進行與該網路攝影機的連線,不需先登入該網路攝影機確認其公有傳輸埠後,才可透過網路連線至該網路攝影機,因而可達成便於監控的效果。The effect of the invention is that the comparison between the predetermined verification code and the verification code of the network camera is performed by the router, and the connection mode of the network camera matching the comparison is presented on the router end provided by the router. On the webpage, the user can directly connect to the webpage of the router to connect to the webcam. After logging in to the webcam to confirm the public transmission, the network can be connected to the network through the network. The road camera can achieve the effect of monitoring.
1、2‧‧‧網路攝影機1, 2‧‧‧ network camera
11、21‧‧‧第一通用隨插即用單元11, 21‧‧‧ First Universal Plug and Play Unit
12、22‧‧‧攝影機端網頁伺服器12, 22‧‧‧ Camera-side web server
13、23‧‧‧傳輸埠請求單元13, 23‧‧‧Transmission request unit
3‧‧‧路由器3‧‧‧ router
31‧‧‧儲存單元31‧‧‧ storage unit
311‧‧‧資料庫311‧‧‧Database
32‧‧‧第二通用隨插即用單元32‧‧‧Second Universal Plug and Play Unit
33‧‧‧傳輸埠管理單元33‧‧‧Transportation Management Unit
34‧‧‧網路攝影機管理單元34‧‧‧Webcam Management Unit
35‧‧‧路由器端網頁伺服器35‧‧‧Router-side web server
4‧‧‧用戶端裝置4‧‧‧Customer device
502~519‧‧‧步驟502~519‧‧‧Steps
6‧‧‧路由器端網頁6‧‧‧Router-side webpage
61‧‧‧連線按鈕61‧‧‧Connection button
62‧‧‧私有IP欄位62‧‧‧ Private IP field
63‧‧‧MAC位址欄位63‧‧‧MAC address field
64‧‧‧名稱欄位64‧‧‧Name field
本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明本發明通用隨插即用網路監控系統之較佳實施例;圖2是一流程圖,說明本發明通用隨插即用網路監控方法之較佳實施例中的一註冊程序;圖3是一流程圖,說明本發明通用隨插即用網路監控方法之較佳實施例中的一傳輸埠關閉程序; 圖4是一流程圖,說明本發明通用隨插即用網路監控方法之較佳實施例中的一傳輸埠檢查程序;及圖5是一示意圖,說明一路由器所提供的一路由器端網頁。Other features and effects of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a block diagram illustrating a preferred embodiment of the universal plug-and-play network monitoring system of the present invention; 2 is a flow chart illustrating a registration procedure in a preferred embodiment of the universal plug-and-play network monitoring method of the present invention; FIG. 3 is a flow chart illustrating a comparison of the universal plug-and-play network monitoring method of the present invention. a transmission 埠 closing procedure in a preferred embodiment; 4 is a flow chart illustrating a transmission check procedure in a preferred embodiment of the universal plug-and-play network monitoring method of the present invention; and FIG. 5 is a schematic diagram showing a router-side web page provided by a router.
參閱圖1與圖2,本發明通用隨插即用網路監控系統之較佳實施例包含一網路攝影機1、另一網路攝影機2及一電連接於該網路攝影機1與該另一網路攝影機2的路由器3。在本較佳實施例中,係以兩台網路攝影機1、2來進行說明,但一台或三台以上網路攝影機之運行方法與此類似,本發明並不限於本較佳實施例所揭露。Referring to FIG. 1 and FIG. 2, a preferred embodiment of the universal plug-and-play network monitoring system of the present invention comprises a network camera 1, another network camera 2, and an electrical connection to the network camera 1 and the other. Router 3 of the network camera 2. In the preferred embodiment, the two network cameras 1, 2 are used for description, but the operation method of one or more network cameras is similar, and the present invention is not limited to the preferred embodiment. Revealed.
該網路攝影機1包括一用以與該路由器3進行通用隨插即用溝通機制的第一通用隨插即用單元11、一用以提供一攝影機端網頁的攝影機端網頁伺服器12及一用以請求傳輸埠的傳輸埠請求單元13。同理,該另一網路攝影機2包括一用以與該路由器3進行通用隨插即用溝通機制的第一通用隨插即用單元21、一用以提供一攝影機端網頁的攝影機端網頁伺服器22及一用以請求傳輸埠的傳輸埠請求單元23。The network camera 1 includes a first universal plug-and-play unit 11 for performing a universal plug-and-play communication mechanism with the router 3, a camera-side web server 12 for providing a camera-side webpage, and a The request unit 13 is requested to transmit the transmission. Similarly, the other network camera 2 includes a first universal plug-and-play unit 21 for performing a universal plug-and-play communication mechanism with the router 3, and a camera-side web server for providing a camera-side webpage. The device 22 and a transmission request unit 23 for requesting transmission of the device.
該路由器3包括一具有一資料庫311之儲存單元31、一用以與該網路攝影機1與該另一網路攝影機2進行通用隨插即用溝通機制的第二通用隨插即用單元32、一用以管理其所提供之所有傳輸埠的傳輸埠管理單元33、一用以管理該網路攝影機1與該另一網路攝影機2的網路攝 影機管理單元34及一用以提供一路由器端網頁的路由器端網頁伺服器35。The router 3 includes a storage unit 31 having a database 311, and a second universal plug-and-play unit 32 for performing a universal plug-and-play communication mechanism with the network camera 1 and the other network camera 2. a transmission management unit 33 for managing all the transmission ports provided by the network, and a network camera for managing the network camera 1 and the other network camera 2 The camera management unit 34 and a router-side web server 35 for providing a router-side web page.
以下將配合圖2~4流程圖來說明本發明通用隨插即用網路監控系統的控制方法的步驟以及該通用隨插即用網路監控系統之各元件的細節,並將步驟歸納成一註冊程序、一傳輸埠關閉程序及一傳輸埠檢查程序。The steps of the control method of the universal plug-and-play network monitoring system of the present invention and the details of the components of the universal plug-and-play network monitoring system will be described below with reference to the flowcharts of FIGS. 2 to 4, and the steps are summarized into one registration. Program, a transfer, close program, and a transfer check program.
參閱圖1、圖2與圖5,當該網路攝影機1與該另一網路攝影機2電連接至該路由器3時,需先向該路由器3進行註冊,該註冊程序包含下列步驟。Referring to FIG. 1, FIG. 2 and FIG. 5, when the network camera 1 and the other network camera 2 are electrically connected to the router 3, the router 3 needs to be registered first, and the registration procedure includes the following steps.
在本較佳實施例中,由於該路由器3與該網路攝影機1及該另一網路攝影機2之間相關封包的傳輸溝通步驟皆相同,故於此僅詳細說明該路由器3與該網路攝影機1之間相關封包的傳輸溝通步驟,該路由器3與該另一網路攝影機2之間相關封包的傳輸溝通步驟可依此類推。In the preferred embodiment, since the transmission and communication steps of the related packet between the router 3 and the network camera 1 and the other network camera 2 are the same, only the router 3 and the network are described in detail herein. The transmission and communication steps of the relevant packets between the cameras 1 and the transmission and communication steps of the related packets between the router 3 and the other network camera 2 can be deduced by analogy.
如步驟502所示,該網路攝影機1的傳輸埠請求單元13產生多個欲請求之傳輸埠號,且該網路攝影機1的第一通用隨插即用單元11傳送一註冊資訊封包至該路由器3,其中,該註冊資訊封包具有一包括該等欲請求之傳輸埠號的傳輸埠請求訊息及一包括一驗證碼、一媒體存取控制位址及一名稱的描述訊息。該等欲請求之傳輸埠號分別對應多個欲請求使用之傳輸埠。該等欲請求使用之傳輸埠包含一超文件傳輸協定(Hypertext Transfer Protocol,簡稱HTTP)傳輸埠、一即時串流協定(Real Time Streaming Protocol,簡稱RTSP)傳輸埠、一即時傳輸協定(Real-time Transport Protocol,簡稱RTP)傳輸埠及一即時傳輸控制協定(Real Time Transport Control Protocol,簡稱RTCP)傳輸埠。As shown in step 502, the transmission buffer request unit 13 of the network camera 1 generates a plurality of transmission nicknames to be requested, and the first universal plug and play unit 11 of the network camera 1 transmits a registration information packet to the The router 3, wherein the registration information packet has a transmission request message including the transmission nickname of the request and a description message including a verification code, a media access control address and a name. The transmission nicknames of the requests are respectively corresponding to a plurality of transmission ports to be used for request. The transports to be used for the request include a Hypertext Transfer Protocol (HTTP) transport, and an instant stream protocol (Real Time Streaming). Protocol, referred to as RTSP) transport, Real-time Transport Protocol (RTP) transport, and Real Time Transport Control Protocol (RTCP) transport.
如步驟503所示,該路由器3的傳輸埠管理單元33根據該等欲請求使用之傳輸埠號判定該等欲請求使用之傳輸埠是否已被使用,若是,則繼續進行步驟504之處理;否則,繼續進行步驟506之處理。As shown in step 503, the transmission buffer management unit 33 of the router 3 determines whether the transmission buffers to be used for use have been used according to the transmission nicknames to be used, and if so, proceed to the processing of step 504; otherwise The processing of step 506 is continued.
在本較佳實施例中,由於該網路攝影機1及該另一網路攝影機2可能會產生相同的欲請求之傳輸埠號。舉例來說,若傳輸埠號6370、6371、6372所對應的傳輸埠尚未被使用,而該網路攝影機1欲請求之傳輸埠號為6370、6371、6372及6373,且該另一網路攝影機2欲請求之傳輸埠號亦為6370、6371、6372及6373。此時,若該網路攝影機1的註冊資訊封包先傳送至該路由器3,則由於該網路攝影機1欲請求之傳輸埠號(6370、6371、6372及6373)所對應的傳輸埠尚未被使用,故可將其提供給該網路攝影機1使用。反之,若是該另一網路攝影機2的註冊資訊封包先傳送至該路由器3,由於該路由器3已將該等傳輸埠號(6370、6371、6372及6373)所對應的傳輸埠提供給該另一網路攝影機2使用,故該網路攝影機1需改請求其他傳輸埠號,此係為熟習通用隨插即用此項技術者所熟知,並非本發明之重點。In the preferred embodiment, the network camera 1 and the other network camera 2 may generate the same transmission nickname to be requested. For example, if the transmission ports corresponding to the transmission nicks 6370, 6371, 6372 are not yet used, and the network camera 1 wants to request transmission nicknames 6370, 6371, 6372, and 6373, and the other network camera 2 The transmission nicknames to be requested are also 6370, 6371, 6372 and 6373. At this time, if the registration information packet of the network camera 1 is first transmitted to the router 3, the transmission port corresponding to the transmission nickname (6370, 6371, 6372, and 6373) to be requested by the network camera 1 has not been used yet. Therefore, it can be provided to the webcam 1 for use. On the other hand, if the registration information packet of the other network camera 2 is first transmitted to the router 3, the router 3 has provided the transmission port corresponding to the transmission nicknames (6370, 6371, 6372, and 6373) to the other. A network camera 2 is used, so the network camera 1 needs to request other transmission nicknames, which is well known to those skilled in the art of plug-and-play, and is not the focus of the present invention.
如步驟504所示,該路由器3的第二通用隨插 即用單元32傳送一傳輸埠已被使用封包至該網路攝影機1,以通知該網路攝影機1重新傳送該註冊資訊封包。As shown in step 504, the second universal plug of the router 3 The ready-to-use unit 32 transmits a transmission port that has been used to the network camera 1 to notify the network camera 1 to retransmit the registration information packet.
如步驟505所示,該網路攝影機1的傳輸埠請求單元13更新該註冊資訊封包中的該等欲請求之傳輸埠號,且該網路攝影機1的第一通用隨插即用單元11重新傳送該註冊資訊封包至該路由器3,並繼續進行該步驟503之處理。As shown in step 505, the transmission buffer request unit 13 of the network camera 1 updates the transmission nickname of the requesting request in the registration information packet, and the first universal plug and play unit 11 of the network camera 1 re The registration information packet is transmitted to the router 3, and the processing of the step 503 is continued.
如步驟506所示,該路由器3的傳輸埠管理單元33將該等欲請求使用之傳輸埠提供給該網路攝影機1使用,且該路由器3的網路攝影機管理單元34比對一預先儲存於該路由器3的儲存單元31的預定驗證碼及該網路攝影機1的驗證碼是否相同,若是,則繼續進行步驟507之處理;否則,繼續進行步驟508之處理。As shown in step 506, the transmission port management unit 33 of the router 3 provides the transmission port to be used for use to the network camera 1 for use, and the network camera management unit 34 of the router 3 is pre-stored in the comparison. Whether the predetermined verification code of the storage unit 31 of the router 3 and the verification code of the network camera 1 are the same, and if so, the processing of step 507 is continued; otherwise, the processing of step 508 is continued.
如步驟507所示,該路由器3的網路攝影機管理單元34將該網路攝影機1的私有網際網路協定(Internet Protocol,簡稱IP)位址、名稱、媒體存取控制(Media Access Control,簡稱MAC)位址及該等傳輸埠號儲存於該路由器3之儲存單元31中的資料庫311,且該路由器3的路由器端網頁伺服器35根據該資料庫311將該網路攝影機1的識別資料及連線方式呈現於該路由器3之路由器端網頁伺服器35所提供的一路由器端網頁6上,以供一使用者利用一用戶端裝置4透過網路與該路由器3連線,而於遠端瀏覽該路由器端網頁6並連線到該網路攝影機1,其中該路由器端網頁6以一可連結至該網路攝影機1的連線按鈕61來呈 現該網路攝影機1的連線方式,該網路攝影機1之連線方式的呈現亦可為呈現出該網路攝影機1的對外的公有位址及該傳輸埠管理單元33配置給該網路攝影機1的HTTP傳輸埠之傳輸埠號,以供該使用者於瀏覽器鍵入所呈現的公有位址及傳輸埠號以連線到該網路攝影機1,並不限於本較佳實施例所揭露之呈現方式。在本較佳實施例中,該網路攝影機1的識別資料包含該網路攝影機1的私有IP位址、MAC位址及名稱(如圖5中的私有IP欄位62、MAC位址欄位63及名稱欄位64所示)。As shown in step 507, the network camera management unit 34 of the router 3 sets the private Internet Protocol (IP) address, name, and media access control (Media Access Control) of the network camera 1. The MAC address and the transmission nickname are stored in the database 311 in the storage unit 31 of the router 3, and the router-side web server 35 of the router 3 identifies the data of the network camera 1 according to the database 311. And the connection mode is displayed on a router-side webpage 6 provided by the router-side web server 35 of the router 3, for a user to connect to the router 3 through a network by using a client device 4, and The router side webpage 6 is browsed and connected to the webcam 1, wherein the router end webpage 6 is connected by a connection button 61 connectable to the webcam 1. Now, the connection mode of the network camera 1 may be such that the connection mode of the network camera 1 is presented to the external public address of the network camera 1 and the transmission management unit 33 is configured for the network. The HTTP transmission of the camera 1 transmits a nickname for the user to type in the public address and transmission nickname presented by the browser to connect to the network camera 1, and is not limited to the preferred embodiment. The way it is presented. In the preferred embodiment, the identification data of the network camera 1 includes the private IP address, MAC address and name of the network camera 1 (such as the private IP field 62 and the MAC address field in FIG. 5). 63 and name field 64)).
如步驟508所示,該路由器3的網路攝影機管理單元34不將該網路攝影機1的私有IP位址、名稱、MAC位址及該等傳輸埠號儲存於該路由器3的資料庫311中,且該路由器3的路由器端網頁伺服器35不呈現該網路攝影機1的識別資料及連線方式於該路由器3所提供的該路由器端網頁6上。As shown in step 508, the network camera management unit 34 of the router 3 does not store the private IP address, name, MAC address, and the transmission nickname of the network camera 1 in the database 311 of the router 3. The router-side web server 35 of the router 3 does not present the identification data and connection mode of the network camera 1 on the router-side webpage 6 provided by the router 3.
參閱圖1、圖3與圖5,基於資料傳輸安全性的考量,該路由器3在實施通用隨插即用技術時,每十分鐘會去關閉其所開啟且無使用的傳輸埠,直到該網路攝影機1將儲存於該路由器3之資料庫311中的該網路攝影機1的私有IP位址、名稱、MAC位址及該等傳輸埠號刪除才會結束該傳輸埠關閉程序,該傳輸埠關閉程序包含下列步驟。Referring to FIG. 1, FIG. 3 and FIG. 5, based on the consideration of data transmission security, the router 3 will turn off its open and unused transmission ports every ten minutes when implementing the universal plug-and-play technology until the network The road camera 1 deletes the private IP address, name, MAC address and the transmission nickname of the network camera 1 stored in the database 311 of the router 3 to end the transmission/closing process, and the transmission 埠The shutdown procedure consists of the following steps.
如步驟509所示,該路由器3的傳輸埠管理單元33在一預設時間(例如,十分鐘)判定是否需關閉該 HTTP傳輸埠、RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠之至少一者,若是,則繼續進行步驟510之處理;否則,繼續進行步驟513之處理。As shown in step 509, the transmission buffer management unit 33 of the router 3 determines whether it is necessary to close the terminal for a preset time (for example, ten minutes). At least one of HTTP transport, RTSP transport, RTP transport, and RTCP transport, if yes, proceed to step 510; otherwise, proceed to step 513.
其中,該路由器3的傳輸埠管理單元33係藉由偵測該網路攝影機1之攝影機端網頁伺服器12是否在一連線狀態以判定是否需關閉該HTTP傳輸埠,若該傳輸埠管理單元33偵測到該網路攝影機1之攝影機端網頁伺服器12在該連線狀態時,則判定為不需關閉該HTTP傳輸埠,否則,則判定為需關閉該HTTP傳輸埠。此外,該路由器3的傳輸埠管理單元33係藉由分別偵測該RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠是否正在進行其各自對應的封包傳輸以判定是否需關閉該RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠。若該傳輸埠管理單元33偵測到至少一無封包傳輸的傳輸埠時,則判定為需關閉該無封包傳輸的傳輸埠,否則,則判定為不需關閉該RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠。The transmission port management unit 33 of the router 3 determines whether the HTTP transmission port needs to be closed by detecting whether the camera-side web server 12 of the network camera 1 is in a connection state, if the transmission management unit When it is detected that the camera-side web server 12 of the network camera 1 is in the connection state, it is determined that the HTTP transmission is not required to be closed, otherwise, it is determined that the HTTP transmission is required to be closed. In addition, the transmission buffer management unit 33 of the router 3 determines whether the RTSP transmission and the RTP transmission need to be closed by detecting whether the RTSP transmission, the RTP transmission, and the RTCP transmission are respectively performing their respective corresponding packet transmissions.埠 and RTCP transport 埠. If the transmission management unit 33 detects at least one transmission packet without packet transmission, it is determined that the transmission packet of the packetless transmission needs to be closed, otherwise, it is determined that the RTSP transmission, the RTP transmission, and the RTCP transport 埠.
如步驟510所示,該路由器3的傳輸埠管理單元33關閉該HTTP傳輸埠、RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠之至少一者。As shown in step 510, the transport port management unit 33 of the router 3 turns off at least one of the HTTP transport port, the RTSP transport port, the RTP port, and the RTCP port.
如步驟511所示,該路由器3的傳輸埠管理單元33判定該HTTP傳輸埠是否已被關閉,若是,則繼續進行步驟512之處理;否則,繼續進行步驟509之處理。As shown in step 511, the transport port management unit 33 of the router 3 determines whether the HTTP transport port has been closed, and if so, proceeds to the process of step 512; otherwise, the process of step 509 is continued.
如步驟512所示,該路由器3的網路攝影機管理單元34將儲存於該路由器3之資料庫311中的該網路攝 影機1的私有IP位址、名稱、MAC位址及該等傳輸埠號刪除,且該路由器端網頁伺服器35停止將該網路攝影機1的識別資料及連線方式呈現於該路由器端網頁6上。As shown in step 512, the webcam management unit 34 of the router 3 will take the network photo stored in the database 311 of the router 3. The private IP address, name, MAC address and the transmission nickname of the camera 1 are deleted, and the router-side web server 35 stops displaying the identification data and connection mode of the network camera 1 on the router-side webpage. 6 on.
如步驟513所示,該路由器3的傳輸埠管理單元33不關閉該HTTP傳輸埠、RTSP傳輸埠、RTP傳輸埠及RTCP傳輸埠。As shown in step 513, the transport port management unit 33 of the router 3 does not close the HTTP transport port, the RTSP transport port, the RTP port, and the RTCP port.
參閱圖1與圖4,當該網路攝影機1與該路由器3電連接並取得對應的傳輸埠後,該網路攝影機1每五分鐘會檢查其所有傳輸埠對應的狀態,直到該網路攝影機1被關機或該網路攝影機1與該路由器3連接的網路線被拔除才會結束該傳輸埠檢查程序,該傳輸埠檢查程序包含下列步驟。Referring to FIG. 1 and FIG. 4, after the network camera 1 is electrically connected to the router 3 and obtains the corresponding transmission port, the network camera 1 checks the status of all the transmission ports every five minutes until the network camera If the network route that is turned off or the network camera 1 is connected to the router 3 is removed, the transmission check program is terminated, and the transmission check program includes the following steps.
如步驟514所示,該網路攝影機1的第一通用隨插即用單元11於另一預設時間(例如,五分鐘)傳送一傳輸埠狀態檢查請求封包至該路由器3,以檢查該網路攝影機1之每一傳輸埠對應的一開啟狀態或一關閉狀態。As shown in step 514, the first universal plug and play unit 11 of the network camera 1 transmits a transport status check request packet to the router 3 for another predetermined time (for example, five minutes) to check the network. Each of the transmission cameras 1 has an open state or a closed state.
如步驟515所示,該路由器3的第二通用隨插即用單元32傳送一傳輸埠狀態封包至該網路攝影機1,其中該傳輸埠狀態封包具有該網路攝影機1之每一傳輸埠對應的該開啟狀態或該關閉狀態。As shown in step 515, the second universal plug-and-play unit 32 of the router 3 transmits a transport status packet to the network camera 1, wherein the transport status packet has a corresponding transmission port of the network camera 1. The open state or the closed state.
如步驟516所示,該網路攝影機1的傳輸埠請求單元13根據該傳輸埠狀態封包分別判定是否存在至少一處於該關閉狀態的傳輸埠,若是,則繼續進行步驟517之 處理;否則,繼續進行步驟519之處理。As shown in step 516, the transmission buffer request unit 13 of the network camera 1 determines whether there is at least one transmission buffer in the closed state according to the transmission status packet, and if yes, proceeds to step 517. Processing; otherwise, proceed to the processing of step 519.
如步驟517所示,該網路攝影機1的第一通用隨插即用單元11傳送一傳輸埠開啟請求封包至該路由器3,以請求該路由器3開啟該處於該關閉狀態的傳輸埠,其中該傳輸埠開啟請求封包具有該處於該關閉狀態的傳輸埠之傳輸埠號。As shown in step 517, the first universal plug-and-play unit 11 of the network camera 1 transmits a transport enable request packet to the router 3 to request the router 3 to turn on the transport port in the closed state, where The transport 埠 open request packet has the transport nickname of the transport 处于 in the closed state.
如步驟518所示,該路由器3的傳輸埠管理單元33根據該傳輸埠開啟請求封包開啟該處於該關閉狀態的傳輸埠。As shown in step 518, the transport port management unit 33 of the router 3 turns on the transport port in the closed state according to the transport port open request packet.
如步驟519所示,該網路攝影機1的第一通用隨插即用單元11不傳送該傳輸埠開啟請求封包至該路由器3。As shown in step 519, the first universal plug and play unit 11 of the network camera 1 does not transmit the transport enable request packet to the router 3.
在本較佳實施例中,該預設時間及該另一預設時間分別為十分鐘及五分鐘,但該預設時間及該另一預設時間亦可依不同需求變動,並不以此為限。In the preferred embodiment, the preset time and the other preset time are respectively ten minutes and five minutes, but the preset time and the other preset time may also be changed according to different requirements, and Limited.
參閱圖1與圖5,假設該另一網路攝影機2之驗證碼亦與該路由器3的預定驗證碼相同,則該另一網路攝影機2亦會與該路由器3進行該註冊程序、傳輸埠關閉程序及傳輸埠檢查程序,故該路由器3所提供的該路由器端網頁6所呈現的網路攝影機係包含該網路攝影機1及該另一網路攝影機2。Referring to FIG. 1 and FIG. 5, assuming that the verification code of the other network camera 2 is also the same as the predetermined verification code of the router 3, the other network camera 2 also performs the registration procedure and transmission with the router 3. The network camera that is presented by the router-side webpage 6 provided by the router 3 includes the network camera 1 and the other network camera 2.
綜上所述,該路由器端網頁6可呈現出同一區域網路下驗證碼比對吻合的網路攝影機1、2,故該使用者無需各別登入每台網路攝影機1、2以取得每台網路攝影機 1、2的公有傳輸埠(如,HTTP傳輸埠),且無需記憶每一公有傳輸埠以透過網路連線至每台網路攝影機1、2;亦即,藉由該路由器3所提供的該路由器端網頁6,該使用者僅需連線到該路由器端網頁6,即可與每台紀錄於該路由器端網頁6之網路攝影機1、2進行連線,因而可達成便於監控的效果,故確實能達成本發明之目的。In summary, the router-side webpage 6 can present the network cameras 1 and 2 that match the verification code in the same local area network, so the user does not need to log in to each of the network cameras 1, 2 to obtain each. Network camera 1, 2 public transmission ports (eg, HTTP transmission ports), and do not need to memorize each public transmission port to connect to each network camera 1, 2 through the network; that is, provided by the router 3 The router-side webpage 6, the user only needs to connect to the router-side webpage 6, and can connect with each of the webcams 1, 2 recorded on the router-side webpage 6, so that the monitoring effect can be achieved. Therefore, the object of the present invention can be achieved.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and patent specification content of the present invention, All remain within the scope of the invention patent.
1、2‧‧‧網路攝影機1, 2‧‧‧ network camera
11、21‧‧‧第一通用隨插即用單元11, 21‧‧‧ First Universal Plug and Play Unit
12、22‧‧‧攝影機端網頁伺服器12, 22‧‧‧ Camera-side web server
13、23‧‧‧傳輸埠請求單元13, 23‧‧‧Transmission request unit
3‧‧‧路由器3‧‧‧ router
31‧‧‧儲存單元31‧‧‧ storage unit
311‧‧‧資料庫311‧‧‧Database
32‧‧‧第二通用隨插即用單元32‧‧‧Second Universal Plug and Play Unit
33‧‧‧傳輸埠管理單元33‧‧‧Transportation Management Unit
34‧‧‧網路攝影機管理單元34‧‧‧Webcam Management Unit
35‧‧‧路由器端網頁伺服器35‧‧‧Router-side web server
4‧‧‧用戶端裝置4‧‧‧Customer device
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102137707A TWI513322B (en) | 2013-10-18 | 2013-10-18 | Universal plug and play network monitoring system and its control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102137707A TWI513322B (en) | 2013-10-18 | 2013-10-18 | Universal plug and play network monitoring system and its control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201517632A TW201517632A (en) | 2015-05-01 |
| TWI513322B true TWI513322B (en) | 2015-12-11 |
Family
ID=53720576
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW102137707A TWI513322B (en) | 2013-10-18 | 2013-10-18 | Universal plug and play network monitoring system and its control method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI513322B (en) |
Citations (3)
| 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 |
| TW201123854A (en) * | 2009-12-31 | 2011-07-01 | A Tec Subsystem Inc | Network camera and data transmission method thereof. |
| US20120098969A1 (en) * | 2010-10-22 | 2012-04-26 | Alcatel-Lucent Usa, Inc. | Surveillance Video Router |
-
2013
- 2013-10-18 TW TW102137707A patent/TWI513322B/en active
Patent Citations (3)
| 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 |
| TW201123854A (en) * | 2009-12-31 | 2011-07-01 | A Tec Subsystem Inc | Network camera and data transmission method thereof. |
| US20120098969A1 (en) * | 2010-10-22 | 2012-04-26 | Alcatel-Lucent Usa, Inc. | Surveillance Video Router |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201517632A (en) | 2015-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9246915B2 (en) | Streaming media for portable devices | |
| US10034057B2 (en) | Message processing method, device, gateway, STB and IPTV | |
| EP2158732B1 (en) | Control point, method and computer program, where discovered available services and/or media content are arranged to use a common plug and play communication protocol and their presentation is accessible from a public area network | |
| US8949952B2 (en) | Multi-stack subscriber sign on | |
| CN103368937A (en) | A communication system and a method of transmitting and/or receiving data in the communication system | |
| US10523763B2 (en) | Communication device, communication method, controlled device, and non-transitory computer readable medium | |
| US9338410B2 (en) | Remote streaming | |
| CN104883390A (en) | Method of accessing third-party video monitoring device and device of accessing third-party video monitoring device | |
| CN104426951A (en) | An intelligent set-top box remote network real-time monitoring system and method thereof | |
| JP2016019179A (en) | Communication apparatus, terminal device and program | |
| US9510034B2 (en) | Plug and play method and system of viewing live and recorded contents | |
| US20170155970A1 (en) | Plug and Play Method and System of Viewing Live and Recorded Contents | |
| USRE50327E1 (en) | Camera capture for connected devices | |
| TWI513322B (en) | Universal plug and play network monitoring system and its control method | |
| KR102335670B1 (en) | Method for video streaming via intermediate server using WebSocket | |
| US10511671B2 (en) | Communication device, communication method, controlled device, and non-transitory computer readable medium | |
| CN101472167B (en) | Network audio-visual browsing system and method thereof | |
| US11172000B2 (en) | Methods and apparatus for facilitating real time multimedia communications | |
| CN104243629B (en) | A kind of device intercommunicating method and system based on NAT types | |
| JP5570399B2 (en) | Recording device | |
| WO2016023375A1 (en) | Set top box management method, device, system and storage medium | |
| US9985996B2 (en) | Decoupling audio-video (AV) traffic processing from non-AV traffic processing | |
| US8484717B2 (en) | Accessing method and multimedia system using thereof | |
| CN117640921A (en) | IPTV monitoring system-based processing method, terminal and management platform | |
| CN103152611A (en) | Control method and device for streaming media pipeline business |