TWI826203B - Computer device and display device - Google Patents
Computer device and display device Download PDFInfo
- Publication number
- TWI826203B TWI826203B TW111149730A TW111149730A TWI826203B TW I826203 B TWI826203 B TW I826203B TW 111149730 A TW111149730 A TW 111149730A TW 111149730 A TW111149730 A TW 111149730A TW I826203 B TWI826203 B TW I826203B
- Authority
- TW
- Taiwan
- Prior art keywords
- portable electronic
- electronic device
- display
- software package
- screen
- Prior art date
Links
- 238000012545 processing Methods 0.000 claims abstract description 38
- 230000004044 response Effects 0.000 claims abstract description 5
- 238000009877 rendering Methods 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 30
- 241000699666 Mus <mouse, genus> Species 0.000 description 23
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- APTZNLHMIGJTEW-UHFFFAOYSA-N pyraflufen-ethyl Chemical compound C1=C(Cl)C(OCC(=O)OCC)=CC(C=2C(=C(OC(F)F)N(C)N=2)Cl)=C1F APTZNLHMIGJTEW-UHFFFAOYSA-N 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43632—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
-
- 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Position Input By Displaying (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本發明係有關於螢幕鏡像技術,特別是有關於一種電腦裝置及顯示裝置。The present invention relates to screen mirroring technology, and in particular to a computer device and a display device.
因為科技進步,市面上已有許多手機畫面投射軟體以供使用者將其可攜式電子裝置的螢幕畫面投射至顯示器或電視上。然而,傳統的手機畫面投射軟體需要使用者在其可攜式電子裝置上安裝相關的應用程式,此方式除了使用者需進行複雜的操作步驟之外,還有應用程式版本更新的問題。此外,傳統的手機畫面投射軟體需完成功能調用同步,造成訊號傳輸未完成時,軟體會一直等待訊號到來,進而造成指令操作上的延遲。Due to the advancement of technology, there are many mobile phone screen projection software on the market that allow users to project the screen of their portable electronic devices onto a monitor or TV. However, traditional mobile phone screen projection software requires users to install related applications on their portable electronic devices. In addition to complicated operating steps, this method also has the problem of updating application versions. In addition, traditional mobile phone screen projection software needs to complete function call synchronization. As a result, when the signal transmission is not completed, the software will wait for the signal to arrive, thus causing a delay in command operations.
再者,傳統的手機畫面投射軟體僅支援訊號傳輸,且使用者無法自行定義鍵盤及滑鼠的操作功能映射,對於以觸控點擊為主的手機遊戲無法完整對應。Furthermore, traditional mobile phone screen projection software only supports signal transmission, and users cannot define their own keyboard and mouse operation function mapping, which cannot fully support mobile games that are mainly touch and click.
有鑑於此,本發明係提供一種電腦裝置及顯示裝置以解決上述問題。In view of this, the present invention provides a computer device and a display device to solve the above problems.
本發明係提供一種電腦裝置,包括:一儲存裝置及一處理單元。該儲存裝置用以儲存一螢幕鏡像程式。該處理單元用以執行該螢幕鏡像程式以執行下列步驟:因應於偵測到一可攜式電子裝置連接至該電腦裝置,推送一軟體包至該可攜式電子裝置以在該可攜式電子裝置自動執行該軟體包;從該可攜式電子裝置接收一視訊流,其中該視訊流包括該可攜式電子裝置之螢幕畫面;解碼該視訊流並對解碼所得到的影像進行渲染處理以得到該螢幕畫面,並將該螢幕畫面在一顯示裝置上播放;以及接收連接至該電腦裝置之輸入裝置之輸入指令,並依據該可攜式電子裝置所執行之一應用程式相應的按鍵設定介面將該輸入指令轉換為該可攜式電子裝置所使用的控制指令。The invention provides a computer device, which includes a storage device and a processing unit. The storage device is used to store a screen mirroring program. The processing unit is used to execute the screen mirroring program to perform the following steps: in response to detecting that a portable electronic device is connected to the computer device, pushing a software package to the portable electronic device to perform the following steps on the portable electronic device: The device automatically executes the software package; receives a video stream from the portable electronic device, wherein the video stream includes a screen image of the portable electronic device; decodes the video stream and renders the decoded image to obtain the screen image, and playing the screen image on a display device; and receiving input commands from the input device connected to the computer device, and according to the corresponding key setting interface of an application executed by the portable electronic device. The input command is converted into a control command used by the portable electronic device.
在一些實施例中,該可攜式電子裝置之通用序列匯流排(USB)偵錯模式開啟,且該可攜式電子裝置係透過USB連線以連接至該電腦裝置。In some embodiments, the universal serial bus (USB) debug mode of the portable electronic device is enabled, and the portable electronic device is connected to the computer device through a USB connection.
在一些實施例中,該可攜式電子裝置所執行的該軟體包從該可攜式電子裝置之播放影像緩衝器取得該螢幕畫面,並將該螢幕畫面編碼為該視訊流。In some embodiments, the software package executed by the portable electronic device obtains the screen image from the playback image buffer of the portable electronic device and encodes the screen image into the video stream.
在一些實施例中,該輸入指令包括按鍵碼、文字碼、滑鼠信號、捲動信號及觸控信號。In some embodiments, the input instructions include key codes, text codes, mouse signals, scroll signals and touch signals.
在一些實施例中,該可攜式電子裝置所執行的該軟體包係將該控制指令傳送至該可攜式電子裝置的觸屏檔以模擬該輸入指令相關的觸控操作,並且在該應用程式執行該觸控操作。In some embodiments, the software package executed by the portable electronic device transmits the control command to the touch screen of the portable electronic device to simulate the touch operation related to the input command, and in the application The program performs the touch operation.
在一些實施例中,當該可攜式電子裝置偵測到該可攜式電子裝置與該電腦裝置之連接斷開時,該可攜式電子裝置係自動刪除該軟體包。In some embodiments, when the portable electronic device detects that the connection between the portable electronic device and the computer device is disconnected, the portable electronic device automatically deletes the software package.
本發明更提供一種顯示裝置,包括:一顯示模組;一通用序列匯流排(USB)集線器,連接至一或多個輸入設備;以及一顯示控制器,用以執行下列步驟:因應於偵測到一可攜式電子裝置連接至該USB集線器,透過該USB集線器推送一軟體包至該可攜式電子裝置以在該可攜式電子裝置自動執行該軟體包;透過該USB集線器從該可攜式電子裝置接收一視訊流,其中該視訊流包括該可攜式電子裝置之螢幕畫面;解碼該視訊流並對解碼所得到的影像進行渲染處理以得到該螢幕畫面,並將該螢幕畫面在該顯示模組上播放;以及透過該USB集線器接收該輸入裝置之輸入指令,並依據該可攜式電子裝置所執行之一應用程式相應的按鍵設定介面將該輸入指令轉換為該可攜式電子裝置所使用的控制指令。The present invention further provides a display device, including: a display module; a universal serial bus (USB) hub connected to one or more input devices; and a display controller for performing the following steps: in response to detection Connect a portable electronic device to the USB hub, push a software package to the portable electronic device through the USB hub to automatically execute the software package on the portable electronic device; download the software package from the portable electronic device through the USB hub The portable electronic device receives a video stream, wherein the video stream includes a screen image of the portable electronic device; decodes the video stream and renders the decoded image to obtain the screen image, and displays the screen image on the portable electronic device. Play on the display module; and receive the input command from the input device through the USB hub, and convert the input command into the portable electronic device according to the corresponding key setting interface of an application executed by the portable electronic device. The control instructions used.
在一些實施例中,該可攜式電子裝置之通用序列匯流排(USB)偵錯模式開啟,且該可攜式電子裝置係透過USB連線以連接至該顯示裝置。In some embodiments, the universal serial bus (USB) debug mode of the portable electronic device is turned on, and the portable electronic device is connected to the display device through a USB connection.
在一些實施例中,該可攜式電子裝置所執行的該軟體包從該可攜式電子裝置之播放影像緩衝器取得該螢幕畫面,並將該螢幕畫面編碼為該視訊流。In some embodiments, the software package executed by the portable electronic device obtains the screen image from the playback image buffer of the portable electronic device and encodes the screen image into the video stream.
在一些實施例中,該輸入指令包括按鍵碼、文字碼、滑鼠信號、捲動信號及觸控信號。In some embodiments, the input instructions include key codes, text codes, mouse signals, scroll signals and touch signals.
在一些實施例中,該可攜式電子裝置所執行的該軟體包係將該控制指令傳送至該可攜式電子裝置的觸屏檔以模擬該輸入指令相關的觸控操作,並且在該應用程式執行該觸控操作。In some embodiments, the software package executed by the portable electronic device transmits the control command to the touch screen of the portable electronic device to simulate the touch operation related to the input command, and in the application The program performs the touch operation.
在一些實施例中,當該可攜式電子裝置偵測到該可攜式電子裝置與該電腦裝置之連接斷開時,該可攜式電子裝置係自動刪除該軟體包。In some embodiments, when the portable electronic device detects that the connection between the portable electronic device and the computer device is disconnected, the portable electronic device automatically deletes the software package.
為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。In order to make the above-mentioned objects, features and advantages of the present invention more clearly understandable, a preferred embodiment is given below and described in detail with reference to the accompanying drawings.
第1圖為依據本發明一實施例中之電子系統的方塊圖。電子系統1包括一電腦系統10及一可攜式電子裝置30。電腦系統10例如可為配備有顯示裝置的個人電腦或伺服器。如第1圖所示,電腦系統10包括一電腦裝置20及一顯示裝置40,其中電腦裝置20係訊號連接至顯示裝置40。電腦裝置20例如包括一處理單元110、一圖形處理單元120、一記憶體單元130、一儲存裝置140、傳輸介面150及160、鍵盤171及滑鼠172。處理單元110、圖形處理單元120、記憶體單元130、儲存裝置140、傳輸介面150、鍵盤171及滑鼠172係透過系統匯流排111而互相耦接。處理單元110例如可為中央處理器(CPU)、一般用途處理器(general-purpose processor)等等,但本發明並不限於此。圖形處理單元120例如可為一顯示卡上的圖形處理單元或是整合至處理單元110中之圖形處理單元。Figure 1 is a block diagram of an electronic system according to an embodiment of the present invention. The
記憶體單元130為一隨機存取記憶體,例如是動態隨機存取記憶體(DRAM)或靜態隨機存取記憶體(SRAM),但本發明並不限於此。儲存裝置140為一非揮發性記憶體(non-volatile memory),例如可為一硬碟機(hard disk drive)、一固態硬碟(solid-state disk)、一快閃記憶體(flash memory)、或一唯讀記憶體(read-only memory),但本發明並不限於此。The
傳輸介面160可包括有線傳輸介面及/或無線傳輸介面,其中有線傳輸介面可包括:高解析度多媒體介面(High Definition Multimedia Interface,HDMI)、顯示埠(DisplayPort,DP)介面、嵌入式顯示埠(embedded DisplayPort,eDP)、介面通用序列匯流排(Universal Serial Bus,USB)介面、USB Type-C介面、雷靂(Thunderbolt)介面、數位視訊介面(DVI)、視訊圖形陣列(VGA)介面、一般用途輸入輸出(GPIO)介面、通用非同步收發傳輸器(UART)介面、序列周邊介面(SPI)介面、積體電路匯流排(I2C)介面、或其組合,且無線傳輸介面可包括:藍芽(Bluetooth)、WiFi、近場通訊(NFC)介面等等,但本發明並不限於此。周邊裝置160例如包括:鍵盤、滑鼠、觸控板等輸入裝置,但本發明並不限於此。The
舉例來說,儲存裝置140可儲存螢幕鏡像程式141及作業系統142(例如可為Windows、Linux、MacOS等等),且處理單元110係將螢幕鏡像程式141及作業系統142讀取至記憶體單元130並執行。圖形處理單元120例如可進行處理單元110所執行之應用程式的繪圖處理以產生包括一或多張影像的一影像信號,並透過傳輸介面160將影像信號傳送至顯示裝置40進行播放。顯示裝置40例如可為平面顯示器、電視、投影機、電腦螢幕等裝置,但本發明並不限於此。For example, the
可攜式電子裝置30包括處理單元210、觸控面板220、記憶體單元230、儲存裝置240及傳輸介面250。處理單元210例如可為中央處理器(CPU)、一般用途處理器(general-purpose processor)等等,但本發明並不限於此。觸控面板220例如可包含顯示面板221及觸控模組222。顯示面板221例如為一液晶顯示面板、發光二極體顯示面板或有機發光二極體顯示面板,但本發明並不限於此。觸控模組222例如可為一觸控單元陣列,其可與顯示面板221整合為觸控面板220。The portable
記憶體單元230為一隨機存取記憶體,例如是動態隨機存取記憶體(DRAM)或靜態隨機存取記憶體(SRAM),但本發明並不限於此。在一實施例中,記憶體單元230之一部分可做為播放影像緩衝器(display image buffer)231,其可暫存處理單元210所執行之應用程式241所產生的播放影像。The
儲存裝置240為一非揮發性記憶體(non-volatile memory),例如可為一快閃記憶體(flash memory)或一唯讀記憶體(read-only memory),但本發明並不限於此。儲存裝置240例如儲存作業系統241(例如為Android作業系統)及應用程式242(例如為手機遊戲),但本發明並不限於此。The
在一實施例中,傳輸介面150及250例如均為USB Type-C介面,且電腦裝置20之傳輸介面150可透過USB資料線11以連接至可攜式電子裝置30之傳輸介面250。因此,電腦裝置20及可攜式電子裝置30可透過USB資料線11以互相傳送控制指令及視頻流,其細節將詳述於後。In one embodiment, the
在一些實施例中,可攜式電子裝置30上所運作的作業系統241例如為Android作業系統,且電腦裝置20會執行螢幕鏡像程式141(亦可稱為手遊助手程式)。此外,假設作業系統241上的USB偵錯(debugging)模式已開啟,當使用者將USB資料線11連接至電腦裝置20之傳輸介面150及可攜式電子裝置30之傳輸介面250時,電腦裝置20上運作的螢幕鏡像程式141即會偵測到可攜式電子裝置30,且螢幕鏡像程式141會透過USB資料線11以將軟體包232推送(push)至可攜式電子裝置30,以使可攜式電子裝置30之處理單元210自動將該軟體包232載入記憶體單元230並執行。In some embodiments, the operating system 241 running on the portable
因為作業系統241之USB偵錯模式已開啟,故軟體包232可不必取得作業系統241之超級使用者(super user)或是根(root)使用者的權限即可取得播放影像緩衝器231之螢幕畫面,其中上述螢幕畫面例如為處理單元210執行應用程式242(例如可為一手機遊戲)所產生的遊戲畫面。接著,軟體包232係將取得的螢幕畫面編碼為視訊流(例如可透過FFmpeg工具程式),並透過USB資料線11以將視訊流傳送至電腦裝置20。Since the USB debugging mode of the operating system 241 is enabled, the
當電腦裝置20接收到來自可攜式電子裝置30的視訊流後,處理單元110(或繪圖處理單元120)可對該視訊流進行解碼(例如可同樣使用FFmpeg工具程式)並對解碼所得的影像進行渲染處理(例如可使用OpenGL協定)以得到顯示影像。處理單元110並將上述顯示影像透過傳輸介面160傳送至顯示裝置40進行播放。After the
在一些實施例中,當可攜式電子裝置30所執行的軟體包232偵測到該可攜式電子裝置30與電腦裝置20之間的連結(例如為USB連線)斷開,可攜式電子裝置30會自動刪除軟體包232。In some embodiments, when the
第2圖為依據本發明一實施例中之鍵盤及滑鼠的輸入指令轉換為相應的控制指令的示意圖。請同時參考第1圖及第2圖。Figure 2 is a schematic diagram of converting keyboard and mouse input commands into corresponding control commands according to an embodiment of the present invention. Please refer to Figure 1 and Figure 2 at the same time.
在一實施例,當可攜式電子裝置30正在運行軟體包232時,使用者亦可透過電腦裝置20上的鍵盤171及滑鼠172以控制在可攜式電子裝置30上的輸入操作或觸控操作。舉例來說,螢幕鏡像程式141可偵測並擷取在系統匯流排111上與鍵盤171、滑鼠172或其他輸入裝置(例如觸控螢幕)有關的輸入指令,並將上述輸入指令轉換為控制指令。舉例來說,上述輸入指令可包括按鍵碼(keycode)、文字碼(text)、滑鼠信號(mouse)、捲動信號(scroll)、觸控信號(touch),且螢幕鏡像程式141可將上述各類型的周邊裝置輸入信號分別轉換為控制指令201~205,如第2圖所示。In one embodiment, when the portable
舉例來說,按鍵碼相應的控制指令201包括類型(type)(例如類型=0)、安卓按鍵碼(AndroidKeycode)及安卓超狀態(AndroidMetaState)。文字碼相應的控制指令202包括類型(例如類型=1)、長度(len)及文字等欄位。滑鼠信號相應的控制指令203包括類型(例如類型=2)、安卓移動事件按鍵(AndroidMotionEventButtons)、X軸座標(x)、Y軸座標(y)、寬度(w)及高度(h)。捲動信號相應的控制指令204包括類型(例如類型=3)、X軸座標(x)、Y軸座標(y)、寬度(w)、高度(h)、水平捲動(hScroll)及垂直捲動(vScroll)。觸控信號相應的控制指令205包括類型(例如類型=5)、辨識符(id)、動作(action)、X軸座標(x)、Y軸座標(y)、寬度(w)、高度(h)等等。在上述控制指令中,各個欄位的數量例可用相應的位元組(byte)數量表示,例如控制指令203中的長度(len)欄位可用兩個位元組表示,文字(text)欄位則可用五個位元組表示,依此類推。For example, the
接著,處理單元110透過傳輸介面150及USB資料線11以將控制指令傳送至可攜式電子裝置30。當可攜式電子裝置30上運作的軟體包232接收到上述控制指令後,軟體包232可將上述控制指令模擬為在可攜式電子裝置30之的觸控螢幕260上的輸入操作或觸控操作(例如手指的點擊、滑動等操作)。詳細而言,軟體包232可將上述控制指令傳送至可攜式電子裝置30的觸屏檔(例如位於/dev/input/event目錄下)以模擬相應的觸控操作。Then, the
第3圖為依據本發明一實施例中之顯示系統的方塊圖。Figure 3 is a block diagram of a display system according to an embodiment of the present invention.
在一實施例中,顯示系統50包括顯示裝置300及電腦裝置450。顯示裝置300例如包括顯示控制器310、顯示模組320、儲存單元330、影像緩衝器340、傳輸介面350、輸入介面360及通用序列匯流排(USB)集線器370。顯示控制器310例如可為一應用導向積體電路(application-specific integrated circuit)、一晶片系統(System-on-chip)、一處理器、或一微控制器(microcontroller),但本發明並不限於此。In one embodiment, the
在一實施例中,顯示控制器310係包括一影像縮放器(image scaler)311及一時序控制器(timing controller)312。顯示控制器310係透過傳輸介面350以接收來自電腦裝置450或是可攜式電子裝置30的影像信號,且影像縮放器311可將所接收之影像信號中的影像進行影像縮放處理及/或影像疊合處理以符合顯示模組320之解析度,並將經過影像縮放處理後的影像(例如稱為輸出影像)儲存至影像緩衝器340。時序控制器312則控制顯示模組320從影像緩衝器340讀取輸出影像並播放。In one embodiment, the
在另一實施例中,顯示控制器310可包括時序控制器312,且來自電腦裝置450或是可攜式電子裝置30的影像信號的解析度係符合顯示模組320的解析度,故顯示控制器310接收到來自電腦裝置450或是可攜式電子裝置30的影像信號後可不必經過影像縮放處理就將影像信號儲存於影像緩衝器340中。時序控制器320可由從影像緩衝器340讀取輸出影像,並控制顯示模組320以播放輸出影像。In another embodiment, the
顯示模組320例如可為一液晶(liquid crystal)面板(含背光模組)、一發光二極體(light-emitting diode)面板、一有機發光二極體(organic light-emitting diode)面板、一陰極射線管(cathode ray tube)、電子墨水(E-Ink)顯示模組、電致發光(electroluminescent)顯示模組、電漿(Plasma)顯示模組、投影(projection)顯示模組、量子點(Quantum Dot)顯示模組、但本發明並不限於此。The
儲存單元330例如可為一非揮發性記憶體,例如唯讀記憶體(ROM)、可抹除可編程唯讀記憶體(EPROM)、電子抹除式可編程唯讀記憶體(EEPROM)。儲存單元330例如可在顯示控制器310之外部、或是可整合至顯示控制器310中。儲存單元330係用以儲存顯示裝置300相關的韌體331、韌體332及螢幕上顯示(OSD)介面333。The
影像緩衝器340例如可為一揮發性記憶體(例如動態隨機存取記憶體)或一非揮發性記憶體(例如快閃記憶體),其係用以儲存欲在顯示模組320上播放的輸出影像。The
傳輸介面350可包括有線傳輸介面及/或無線傳輸介面,其中有線傳輸介面可包括:高解析度多媒體介面(High Definition Multimedia Interface,HDMI)、顯示埠(DisplayPort,DP)介面、嵌入式顯示埠(embedded DisplayPort,eDP)、雷靂(Thunderbolt)介面、數位視訊介面(DVI)、視訊圖形陣列(VGA)介面、一般用途輸入輸出(GPIO)介面、通用非同步收發傳輸器(UART)介面、序列周邊介面(SPI)介面、積體電路匯流排(I2C)介面、或其組合,且無線傳輸介面可包括:藍芽(Bluetooth)、WiFi、近場通訊(NFC)介面等等,但本發明並不限於此。The
韌體331例如包括顯示裝置300的螢幕上顯示介面之顯示設定及延伸顯示能力識別資料(Extended Display Identification Data,EDID)、顯示設定。延伸顯示能力識別資料例如包括顯示裝置300的製造廠商、產品名稱、解析度、每秒顯示幀數等等。顯示設定例如包括顯示裝置300之亮度、對比、銳利度、色溫等設定。The
在一實施例中,顯示控制器310可透過一匯流排(例如I2C匯流排)以讀取儲存於儲存單元330中之韌體331及OSD介面333之程式碼,並據以設定相關的顯示參數。此外,顯示控制器310更可讀取在儲存單元330中的韌體332以執行手機畫面投影操作。韌體332例如包含手機畫面投影的相關程式碼及軟體包。In one embodiment, the
在一些實施例中,顯示裝置300係電性連接至電腦裝置450,例如可透過USB連線或是其他影像傳輸協定(例如HDMI、DisplayPort等等)。此外,顯示控制器310亦可透過傳輸介面350(例如可為影像傳輸通道或資料傳輸通道)以將顯示裝置300的延伸顯示能力識別資料傳送至電腦裝置450,以供電腦裝置450設定所要輸出的影像信號之解析度及相關的同步信號。螢幕上顯示介面333例如包括螢幕上顯示選單(OSD Menu)及選項、資訊顯示介面(information dashboard)、計時器、計數器、準星(crosshair)、特定符號、特定顏色、特定文字、或其組合,但本發明並不限於此。In some embodiments, the
輸入介面360係用以控制顯示裝置300之螢幕上顯示選單。輸入介面360例如可由一五向控制桿362或是由五個實體按鈕361所實現,藉以實現上、下、左、右、及確認等指令。The
在一實施例中,電腦裝置450可透過USB資料線13連接至顯示裝置300的USB集線器370,以與顯示裝置300互相進行資料傳輸。鍵盤371及滑鼠372例如可插設至USB集線器370,且顯示控制器310可將所接收之鍵盤371及滑鼠372的輸入信號透過USB集線器370及USB資料線13以傳送至電腦裝置450以進行相關的輸入操作。In one embodiment, the
在另一實施例中,顯示裝置300並未電性連接至電腦裝置450,意即顯示裝置300係與可攜式電子裝置30一同進行螢幕鏡像操作。舉例來說,可攜式電子裝置30可透過USB資料線12以連接至顯示裝置300的USB集線器370。In another embodiment, the
類似於第1圖之實施例,當顯示控制器310所執行的韌體332(例如包含手機畫面投影的相關程式碼及軟體包232)判斷可攜式電子裝置30透過USB資料線12連接至顯示裝置300的USB集線器370,顯示控制器310係透過USB集線器370及USB資料線12以將軟體包232推送至可攜式電子裝置30,以使可攜式電子裝置30自動執行軟體包232。上述軟體包232之細節可參考第1圖之實施例,故於此不再贅述。Similar to the embodiment of FIG. 1 , when the
因此,可攜式電子裝置30所執行的軟體包232可取得播放影像緩衝器231之螢幕畫面,其中上述螢幕畫面例如為處理單元210執行應用程式242(例如可為一手機遊戲)所產生的遊戲畫面。接著,軟體包232係將取得的螢幕畫面編碼為視訊流(例如可透過FFmpeg工具程式),並透過USB資料線12以將視訊流傳送至顯示裝置300。當顯示裝置300接收到來自可攜式電子裝置30的視訊流後,顯示控制器310可對該視訊流進行解碼(例如可同樣使用FFmpeg工具程式)並對解碼所得的影像進行渲染處理(例如可使用OpenGL協定)以得到顯示影像。顯示控制器310並將上述顯示影像於顯示模組320上進行播放。Therefore, the
此外,顯示控制器310所執行的韌體332可將來自鍵盤371及滑鼠372的輸入指令轉換為相應的控制指令,並將該控制指令傳送至可攜式電子裝置30。在可攜式電子裝置30運作的軟體包232則可將上述控制指令模擬為在可攜式電子裝置30之的觸控螢幕220上與該特定功能按鍵位置有關的輸入操作或觸控操作(例如手指的點擊、滑動等操作)。In addition, the
在一些實施例中,當可攜式電子裝置30所執行的軟體包232偵測到該可攜式電子裝置30與顯示裝置300之間的連結(例如為USB連線)斷開,可攜式電子裝置30會自動刪除軟體包232。In some embodiments, when the
第4圖為依據本發明一實施例中螢幕鏡像程式在特定應用程式之按鍵設定介面的示意圖。請同時參考第1圖及第4圖。Figure 4 is a schematic diagram of a key setting interface of a screen mirroring program in a specific application according to an embodiment of the present invention. Please refer to Figure 1 and Figure 4 at the same time.
當使用第1圖中的硬體配置,可攜式電子裝置30的螢幕畫面均可投射至顯示裝置40進行顯示,且使用者同樣可透過連接至電腦裝置20的鍵盤171及滑鼠172以對可攜式電子裝置30所執行的應用程式242進行輸入操作或觸控操作。When using the hardware configuration in Figure 1, the screen of the portable
舉例來説,螢幕鏡像程式141可針對可攜式電子裝置30所執行的應用程式242以設定相應的按鍵設定介面400,且不同的應用程式242係對應於不同的按鍵設定介面400。按鍵設定介面400例如包括複數個功能按鍵、方向鍵等等,其均已標示相應的鍵盤按鍵文字。當使用者按下鍵盤171上的特定按鍵或是操縱滑鼠172的游標以在特定功能按鍵上進行點擊(click),螢幕鏡像程式141則可將上述輸入指令轉換為相應的控制指令,並將該控制指令傳送至可攜式電子裝置30。在可攜式電子裝置30運作的軟體包232則可將上述控制指令模擬為在可攜式電子裝置30之的觸控螢幕220上與該特定功能按鍵位置有關的輸入操作或觸控操作(例如手指的點擊、滑動等操作)。For example, the screen mirroring program 141 can set a corresponding
當使用第3圖的硬體配置,顯示裝置300係與可攜式電子裝置30一同進行螢幕鏡像操作。舉例來說,可攜式電子裝置30可透過USB資料線12以連接至顯示裝置300的USB集線器370。在此使用情境中,當使用者按下鍵盤371上的特定按鍵或是操縱滑鼠372的游標以在特定功能按鍵上進行點擊(click),顯示控制器310所執行的韌體332可將上述輸入指令轉換為相應的控制指令,並將該控制指令傳送至可攜式電子裝置30。在可攜式電子裝置30運作的軟體包232則可將上述控制指令模擬為在可攜式電子裝置30之的觸控螢幕220上與該特定功能按鍵位置有關的輸入操作或觸控操作(例如手指的點擊、滑動等操作)。When using the hardware configuration in Figure 3, the
綜上所述,本發明係提供一種電腦裝置及顯示裝置,其可在可攜式電子裝置進行連接時自動推送軟體包至可攜式電子裝置以自動執行,因此使用者並不需在可攜式電子裝置上事先安裝相關程式,藉以確保可攜式電子裝置所安裝執行的軟體包版本是對應於電腦裝置/顯示裝置上螢幕鏡像程式的版本。可攜式電子裝置所執行的軟體包可用以擷取可攜式電子裝置之螢幕畫面以編碼成視訊流,且電腦裝置(或顯示裝置)具有將視訊流解碼及進行影像渲染之能力以得到可攜式電子裝置之螢幕畫面並於顯示裝置上播放,或是顯示裝置可於本身的顯示模組上播放上述螢幕畫面。當可攜式電子裝置所執行的軟體包偵測到該可攜式電子裝置30與電腦裝置(或顯示裝置)之間的連結(例如為USB連線)斷開,可攜式電子裝置會自動刪除軟體包,故使用者可以更方便地使用螢幕鏡像功能。To sum up, the present invention provides a computer device and a display device that can automatically push a software package to the portable electronic device for automatic execution when the portable electronic device is connected. Therefore, the user does not need to Relevant programs must be installed on the portable electronic device in advance to ensure that the version of the software package installed and executed on the portable electronic device corresponds to the version of the screen mirroring program on the computer device/display device. The software package executed by the portable electronic device can be used to capture the screen of the portable electronic device to encode it into a video stream, and the computer device (or display device) has the ability to decode the video stream and render the image to obtain a usable image. The screen image of the portable electronic device is played on the display device, or the display device can play the screen image on its own display module. When the software package executed by the portable electronic device detects that the connection (such as a USB connection) between the portable
此外,使用者可在電腦裝置/顯示裝置所執行的螢幕鏡像程式上自行定義鍵盤滑鼠的操作功能映射,故可更完整地支援以觸控點擊為主的手機遊戲,且使用者可透過插設於電腦裝置或顯示裝置上的鍵盤/滑鼠以操控可攜式電子裝置所執行的應用程式或手機遊戲,更可提升操控的方便性以增加使用者體驗。In addition, users can customize the operation function mapping of keyboard and mouse on the screen mirroring program executed by the computer device/display device, so it can more fully support mobile games based on touch and click, and users can use the plug-in to The keyboard/mouse installed on the computer device or the display device can control the application or mobile game executed by the portable electronic device, and can also improve the convenience of control and enhance the user experience.
於申請專利範圍中使用如”第一”、"第二"、"第三"等詞係用來修飾申請專利範圍中的元件,並非用來表示之間具有優先權順序,先行關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。The use of words such as "first", "second", and "third" in the scope of the patent application are used to modify the elements in the scope of the patent application, and are not used to indicate the order of priority, precedence relationship, or relationship between them. The precedence of one element over another, or the chronological order in which method steps are performed, is only used to distinguish elements with the same name.
本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention is disclosed above in terms of preferred embodiments, they are not intended to limit the scope of the present invention. Anyone with ordinary skill in the art may make slight changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended patent application scope.
1:電子系統
10:電腦系統
11、12、13:USB資料線
20:電腦裝置
30:可攜式電子裝置
40:顯示裝置
110:處理單元
111:系統匯流排
120:圖形處理單元
130:記憶體單元
140:儲存裝置
141:螢幕鏡像程式
142:作業系統
150、160、250:傳輸介面
171:鍵盤
172:滑鼠
201-205:控制指令
210:處理單元
220:觸控面板
221:顯示面板
222:觸控模組
230:記憶體單元
231:播放影像緩衝器
232:軟體包
240:儲存裝置
241:作業系統
242:應用程式
300:顯示裝置
310:顯示控制器
320:顯示模組
330:儲存單元
331、332:韌體
333:螢幕上顯示介面
340:影像緩衝器
350:傳輸介面
360:輸入介面
361:實體按鈕
362:五向控制桿
370:USB集線器
371:鍵盤
372:滑鼠
400:按鍵設定介面
450:電腦裝置1: Electronic system
10:
第1圖為依據本發明一實施例中之電子系統的方塊圖。 第2圖為依據本發明一實施例中之鍵盤及滑鼠的輸入指令轉換為相應的控制指令的示意圖。 第3圖為依據本發明一實施例中之顯示系統的方塊圖。 第4圖為依據本發明一實施例中螢幕鏡像程式在特定應用程式之按鍵設定介面的示意圖。 Figure 1 is a block diagram of an electronic system according to an embodiment of the present invention. Figure 2 is a schematic diagram of converting keyboard and mouse input commands into corresponding control commands according to an embodiment of the present invention. Figure 3 is a block diagram of a display system according to an embodiment of the present invention. Figure 4 is a schematic diagram of a key setting interface of a screen mirroring program in a specific application according to an embodiment of the present invention.
1:電子系統 1: Electronic system
10:電腦系統 10:Computer system
11:USB資料線 11:USB data cable
20:電腦裝置 20: Computer equipment
30:可攜式電子裝置 30: Portable electronic devices
40:顯示裝置 40:Display device
110:處理單元 110: Processing unit
111:系統匯流排 111:System bus
120:圖形處理單元 120: Graphics processing unit
130:記憶體單元 130:Memory unit
140:儲存裝置 140:Storage device
141:螢幕鏡像程式 141:Screen mirroring program
142:作業系統 142:Operating system
150、160、250:傳輸介面 150, 160, 250: Transmission interface
171:鍵盤 171:Keyboard
172:滑鼠 172:Mouse
210:處理單元 210: Processing unit
220:觸控面板 220:Touch panel
221:顯示面板 221:Display panel
222:觸控模組 222:Touch module
230:記憶體單元 230:Memory unit
231:播放影像緩衝器 231: Play image buffer
232:軟體包 232:Software package
240:儲存裝置 240:Storage device
241:作業系統 241:Operating system
242:應用程式 242:Application
Claims (12)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211613682.4A CN118210391A (en) | 2022-12-15 | 2022-12-15 | Computer device and display device |
CN202211613682.4 | 2022-12-15 |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI826203B true TWI826203B (en) | 2023-12-11 |
TW202427216A TW202427216A (en) | 2024-07-01 |
Family
ID=90053309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111149730A TWI826203B (en) | 2022-12-15 | 2022-12-23 | Computer device and display device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118210391A (en) |
TW (1) | TWI826203B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
CN111340808A (en) * | 2020-05-20 | 2020-06-26 | 北京小米移动软件有限公司 | Screen display monitoring method and device, electronic equipment and storage medium |
CN111641849A (en) * | 2014-10-23 | 2020-09-08 | 应用程序动态有限责任公司 | Universal image receiver |
CN113556590A (en) * | 2020-04-24 | 2021-10-26 | 海信视像科技股份有限公司 | Method for detecting effective resolution of screen-projected video stream and display equipment |
CN113556593A (en) * | 2020-04-24 | 2021-10-26 | 海信视像科技股份有限公司 | Display device and screen projection method |
CN114286137A (en) * | 2021-08-23 | 2022-04-05 | 海信视像科技股份有限公司 | Mirror image screen projection method, display device and terminal |
CN114286165A (en) * | 2020-12-21 | 2022-04-05 | 海信视像科技股份有限公司 | Display device, mobile terminal and screen projection data transmission method |
-
2022
- 2022-12-15 CN CN202211613682.4A patent/CN118210391A/en active Pending
- 2022-12-23 TW TW111149730A patent/TWI826203B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111641849A (en) * | 2014-10-23 | 2020-09-08 | 应用程序动态有限责任公司 | Universal image receiver |
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
CN113556590A (en) * | 2020-04-24 | 2021-10-26 | 海信视像科技股份有限公司 | Method for detecting effective resolution of screen-projected video stream and display equipment |
CN113556593A (en) * | 2020-04-24 | 2021-10-26 | 海信视像科技股份有限公司 | Display device and screen projection method |
CN111340808A (en) * | 2020-05-20 | 2020-06-26 | 北京小米移动软件有限公司 | Screen display monitoring method and device, electronic equipment and storage medium |
CN114286165A (en) * | 2020-12-21 | 2022-04-05 | 海信视像科技股份有限公司 | Display device, mobile terminal and screen projection data transmission method |
CN114286137A (en) * | 2021-08-23 | 2022-04-05 | 海信视像科技股份有限公司 | Mirror image screen projection method, display device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN118210391A (en) | 2024-06-18 |
TW202427216A (en) | 2024-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120299846A1 (en) | Electronic apparatus and operation support method | |
TWI673645B (en) | Computer system, display apparatus, and display method of an on-screen-display interface | |
US20050093831A1 (en) | Computer system and related method for calibrating a digitizer without utilizing calibration software | |
JP7178397B2 (en) | Electronic device and method of triggering macro keys using external input signals | |
TWI826203B (en) | Computer device and display device | |
KR102519683B1 (en) | electronic device and method of automatically triggering hot key using display image | |
TWI724722B (en) | Electronic device and display method of an on-screen-display interface | |
TWI766509B (en) | Display apparatus and control method of projected on-screen-display interface | |
JP5472569B2 (en) | Projection system | |
TWI766518B (en) | Display apparatus and method of synchronizing mouse sensitivities | |
TWI408488B (en) | Interactive projection system and system control method thereof | |
TW202038080A (en) | Computer system, display apparatus, and method for operating an on-screen-display interface thereof | |
TWI804116B (en) | Display apparatus and method of image rewinding thereof | |
TWI784630B (en) | Display control method and display control system | |
TWI752645B (en) | Display with prompt function and method thereof | |
CN114697622A (en) | Display device and control method of display interface on projection type screen | |
CN114690917A (en) | Display device and mouse sensitivity synchronization method | |
TW201944211A (en) | Virtual projection pen including at least one first device, a second device, and a third device | |
TWM603139U (en) | Virtual projection pen | |
TW201445423A (en) | Display device having integrated smart button and controlling method thereof | |
JP2014134803A (en) | Projector |