TW201904303A - Television program playing method and related terminal device - Google Patents
Television program playing method and related terminal device Download PDFInfo
- Publication number
- TW201904303A TW201904303A TW106123425A TW106123425A TW201904303A TW 201904303 A TW201904303 A TW 201904303A TW 106123425 A TW106123425 A TW 106123425A TW 106123425 A TW106123425 A TW 106123425A TW 201904303 A TW201904303 A TW 201904303A
- Authority
- TW
- Taiwan
- Prior art keywords
- television program
- tag
- input source
- terminal device
- browser application
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Abstract
Description
本發明涉及視頻播放領域,特別是涉及一種電視節目播放方法以及相關的終端設備。The present invention relates to the field of video playback, and in particular, to a television program playback method and related terminal equipment.
隨著科技的不斷發展,可攜式移動終端(例如,手機、pad、筆記型電腦等等)的普及率越來越高。特別是,隨著互聯網技術和移動通信技術的發展和融合,利用可攜式移動終端來上網、聊天、休閒娛樂、查看資訊等等,這已經成為人們日常生活中重要的一部分。With the continuous development of technology, the popularity of portable mobile terminals (such as mobile phones, pads, notebook computers, etc.) is getting higher and higher. In particular, with the development and integration of Internet technology and mobile communication technology, the use of portable mobile terminals to access the Internet, chat, leisure and entertainment, view information, etc. has become an important part of people's daily lives.
通過可攜式移動終端來觀看電視節目,已經是人們日常生活中重要的一項休閒娛樂活動。一般情況下,人們通常是在wifi環境下利用應用程式線上觀看電視節目;或者,在wifi環境下將用戶想要觀看的電視節目下載(或者緩存)至移動終端本地的應用程式,以在非wifi環境下能夠收看電視節目。Watching TV programs through portable mobile terminals has become an important leisure and entertainment activity in people's daily lives. Under normal circumstances, people usually watch TV programs online using applications under the wifi environment; or download (or cache) TV programs that users want to watch under the wifi environment to local applications on the mobile terminal, so Can watch TV programs in the environment.
眾所周知,目前市面上已經有很多適合於移動終端且用於視頻節目播放的相關視頻應用(app),這些視頻應用大多提供離線緩存功能,以供用戶下載或者緩存電視節目至本地。As is known to all, there are already many related video applications (apps) suitable for mobile terminals and used for video program playback on the market. Most of these video applications provide offline cache functions for users to download or cache TV programs locally.
然而,在利用現有的應用程式播放下載或者緩存至本地的電視節目時,相關的應用程式無法再提供其它需要網路的功能,例如,與其它用戶的互動,或者,查詢視頻節目的相關資訊、評論等等。如果使用者需要執行其它需要網路的功能,則使用者需要開啟其它的應用程式,才能利用其它的應用程式來進行上網。也就是說,在這種情況下,使用者需要打開兩個應用程式,其中一個應用為播放電視節目的應用程式;而另一個應用程式,是用來查找資訊或者與其它使用者的互動。因此,其消耗的記憶體是比較大的,容易造成卡頓或者死機的現象發生。However, when using existing applications to play downloaded or cached TV programs locally, the related applications can no longer provide other functions that require internet, such as interaction with other users, or querying related information about video programs, Comments and more. If the user needs to perform other functions that require a network, the user needs to open other applications in order to use other applications to access the Internet. That is to say, in this case, the user needs to open two applications, one of which is an application for playing TV programs, and the other application is for finding information or interacting with other users. Therefore, the memory it consumes is relatively large, and it is easy to cause a freeze or crash.
此外,目前有些終端設備(例如,電視等等)帶有一定的軟體處理能力,例如,基於Android系統而開發設計出的特定系統環境,這些終端設備也具有上網功能。因此這些終端設備可以利用安卓應用程式(APK)來調用DTV介面、HDMI介面、VGA介面等介面來接受電視信號電視節目以在這些終端設備上進行播放。但是,這些終端設備在播放這些電視節目的時候,其無法再同時實現瀏覽器上網功能,因此,用戶只能欣賞相關的電視節目,而無法在欣賞電視節目的同時與其它用戶進行互動或者查找電視節目的相關資訊或者評論,因此,其用戶體驗度較差,極大地浪費了其功能設計。In addition, some terminal devices (for example, televisions, etc.) currently have certain software processing capabilities, for example, specific system environments developed based on the Android system, and these terminal devices also have Internet access capabilities. Therefore, these terminal devices can use the Android application (APK) to call the DTV interface, HDMI interface, VGA interface and other interfaces to receive TV signals and TV programs for playback on these terminal devices. However, when these terminal devices play these TV programs, they can no longer implement the Internet access function of the browser at the same time. Therefore, users can only enjoy related TV programs, but cannot interact with other users or find TV while watching TV programs. The relevant information or reviews of the program, therefore, its user experience is poor, which greatly wastes its functional design.
另外,針對不同的終端設備廠家的安卓平臺,需要設計不同的APK來調用DTV介面等介面來接受電視信號,無法做到一套APK在多個廠家平臺進行共用使用,對於APK服務提供者來說,會極大的浪費人力物力資源來進行個性化設計。In addition, according to the Android platform of different terminal device manufacturers, different APKs need to be designed to call the DTV interface and other interfaces to receive TV signals. It is not possible to use a set of APKs for common use on multiple manufacturers' platforms. , Will greatly waste human and material resources for personalized design.
因此,現有的視頻播放方法存在著各種不足,其急需提供一種新的技術來克服上述缺陷。Therefore, the existing video playback methods have various shortcomings, and it is urgent to provide a new technology to overcome the above defects.
本發明主要解決的技術問題是提供一種電視節目播放方法以及相關的終端設備。The technical problem mainly solved by the present invention is to provide a television program playing method and related terminal equipment.
為解決上述技術問題,本發明採用的一個技術方案是:提供一種電視節目播放方法,用於在終端設備中播放電視節目。其中,所述方法包括:接收第一無線信號,生成第一控制指令;根據所述第一控制指令開啟瀏覽器應用程式,並在所述瀏覽器應用程式的頁面中擴展輸入源標籤;接收第二無線信號,生成第二控制指令;根據所述第二控制指令,發出獲取電視節目內容的命令;根據所述獲取電視節目內容的命令,接收對應的電視節目內容;根據所述輸入源標籤對所述電視節目內容進行處理,以播放所述電視節目內容。To solve the above technical problem, a technical solution adopted by the present invention is to provide a television program playing method for playing a television program in a terminal device. The method includes: receiving a first wireless signal to generate a first control instruction; opening a browser application according to the first control instruction, and expanding an input source tag in a page of the browser application; receiving a first Two wireless signals to generate a second control instruction; issue a command to acquire TV program content according to the second control instruction; receive the corresponding TV program content according to the command to acquire TV program content; and according to the input source tag pair The television program content is processed to play the television program content.
其中,根據所述第一控制指令開啟瀏覽器應用程式並在所述瀏覽器應用程式的頁面中擴展輸入源標籤的步驟還進一步包括:設定所述輸入源標籤的標籤資料。Wherein, the step of starting a browser application according to the first control instruction and expanding an input source tag in a page of the browser application further includes: setting tag data of the input source tag.
其中,所述標籤資料包括載入路徑、屬性值、電視節目視窗的寬度值和高度值、電視節目內容視窗的位置資訊和控制屬性值。The tag data includes a loading path, an attribute value, a width value and a height value of a television program window, location information of a television program content window, and a control attribute value.
其中,根據所述輸入源標籤對所述電視節目內容進行處理,以播放所述電視節目內容的步驟,進一步包括:根據所述輸入源標籤的標籤資料在所述瀏覽器應用程式的頁面中生成電視節目視窗,以在所述電視節目視窗中播放所述電視節目內容。Wherein, the step of processing the TV program content according to the input source tag to play the TV program content further includes: generating in the page of the browser application according to the tag data of the input source tag. A television program window to play the television program content in the television program window.
其中,根據所述輸入源標籤對所述電視節目內容進行處理,以播放所述電視節目內容的步驟,還進一步包括:The step of processing the TV program content according to the input source tag to play the TV program content further includes:
根據所述標籤資料中的控制屬性值,在所述電視節目視窗的預定區域渲染出對應的控制按鈕,以執行對應的控制操作。According to the control attribute value in the tag data, a corresponding control button is rendered in a predetermined area of the television program window to perform a corresponding control operation.
其中,根據所述輸入源標籤的標籤資料在所述瀏覽器應用程式的頁面中生成電視節目視窗以在所述電視節目視窗中播放所述電視節目內容的步驟,進一步包括:讀取所述標籤資料至所述瀏覽器應用程式的內核,調用檔解析器解析所述輸入源標籤,並創建輸入源物件,其中,所述輸入源物件包括解析到的所述輸入源標籤的所述標籤資料;將解析到的所述標籤資料保存至所述終端設備的記憶體中;創建所述輸入源物件的渲染器物件;根據所述標籤資料中的屬性值或者載入路徑,調用框架層的第一介面;根據所述標籤資料中的屬性值或者載入路徑,向所述框架層的源管理器請求所述電視節目內容的相應資料,並將其保存至所述終端設備的記憶體中。Wherein, the step of generating a television program window in the page of the browser application to play the television program content in the television program window according to the tag data of the input source tag further includes: reading the tag Data to the kernel of the browser application, calling a file parser to parse the input source tag, and creating an input source object, wherein the input source object includes the tag data of the input source tag parsed; Save the parsed tag data into the memory of the terminal device; create a renderer object of the input source object; call the first of the framework layer according to the attribute value or load path in the tag data An interface; according to the attribute value or the loading path in the tag data, request the source data of the framework layer for the corresponding data of the TV program content, and save it to the memory of the terminal device.
其中,根據所述輸入源標籤的標籤資料在所述瀏覽器應用程式的頁面中生成電視節目視窗以在所述電視節目視窗中播放所述電視節目內容的步驟,還進一步包括:根據所述標籤資料中的所述電視節目視窗的寬度值和高度值以及位置資訊,調用所述框架層的第二介面;根據所述標籤資料中的所述電視節目視窗的寬度值和高度值以及位置資訊,創建表面視圖;通過所述表面視圖而進行畫面渲染,以在所述瀏覽器應用的顯示頁面中生成所述電視節目視窗;將所述終端設備的記憶體所獲取到的資料在所述電視節目視窗進行播放。Wherein, the step of generating a TV program window in the page of the browser application to play the TV program content in the TV program window according to the tag data of the input source tag further includes: according to the tag Calling the second interface of the frame layer on the width value and height value and position information of the television program window in the data; according to the width value and height value of the television program window and position information in the tag data, Create a surface view; perform screen rendering through the surface view to generate the television program window in a display page of the browser application; and place the material obtained by the memory of the terminal device in the television program Windows to play.
其中,通過所述表面視圖而進行畫面渲染以在所述瀏覽器應用的顯示頁面中生成所述電視節目視窗的步驟,進一步包括:將所述表面視圖渲染出來的所述電視節目視窗設置在所述瀏覽器應用的顯示頁面所在的網路視圖層之下;將所述瀏覽器應用的顯示頁面所在的網路視圖層中對應所述電視節目視窗的區域設置成透明,以顯示出所述電視節目視窗所播放的所述電視節目內容。Wherein, the step of performing screen rendering through the surface view to generate the television program window in the display page of the browser application further includes: setting the television program window rendered by the surface view in the The display page of the browser application is located under a network view layer; and the area of the network view layer where the display page of the browser application is located is set to be transparent to display the television Content of the television program played in a program window.
其中,所述方法還進一步包括:接收第三無線信號,生成第三控制指令,以從網路服務器中獲取資訊或者將使用者輸入的資訊發送到所述網路服務器中。The method further includes: receiving a third wireless signal, and generating a third control instruction to obtain information from a web server or send information input by a user to the web server.
為解決上述技術問題,本發明採用的另一個技術方案是:提供一種終端設備,其連接一顯示面板以播放電視節目,其中,所述終端設備包括無線接收電路、處理器、電視信號接收電路和音視頻處理電路。所述無線接收電路用於接收第一無線信號並生成第一控制指令;且其進一步接收第二無線信號並生成第二控制指令。所述處理器連接於所述無線接收電路,用於根據該第一控制指令自一記憶體中開啟瀏覽器應用程式,在所述瀏覽器應用程式的頁面中擴展輸入源標籤;且所述處理器還用於在收到所述第二控制指令時,發出獲取電視節目內容的命令。所述電視信號接收電路受控於所述處理器,其中,所述電視信號接收電路受所述處理器的控制,在收到獲取電視節目內容的命令時,從電視介面中獲取電視節目內容並儲存至一記憶體。所述記憶體連接於所述處理器,用於存放所述處理器執行各項操作過程中所需要的程式碼和資料,其中,所述資料包括所述電視節目內容。所述音視頻處理電路受控於所述處理器並連接於所述記憶體,用於處理記憶體中存儲的所述電視節目內容。其中,所述顯示面板連接所述音視頻處理電路,以用於接收經過所述音視頻處理電路處理後的電視節目內容並顯示在顯示面板上。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a terminal device connected to a display panel to play a television program. The terminal device includes a wireless receiving circuit, a processor, a television signal receiving circuit, and an audio device. Video processing circuit. The wireless receiving circuit is configured to receive a first wireless signal and generate a first control instruction; and further receive a second wireless signal and generate a second control instruction. The processor is connected to the wireless receiving circuit, and is configured to open a browser application from a memory according to the first control instruction, and expand an input source tag in a page of the browser application; and the processing The device is further configured to issue a command for acquiring TV program content when receiving the second control instruction. The television signal receiving circuit is controlled by the processor, wherein the television signal receiving circuit is controlled by the processor, and when receiving a command to acquire television program content, obtains the television program content from a television interface and Save to a memory. The memory is connected to the processor and is used to store code and data required by the processor to perform various operations, wherein the data includes the content of the television program. The audio and video processing circuit is controlled by the processor and connected to the memory, and is configured to process the TV program content stored in the memory. The display panel is connected to the audio and video processing circuit, and is configured to receive the television program content processed by the audio and video processing circuit and display it on the display panel.
其中,所述處理器還進一步用於設定輸入源標籤的標籤資料,其中,標籤資料包括載入路徑、屬性值、電視節目視窗的寬度值和高度值、電視節目視窗的位置資訊和控制屬性值。The processor is further configured to set label data of an input source label, where the label data includes a loading path, an attribute value, a width value and a height value of a TV program window, location information of the TV program window, and a control attribute value. .
其中,所述音視頻處理電路還進一步用於根據所述輸入源標籤的標籤資料在所述瀏覽器應用程式的頁面中生成一電視節目視窗,以在所述電視節目視窗播放所述電視節目內容。The audio and video processing circuit is further configured to generate a TV program window in a page of the browser application according to the tag data of the input source tag, so as to play the TV program content in the TV program window. .
其中,所述音視頻處理電路還進一步用於讀取所述標籤資料至所述瀏覽器應用程式的內核,調用檔解析器解析所述輸入源標籤,並創建輸入源物件,其中,所述輸入源物件包括解析到的所述輸入源標籤的所述標籤資料;將解析到的所述標籤資料保存至所述終端設備的記憶體中;創建所述輸入源物件的渲染器物件;根據所述標籤資料中的屬性值或者載入路徑,調用框架層的第一介面;根據所述標籤資料中的屬性值或者載入路徑,向所述框架層的源管理器請求所述電視節目內容的相應資料,並將其保存至所述終端設備的記憶體中。The audio and video processing circuit is further configured to read the tag data to the kernel of the browser application, call a file parser to parse the input source tag, and create an input source object, where the input The source object includes the tag data of the input source tag parsed; saving the parsed tag data into the memory of the terminal device; creating a renderer object of the input source object; according to the The attribute value or loading path in the tag data calls the first interface of the framework layer; according to the attribute value or loading path in the tag data, requests the source manager of the framework layer for the corresponding content of the TV program Data and save it to the memory of the terminal device.
其中,所述音視頻處理電路還進一步用於根據所述標籤資料中的所述電視節目視窗的寬度值和高度值以及位置資訊,調用所述框架層的第二介面;根據所述標籤資料中的所述電視節目視窗的寬度值和高度值以及位置資訊,創建表面視圖;通過所述表面視圖而進行畫面渲染,以在所述瀏覽器應用的顯示頁面中生成所述電視節目視窗;將所述終端設備的記憶體所獲取到的資料在所述電視節目視窗進行播放。The audio and video processing circuit is further configured to call the second interface of the frame layer according to the width and height values of the television program window and the position information in the tag data; according to the tag data, Create a surface view by using the width value and height value of the television program window and position information; render the screen through the surface view to generate the television program window in the display page of the browser application; The data acquired by the memory of the terminal device is played in the television program window.
其中,所述音視頻處理電路還進一步用於將所述表面視圖渲染出來的所述電視節目視窗設置在所述瀏覽器應用的顯示頁面所在的網路視圖層之下;將所述瀏覽器應用的顯示頁面所在的網路視圖層中對應所述電視節目視窗的區域設置成透明,以顯示出所述電視節目視窗所播放的所述電視節目內容。The audio and video processing circuit is further configured to set the TV program window rendered by the surface view under a network view layer where a display page of the browser application is located; and apply the browser application The area of the network view layer where the display page is located is set to be transparent to display the television program content played by the television program window.
其中,所述音視頻處理電路還進一步用於根據所述標籤資料中的控制屬性值,在所述電視節目視窗的預定區域渲染出對應的控制按鈕,以執行對應的控制操作。The audio and video processing circuit is further configured to render corresponding control buttons in a predetermined area of the television program window according to the control attribute value in the tag data to perform corresponding control operations.
其中,所述終端設備還進一步包括網路資料交換機,其一端連接於所述處理器,而另外一端連接於網路服務器,其中,所述無線接收電路還進一步用於接收第三無線信號並生成第三控制指令,而所述網路資料交換機用於在所述處理器的控制下根據所述第三控制指令而從所述網路服務器中獲取資訊或者將使用者輸入的資訊發送到所述網路服務器中。The terminal device further includes a network data switch, one end of which is connected to the processor, and the other end of which is connected to a network server. The wireless receiving circuit is further configured to receive a third wireless signal and generate a third wireless signal. A third control instruction, and the network data switch is configured to obtain information from the network server or send information entered by a user to the network according to the third control instruction under the control of the processor Web server.
其中,所述記憶體和所述記憶體設置在所述終端設備之內或者之外。The memory and the memory are disposed inside or outside the terminal device.
其中,所述顯示面板與所述終端設備集成在一起。The display panel is integrated with the terminal device.
本發明的有益效果是:區別於現有技術的情況,在本發明中,使用者不但可以通過電視節目信號視窗來欣賞相關的電視節目,而且還可以通過其餘的瀏覽器應用的頁面來繼續流覽資訊、與朋友進行互動等等。因此,本發明的電視節目播放方法可以增強用戶的體驗度與趣味性。此外,本發明的電視節目播放方法是在普通的瀏覽器應用程式的基礎上,通過擴展添加輸入源標籤,從而進一步擴展出電視節目的播放功能,其簡單易行,克服了現有的瀏覽器應用程式無法播放電視節目的缺陷,擴展了瀏覽器的使用範圍。The beneficial effect of the present invention is that different from the situation of the prior art, in the present invention, the user can not only enjoy the related TV programs through the TV program signal window, but also continue to browse through the pages of the rest of the browser applications Information, interact with friends, and more. Therefore, the television program playing method of the present invention can enhance the user's experience and interest. In addition, the television program playing method of the present invention is based on an ordinary browser application program, by adding input source tags by extension, thereby further expanding the TV program playing function, which is simple and easy to overcome the existing browser application The defect that the program can't play TV programs has expanded the use of the browser.
有關本發明的特徵、實作與功效,茲配合圖式作實施例詳細說明如下。The features, implementation, and effects of the present invention are described in detail below with reference to the drawings.
在以下描述中闡述了具體的細節以便充分理解本發明。但是本發明能夠以多種不同於在此描述的其他方式來實施,本技術領域具有通常知識者可以在不違背本發明內涵的情況下做類似推廣。因此本發明不受下面公開的具體實施方式的限制。Specific details are set forth in the following description in order to fully understand the present invention. However, the present invention can be implemented in a variety of other ways than those described herein, and those with ordinary knowledge in the technical field can make similar promotion without departing from the content of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
針對背景技術中提到的缺陷,本發明提供一種新穎的電視節目的播放方法。下面將結合附圖和實施方式對本發明作進一步的詳細描述。In view of the defects mentioned in the background, the present invention provides a novel method for playing a television program. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
眾所周知,在現在的網路環境下,瀏覽器應用是一種最基本、應用範圍最廣的應用,目前大多數的設備終端大多支援瀏覽器應用。因此,本發明的視頻播放方法是以瀏覽器應用為基礎,對其進行功能擴展以在瀏覽器上播放電視節目。As we all know, in the current network environment, browser applications are one of the most basic and wide-ranging applications. Currently, most device terminals support browser applications. Therefore, the video playing method of the present invention is based on a browser application, and the function is extended to play a television program on the browser.
請參閱圖1,其繪示為本發明實施例的電視節目播放方法的流程圖。如圖1所示,本發明實施例的電視節目播放方法,用於在一終端設備中播放一電視節目,該方法包括:Please refer to FIG. 1, which is a flowchart of a television program playing method according to an embodiment of the present invention. As shown in FIG. 1, a television program playing method according to an embodiment of the present invention is used to play a television program in a terminal device. The method includes:
11、接收一第一無線信號,生成一第一控制指令;11. Receive a first wireless signal and generate a first control instruction;
此第一無線信號比如說是搭配顯示器使用的遙控器所傳來的。此無線信號為使用者按下遙控器上的按鍵所產生的信號,至少包括0-9數字鍵和一些控制按鍵信號。The first wireless signal is transmitted from a remote controller used with the display, for example. This wireless signal is a signal generated when a user presses a button on the remote control, including at least 0-9 numeric keys and some control button signals.
12、根據該第一控制指令開啟一瀏覽器應用程式,並在該瀏覽器應用程式的頁面中擴展一輸入源標籤;12. Open a browser application according to the first control instruction, and expand an input source tag in a page of the browser application;
本技術領域具有通常知識者可以理解的是,所述輸入源標籤可以為一個預先編寫的程式(例如,腳本程式等等),其存儲在終端設備的記憶體中。當終端設備中預先安裝的瀏覽器應用程式在開啟時,則自動地觸發讀取上述輸入源標籤的腳本程式,因此,開啟的瀏覽器應用會根據所述腳本程式而自動地在其頁面中擴展出一個輸入源標籤。Those skilled in the art can understand that the input source tag may be a pre-written program (eg, a script program, etc.), which is stored in the memory of the terminal device. When the pre-installed browser application in the terminal device is opened, the script program that reads the input source tags is automatically triggered. Therefore, the opened browser application will automatically expand in its page according to the script program Output an input source label.
當然,本技術領域具有通常知識者也可以理解的是,所述腳本程式也可以內嵌在瀏覽器應用程式中,因此,當瀏覽器應用開啟時,自動載入所述腳本程式,以在瀏覽器應用程式的頁面上擴展出該輸入源標籤。Of course, those skilled in the art can also understand that the script program can also be embedded in the browser application program. Therefore, when the browser application is opened, the script program is automatically loaded to browse the browser. The input source tag is expanded on the page of the browser application.
因此,在本發明中,瀏覽器應用程式可以是目前市面上的任意瀏覽器應用(如,Internet Explorer、google瀏覽器、foxfire瀏覽器等等),只要在這些瀏覽器中載入預先編譯的腳本程式,即可在瀏覽器應用的頁面中擴展出輸入源標籤。該瀏覽器應用程式儲存在該終端設備的記憶體中,在收到該第一控制指令時,該瀏覽器應用程式就從該記憶體中開啟。Therefore, in the present invention, the browser application can be any browser application currently on the market (eg, Internet Explorer, Google Chrome, Foxfire Browser, etc.), as long as a pre-compiled script is loaded in these browsers Program to expand the input source tag in the page of the browser application. The browser application is stored in the memory of the terminal device, and when the first control instruction is received, the browser application is opened from the memory.
當然,本技術領域具有通常知識者也可以理解的是,本發明也可以在市面上的瀏覽器應用程式的基礎上開發設計出一種新的瀏覽器應用程式,其在實現原有的瀏覽器應用程式的所有功能的基礎上,進一步擴展出輸入源標籤。Of course, those with ordinary knowledge in the technical field can also understand that the present invention can also develop and design a new browser application based on the browser applications on the market, which can realize the original browser application. Based on all the functions of the program, the input source label is further expanded.
13、接收一第二無線信號,生成一第二控制指令;13. Receive a second wireless signal and generate a second control instruction;
在本發明中,此第二無線信號,與第一無線信號類似,比如說是搭配顯示器使用的遙控器所傳來的。此無線信號為使用者按下遙控器上的按鍵所產生的信號,至少包括0-9數字鍵和一些控制按鍵信號。In the present invention, the second wireless signal is similar to the first wireless signal, for example, it is transmitted by a remote controller used with a display. This wireless signal is a signal generated when a user presses a button on the remote control, including at least 0-9 numeric keys and some control button signals.
14、根據該第二控制指令,發出獲取電視節目內容的命令;14. According to the second control instruction, issue a command to acquire TV program content;
15、根據該命令,接收一電視節目內容;15. Receive a TV program content according to the order;
在本發明中,該電視節目內容可以是預先下載或者緩存至終端設備記憶體中的電視節目,也就是說,電視節目內容是預先存儲在終端設備中記憶體的電視節目內容。也可以是終端設備通過物理連接而接受到的各類電視節目內容。例如,終端設備為電視,其通過DTV介面、HDMI介面、VGA介面等各類介面而接收到的電視節目內容。In the present invention, the television program content may be a television program downloaded or cached in the memory of the terminal device in advance, that is, the television program content is the television program content stored in the memory of the terminal device in advance. It can also be various types of TV program content received by the terminal device through a physical connection. For example, the terminal device is a television, which receives television program content through various interfaces such as a DTV interface, an HDMI interface, and a VGA interface.
16、根據該輸入源標籤對所述電視節目內容進行處理,以播放該電視節目內容。16. Process the TV program content according to the input source tag to play the TV program content.
具體地,請參閱圖2,其繪示為步驟12的流程圖。如圖2所示,步驟12還進一步包括:Specifically, please refer to FIG. 2, which is a flowchart of step 12. As shown in FIG. 2, step 12 further includes:
121、設定輸入源標籤的標籤資料;121. Set the label data of the input source label.
其中,標籤資料包括:載入路徑、屬性值、電視節目視窗的寬度值和高度值、電視節目視窗的位置資訊和控制屬性值。The tag data includes: a loading path, an attribute value, a width value and a height value of a TV program window, a position information of the TV program window, and a control attribute value.
具體地,本技術領域具有通常知識者可以理解的是,載入路徑可以是電視節目內容存儲在終端設備中的記憶體的存儲路徑;屬性值是指電視節目內容的信號源類型,例如HDMI、DTV、VGA等等,也就是說,屬性值可以用來選擇是利用終端設備中的哪一個介面(例如,HDMI介面等等)來接受電視節目內容;電視節目視窗的寬度值和高度值是用來指定播放電視節目視窗的大小;電視節目視窗的位置資訊是用來指定播放電視節目視窗處於瀏覽器應用程式的顯示頁面的具體位置;而控制屬性值是可根據使用者需要而添加的相應的控制資訊。Specifically, those skilled in the art can understand that the loading path may be the storage path of the TV program content stored in the memory of the terminal device; the attribute value refers to the signal source type of the TV program content, such as HDMI, DTV, VGA, etc. In other words, the attribute value can be used to select which interface (eg, HDMI interface, etc.) in the terminal device is used to accept the TV program content; the width and height values of the TV program window are used To specify the size of the TV program window; the location information of the TV program window is used to specify the specific position of the TV program window on the display page of the browser application; and the control attribute value can be added according to the user's needs. Control information.
請參閱圖3,其繪示為步驟16的流程圖。如圖3所示,步驟16進一步包括:Please refer to FIG. 3, which is a flowchart of step 16. As shown in FIG. 3, step 16 further includes:
161、根據該輸入源標籤的標籤資料在瀏覽器應用程式的頁面中生成一電視節目視窗,以在該電視節目視窗播放該電視節目內容。其中,電視節目視窗為一個小視窗,其只佔用瀏覽器應用程式的頁面的部分區域。其中,本技術領域具有通常知識者可以理解的是,在本發明中,可以通過標籤資料中的載入路徑或者屬性值,確定電視節目內容的信號源,從而載入使用者希望收看的電視節目內容。161. A TV program window is generated in a page of a browser application program according to the tag data of the input source tag, so as to play the TV program content in the TV program window. The TV program window is a small window that occupies only a part of the page of the browser application. Among them, those skilled in the art can understand that in the present invention, a signal source of a television program content can be determined by a loading path or attribute value in a tag data, so as to load a television program that a user wishes to watch content.
此外,本發明的電視節目播放方法的步驟16還包括:In addition, step 16 of the television program playing method of the present invention further includes:
162、根據標籤資料中的控制屬性值,在電視節目視窗的預定區域渲染出對應的控制按鈕,以執行對應的控制操作。162. According to the control attribute value in the tag information, render a corresponding control button in a predetermined area of the TV program window to perform a corresponding control operation.
在本發明實施例中,控制按鈕可以為全屏/視窗切換按鈕,使用者可以通過全屏/視窗切換按鈕將瀏覽器應用的顯示頁面中的電視節目視窗切換成全屏視窗或者將全屏視窗切換成電視節目視窗。其中,在電視節目內容視窗切換成全屏視窗時,瀏覽器應用的顯示頁面所在的網路視圖層的全部區域均設置成透明的,即不可見的。In the embodiment of the present invention, the control button may be a full screen / window switch button, and the user may switch the TV program window in the display page of the browser application to a full screen window or switch the full screen window to a TV program through the full screen / window switch button. Windows. Wherein, when the TV program content window is switched to a full screen window, all areas of the network view layer where the display page of the browser application is located are set to be transparent, that is, invisible.
當然,本技術領域具有通常知識者可以理解的是,控制按鈕也可以用來實現其它的控制功能。Of course, those skilled in the art can understand that the control buttons can also be used to implement other control functions.
此外,請繼續參閱圖4,其繪示為步驟161的流程圖。如圖4所示,步驟161進一步包括:In addition, please continue to refer to FIG. 4, which is shown as a flowchart of step 161. As shown in FIG. 4, step 161 further includes:
1661、讀取標籤資料至瀏覽器應用程式的內核,調用檔解析器來解析輸入源標籤,並創建輸入源物件,其中,輸入源物件包括解析到的輸入源標籤的標籤資料;1661. Read the tag data to the kernel of the browser application, call a file parser to parse the input source tag, and create an input source object, where the input source object includes the tag data of the parsed input source tag;
1662、將解析到的標籤資料保存至終端設備的記憶體中;1662. Save the parsed tag data to the memory of the terminal device;
1663、創建輸入源物件的渲染器物件;1663. Create a renderer object of the input source object.
1664、根據標籤資料中的屬性值或者載入路徑,調用框架層的第一介面;1664. Call the first interface of the framework layer according to the attribute value or the loading path in the tag data;
1665、根據標籤資料中的屬性值或者載入路徑,向框架層的源管理器請求電視節目內容的相應資料,並將其保存至終端設備的記憶體中。1665. Request the corresponding data of the TV program content from the source manager of the frame layer according to the attribute value or the loading path in the label data, and save it to the memory of the terminal device.
請繼續參閱圖4,在執行完上述步驟後,步驟161還進一步包括:Please continue to refer to FIG. 4. After performing the above steps, step 161 further includes:
1666、根據標籤資料中的電視節目視窗的寬度值和高度值以及位置資訊,調用框架層的第二介面;1666. Call the second interface of the frame layer according to the width and height values and the position information of the TV program window in the label information.
1667、根據標籤資料中的電視節目視窗的寬度值和高度值以及位置資訊,創建表面視圖;1667. Create a surface view according to the width and height values of the TV program window and the position information in the tag information;
1668、通過表面視圖而進行畫面渲染,以在瀏覽器應用的顯示頁面中生成電視節目視窗;1668. Perform screen rendering through a surface view to generate a TV program window in a display page of a browser application;
1669、將記憶體獲取到的資料在電視節目視窗進行播放。1669. Play the data obtained from the memory in a TV program window.
其中,請繼續參閱圖5,其繪示為圖4所示的步驟1668的流程圖。如圖5所示,步驟1668進一步包括:Please refer to FIG. 5, which is a flowchart of step 1668 shown in FIG. 4. As shown in FIG. 5, step 1668 further includes:
1668A、將表面視圖渲染出來的電視節目視窗設置在瀏覽器應用的顯示頁面所在的網路視圖層之下;1668A. The TV program window rendered by the surface view is set under the network view layer where the display page of the browser application is located;
1668B、將瀏覽器應用的顯示頁面所在的網路視圖層中對應電視節目視窗的區域設置成透明,以顯示出所述電視節目視窗所播放的所述電視節目內容。1668B: Set the area corresponding to the TV program window in the network view layer where the display page of the browser application is located to be transparent to display the TV program content played by the TV program window.
也就是說,在本發明中,渲染出來的電視節目內容視窗是位於瀏覽器應用程式的顯示頁面之下,然後將顯示頁面中對應的電視節目視窗的區域進行透明化處理,以顯露出其下的電視節目視窗,因此,其就可以在正常的閱讀瀏覽器顯示頁面的資訊的同時,以小視窗的形式同步推送電視節目內容。That is to say, in the present invention, the rendered TV program content window is located below the display page of the browser application, and then the area of the corresponding TV program window in the display page is transparentized to reveal the lower part of it. TV program window, so it can simultaneously push the TV program content in the form of a small window while reading the information on the display page of the browser normally.
此外,請參閱圖6,其繪示為本發明另一實施例的電視節目播放方法的流程圖。請一併參閱圖1和6,本實施例的電視節目播放方法還進一步包括:In addition, please refer to FIG. 6, which illustrates a flowchart of a television program playing method according to another embodiment of the present invention. Please refer to FIG. 1 and FIG. 6 together. The television program playing method of this embodiment further includes:
17、接收一第三無線信號,生成一第三控制指令,以從網路服務器中獲取資訊或者將使用者輸入的資訊發送到網路服務器中。17. Receive a third wireless signal and generate a third control instruction to obtain information from a web server or send information entered by a user to the web server.
在本發明中,使用者不但可以通過電視節目視窗來欣賞相關的電視節目,而且還可以通過其餘的瀏覽器應用的頁面來繼續流覽資訊、與朋友進行互動等等。因此,本發明的電視節目播放方法可以增強用戶的體驗度與趣味性。In the present invention, the user can not only enjoy related TV programs through the TV program window, but also can continue to browse information, interact with friends, etc. through the pages of other browser applications. Therefore, the television program playing method of the present invention can enhance the user's experience and interest.
本發明的電視節目播放方法是在普通的瀏覽器應用程式的基礎上,通過擴展添加輸入源標籤,從而進一步擴展出電視節目的播放功能,其簡單易行,克服了現有的瀏覽器應用程式無法播放電視節目的缺陷,擴展了瀏覽器的使用範圍。The television program playing method of the present invention is based on an ordinary browser application program, and expands the input source tag to further expand the TV program playing function. It is simple and easy to overcome, and overcomes the existing browser application programs that cannot The shortcomings of playing TV programs have expanded the use of browsers.
因此,當終端設備為當終端設備為可攜式移動設備時(例如,手機、pad、筆記型電腦等),用戶可以將想看的視頻節目預先下載或者緩存至可攜式移動設備的記憶體中。在使用時,用戶可以通過瀏覽器應用一邊欣賞電視節目,一邊繼續通過瀏覽器應用來查找資訊或者與其它用戶的互動,因此,其即可以節省流量,又可以增強用戶的體驗度。此外,由於本發明的電視節目播放方法是利用一個應用程式(瀏覽器應用程式)同時實現電視節目的播放與上網功能,因此,其佔用的記憶體較少,顯示畫面流暢,不易發生卡頓或者死機現象。Therefore, when the terminal device is a portable mobile device (for example, a mobile phone, a pad, a notebook computer, etc.), the user can download or cache the video program that he wants to watch in advance to the memory of the portable mobile device. in. In use, users can enjoy TV programs through the browser application while continuing to find information or interact with other users through the browser application. Therefore, it can save traffic and enhance user experience. In addition, since the television program playing method of the present invention uses one application program (browser application program) to simultaneously realize the television program playing and Internet access functions, it occupies less memory, displays the screen smoothly, and is not prone to freeze or Crashes.
當終端設備為電視等固定式終端設備時,則通過這些終端設備的各類介面而接收的電視節目,可以通過瀏覽器應用擴展的電視節目視窗進行播放,而且在播放這些電視節目的同時,用戶也可以繼續通過瀏覽器應用流覽資訊或者與其它使用者進行互動,則其極大地提升了此類終端設備的用戶體驗度和趣味性,擴展了此類終端設備的應用範圍。When the terminal device is a fixed terminal device such as a TV, the TV programs received through various interfaces of these terminal devices can be played through the TV program window expanded by the browser application, and when the TV programs are played, the user You can also continue to browse information or interact with other users through the browser application, which greatly improves the user experience and interest of such terminal devices, and expands the application scope of such terminal devices.
由於瀏覽器使用的是統一的程式設計語言(比如HTML和Javascript語言),如果利用瀏覽器播放電視節目,僅需要對瀏覽器進行設置,並不需要改動系統內核,故即使用在不同廠商的安卓平臺上時,不需要像APK使用類似需進行個性化設計。Because the browser uses a unified programming language (such as HTML and Javascript), if you use the browser to play TV programs, you only need to set the browser and do not need to change the system kernel, so you use Android from different manufacturers. On the platform, there is no need to personalize the design like APK use.
請繼續參閱圖7,其繪示為本發明實施例的終端設備的示意圖。如圖7所示,本發明實施例還提供一種終端設備600,其包括:無線接收電路601、處理器602、電視信號接收電路604和音視頻處理電路606。圖6中還繪示了與終端設備600相連接的顯示面板607、記憶體603和記憶體605。記憶體603和記憶體605可以設置於終端設備600之內或者之外。本技術領域具有通常知識者可知,圖6所示記憶體603和記憶體605設置於終端設備600之外僅為說明,並不能理解為限制本發明的保護範圍,本技術領域具有通常知識者可以理解的是,記憶體603和記憶體605也可以設置於終端設備600之內,作為終端設備600中的一部分。此外,本技術領域具有通常知識者也可以理解的是,顯示面板607也可以與終端設備600集成在一起,即顯示面板607設置在終端設備600上以成為一個一體化的設備。Please continue to refer to FIG. 7, which is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in FIG. 7, an embodiment of the present invention further provides a terminal device 600, which includes a wireless receiving circuit 601, a processor 602, a television signal receiving circuit 604, and an audio and video processing circuit 606. FIG. 6 further illustrates a display panel 607, a memory 603, and a memory 605 connected to the terminal device 600. The memory 603 and the memory 605 may be disposed inside or outside the terminal device 600. Those with ordinary knowledge in the technical field may know that the memory 603 and the memory 605 shown in FIG. 6 are provided outside the terminal device 600 for illustration only, and should not be construed as limiting the scope of protection of the present invention. It is understood that the memory 603 and the memory 605 may also be disposed in the terminal device 600 as a part of the terminal device 600. In addition, those skilled in the art can also understand that the display panel 607 can also be integrated with the terminal device 600, that is, the display panel 607 is disposed on the terminal device 600 to become an integrated device.
所述無線接收電路601用於接收第一無線信號並生成第一控制指令;接收第二無線信號並生成第二控制指令。在一實施例中,該第一無線信號是一配合該終端設備600的遙控器發出的。The wireless receiving circuit 601 is configured to receive a first wireless signal and generate a first control instruction; receive a second wireless signal and generate a second control instruction. In one embodiment, the first wireless signal is sent by a remote controller that cooperates with the terminal device 600.
所述處理器602,連接於所述無線接收電路601,用於根據該第一控制指令而自記憶體603中開啟一瀏覽器應用程式,在該瀏覽器應用程式的頁面中擴展一輸入源標籤;收到所述第二控制指令時,發出獲取電視節目內容的命令。所述記憶體603,連接於所述處理器602,用於存儲該瀏覽器應用程式。所述處理器602是從所述記憶體603中開啟該瀏覽器應用程式。The processor 602 is connected to the wireless receiving circuit 601, and is configured to open a browser application from the memory 603 according to the first control instruction, and expand an input source tag in a page of the browser application. ; When receiving the second control instruction, issue a command to obtain television program content. The memory 603 is connected to the processor 602 and is configured to store the browser application program. The processor 602 starts the browser application from the memory 603.
所述電視信號接收電路604,受控所述處理器602,受所述處理器602的控制,在收到獲取電視節目內容的命令時,從電視介面中獲取電視節目內容並存儲至記憶體605中。比如說,終端設備600為電視,其通過DTV介面、HDMI介面、VGA介面等各類介面而接收到的電視節目內容。所述記憶體605,連接於所述處理器602,用於存放處理器602執行各項操作過程中所需要的程式碼和資料,該資料包括所述電視節目內容。The television signal receiving circuit 604 is controlled by the processor 602 and is controlled by the processor 602. When receiving a command to acquire television program content, the television program content is obtained from a television interface and stored in the memory 605. in. For example, the terminal device 600 is a television, and the television program content received through various interfaces such as a DTV interface, an HDMI interface, and a VGA interface. The memory 605 is connected to the processor 602 and is configured to store code and data required by the processor 602 to perform various operations, and the data includes the TV program content.
所述音視頻處理電路606,受控於所述處理器602並連接於所述記憶體605,用於處理記憶體中存儲的所述電視節目內容。The audio and video processing circuit 606 is controlled by the processor 602 and connected to the memory 605, and is configured to process the TV program content stored in the memory.
所述顯示面板607,連接於所述音視頻處理電路606,用於接收經過所述音視頻處理電路606處理後的電視節目內容並顯示在顯示面板607上。The display panel 607 is connected to the audio and video processing circuit 606, and is configured to receive the TV program content processed by the audio and video processing circuit 606 and display it on the display panel 607.
在一實施例中,所述處理器602還會設定輸入源標籤的標籤資料,其中,標籤資料包括:載入路徑、屬性值、電視節目視窗的寬度值和高度值、電視節目視窗的位置資訊和控制屬性值。In an embodiment, the processor 602 may further set label data of the input source label, wherein the label data includes: a loading path, an attribute value, a width value and a height value of the TV program window, and a position information of the TV program window And control attribute values.
具體地,本技術領域具有通常知識者可以理解的是,載入路徑可以是電視節目內容存儲在終端設備中的記憶體的存儲路徑;屬性值是指電視節目內容的信號源類型,例如HDMI、DTV、VGA等等,也就是說,屬性值可以用來選擇是利用終端設備中的哪一個介面(例如,HDMI介面等等)來接受電視節目內容;電視節目視窗的寬度值和高度值是用來指定播放電視節目視窗的大小;電視節目視窗的位置資訊是用來指定播放電視節目內容視窗處於瀏覽器應用程式的顯示頁面的具體位置;而控制屬性值是可根據使用者需要而添加的相應的控制資訊。Specifically, those skilled in the art can understand that the loading path may be the storage path of the TV program content stored in the memory of the terminal device; the attribute value refers to the signal source type of the TV program content, such as HDMI, DTV, VGA, etc. In other words, the attribute value can be used to select which interface (eg, HDMI interface, etc.) in the terminal device is used to accept the TV program content; the width and height values of the TV program window are used To specify the size of the TV show window; the position information of the TV show window is used to specify the specific position of the TV program content window in the display page of the browser application; and the control attribute value can be added according to the needs of the user. Control information.
所述音視頻處理電路606還根據該輸入源標籤的標籤資料在瀏覽器應用程式的頁面中生成一電視節目視窗,以在該電視節目視窗播放該電視節目內容。其中,電視節目視窗為一個小視窗,其只佔用瀏覽器應用程式的頁面的部分區域。The audio and video processing circuit 606 also generates a TV program window in the page of the browser application according to the tag data of the input source tag, so as to play the TV program content in the TV program window. The TV program window is a small window that occupies only a part of the page of the browser application.
進一步的,所述音視頻處理電路606還讀取標籤資料至瀏覽器應用程式的內核,調用檔解析器來解析輸入源標籤,並創建輸入源物件,其中,輸入源物件包括解析到的輸入源標籤的標籤資料;將解析到的標籤資料保存至終端設備的記憶體中;創建輸入源物件的渲染器物件;根據標籤資料中的屬性值或者載入路徑,調用框架層的第一介面;根據標籤資料中的屬性值或者載入路徑,向框架層的源管理器請求電視節目內容的相應資料,並將其保存至終端設備的記憶體中。Further, the audio and video processing circuit 606 also reads the tag data to the kernel of the browser application, calls a file parser to parse the input source tag, and creates an input source object, where the input source object includes the parsed input source. Tag tag data; save the parsed tag data into the memory of the terminal device; create a renderer object for the input source object; call the first interface of the framework layer according to the attribute value or load path in the tag data; according to For the attribute value or loading path in the tag data, request the corresponding data of the TV program content from the source manager of the framework layer and save it to the memory of the terminal device.
進一步的,所述音視頻處理電路606還根據標籤資料中的電視節目視窗的寬度值和高度值以及位置資訊,調用框架層的第二介面;根據標籤資料中的電視節目視窗的寬度值和高度值以及位置資訊,創建表面視圖;通過表面視圖而進行畫面渲染,以在瀏覽器應用的顯示頁面中生成電視節目視窗;將記憶體中獲取到的電視節目內容在電視節目視窗進行播放。Further, the audio and video processing circuit 606 also calls the second interface of the frame layer according to the width value and height value of the TV program window in the tag data and the position information; according to the width value and height of the TV program window in the tag data Value and location information to create a surface view; render the screen through the surface view to generate a TV program window in the display page of the browser application; and play the TV program content obtained from the memory in the TV program window.
進一步的,所述音視頻處理電路606將表面視圖渲染出來的電視節目視窗設置在瀏覽器應用的顯示頁面所在的網路視圖層之下;將述瀏覽器應用的顯示頁面所在的網路視圖層中對應電視節目視窗的區域設置成透明,以顯示出所述電視節目視窗所播放的所述電視節目內容。Further, the audio and video processing circuit 606 sets the TV program window rendered by the surface view under the network view layer where the display page of the browser application is located; and describes the network view layer where the display page of the browser application is located The area corresponding to the television program window in the medium is set to be transparent to display the television program content played by the television program window.
在另一實施例中,所述音視頻處理電路606根據標籤資料中的控制屬性值,在電視節目視窗的預定區域渲染出對應的控制按鈕,以執行對應的控制操作。在本發明實施例中,控制按鈕可以為全屏/視窗切換按鈕,使用者可以通過全屏/視窗切換按鈕將瀏覽器應用的顯示頁面中的電視節目視窗切換成全屏視窗或者將全屏視窗切換成電視節目視窗。其中,在電視節目內容視窗切換成全屏視窗時,瀏覽器應用的顯示頁面所在的網路視圖層的全部區域均設置成透明的,即不可見的。In another embodiment, the audio and video processing circuit 606 renders a corresponding control button in a predetermined area of the TV program window according to the control attribute value in the tag data to perform a corresponding control operation. In the embodiment of the present invention, the control button may be a full screen / window switch button, and the user may switch the TV program window in the display page of the browser application to a full screen window or switch the full screen window to a TV program through the full screen / window switch button. Windows. Wherein, when the TV program content window is switched to a full screen window, all areas of the network view layer where the display page of the browser application is located are set to be transparent, that is, invisible.
所述音視頻處理電路606還會對所述電視節目內容中的音訊進行處理並輸出。此部分屬於本技術領域具有通常知識者熟知的技術,故此處不贅述。The audio and video processing circuit 606 also processes and outputs the audio in the television program content. This part belongs to the technology well-known to those having ordinary knowledge in the technical field, so it will not be repeated here.
當然,本技術領域具有通常知識者可以理解的是,控制按鈕也可以用來實現其它的控制功能。Of course, those skilled in the art can understand that the control buttons can also be used to implement other control functions.
在一實施例中,無線接收電路601還接收一第三無線信號,生成一第三控制指令,用以從網路服務器中獲取資訊或者將使用者輸入的資訊發送到網路服務器中。此時所述終端設備600還包括一網路資料交換機608,一端連接於所述處理器602,另外一端連接於一網路服務器,受控於所述處理器602,根據第三控制指令從網路服務器中獲取資訊或者將使用者輸入的資訊發送到網路服務器中。In an embodiment, the wireless receiving circuit 601 also receives a third wireless signal and generates a third control instruction for obtaining information from a web server or sending information input by a user to the web server. At this time, the terminal device 600 further includes a network data switch 608, one end of which is connected to the processor 602, and the other end of which is connected to a network server, which is controlled by the processor 602. To obtain information from the server or send information entered by the user to the web server.
在本發明中,使用者不但可以通過電視節目視窗來欣賞相關的電視節目,而且還可以通過其餘的瀏覽器應用的頁面來繼續流覽資訊、與朋友進行互動等等。因此,本發明的電視節目播放方法可以增強用戶的體驗度與趣味性。In the present invention, the user can not only enjoy related TV programs through the TV program window, but also can continue to browse information, interact with friends, etc. through the pages of other browser applications. Therefore, the television program playing method of the present invention can enhance the user's experience and interest.
本發明的電視節目播放方法是在普通的瀏覽器應用程式的基礎上,通過擴展添加輸入源標籤,從而進一步擴展出電視節目的播放功能,其簡單易行,克服了現有的瀏覽器應用程式無法播放電視節目的缺陷,擴展了瀏覽器的使用範圍。The television program playing method of the present invention is based on an ordinary browser application program, and expands the input source tag to further expand the TV program playing function. It is simple and easy to overcome, and overcomes the existing browser application programs that cannot The shortcomings of playing TV programs have expanded the use of browsers.
因此,當終端設備為當終端設備為可攜式移動設備時(例如,手機、pad、筆記型電腦等),用戶可以將想看的視頻節目預先下載或者緩存至可攜式移動設備的記憶體中。在使用時,用戶可以通過瀏覽器應用一邊欣賞電視節目,一邊繼續通過瀏覽器應用來查找資訊或者與其它用戶的互動,因此,其即可以節省流量,又可以增強用戶的體驗度。此外,由於本發明的電視節目播放方法是利用一個應用程式(瀏覽器應用程式)同時實現電視節目的播放與上網功能,因此,其佔用的記憶體較少,顯示畫面流暢,不易發生卡頓或者死機現象。Therefore, when the terminal device is a portable mobile device (for example, a mobile phone, a pad, a notebook computer, etc.), the user can download or cache the video program that he wants to watch in advance to the memory of the portable mobile device. in. In use, users can enjoy TV programs through the browser application while continuing to find information or interact with other users through the browser application. Therefore, it can save traffic and enhance user experience. In addition, since the television program playing method of the present invention uses one application program (browser application program) to simultaneously realize the television program playing and Internet access functions, it occupies less memory, displays the screen smoothly, and is not prone to freeze or Crashes.
當終端設備為電視等固定式終端設備時,則通過這些終端設備的各類介面而接收的電視節目,可以通過瀏覽器應用擴展的電視節目視窗進行播放,而且在播放這些電視節目的同時,用戶也可以繼續通過瀏覽器應用流覽資訊或者與其它使用者進行互動,則其極大地提升了此類終端設備的用戶體驗度和趣味性,擴展了此類終端設備的應用範圍。When the terminal device is a fixed terminal device such as a TV, the TV programs received through various interfaces of these terminal devices can be played through the TV program window expanded by the browser application, and when the TV programs are played, the user You can also continue to browse information or interact with other users through the browser application, which greatly improves the user experience and interest of such terminal devices, and expands the application scope of such terminal devices.
由於瀏覽器使用的是統一的程式設計語言(比如HTML和Javascript語言),如果利用瀏覽器播放電視節目,僅需要對瀏覽器進行設置,並不需要改動系統內核,故即使用在不同廠商的安卓平臺上時,不需要像APK使用類似需進行個性化設計。Because the browser uses a unified programming language (such as HTML and Javascript), if you use the browser to play TV programs, you only need to set the browser and do not need to change the system kernel, so you use Android from different manufacturers. On the platform, there is no need to personalize the design like APK use.
以上所述僅為本發明的實施方式,並非因此限制本發明的專利範圍,凡是利用本發明說明書及附圖內容所作的等效結構或等效流程變換,或直接或間接運用在其他相關的技術領域,均同理包括在本發明的專利保護範圍內。The above description is only an embodiment of the present invention, and thus does not limit the scope of the patent of the present invention. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly applied to other related technologies The same applies to the fields of patent protection of the present invention.
11~17、121、161~162、1661~1669、1668A、1668B‧‧‧步驟11 ~ 17, 121, 161 ~ 162, 1661 ~ 1669, 1668A, 1668B‧‧‧ steps
600‧‧‧終端設備600‧‧‧ terminal equipment
601‧‧‧無線接收電路601‧‧‧Wireless receiving circuit
602‧‧‧處理器602‧‧‧ processor
603‧‧‧記憶體603‧‧‧Memory
604‧‧‧電視信號接收電路604‧‧‧TV signal receiving circuit
605‧‧‧記憶體605‧‧‧Memory
606‧‧‧音視頻處理電路606‧‧‧audio and video processing circuit
607‧‧‧顯示面板607‧‧‧Display Panel
608‧‧‧網路資料交換機608‧‧‧Network Data Switch
[圖1]為本發明一實施例的電視節目播放方法的流程圖; [圖2]為步驟12的流程圖; [圖3]為步驟16的流程圖; [圖4]為步驟161的流程圖; [圖5]為步驟1668的流程圖; [圖6]為本發明另一實施例的電視節目播放方法的流程圖;以及 [圖7]為本發明實施例的終端設備的示意圖。[Figure 1] is a flowchart of a television program playing method according to an embodiment of the present invention; [Figure 2] is a flowchart of Step 12; [Figure 3] is a flowchart of Step 16; [Figure 4] is a flowchart of Step 161 [Figure 5] is a flowchart of step 1668; [Figure 6] is a flowchart of a television program playing method according to another embodiment of the present invention; and [Figure 7] is a schematic diagram of a terminal device according to an embodiment of the present invention.
Claims (19)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710418301.XA CN107404663A (en) | 2017-06-06 | 2017-06-06 | A kind of terminal device of television program playing method and correlation |
??201710418301.X | 2017-06-06 |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI646835B TWI646835B (en) | 2019-01-01 |
TW201904303A true TW201904303A (en) | 2019-01-16 |
Family
ID=60404453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106123425A TWI646835B (en) | 2017-06-06 | 2017-07-13 | Television program playing method and related terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107404663A (en) |
TW (1) | TWI646835B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052565B (en) * | 2017-12-06 | 2021-12-03 | 深圳市茁壮网络股份有限公司 | Transparent processing method and device for page |
CN108021671B (en) * | 2017-12-06 | 2022-04-15 | 深圳市茁壮网络股份有限公司 | Page transparent processing method and device |
CN110650352B (en) * | 2019-09-06 | 2020-12-08 | 四川天邑康和通信股份有限公司 | Video processing method of IPTV browser |
CN112584195B (en) * | 2019-09-29 | 2023-06-09 | 中兴通讯股份有限公司 | Video playing and processing method and device, cloud set top box, cloud platform and medium |
CN111372137B (en) * | 2020-03-13 | 2022-11-29 | 青岛海信宽带多媒体技术有限公司 | Method and device for automatically correcting player state by browser and display equipment |
CN113325989A (en) * | 2021-06-17 | 2021-08-31 | 海信视像科技股份有限公司 | Image-text display method and display equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196902B (en) * | 2007-12-27 | 2011-02-02 | 上海全景数字技术有限公司 | Method for built-in browser synchronously controlling video, audio and web page |
CN102143403B (en) * | 2011-05-10 | 2012-08-15 | 中国电信股份有限公司 | Method and device for displaying and processing multimedia service, and multimedia service system |
JP5209808B2 (en) * | 2011-06-14 | 2013-06-12 | シャープ株式会社 | System, television receiver, information terminal, control method, program, and recording medium |
CN103618942B (en) * | 2013-12-16 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Intelligent television and the playing method and device of browsing device net page video thereof |
TWI564753B (en) * | 2015-12-15 | 2017-01-01 | 晨星半導體股份有限公司 | Terminal equipment and remote controlling method thereof |
-
2017
- 2017-06-06 CN CN201710418301.XA patent/CN107404663A/en active Pending
- 2017-07-13 TW TW106123425A patent/TWI646835B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
CN107404663A (en) | 2017-11-28 |
TWI646835B (en) | 2019-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI646835B (en) | Television program playing method and related terminal device | |
KR102483765B1 (en) | Display control method and terminal | |
WO2021218751A1 (en) | Cloud phone-based media data processing method and terminal device | |
WO2019085574A1 (en) | Video playback control method, apparatus, and terminal | |
US10839137B2 (en) | Method and apparatus for playing video in independent window by browser, and storage medium | |
WO2017008551A1 (en) | Bullet screen display method and apparatus | |
WO2019165905A1 (en) | Information display method, graphical user interface and terminal | |
CN106919707B (en) | Page display method and terminal based on H5 | |
CN107257510B (en) | Video unified playing method, terminal and computer readable storage medium | |
WO2018161958A1 (en) | Method and device for controlling mobile terminal, and mobile terminal | |
WO2020211683A1 (en) | Method for controlling multiple screens and terminal | |
WO2015096747A1 (en) | Operation response method, client, browser and system | |
US20140325323A1 (en) | Online video playing method and apparatus and computer readable medium | |
US20140281897A1 (en) | Switching to and from native web applications | |
WO2019047189A1 (en) | Message display method and device and terminal | |
WO2019019901A1 (en) | Method and device for responding to black screen gesture, storage medium, and mobile terminal | |
CN113613064B (en) | Video processing method, device, storage medium and terminal | |
US11314391B2 (en) | Navigation bar controlling method and terminal | |
WO2013185565A1 (en) | Method and device for browsing web under weak light with mobile terminal browser | |
CN112165641A (en) | Display device | |
WO2019019899A1 (en) | Method and device for improving response to black screen gesture, storage medium, and mobile terminal | |
CN113784200A (en) | Communication terminal, display device and screen projection connection method | |
CN108710512A (en) | Preloading method, apparatus, storage medium and the intelligent terminal of application program | |
US8942414B2 (en) | Method and apparatus for making personalized contents | |
US11194598B2 (en) | Information display method, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |