TW202147833A - Remote-end instant image supporting system and method - Google Patents

Remote-end instant image supporting system and method Download PDF

Info

Publication number
TW202147833A
TW202147833A TW109118326A TW109118326A TW202147833A TW 202147833 A TW202147833 A TW 202147833A TW 109118326 A TW109118326 A TW 109118326A TW 109118326 A TW109118326 A TW 109118326A TW 202147833 A TW202147833 A TW 202147833A
Authority
TW
Taiwan
Prior art keywords
communication technology
video
remote
camera
real
Prior art date
Application number
TW109118326A
Other languages
Chinese (zh)
Other versions
TWI718957B (en
Inventor
陳原生
黃武雄
翁祖彬
姜佳佑
何益源
彭汶棋
陳俊顏
Original Assignee
長茂科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 長茂科技股份有限公司 filed Critical 長茂科技股份有限公司
Priority to TW109118326A priority Critical patent/TWI718957B/en
Application granted granted Critical
Publication of TWI718957B publication Critical patent/TWI718957B/en
Publication of TW202147833A publication Critical patent/TW202147833A/en

Links

Images

Abstract

The present invention relates to a remote-end instant image supporting system, comprising: a local-end image capturing device having a lens to instantly acquire a video signal and applying a streaming media technology to encode and transmit the video signal; a local-end recasting device establishing a wireless communication link with the local-end image capturing device by a wireless communication technology to receive the video signal to decode, applying a web real-time communication technology to re-encode the decoded video signal as a video, and recasting the video; and a remote-end playing device executing an internet browser and establishing a communication link with the local-end recasting device by a communication technology to receive the video, and playing the video in the internet browser.

Description

遠端即時影像支援系統與方法 Remote real-time image support system and method

本發明係有關於一種遠端即時影像支援系統,尤其是一種透過在本地端的一組重投裝置接收與解碼視訊流後,經由不同即時通訊協定編碼後重新投送至遠端裝置的遠端即時影像支援系統。 The present invention relates to a remote real-time image support system, in particular to a remote real-time video stream that receives and decodes video streams through a set of re-casting devices at the local end, encodes them through different real-time communication protocols and then re-sends them to the remote devices. Video support system.

隨著目前行動裝置的普及、硬體效能提升與基礎設施的完備,現代人已經習慣透過行動裝置或OTT(over-the-top)機上盒,以影音方式做資訊分享與互動,且這些影音資訊並非傳統的預錄或預製內容,強調的是即時影音互動,例如目前非常熱門的網路直播就是其中一種。 With the popularization of mobile devices, the improvement of hardware performance and the completion of infrastructure, modern people have become accustomed to sharing and interacting with audio and video through mobile devices or OTT (over-the-top) set-top boxes. Information is not traditional pre-recorded or pre-made content, but emphasizes real-time audio-visual interaction. For example, the currently very popular webcast is one of them.

另外,幾乎人人都在使用的網路即時通訊(IM)軟體,例如Line、Skype、Messenger、Telegram或是WeChat等,這些IM基本上都具備有影音對話互動的功能,可以說現代人的生活,已離不開這樣的即時影音互動方式。 In addition, the Internet instant messaging (IM) software that almost everyone uses, such as Line, Skype, Messenger, Telegram or WeChat, etc., these IMs basically have the function of audio-visual dialogue and interaction, which can be said to be the life of modern people. , has been inseparable from this real-time audio-visual interaction.

目前多數主要的使用模式為,一個攝影鏡頭對應一支特定應用程式(App)來使用,App上可以顯示即時影像與進行儲存,但多數沒有再進行後續分享作業,例如再透過App分享到另一個行動裝置或設備上;不過上述的即時影音互動方式明顯有以下幾點缺點: At present, most of the main usage modes are that one camera lens is used for a specific application (App), and the real-time image can be displayed and stored on the App, but most of them do not carry out subsequent sharing operations, such as sharing to another through the App. However, the above-mentioned real-time audio-visual interaction method obviously has the following disadvantages:

(1)如果要通訊,多數是透過行動裝置或筆電中內建的鏡頭 或是桌機來外接USB攝像頭或IP攝像機,這樣的使用模式對許多特殊應用情境並不適合,例如:想要串接可移動的Wi-Fi攝像機,隨時取得非固定地點的即時影音畫面,就會出現許多困難;如果想要透過蛇管鏡頭,伸入狹小空間,或是手機鏡頭無法進入的位置進行探測或維修時,現行的影音互動方式無法滿足。 (1) If you want to communicate, most of them are through the built-in camera of your mobile device or laptop. Or a desktop computer is connected to an external USB camera or IP camera. This mode of use is not suitable for many special application scenarios. There are many difficulties; if you want to use the coil lens to reach into a small space, or to perform detection or maintenance in a location where the mobile phone lens cannot enter, the current audio-visual interaction method cannot be satisfied.

(2)目前多數的使用方式主要為一個攝影鏡頭對應一個App來使用,App上可以顯示即時影像與進行儲存,但多數沒有再進行後續分享作業,例如再透過App分享到另一個行動裝置或設備上。 (2) At present, most of the usage methods are mainly for a camera to correspond to an App. The App can display real-time images and store them, but most of them do not carry out subsequent sharing operations, such as sharing to another mobile device or device through the App. superior.

(3)目前多數的影音互動多是透過影音伺服器來進行,業者需要花費較多資源進行建置與維護作業,相對的使用者就需要付出較昂貴的使用成本,除此之外,如果影音牽涉到較敏感或隱私的內容,使用者往往會卻步而不敢使用。 (3) At present, most of the audio-visual interaction is carried out through the audio-visual server. The industry needs to spend more resources for construction and maintenance operations, and the corresponding users need to pay more expensive use costs. In addition, if the audio-visual When it comes to sensitive or private content, users are often discouraged from using it.

職是之故,發明人經過悉心嘗試與研究,並一本鍥而不捨之精神,終構思出本案「遠端即時影像支援系統與方法」,能夠克服上述缺點,以下為本發明之簡要說明。 For this reason, the inventor, after careful trial and research, and a spirit of perseverance, finally came up with the present "remote real-time image support system and method", which can overcome the above shortcomings. The following is a brief description of the present invention.

有鑑於習用技術的缺點,本發明提出一種遠端即時影像支援系統,除設置有專屬的小型超文本標記語言(HTML)平台,可提供點對點視訊外,還可實現在終端設備上接取由網路攝像設備所擷取影像之後,再轉換為WebRTC-P2P視訊串流,俾使遠端可檢視管理現場狀況、辨識現場人員身分。 In view of the shortcomings of the conventional technology, the present invention proposes a remote real-time image support system, in addition to being provided with a dedicated small hypertext markup language (HTML) platform, which can provide point-to-point video, and can also realize access to the Internet on the terminal equipment. After the image captured by the camera equipment is converted into a WebRTC-P2P video stream, the remote end can view and manage the on-site status and identify the on-site personnel.

本發明系統架構非常簡單,整體系統是建構在一般使用者隨 手可得的裝置上,本發明系統之實施,不需額外特殊設備之配合,本發明系統採用外接Wi-Fi攝像機或USB攝像頭作為近端攝像裝置,以智慧手機作為近端重投設備搭配WebRTC及P2P技術,就可以實施低成本高效率的即時影音串流,直接把攝影鏡頭傳來的影音,分享到另一個遠端播放裝置,通常是行動裝置或設備上,例如另一支智慧手機或OTT網路機上盒。 The system structure of the present invention is very simple, and the overall system is constructed on the On a device that is available at hand, the implementation of the system of the present invention does not require the cooperation of additional special equipment. The system of the present invention uses an external Wi-Fi camera or a USB camera as the near-end camera device, and uses a smart phone as the near-end recast device with WebRTC And P2P technology, it can implement low-cost and high-efficiency real-time video streaming, and directly share the video and audio from the camera lens to another remote playback device, usually a mobile device or device, such as another smartphone or OTT network set-top box.

據此本發明提出一種遠端即時影像支援系統,其包含:近端攝像裝置,其具有攝像頭以即時擷取視頻訊號,並應用串流媒體技術編碼並傳輸該視頻訊號;近端重投設備,其經由無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取且解碼該視頻訊號,並應用網頁即時通訊技術,將解碼後該視頻訊號重編碼為視訊並重投該視訊;以及遠端播放裝置,其執行網路瀏覽器並經由通訊技術與該近端重投設備建立通訊連結以接收該視頻,並在該網路瀏覽器中播放該視訊。 Accordingly, the present invention provides a remote real-time image support system, which includes: a near-end camera device, which has a camera to capture video signals in real time, and uses streaming media technology to encode and transmit the video signals; near-end re-casting equipment, It establishes a wireless communication link with the near-end camera device through wireless communication technology, so as to receive and decode the video signal, and apply the web instant communication technology to re-encode the decoded video signal into video and replay the video; and remote playback The apparatus executes a web browser and establishes a communication link with the near-end recasting device via communication technology to receive the video, and play the video in the web browser.

較佳的,所述之遠端即時影像支援系統,還包含:網頁即時通訊伺服器,其介於該近端重投設備與該遠端播放裝置之間作為橋接裝置,以提供在該近端重投設備與該遠端播放裝置之間建立符合該網頁即時通訊技術之點對點通訊鏈路。 Preferably, the remote real-time image support system further includes: a web page real-time communication server, which acts as a bridge device between the near-end replay equipment and the far-end playback device, so as to provide the near-end real-time image support system. A point-to-point communication link conforming to the web page instant communication technology is established between the replay equipment and the remote playback device.

較佳的,該網頁即時通訊伺服器係基於互動式連接建立框架並配合網路位址轉換對談穿越應用程序伺服器與網路位址轉換中繼穿越程序伺服器而完成網路位址轉換穿越。 Preferably, the web page instant messaging server is based on an interactive connection establishment framework and cooperates with the NAT conversation to traverse the application server and the NAT relay traversal server to complete the NAT cross.

較佳的,該近端重投設備中還包含影音流轉換畫格流函式庫元件、網頁即時通訊專用函式庫元件、裝置儲存函式庫元件、小型超文本傳輸協定服務函式庫、影音擷取程式模組、影音儲存程式模組、影音存取 程式模組、影像寫入檔案程序以及影像檔案讀取程序。 Preferably, the near-end re-casting device also includes a video stream conversion frame stream function library element, a special function library element for webpage instant messaging, a device storage function library element, a small hypertext transfer protocol service function library, Video capture program module, video storage program module, video access Program module, image writing file program and image file reading program.

較佳的,該近端重投設備經由該影音流轉換畫格流函式庫元件將該視頻訊號轉換為具有複數畫格之視頻,並經由該裝置儲存函式庫元件將轉換後該視頻儲存為視頻檔案。 Preferably, the near-end re-projection device converts the video signal into a video with multiple frames through the video stream conversion frame stream library element, and stores the converted video through the device storage function library element for video files.

較佳的,該小型超文本傳輸協定服務函式庫經配置用於在近端重投設備所屬之區域網路介面上搭建一個小型超文本傳輸協定伺服器以供遠端播放裝置存取。 Preferably, the small-scale hypertext transfer protocol service library is configured to build a small-scale hypertext transfer protocol server on the local area network interface to which the near-end replay device belongs for the remote playback device to access.

本發明進一步提出一種遠端即時影像支援方法,其包含:經由包含攝像頭的近端攝像裝置即時擷取視頻訊號,並應用串流媒體技術編碼並傳輸該視頻訊號;使用近端重投設備經由第一無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取和解碼該視頻訊號,並應用網頁即時通訊技術,將解碼後該視頻訊號重編碼為視訊並重投該視訊;以及使用遠端播放裝置執行網路瀏覽器並經由第二通訊技術與該近端重投設備建立通訊連結,並在該網路瀏覽器中播放該視訊。 The present invention further provides a remote real-time image support method, which includes: capturing a video signal in real time through a near-end camera device including a camera, and applying streaming media technology to encode and transmit the video signal; A wireless communication technology establishes a wireless communication connection with the near-end camera device, so as to receive and decode the video signal, and apply the web instant communication technology to re-encode the decoded video signal into video and replay the video; and use remote playback The device executes a web browser and establishes a communication link with the near-end recasting device via the second communication technology, and plays the video in the web browser.

NE:近端 NE: Proximal

RE:遠端 RE: remote

100:本發明遠端即時影像支援系統 100: Remote real-time image support system of the present invention

110:近端攝像裝置 110: Proximal camera device

111:路由設備 111: Routing device

115:網路攝像機 115: Webcam

116:攝像頭 116: Camera

120:近端重投設備 120: Proximal Recast Equipment

121:電視 121: TV

125:機上盒 125: STB

126:行動裝置 126: Mobile Devices

130:遠端播放裝置 130: Remote playback device

131:機上盒裝置 131: Set-top box device

132:平板裝置 132: Tablet device

133:智慧手機 133: Smartphone

134:筆記型電腦 134: Notebook

135:桌上型電腦 135: Desktop Computer

200:伺服器 200: Server

301:第一畫面 301: The first picture

302:第二畫面 302: Second screen

401:第一畫面 401: The first picture

402:第二畫面 402: Second screen

403:第三畫面 403: Third screen

1300:本發明遠端即時影像支援方法 1300: Remote real-time image support method of the present invention

1301-1303:實施步驟 1301-1303: Implementation steps

11-15:實施步驟 11-15: Implementation steps

21-25:實施步驟 21-25: Implementation steps

31-32:實施步驟 31-32: Implementation steps

41-42:實施步驟 41-42: Implementation steps

51-52:實施步驟 51-52: Implementation steps

第1圖揭示本發明遠端即時影像支援系統之整體系統架構示意圖。 FIG. 1 shows a schematic diagram of the overall system structure of the remote real-time image support system of the present invention.

第2圖與第3圖揭示本發明近端重投設備與遠端播放裝置間點建立對點通訊鏈路示意圖。 FIG. 2 and FIG. 3 show schematic diagrams of establishing a point-to-point communication link between the near-end replay device and the far-end playback device according to the present invention.

第4圖揭示本發明在ICE框架下透過STUN與TURN建立P2P通訊鏈路之時序排程圖。 FIG. 4 shows a time sequence diagram of establishing a P2P communication link through STUN and TURN under the ICE framework of the present invention.

第5圖係揭示本發明各項軟體核心元件間之系統架構示意圖。 FIG. 5 is a schematic diagram showing the system architecture among various software core components of the present invention.

第6圖係揭示本發明遠端播放裝置經執行瀏覽器存取網頁平台登入頁面之系統架構示意圖。 FIG. 6 is a schematic diagram showing the system structure of the remote playback device of the present invention accessing the login page of the web platform through a browser.

第7圖係揭示本發明遠端播放裝置透過瀏覽器檢視近端重投設備投送來自近端攝像裝置擷取之影像畫面之示意圖。 FIG. 7 is a schematic diagram showing the remote playback device of the present invention viewing the image frame captured by the near-end camera device through the browser to view the near-end replay device.

第8圖係揭示本發明近端重投設備中執行的影音擷取程式模組之示意圖。 FIG. 8 is a schematic diagram illustrating the video and audio capture program module executed in the near-end re-casting device of the present invention.

第9圖係揭示本發明近端重投設備中執行的影音儲存程式模組之示意圖。 FIG. 9 is a schematic diagram showing the video and audio storage program module executed in the near-end replay device of the present invention.

第10圖係揭示本發明近端重投設備中執行的影音存取程式模組之示意圖。 FIG. 10 is a schematic diagram showing the video and audio access program module executed in the near-end replay device of the present invention.

第11圖與第12圖係揭示本發明HTML網頁分割畫面之示意圖。 FIG. 11 and FIG. 12 are schematic diagrams showing the split screen of the HTML webpage according to the present invention.

第13圖揭示本發明遠端即時影像支援方法之實施步驟流程圖。 FIG. 13 shows a flowchart of the implementation steps of the remote real-time image support method of the present invention.

本發明將可由以下的實施例說明而得到充分瞭解,使得熟習本技藝之人士可以據以完成之,然本發明之實施並非可由下列實施案例而被限制其實施型態;本發明之圖式並不包含對大小、尺寸與比例尺的限定,本發明實際實施時其大小、尺寸與比例尺並非可經由本發明之圖式而被限制。 The present invention will be fully understood by the following examples, so that those skilled in the art can complete it accordingly. However, the implementation of the present invention is not limited by the following examples; The limitation on size, dimension and scale is not included, and the size, dimension and scale of the present invention are not limited by the drawings of the present invention during the actual implementation of the present invention.

本文中用語“較佳”是非排他性的,應理解成“較佳為但不限於”,任何說明書或請求項中所描述或者記載的任何步驟可按任何順序執行,而不限於請求項中所述的順序,本發明的範圍應僅由所附請求項及其均等方案確定,不應由實施方式示例的實施例確定;本文中用語“包含”及其 變化出現在說明書和請求項中時,是一個開放式的用語,不具有限制性含義,並不排除其他特徵或步驟。 The term "preferably" used herein is non-exclusive and should be understood as "preferably, but not limited to," and any steps described or recited in any specification or claim may be performed in any order, and are not limited to those described in the claim order, the scope of the present invention should be determined only by the appended claims and their equivalents, not by the examples exemplified by the embodiments; the term "comprising" and its Variation, as it appears in the description and claims, is an open-ended term that does not have a restrictive meaning and does not exclude other features or steps.

第1圖揭示本發明遠端即時影像支援系統之整體系統架構示意圖;本發明遠端即時影像支援系統100包含位於近端NE或稱本地端(local end)的近端攝像裝置110與近端重投設備120,以及位於遠端RE的遠端播放裝置130等,近端攝像裝置110與近端重投設備120之間,較佳是透過用於建立無線區域網路(WLAN)的無線區域通訊技術而建立通訊連結,例如:Wi-Fi通訊技術、藍芽(BT)通訊技術或藍芽低功耗(BLE)通訊技術等。 FIG. 1 shows a schematic diagram of the overall system structure of the remote real-time image support system of the present invention; the remote real-time image support system 100 of the present invention includes a near-end camera device 110 located at the near-end NE or local end and a near-end heavy-duty camera. The projection equipment 120, and the far-end playback device 130 located at the far-end RE, etc., between the near-end camera device 110 and the near-end re-casting device 120, preferably through wireless local area communication for establishing a wireless local area network (WLAN) A communication link is established using technologies, such as Wi-Fi communication technology, Bluetooth (BT) communication technology or Bluetooth Low Energy (BLE) communication technology.

而近端重投設備120與遠端播放裝置130之間,較佳是透過用於建立廣域網路(WAN)的通訊技術而建立通訊連結,例如:Wi-Fi通訊技術、藍芽通訊技術、藍芽低功耗通訊技術、Sub-1G通訊技術、868MHz通訊技術、916MHz通訊技術、926MHz通訊技術、NB-IOT通訊技術、Zigbee通訊技術、Xbee通訊技術、Z-Wave通訊技術、LoRa通訊技術、乙太網通訊技術、固網通訊技術、點對點(P2P)通訊技術、電信通訊技術、4G通訊技術、5G通訊技術、機器對機器(M2M)通訊技術、物聯網(IoT)通訊技術及其組合其中之一。 The communication link between the near-end replay device 120 and the far-end playback device 130 is preferably established through a communication technology for establishing a wide area network (WAN), such as Wi-Fi communication technology, Bluetooth communication technology, Bluetooth Bud low-power communication technology, Sub-1G communication technology, 868MHz communication technology, 916MHz communication technology, 926MHz communication technology, NB-IOT communication technology, Zigbee communication technology, Xbee communication technology, Z-Wave communication technology, LoRa communication technology, B Ethernet communication technology, fixed network communication technology, peer-to-peer (P2P) communication technology, telecommunication communication technology, 4G communication technology, 5G communication technology, machine-to-machine (M2M) communication technology, Internet of Things (IoT) communication technology and combinations thereof one.

近端攝像裝置110較佳是一種影像串流播送設備,經啟動後能將捕獲的一連串視頻訊號,應用串流媒體(streaming media)技術形成影音流,例如但不限於即時傳輸協定(RTP)、即時傳輸控制協議(RTCP)或即時串流協定(RTSP)等協定,採用例如但不限於H.264編碼格式進行編碼與壓縮,然後透過網際網路分段傳輸以投送(casting)影音流給指定裝置,使用者只要能夠連結網際網路,經使用相同協定解碼影音流後,在無須下載整個視頻訊號之媒體檔案的情況下,就可以直接在網際網路上觀看視頻內容,經由 串流媒體技術使得視頻訊號之資料封包得以像流水一樣傳送。 The near-end camera device 110 is preferably a video streaming broadcasting device, after being activated, a series of captured video signals can be used to form an audio and video stream using a streaming media technology, such as but not limited to Real-Time Transport Protocol (RTP), Protocols such as Real-Time Transmission Control Protocol (RTCP) or Real-Time Streaming Protocol (RTSP), using H.264 encoding format for encoding and compression, and then segmented transmission through the Internet to cast (casting) audio and video streams to Designated device, as long as the user can connect to the Internet, after decoding the audio and video stream using the same protocol, without downloading the media file of the entire video signal, the user can directly watch the video content on the Internet, via Streaming media technology enables data packets of video signals to be transmitted like water.

近端攝像裝置110涵蓋機體上有攝像頭而沒有處理單元例如CPU、MCU或ECU等的攝像頭,這類攝像頭需要連接到其他主機設備,例如但不限於筆記型電腦、智慧手機或平板裝置等,才能發揮攝像功能,這類攝像頭為例如但不限於USB攝像頭(USB cam)或網路攝像頭(webcam)等,近端攝像裝置110也涵蓋機體上有攝像頭以及處理單元的攝像機,這類攝像機可以獨立發揮攝像功能,這類攝像機為例如但不限於Wi-Fi攝像機或IP攝像機等;近端攝像裝置110可以部署在任意位置,基本上是一個非固定式裝置。 The near-end camera device 110 covers a camera with a camera on the body without a processing unit such as a CPU, MCU or ECU, etc. Such cameras need to be connected to other host devices, such as but not limited to laptops, smart phones or tablet devices, etc. Play the camera function, such cameras are, for example, but not limited to, a USB camera (USB cam) or a web camera (webcam), etc. The near-end camera device 110 also covers a camera with a camera and a processing unit on the body, and this type of camera can function independently. Camera function, such cameras are, for example, but not limited to, Wi-Fi cameras or IP cameras; the near-end camera device 110 can be deployed in any position, and is basically a non-fixed device.

近端重投設備120較佳是一種網路影像串流收取設備,且具有支援通訊協定間解碼並重編碼處理的運算能力,其與近端攝像裝置110使用相同的串流媒體技術,透過網際網路接取影音流後,經解碼後就可直接播放,過程中無須下載任何檔案,然後近端重投設備120將影音流解碼儲存為視頻媒體檔案,並應用網頁即時通訊(WebRTC)技術,重新將視頻編碼並向遠端播放裝置130重新投送(recasting);近端重投設備120涵蓋各種具有處理單元例如CPU、MCU或ECU等與網路模組的媒體裝置,例如但不限於OTT(over-the-top)機上盒裝置、行動裝置、智慧手機、平板裝置、筆記型電腦、桌上型電腦等;近端重投設備120可以部署在任意位置,基本上是一個非固定式裝置。 The near-end re-casting device 120 is preferably a network video stream receiving device, and has the computing capability to support decoding and re-encoding processing between communication protocols. After the audio and video streams are received by the channel, they can be played directly after decoding without downloading any files. Then, the near-end re-casting device 120 decodes the audio and video streams and stores them as video media files, and applies the WebRTC technology to recreate the audio and video streams. The video is encoded and recasted to the remote playback device 130; the near-end recast device 120 covers various media devices with processing units such as CPU, MCU or ECU and network modules, such as but not limited to OTT ( over-the-top) set-top box devices, mobile devices, smartphones, tablet devices, laptops, desktops, etc.; the near-end recast device 120 can be deployed anywhere and is basically a non-stationary device .

遠端播放裝置130是一個連網媒體裝置,並提供執行網際網路瀏覽器(browser),且透過瀏覽器時即播放近端重投設備120所傳送的視頻訊號串流,遠端播放裝置130涵蓋各種具有處理單元例如CPU、MCU或ECU 等與網路模組的裝置,例如但不限於機上盒裝置、行動裝置、智慧手機、平板裝置、筆記型電腦、桌上型電腦等;遠端播放裝置130可以部署在任意位置,基本上是一個非固定式裝置。 The remote playback device 130 is a networked media device, and provides an Internet browser (browser), and when the browser is used to play the video signal stream sent by the near-end replay device 120, the remote playback device 130 Covers a variety of processing units such as CPU, MCU or ECU Devices such as network modules, such as but not limited to set-top box devices, mobile devices, smart phones, tablet devices, notebook computers, desktop computers, etc.; the remote playback device 130 can be deployed in any location, basically is a non-fixed device.

在本實施例,近端攝像裝置110、近端重投設備120與遠端播放裝置130,較佳分別是一個Wi-Fi攝像機、機上盒與智慧手機,近端攝像裝置110是應用Wi-Fi通訊技術與附近的Wi-Fi路由設備(router)111建立連線,然後再連結到近端重投設備120,近端重投設備120使用電視121作為顯示器,近端重投設備120則應用乙太網通訊技術與5G通訊技術之組合,而與遠端播放裝置130間建立通訊連結。 In this embodiment, the near-end camera device 110 , the near-end replay device 120 and the far-end playback device 130 are preferably a Wi-Fi camera, a set-top box and a smart phone, respectively, and the near-end camera device 110 uses Wi-Fi The Fi communication technology establishes a connection with a nearby Wi-Fi router 111, and then connects to the near-end recast device 120. The near-end re-cast device 120 uses the TV 121 as a display, and the near-end re-cast device 120 uses the application The combination of the Ethernet communication technology and the 5G communication technology establishes a communication link with the remote playback device 130 .

第2圖與第3圖揭示本發明近端重投設備與遠端播放裝置間點建立對點通訊鏈路示意圖;如第2圖所列示,近端攝像裝置110是例如但不限於:Wi-Fi網路攝像機115或USB攝像頭116,近端重投設備120是例如但不限於:機上盒125或行動裝置126,遠端播放裝置130是例如但不限於:機上盒裝置131、平板裝置132、智慧手機133、筆記型電腦134或桌上型電腦135。 Figures 2 and 3 show schematic diagrams of establishing a point-to-point communication link between the near-end replay device and the far-end playback device of the present invention; as shown in Figure 2, the near-end camera device 110 is, for example, but not limited to: Wi-Fi -Fi network camera 115 or USB camera 116, the near-end replay device 120 is, for example, but not limited to, a set-top box 125 or a mobile device 126, and the far-end playback device 130 is, for example, but not limited to, a set-top box device 131, a tablet Device 132 , smartphone 133 , laptop 134 or desktop 135 .

在近端重投設備120以及遠端播放裝置130之間,較佳可採用點對點(P2P)通訊鏈路(peer-to-peer communication link),以降低網路資源消耗,但如第3圖所示,在近端重投設備120以及遠端播放裝置130建立通訊連結前,誰都不認識對方,這也代表雙方都不知對方在那,因此P2P通訊鏈路之建置,初期需要WebRTC伺服器(WebRTC signaling server)200介入橋接。 Between the near-end replay device 120 and the far-end playback device 130, preferably a peer-to-peer communication link (P2P) can be used to reduce network resource consumption, but as shown in FIG. 3 It is shown that before the near-end recasting device 120 and the far-end playback device 130 establish a communication link, no one knows the other party, which means that both parties do not know where the other party is. Therefore, the establishment of the P2P communication link initially requires a WebRTC server (WebRTC signaling server) 200 is involved in bridging.

但是一旦P2P通訊鏈路建立後,除非通訊鏈路因故中斷,否則通訊過程中伺服器200不需介入,但如果通訊鏈路因故中斷,伺服器200 需再次介入並重新交換連結資訊,以重構P2P通訊鏈路,假設近端重投設備120為機上盒125,遠端播放裝置130為機上盒131,P2P通訊鏈路建置過程如下所述: However, once the P2P communication link is established, unless the communication link is interrupted for some reason, the server 200 does not need to intervene in the communication process, but if the communication link is interrupted for some reason, the server 200 does not need to intervene in the communication process. It is necessary to intervene again and exchange the connection information again to reconstruct the P2P communication link. Assuming that the near-end replay device 120 is the set-top box 125, and the far-end playback device 130 is the set-top box 131, the P2P communication link establishment process is as follows stated:

機上盒125向伺服器200發送與機上盒131進行連線的請求(如步驟11);伺服器200將機上盒125的請求發送給機上盒131(如步驟12);機上盒131向伺服器200進行應答,並回答可以進行通訊(如步驟13);伺服器200向機上盒125發送機上盒131相關連結資訊,包含IP和通訊埠(PORT)號碼等資訊(如步驟14);以及機上盒125與機上盒131雙方開始建立連線後開始通訊(如步驟15)。 The STB 125 sends a request for connecting with the STB 131 to the server 200 (as in step 11); the server 200 sends the request from the STB 125 to the STB 131 (as in step 12); the STB 131 responds to the server 200, and answers that communication is possible (as in step 13); the server 200 sends the STB 125 the relevant link information of the STB 131, including information such as IP and PORT number (as in step 13). 14); and the set-top box 125 and the set-top box 131 start communication after establishing a connection (as in step 15).

第4圖揭示本發明在ICE框架下透過STUN與TURN建立P2P通訊鏈路之時序排程圖;理論上只要裝置能夠連上網際網路,就可以透過上述步驟建立一條直通連線直接溝通,不過很多時候因為基於網路位址轉換(NAT)的IP遮蔽技術或是防火牆等問題,造成上述P2P通訊鏈路無法直接建立,因此必須導入WebRTC的互動式連接建立(ICE)框架,在ICE框架輔助下才能順利建立P2P通訊鏈路,而將近端重投設備120的視頻訊號串流給遠端播放裝置130即時播放顯示。 Figure 4 shows the time sequence diagram of the present invention to establish a P2P communication link through STUN and TURN under the ICE framework; in theory, as long as the device can connect to the Internet, a direct connection can be established through the above steps to communicate directly, but In many cases, the above-mentioned P2P communication link cannot be established directly due to problems such as IP masking technology based on Network Address Translation (NAT) or firewalls. Therefore, the Interactive Connection Establishment (ICE) framework of WebRTC must be imported to assist in the ICE framework. Only then can the P2P communication link be successfully established, and the video signal stream of the near-end recast device 120 is streamed to the remote playback device 130 for real-time playback and display.

經由ICE框架,透過NAT對談穿越應用程序(STUN)與NAT中繼穿越程序(TURN)等協定來處理NAT穿透(NAT traversal)與其他棘手的問題,當兩個裝置都在各自私有網路,透過NAT連接到公有網路,此時無法得知遠端電腦的私有IP,所以透過STUN伺服器,當兩端的裝置連線到STUN伺服器就可以得知各自的網路IP,再透過NAT伺服器內部路由表對照,就會對應到內部的私有IP,此時就能建立P2P通訊鏈路。 Through the ICE framework, NAT traversal and other thorny issues are handled through protocols such as NAT Talk Traversal Application (STUN) and NAT Relay Traversal (TURN), when both devices are on their own private networks , connected to the public network through NAT, the private IP of the remote computer cannot be known at this time, so through the STUN server, when the devices at both ends are connected to the STUN server, they can know their respective network IPs, and then through the NAT The server's internal routing table comparison will correspond to the internal private IP, and a P2P communication link can be established at this time.

如第4圖所揭示,當兩部不同的近端重投設備(Peer A)和遠端播放裝置(Peer B)要建立P2P通訊時,彼此之間一定要知道對方的IP和PORT,但如果兩部裝置Peer A和Peer B都沒有對外IP時,就需要先透過STUN伺服器與TURN伺服器和來執行NAT穿越,裝置Peer A會先產生邀請(offer)會話描述協議(SDP),WebRTC經由訊號通道(Signal Channel)把裝置Peer A的邀請訊息傳給裝置Peer B,當裝置Peer B從訊號通道接收到裝置Peer A的邀請SDP,會立即回答(Answer)裝置A,如果裝置Peer B是回答同意,此時這兩台電腦就會成為ICE框架下的連線候選裝置(candidate),並開始互傳訊息給對方。 As shown in Figure 4, when two different near-end recast devices (Peer A) and far-end playback devices (Peer B) want to establish P2P communication, they must know each other's IP and PORT, but if When the two devices, Peer A and Peer B, have no external IP, they need to perform NAT traversal through the STUN server and the TURN server. The signal channel (Signal Channel) transmits the invitation message of device Peer A to device Peer B. When device Peer B receives the invitation SDP from device Peer A from the signal channel, it will immediately answer (Answer) device A, if device Peer B is the answer Agree, at this time, the two computers will become candidates for connection under the ICE framework and start to send messages to each other.

第5圖係揭示本發明各項軟體核心元件間之系統架構示意圖;第6圖係揭示本發明遠端播放裝置經執行瀏覽器存取網頁平台登入頁面之系統架構示意圖;第7圖係揭示本發明遠端播放裝置透過瀏覽器檢視近端重投設備投送來自近端攝像裝置擷取之影像畫面之示意圖;本實施例係以安卓(Android)作業系統為例說明,近端攝像裝置110、近端重投設備120與遠端播放裝置130皆為使用或支援Android作業系統之相容裝置,各裝置與作業系統之間的運行程序如下所述: Fig. 5 is a schematic diagram showing the system architecture among various software core components of the present invention; Fig. 6 is a schematic diagram showing the system architecture of the remote playback device of the present invention accessing the login page of the web platform through an executing browser; Fig. 7 is a schematic diagram showing the present invention A schematic diagram of the remote playback device viewing the image captured by the near-end camera device through the browser to view the near-end replay device; this embodiment is described by taking the Android operating system as an example. The near-end camera device 110, Both the near-end replay device 120 and the far-end playback device 130 are compatible devices that use or support the Android operating system. The operating procedures between the devices and the operating system are as follows:

預先將FFmpeg編譯成Android App專用之動態連結函式庫(DLL)元件形式,以解碼近端攝像裝置110投送之影音流,作為近端重投設備120內部串流收取轉換之程序函式庫,作為後續傳輸辨識之用,可供Android App隨時調用。 FFmpeg is pre-compiled into a dynamic link library (DLL) component form dedicated to Android App to decode the video stream sent by the near-end camera device 110 as a program library for receiving and converting the internal stream of the near-end re-cast device 120 , which is used for subsequent transmission identification and can be called by the Android App at any time.

致能近端重投設備120中安裝在Android作業系統下執行之應用程式(App),透過原生開發工具包(NDK)調用其內部引用FFmpeg之函式 庫元件,然後讀入並解碼近端攝像裝置110投送之影音流,將影音流解碼轉換為具現實意義之畫格(frame)流(如步驟21)。 Enable the application (App) installed in the near-end re-casting device 120 and executed under the Android operating system, and call the function internally referencing FFmpeg through the native development kit (NDK). The library component then reads in and decodes the audio and video streams sent by the near-end camera device 110, and converts the audio and video streams into realistic frame streams (as in step 21).

經由Android App將畫格流記錄為視頻多媒體檔案,並提供作為其他應用之輸入,例如但不限於:儲存在近端重投設備120本機上、在近端重投設備120本機上進行影像辨識或人臉辨識(如步驟22)。 Record the frame stream as a video multimedia file through the Android App, and provide it as input for other applications, such as but not limited to: storing on the local recast device 120, and performing images on the local recast device 120 Recognition or face recognition (as in step 22).

Android App調用安卓作業系統內建WebRTC專用函式庫元件,將解碼後畫格流輸入WebRTC專用函式庫,而將畫格流重新轉換成符合WebRTC串流規格之影音流(如步驟23)。 The Android App calls the built-in WebRTC dedicated function library component of the Android operating system, inputs the decoded frame stream into the WebRTC dedicated function library, and reconverts the frame stream into an audio and video stream conforming to the WebRTC streaming specification (as in step 23).

近端重投設備120透過WebRTC專用函式庫與WebRTC伺服器200建立連線,等待來自遠端播放裝置130建立P2P通訊鏈路之請求(如步驟24);以及近端重投設備120同意請求,並從近端重投設備120經由P2P通訊鏈路,將來自近端攝像裝置110的影音流,經解碼與再編碼後,向遠端播放裝置130重新投送來自近端攝像裝置110的影音流(如步驟25)。 The near-end replay device 120 establishes a connection with the WebRTC server 200 through the WebRTC dedicated function library, and waits for a request from the remote playback device 130 to establish a P2P communication link (as in step 24); and the near-end replay device 120 agrees to the request , and from the near-end recasting device 120 via the P2P communication link, the video stream from the near-end camera device 110 is decoded and re-encoded, and then re-casts the video and audio stream from the near-end camera device 110 to the far-end playback device 130 flow (as in step 25).

遠端播放裝置130之使用者,無須安裝特別的應用程式,只需操作瀏覽器登入特定網站平台,如第6圖所揭示,就可在網頁上檢視近端攝像裝置110輸出之影像畫面,如第7圖所揭示,近端重投設備120與遠端播放裝置130兩部裝置上播放的影像視頻內容保持高度一致。 The user of the remote playback device 130 does not need to install a special application program, but only needs to operate a browser to log in to a specific website platform, as shown in FIG. As shown in FIG. 7 , the video and video contents played on the near-end re-casting device 120 and the far-end playback device 130 are highly consistent.

近端重投設備120透過WebRTC專用函式庫調用的函式如下所列: The functions called by the RLR device 120 through the WebRTC dedicated function library are listed as follows:

MediaStream(即getUserMedia):從攝影機與麥克風取得影像與聲音的串流。 MediaStream (ie getUserMedia): Get the stream of video and sound from the camera and microphone.

RTCPeerConnection:負責連線的建立、資料加密與頻寬管理等。 RTCPeerConnection: Responsible for connection establishment, data encryption and bandwidth management.

RTCDataChannel:負責傳送一般性的資料。 RTCDataChannel: responsible for transmitting general data.

第8圖係揭示本發明近端重投設備中執行的影音擷取程式模組之示意圖;在近端重投設備120中執行的影音擷取程式模組,其運行程序如下所述: FIG. 8 is a schematic diagram showing the video and audio capture program module executed in the near-end re-casting device of the present invention; the video and audio capture program module executed in the near-end re-projection device 120 , and its operating procedure is as follows:

Android App透過NDK串接其內部引用FFmpeg之函式庫元件,然後讀入並解碼近端攝像裝置110投送之影音流(如步驟31);以及FFmpeg之函式庫元件將影音流解碼為具現實意義之畫格(frame)流,並轉換為MP4格式(如步驟32)。 The Android App concatenates the function library components internally referencing FFmpeg through the NDK, and then reads and decodes the video and audio streams sent by the near-end camera device 110 (as in step 31); and the FFmpeg function library components decode the video and audio streams into Realistic frame (frame) stream, and converted to MP4 format (as in step 32).

影音擷取程式模組負責從MP4影音串流擷取影像或音訊,包括取得視訊和音訊之參數組態(Parameter Configuration),也包括影音之編碼/解碼(Encoding/Decoding)等功能,且調用如下函式: The video capture program module is responsible for capturing video or audio from MP4 video stream, including obtaining the parameter configuration (Parameter Configuration) of video and audio, as well as video and audio encoding/decoding (Encoding/Decoding) and other functions, and the call is as follows function:

類別:public class EM_PlaybackObject class: public class EM_PlaybackObject

函式: function:

(1)Constructor function EM_PlaybackObject用來建立一個PlaybackObject。 (1) Constructor function EM_PlaybackObject is used to create a PlaybackObject.

(2)void encode()--將PlaybackObject的影音編碼。 (2) void encode()--encode the audio and video of the PlaybackObject.

(3)void decode()--將PlaybackObject的影音解碼。 (3) void decode()--decode the audio and video of PlaybackObject.

第9圖係揭示本發明近端重投設備中執行的影音儲存程式模組之示意圖;在近端重投設備120中執行的影音儲存程式模組,其運行程序如下所述: FIG. 9 is a schematic diagram showing the video and audio storage program module executed in the near-end re-casting device of the present invention; the video and audio storage program module executed in the near-end re-casting device 120, its operating procedure is as follows:

Android App調用Android作業系統內建之裝置儲存(Device Storage)函式庫元件,其供用於內部或外部檔案之存取與管理,以取得檔案 儲存空間資訊、協調必要之儲存位置,並存取MP4格式數據預備進行儲存(如步驟41);以及透過裝置儲存函式庫元件,近端重投設備120選擇將MP4格式數據在本機上進行內部儲存為MP4檔案、或者在外部擴充裝置上進行外部儲存為MP4檔案(如步驟42)。 Android App calls the built-in Device Storage library component of the Android operating system, which is used for internal or external file access and management to obtain files Store space information, coordinate necessary storage locations, and access MP4 format data to prepare for storage (as in step 41); and store the library component through the device, and the near-end replaying device 120 selects the MP4 format data to be stored locally. The internal storage is an MP4 file, or the external storage is performed on an external expansion device as an MP4 file (as in step 42).

影音儲存程式模組包含影像寫入檔案程序,負責把擷取的MP4影音串流資料寫入在地端(Local)檔案,以便之後可讀出重播或轉送到其它聯網電視、機上盒或是其它行動設備,且調用如下的函式: The video storage program module includes the video writing file program, which is responsible for writing the captured MP4 video streaming data to the local file, so that it can be read, replayed or transferred to other networked TVs, set-top boxes or other mobile devices, and call the following functions:

類別:public class EM_PlaybackObject class: public class EM_PlaybackObject

函式: function:

(1)void createEMPO( )--由Constructor叫用建立物件。 (1) void createEMPO( )--called by the Constructor to create an object.

(2)String[ ]getFileInfo( )--取得檔案資訊。 (2) String[ ]getFileInfo( )--Get file information.

(3)int saveRecord( )--把目前影音資料寫入檔案。 (3) int saveRecord( )--Write the current video and audio data into the file.

(4)int closeEMPO( )--關閉檔案影音檔案讀取模組。 (4)int closeEMPO( )--Close the file audio and video file reading module.

影音儲存程式模組包含影像檔案讀取程序,負責把之前已經存檔的MP4影音串流資料從檔案讀出,依使用者需求重播或轉送到其它聯網電視、機上盒或是其它行動設備,且調用如下的函式: The video storage program module includes the video file reading program, which is responsible for reading the previously archived MP4 video streaming data from the file, replaying or transferring it to other networked TVs, set-top boxes or other mobile devices according to user needs, and Call the following function:

類別:public class EM_PlaybackObject class: public class EM_PlaybackObject

函式: function:

(1)void openEMPO( )--開起已存在檔案為物件 (1)void openEMPO( )--Open an existing file as an object

(2)String[ ]getFileInfo( )--取得檔案資訊 (2) String[ ]getFileInfo( )--get file information

(3)int readRecord( )--讀取下一筆影音資料 (3)int readRecord( )--read the next audio and video data

(4)int seek(int position)--跳到檔案position處 (4)int seek(int position)--jump to the file position

(5)int closeEMPO( )--關閉檔案 (5)int closeEMPO( )--close the file

第10圖係揭示本發明近端重投設備中執行的影音存取程式模組之示意圖;當遠端播放裝置130透過P2P通訊鏈路向近端重投設備120請求存取檢視MP4檔案時,其運行程序如下所述: FIG. 10 is a schematic diagram showing the video and audio access program module executed in the near-end re-casting device of the present invention; when the remote playback device 130 requests the near-end re-casting device 120 to access and view the MP4 file through the P2P communication link, Its operating procedure is as follows:

Android App調用小型超文本傳輸協定(HTTP)服務函式庫元件,其透過AndroidAsync呼叫一系列HTTP Server與Client程式介面框架,供用於在近端重投設備120之區域網路介面上搭建一個小型HTTP伺服器以供遠端播放裝置130存取(如步驟51);Android App調用並透過小型HTTP服務函式庫元件,向裝置儲存函式庫元件請求存取內部儲存或外部儲存之MP4檔案(如步驟52);以及遠端播放裝置130之使用者透過支援HTML5標準之瀏覽器工具軟體瀏覽HTTP服務,即可檢視近端重投設備120所儲存之MP4檔案內包含的視頻內容。 The Android App calls a small Hypertext Transfer Protocol (HTTP) service library component, which calls a series of HTTP Server and Client programming interface frameworks through AndroidAsync, for building a small HTTP on the local area network interface of the near-end replay device 120 The server is accessed by the remote playback device 130 (as in step 51); the Android App calls and requests the device storage library element to access MP4 files in internal storage or external storage through a small HTTP service library element (eg Step 52); and the user of the remote playback device 130 can view the video content contained in the MP4 file stored in the near-end replay device 120 by browsing the HTTP service through the browser tool software supporting the HTML5 standard.

第11圖與第12圖係揭示本發明HTML網頁分割畫面之示意圖;當使用者透過瀏覽器檢視近端重投設備120儲存之MP4檔案、或者來自近端攝像裝置110的即時影像時,瀏覽器存取並開啟搭建在近端重投設備120區域網路介面上的小型HTTP伺服器,並存取指定的HTML網頁,此HTML網頁經設計可以分割為多重畫面,如第11圖所揭示,HTML網頁經分割為兩個畫面,上方的第一畫面301是顯示MP4檔案之畫面,下方的第二畫面302則提供一個即時通訊程式介面,可以讓近端重投設備120與近端攝像裝置110之操作者,與遠端播放裝置13之使用者,兩者進行即時對話。 FIG. 11 and FIG. 12 are schematic diagrams showing the split screen of the HTML webpage according to the present invention; when the user views the MP4 file stored in the near-end replay device 120 or the real-time image from the near-end camera device 110 through the browser, the browser Access and open the small HTTP server built on the local area network interface of the near-end recasting device 120, and access the specified HTML page. This HTML page is designed to be divided into multiple screens. As shown in Figure 11, the HTML The webpage is divided into two screens, the first screen 301 at the top is a screen for displaying MP4 files, and the second screen 302 at the bottom provides an instant messaging program interface, which allows the near-end replaying device 120 and the near-end camera device 110 to communicate with each other. The operator and the user of the remote playback device 13 conduct a real-time dialogue.

第12圖所揭示的HTML網頁則分割為三個畫面,上方的第一畫面401是顯示MP4檔案之畫面,中間的第二畫面402則提供作為電子廣告 (EDM)的展示空間,下方的第三畫面403則提供一個遠端操控介面,讓遠端播放裝置13之使用者操控位在近端處的設備。 The HTML webpage shown in FIG. 12 is divided into three screens, the first screen 401 at the top is a screen for displaying MP4 files, and the second screen 402 in the middle is provided as an electronic advertisement (EDM) display space, the lower third screen 403 provides a remote control interface, allowing the user of the remote playback device 13 to control the equipment located at the near end.

本發明提出之遠端即時影像支援系統100,在近端攝像裝置110係採用外接Wi-Fi攝像機或USB攝像頭,搭配WebRTC及P2P通訊鏈路,可實施低成本高效率的即時影音串流重投技術,相關情境應用如下列但不限於如下列。 In the remote real-time image support system 100 proposed by the present invention, the near-end camera device 110 adopts an external Wi-Fi camera or a USB camera, and is equipped with WebRTC and P2P communication links, which can implement low-cost and high-efficiency real-time video streaming replay Technologies, relevant contextual applications are as follows but not limited to the following.

人臉辨識:使用OTT機上盒裝置及USB攝像頭,搭配在遠端播放裝置130上執行TensorFlow Lite之臉部識別程序,以及OTT機上盒進一步連結一組電子鎖,可進行低成本高效率之臉部識別,系統直接從遠端自動解鎖電子鎖。 Face recognition: Using an OTT set-top box device and a USB camera, and running the face recognition program of TensorFlow Lite on the remote playback device 130, and the OTT set-top box is further connected with a set of electronic locks, it can be used for low-cost and high-efficiency processing. Face recognition, the system automatically unlocks the electronic lock directly from the remote end.

遠端設備維修:以任何一種智慧手機搭配微型USB攝像頭,微型USB攝像頭可以固定或是用蛇管往外延伸擴展,多了近一公尺的連線長度,現場人員讓鏡頭深入到機器設備的內部或是細節,將即時影像投送給在遠端的資深技師,讓資深技師透過可以即時檢視設備況狀,指導現場人員進行故障排除、或相關維修事項,其HTML網頁如第11圖所揭示。 Remote equipment maintenance: Use any smart phone with a micro-USB camera. The micro-USB camera can be fixed or extended with a coiled tube. The length of the connection is nearly one meter. It is the details. The real-time image is sent to the senior technicians at the remote end, so that the senior technicians can view the equipment status in real time and guide the on-site personnel to carry out troubleshooting or related maintenance matters. The HTML page is shown in Figure 11.

遠端視訊監控:以Wi-Fi攝像機作為近端攝像裝置,使用者的智慧手機作為遠端播放裝置,並透過網關(gateway)搭配其他感應器,可以進行區域監視與控制,例如監控盆栽及花園,有需要則進行灑水,達到遠端監控的目的,其HTML網頁如第12圖所揭示。 Remote video surveillance: Wi-Fi camera is used as the near-end camera device, the user's smartphone is used as the far-end playback device, and through the gateway (gateway) with other sensors, regional monitoring and control can be performed, such as monitoring potted plants and gardens , sprinkle water if necessary to achieve the purpose of remote monitoring, and its HTML page is shown in Figure 12.

智慧家庭保全居家安全:以Wi-Fi攝像機作為門口監視攝影機,並透過網關(gateway)搭配其他感應器,將Wi-Fi攝像機作取得之影像作為家庭保全門戶影像來源,後續可以進行其他控制,例如但不限於: Smart home security home security: use the Wi-Fi camera as the door surveillance camera, and through the gateway (gateway) with other sensors, the image obtained by the Wi-Fi camera is used as the home security portal image source, and other controls can be performed later, such as But not limited to:

瓦斯安全:搭配溫度感應器外出中可以透過影像來得知瓦斯是否關閉,也可以將影像轉送給保全人員。消防警報:搭配警報器如有警報發生,可以透過人工智慧聲音及影像辨識瞭解目前狀況。保險箱保全:搭配PIR感應器如有人接近,可以發出通知並透過影像瞭解目前狀況。 Gas safety: When you go out with a temperature sensor, you can know whether the gas is turned off through the image, and you can also transfer the image to the security personnel. Fire alarm: With the alarm, if an alarm occurs, you can understand the current situation through artificial intelligence sound and image recognition. Safe security: with PIR sensor, if someone approaches, you can send a notification and understand the current situation through the image.

第13圖揭示本發明遠端即時影像支援方法之實施步驟流程圖;小結而言,本發明還包含遠端即時影像支援方法1300,較佳包含下列步驟:經由包含攝像頭的近端攝像裝置即時擷取視頻訊號,並應用串流媒體技術編碼並傳輸該視頻訊號(步驟1301);使用近端重投設備經由第一無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取和解碼該視頻訊號,並應用網頁即時通訊技術,將解碼後該視頻訊號重編碼為視訊並重投該視訊(步驟1302);使用遠端播放裝置執行網路瀏覽器並經由第二通訊技術與該近端重投設備建立通訊連結,並在該網路瀏覽器中播放該視訊(步驟1303)。 FIG. 13 shows a flowchart of the implementation steps of the remote real-time image support method of the present invention; in summary, the present invention also includes a remote real-time image support method 1300, preferably including the following steps: real-time capture through a near-end camera device including a camera Obtain the video signal, encode and transmit the video signal using streaming media technology (step 1301); use the near-end re-casting device to establish a wireless communication link with the near-end camera device via the first wireless communication technology to receive and decode the video signal, and apply the web instant messaging technology to re-encode the decoded video signal into video and replay the video (step 1302); use the remote playback device to execute a web browser and replay the near-end via the second communication technology The device establishes a communication link and plays the video in the web browser (step 1303).

小結來說,本發明提出建立一個P2P即時影音分享與通訊平台,以雲端服務平台(PaaS)技術為基礎,再延伸建立透過WebRTC P2P串流技術的影音分享模組,藉此擴大既有PaaS平台的功能與服務廣度,且本發明提出之遠端即時影像支援系統支援網頁瀏覽器進行即時語音或視訊,並支援目前各種主流的行動裝置平台(Android/iOS/Windows),具有跨平台整合效果。 To sum up, the present invention proposes to establish a P2P real-time video sharing and communication platform, which is based on the cloud service platform (PaaS) technology, and then extends to establish a video sharing module through the WebRTC P2P streaming technology, thereby expanding the existing PaaS platform. and the remote real-time image support system proposed by the present invention supports web browsers for real-time voice or video, and supports various current mainstream mobile device platforms (Android/iOS/Windows), with cross-platform integration effect.

系統中部署在近端的Wi-Fi攝像機與USB攝像頭,透過無線或是USB連接線將影音訊號傳送到近端重投設備後,近端重投設備將與WebRTC伺服器連線,取得遠端播放裝置的位置,之後就不再需要WebRTC 伺服器,是直接透過P2P方式將近端的影音傳送分享到遠端播放裝置上,尤其近端重投設備可以是一個OTT機上盒裝置,能深入家庭客廳或是公開場域,行動裝置則是進入個人使用場域。 The Wi-Fi camera and USB camera deployed at the near end in the system transmit the video and audio signals to the near-end recast device through a wireless or USB cable. The location of the playback device, after which WebRTC is no longer required The server directly transmits and shares the near-end video and audio to the remote playback device through P2P mode, especially the near-end replay device can be an OTT set-top box device, which can penetrate into the family living room or public area, while the mobile device can enter field for personal use.

本發明以上各實施例彼此之間可以任意組合或者替換,從而衍生更多之實施態樣,但皆不脫本發明所欲保護之範圍,茲進一步提供更多本發明實施例如次: The above embodiments of the present invention can be arbitrarily combined or replaced with each other, so as to derive more implementation aspects, but none of them deviate from the scope of protection of the present invention. More embodiments of the present invention are further provided as follows:

實施例1:一種遠端即時影像支援系統,其包含:近端攝像裝置,其具有攝像頭以即時擷取視頻訊號,並應用串流媒體技術編碼並傳輸該視頻訊號;近端重投設備,其經由無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取且解碼該視頻訊號,並應用網頁即時通訊技術,將解碼後該視頻訊號重編碼為視訊並重投該視訊;以及遠端播放裝置,其執行網路瀏覽器並經由通訊技術與該近端重投設備建立通訊連結以接收該視頻,並在該網路瀏覽器中播放該視訊。 Embodiment 1: A remote real-time image support system, which includes: a near-end camera device, which has a camera to capture video signals in real time, and uses streaming media technology to encode and transmit the video signals; Establishing a wireless communication link with the near-end camera device through wireless communication technology to receive and decode the video signal, and apply the web instant communication technology to re-encode the decoded video signal into video and replay the video; and a remote playback device , which executes a web browser and establishes a communication link with the near-end recasting device via communication technology to receive the video and play the video in the web browser.

實施例2:如實施例1所述之遠端即時影像支援系統,還包含:網頁即時通訊伺服器,其介於該近端重投設備與該遠端播放裝置之間作為橋接裝置,以提供在該近端重投設備與該遠端播放裝置之間建立符合該網頁即時通訊技術之點對點通訊鏈路。 Embodiment 2: The remote real-time image support system as described in Embodiment 1, further comprising: a web page real-time communication server, which acts as a bridge device between the near-end replay device and the remote playback device to provide A point-to-point communication link conforming to the web page instant communication technology is established between the near-end replay device and the far-end playback device.

實施例3:如實施例2所述之遠端即時影像支援系統,其中該網頁即時通訊伺服器係基於互動式連接建立框架並配合網路位址轉換對談穿越應用程序伺服器與網路位址轉換中繼穿越程序伺服器而完成網路位址轉換穿越。 Embodiment 3: The remote real-time image support system as described in Embodiment 2, wherein the web instant messaging server is based on the interactive connection establishment framework and cooperates with the network address translation dialogue to traverse the application server and the network location. The address translation relay traverses the program server to complete the network address translation traversal.

實施例4:如實施例1所述之遠端即時影像支援系統,其中該 近端重投設備中還包含影音流轉換畫格流函式庫元件、網頁即時通訊專用函式庫元件、裝置儲存函式庫元件、小型超文本傳輸協定服務函式庫、影音擷取程式模組、影音儲存程式模組、影音存取程式模組、影像寫入檔案程序以及影像檔案讀取程序。 Embodiment 4: The remote real-time image support system as described in Embodiment 1, wherein the The near-end replay equipment also includes video and audio stream conversion frame stream function library components, special function library components for webpage instant messaging, device storage function library components, small hypertext transfer protocol service function library, and video and audio capture program module. group, video storage program module, video access program module, video write file program, and video file read program.

實施例5:如實施例4所述之遠端即時影像支援系統,其中該近端重投設備經由該影音流轉換畫格流函式庫元件將該視頻訊號轉換為具有複數畫格之視頻,並經由該裝置儲存函式庫元件將轉換後該視頻儲存為視頻檔案。 Embodiment 5: The remote real-time image support system as described in Embodiment 4, wherein the near-end reprojection device converts the video signal into a video with a plurality of frames through the video stream conversion frame stream library component, And the converted video is stored as a video file through the device storage library element.

實施例6:如實施例4所述之遠端即時影像支援系統,其中該小型超文本傳輸協定服務函式庫經配置用於在近端重投設備所屬之區域網路介面上搭建一個小型超文本傳輸協定伺服器以供遠端播放裝置存取。 Embodiment 6: The remote real-time image support system as described in Embodiment 4, wherein the small hypertext transfer protocol service function library is configured to build a small hypertext transfer protocol on the local area network interface to which the near-end replay device belongs. TTP server for remote playback device to access.

實施例7:如實施例1所述之遠端即時影像支援系統,其中該近端攝像裝置是Wi-Fi網路攝像機、IP攝像機、網路攝像頭或USB攝像頭,該近端重投設備是機上盒裝置、行動裝置、智慧手機、平板裝置、筆記型電腦、桌上型電腦或處理儲存單元裝置,該遠端播放裝置是機上盒裝置、行動裝置、智慧手機、平板裝置、筆記型電腦或桌上型電腦。 Embodiment 7: The remote real-time image support system according to Embodiment 1, wherein the near-end camera device is a Wi-Fi network camera, an IP camera, a network camera or a USB camera, and the near-end re-casting device is a camera. Top box device, mobile device, smart phone, tablet device, notebook computer, desktop computer or processing storage unit device, the remote playback device is a set-top box device, mobile device, smart phone, tablet device, notebook computer or desktop computer.

實施例8:如實施例1所述之遠端即時影像支援系統,其中該串流媒體技術係為即時傳輸協定、即時傳輸控制協議或即時串流協定。 Embodiment 8: The remote real-time image support system as described in Embodiment 1, wherein the streaming media technology is RTSP, RTCP or RTSP.

實施例9:如實施例1所述之遠端即時影像支援系統,其中該第一無線通訊技術係為Wi-Fi通訊技術、藍芽通訊技術或者藍芽低功耗通訊技術,該第二通訊技術係為Wi-Fi通訊技術、藍芽通訊技術、藍芽低功耗通訊技術、Sub-1G通訊技術、868MHz通訊技術、916MHz通訊技術、926MHz 通訊技術、NB-IOT通訊技術、Zigbee通訊技術、Xbee通訊技術、Z-Wave通訊技術、LoRa通訊技術、乙太網網路通訊技術、固網通訊技術、點對點通訊技術、電信通訊技術、4G通訊技術、5G通訊技術、機器對機器通訊技術、物聯網通訊技術及其組合其中之一。 Embodiment 9: The remote real-time image support system according to Embodiment 1, wherein the first wireless communication technology is Wi-Fi communication technology, Bluetooth communication technology or Bluetooth low power communication technology, and the second communication technology is The technology department is Wi-Fi communication technology, Bluetooth communication technology, Bluetooth low power communication technology, Sub-1G communication technology, 868MHz communication technology, 916MHz communication technology, 926MHz Communication technology, NB-IOT communication technology, Zigbee communication technology, Xbee communication technology, Z-Wave communication technology, LoRa communication technology, Ethernet network communication technology, fixed network communication technology, point-to-point communication technology, telecommunication communication technology, 4G communication technology, 5G communication technology, machine-to-machine communication technology, Internet of Things communication technology and one of their combinations.

實施例10:一種遠端即時影像支援方法,其包含:經由包含攝像頭的近端攝像裝置即時擷取視頻訊號,並應用串流媒體技術編碼並傳輸該視頻訊號;使用近端重投設備經由第一無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取和解碼該視頻訊號,並應用網頁即時通訊技術,將解碼後該視頻訊號重編碼為視訊並重投該視訊;以及使用遠端播放裝置執行網路瀏覽器並經由第二通訊技術與該近端重投設備建立通訊連結,並在該網路瀏覽器中播放該視訊。 Embodiment 10: A remote real-time image support method, comprising: capturing video signals in real time through a near-end camera device including a camera, and applying streaming media technology to encode and transmit the video signals; A wireless communication technology establishes a wireless communication connection with the near-end camera device to receive and decode the video signal, and apply the web instant communication technology to re-encode the decoded video signal into video and replay the video; and use remote playback The device executes a web browser and establishes a communication link with the near-end recasting device via the second communication technology, and plays the video in the web browser.

本發明各實施例彼此之間可以任意組合或者替換,從而衍生更多之實施態樣,但皆不脫本發明所欲保護之範圍,本發明保護範圍之界定,悉以本發明申請專利範圍所記載者為準。 The various embodiments of the present invention can be arbitrarily combined or replaced with each other, so as to derive more implementation modes, but none of them deviate from the intended protection scope of the present invention. The recorder shall prevail.

NE:近端 NE: Proximal

RE:遠端 RE: remote

100:本發明遠端即時影像支援系統 100: Remote real-time image support system of the present invention

110:近端攝像裝置 110: Proximal camera device

111:路由設備 111: Routing device

120:近端重投設備 120: Proximal Recast Equipment

121:電視 121: TV

130:遠端播放裝置 130: Remote playback device

Claims (10)

一種遠端即時影像支援系統,其包含: A remote real-time image support system, comprising: 一近端攝像裝置,其具有一攝像頭以即時擷取一視頻訊號,並應用一串流媒體技術編碼並傳輸該視頻訊號; a near-end camera device, which has a camera to capture a video signal in real time, and encodes and transmits the video signal using a stream of streaming media technology; 一近端重投設備,其經由一無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取且解碼該視頻訊號,並應用一網頁即時通訊技術,將解碼後該視頻訊號重編碼為一視訊並重投該視訊;以及 A near-end re-casting device, which establishes a wireless communication connection with the near-end camera device through a wireless communication technology to receive and decode the video signal, and applies a web instant communication technology to re-encode the decoded video signal into a video and replay the video; and 一遠端播放裝置,其執行一網路瀏覽器並經由一通訊技術與該近端重投設備建立通訊連結以接收該視頻,並在該網路瀏覽器中播放該視訊。 A remote playback device executes a web browser and establishes a communication link with the near-end recasting device via a communication technology to receive the video and play the video in the web browser. 如請求項1所述之遠端即時影像支援系統,還包含: The remote real-time image support system as described in claim 1, further comprising: 一網頁即時通訊伺服器,其介於該近端重投設備與該遠端播放裝置之間作為一橋接裝置,以提供在該近端重投設備與該遠端播放裝置之間建立符合該網頁即時通訊技術之一點對點通訊鏈路。 A web-based instant messaging server, which acts as a bridge device between the near-end replay device and the far-end playback device, to provide the establishment of conformance to the web page between the near-end re-cast device and the far-end playback device One of the instant messaging technologies is a point-to-point communication link. 如請求項2所述之遠端即時影像支援系統,其中該網頁即時通訊伺服器係基於一互動式連接建立框架並配合一網路位址轉換對談穿越應用程序伺服器與一網路位址轉換中繼穿越程序伺服器而完成網路位址轉換穿越。 The remote real-time image support system as claimed in claim 2, wherein the web instant messaging server is based on an interactive connection establishment framework and cooperates with a network address translation dialogue through the application server and a network address The network address translation traversal is completed by switching the relay traversal process server. 如請求項1所述之遠端即時影像支援系統,其中該近端重投設備中還包含一影音流轉換畫格流函式庫元件、一網頁即時通訊專用函式庫元件、一裝置儲存函式庫元件、一小型超文本傳輸協定服務函式庫、一影音擷取 程式模組、一影音儲存程式模組、一影音存取程式模組、一影像寫入檔案程序以及一影像檔案讀取程序。 The remote real-time image support system according to claim 1, wherein the near-end re-casting device further comprises an audio-video stream conversion frame stream function library element, a webpage instant messaging dedicated function library element, and a device storage function library components, a small hypertext transfer protocol service library, a video and audio capture A program module, an audio-visual storage program module, an audio-visual access program module, an image writing file program, and an image file reading program. 如請求項4所述之遠端即時影像支援系統,其中該近端重投設備經由該影音流轉換畫格流函式庫元件將該視頻訊號轉換為具有複數畫格之一視頻,並經由該裝置儲存函式庫元件將轉換後該視頻儲存為視頻檔案。 The remote real-time video support system of claim 4, wherein the near-end reprojection device converts the video signal into a video with a plurality of frames through the video stream conversion frame stream library component, and converts the video signal into a video with a plurality of frames through the video stream conversion frame stream library component. The device storage library component stores the converted video as a video file. 如請求項4所述之遠端即時影像支援系統,其中該小型超文本傳輸協定服務函式庫經配置用於在近端重投設備所屬之區域網路介面上搭建一個小型超文本傳輸協定伺服器以供遠端播放裝置存取。 The remote real-time video support system of claim 4, wherein the small hypertext transfer protocol service library is configured to build a small hypertext transfer protocol server on the local area network interface to which the near-end replay device belongs device for remote playback device access. 如請求項1所述之遠端即時影像支援系統,其中該近端攝像裝置是一Wi-Fi網路攝像機、一IP攝像機、一網路攝像頭或一USB攝像頭,該近端重投設備是一機上盒裝置、一行動裝置、一智慧手機、一平板裝置、一筆記型電腦、一桌上型電腦或一處理儲存單元裝置,該遠端播放裝置是一機上盒裝置、一行動裝置、一智慧手機、一平板裝置、一筆記型電腦或一桌上型電腦。 The remote real-time image support system as claimed in claim 1, wherein the near-end camera device is a Wi-Fi network camera, an IP camera, a network camera or a USB camera, and the near-end recast device is a A set-top box device, a mobile device, a smart phone, a tablet device, a notebook computer, a desktop computer or a processing storage unit device, the remote playback device is a set-top box device, a mobile device, A smartphone, a tablet device, a laptop or a desktop computer. 如請求項1所述之遠端即時影像支援系統,其中該串流媒體技術係為一即時傳輸協定、一即時傳輸控制協議或一即時串流協定。 The remote real-time image support system of claim 1, wherein the streaming media technology is a real-time transmission protocol, a real-time transmission control protocol or a real-time streaming protocol. 如請求項1所述之遠端即時影像支援系統,其中該第一無線通訊技術係為一Wi-Fi通訊技術、一藍芽通訊技術或者一藍芽低功耗通訊技術,該第二通訊技術係為一Wi-Fi通訊技術、一藍芽通訊技術、一藍芽低功耗通訊技 術、一Sub-1G通訊技術、一868MHz通訊技術、一916MHz通訊技術、一926MHz通訊技術、一NB-IOT通訊技術、一Zigbee通訊技術、一Xbee通訊技術、一Z-Wave通訊技術、一LoRa通訊技術、一乙太網網路通訊技術、一固網通訊技術、一點對點通訊技術、一電信通訊技術、一4G通訊技術、一5G通訊技術、一機器對機器通訊技術、一物聯網通訊技術及其組合其中之一。 The remote real-time image support system according to claim 1, wherein the first wireless communication technology is a Wi-Fi communication technology, a Bluetooth communication technology or a Bluetooth low power communication technology, and the second communication technology It is a Wi-Fi communication technology, a Bluetooth communication technology, a Bluetooth low power communication technology technology, a Sub-1G communication technology, a 868MHz communication technology, a 916MHz communication technology, a 926MHz communication technology, a NB-IOT communication technology, a Zigbee communication technology, an Xbee communication technology, a Z-Wave communication technology, a LoRa Communication technology, Ethernet network communication technology, fixed network communication technology, point-to-point communication technology, telecommunication communication technology, 4G communication technology, 5G communication technology, machine-to-machine communication technology, Internet of Things communication technology and one of its combinations. 一種遠端即時影像支援方法,其包含: A remote real-time image support method, comprising: 經由包含一攝像頭的一近端攝像裝置即時擷取一視頻訊號,並應用一串流媒體技術編碼並傳輸該視頻訊號; Capture a video signal in real time through a near-end camera device including a camera, and apply a stream of streaming media technology to encode and transmit the video signal; 使用一近端重投設備經由一第一無線通訊技術與該近端攝像裝置建立無線通訊連結,以收取和解碼該視頻訊號,並應用一網頁即時通訊技術,將解碼後該視頻訊號重編碼為一視訊並重投該視訊;以及 Use a near-end re-casting device to establish a wireless communication connection with the near-end camera device through a first wireless communication technology to receive and decode the video signal, and apply a web instant communication technology to re-encode the decoded video signal into a video and recast the video; and 使用一遠端播放裝置執行一網路瀏覽器並經由一第二通訊技術與該近端重投設備建立通訊連結,並該網路瀏覽器中播放該視訊。 A remote playback device is used to execute a web browser, and a communication link is established with the near-end recasting device through a second communication technology, and the video is played in the web browser.
TW109118326A 2020-06-01 2020-06-01 Remote-end instant image supporting system and method TWI718957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109118326A TWI718957B (en) 2020-06-01 2020-06-01 Remote-end instant image supporting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109118326A TWI718957B (en) 2020-06-01 2020-06-01 Remote-end instant image supporting system and method

Publications (2)

Publication Number Publication Date
TWI718957B TWI718957B (en) 2021-02-11
TW202147833A true TW202147833A (en) 2021-12-16

Family

ID=75745822

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109118326A TWI718957B (en) 2020-06-01 2020-06-01 Remote-end instant image supporting system and method

Country Status (1)

Country Link
TW (1) TWI718957B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI801958B (en) * 2021-08-06 2023-05-11 方榮傑 System and method for equipment maintenance

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2444872A1 (en) * 2001-04-20 2002-10-31 General Instrument Corporation Transport multiplexer management and control
US8200775B2 (en) * 2005-02-01 2012-06-12 Newsilike Media Group, Inc Enhanced syndication
WO2005062221A1 (en) * 2003-12-18 2005-07-07 Climb Inc. Wedding ceremony information distribution system
US20090049491A1 (en) * 2007-08-16 2009-02-19 Nokia Corporation Resolution Video File Retrieval
US20150046537A1 (en) * 2007-11-21 2015-02-12 Vdoqwest, Inc., A Delaware Corporation Retrieving video annotation metadata using a p2p network and copyright free indexes
WO2011157143A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Method and device for multi-rates handover in live broadcast

Also Published As

Publication number Publication date
TWI718957B (en) 2021-02-11

Similar Documents

Publication Publication Date Title
US10412130B2 (en) Method and apparatus for playing media stream on web browser
CN107682657B (en) WebRTC-based multi-user voice video call method and system
US8782270B2 (en) Method and system for streaming live teleconferencing feeds to mobile client devices
KR101821123B1 (en) Method and apparatus for playing media stream on web-browser
KR101821124B1 (en) Method and apparatus for playing media stream on web-browser
EP3059945A1 (en) Method and system for video surveillance content adaptation, and central server and device
CN103259709A (en) End-to-end mobile phone real-time video transmission method based on virtual private network
CN103414890A (en) Realization method of remote desktop and device thereof
CN111970473A (en) Method, device, equipment and storage medium for realizing synchronous display of double video streams
CN111147789B (en) Method, device and equipment for recording audio and video stream and storage medium
TWI718957B (en) Remote-end instant image supporting system and method
CN111131743A (en) Video call method and device based on browser, electronic equipment and storage medium
CN110769297A (en) Audio and video data processing method and system
CN116489307B (en) Network monitoring system, network monitoring method, network monitoring device and related equipment
CN106973300A (en) A kind of mobile Internet net cast platform
WO2012174908A1 (en) Method, device and system for realizing audio transcoding of text to speech
CN110381285B (en) Conference initiating method and device
CN114339146B (en) Audio and video monitoring method and device, electronic equipment and computer readable storage medium
JP5834151B2 (en) Method, apparatus and system for implementing video monitoring based on universal plug and play
CN112532719B (en) Information stream pushing method, device, equipment and computer readable storage medium
CN102364934A (en) Method and system for realizing remote monitoring video transmission by utilizing video telephone
CN111064916A (en) Video call method and device, electronic equipment and storage medium
CN112653868A (en) Cloud-based multi-person remote scene secure video conference communication system
Ji et al. A smart Android based remote monitoring system
CN110719435A (en) Method and system for carrying out terminal conference