[go: up one dir, main page]

TW202136986A - Multi-screen display method and electronic apparatus - Google Patents

Multi-screen display method and electronic apparatus Download PDF

Info

Publication number
TW202136986A
TW202136986A TW109109466A TW109109466A TW202136986A TW 202136986 A TW202136986 A TW 202136986A TW 109109466 A TW109109466 A TW 109109466A TW 109109466 A TW109109466 A TW 109109466A TW 202136986 A TW202136986 A TW 202136986A
Authority
TW
Taiwan
Prior art keywords
electronic device
memory
data
display
portable electronic
Prior art date
Application number
TW109109466A
Other languages
Chinese (zh)
Other versions
TWI779273B (en
Inventor
王傑生
葉書瑋
鄧永晟
鄭文愷
李季剛
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW109109466A priority Critical patent/TWI779273B/en
Publication of TW202136986A publication Critical patent/TW202136986A/en
Application granted granted Critical
Publication of TWI779273B publication Critical patent/TWI779273B/en

Links

Images

Landscapes

  • Devices For Indicating Variable Information By Combining Individual Elements (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A multi-screen display method and an electronic apparatus are provided. The method is adapted to the electronic apparatus and includes the following steps. Display specifications data of a portable electronic apparatus is obtained in response to connecting to the portable electronic apparatus. The display specifications data is written into a memory in response to that recorded data in the memory of the electronic apparatus is not match to the display specifications data. A switch device connected between the memory and a graphic processor is switched, such that the graphic processor is enable to read the display specifications data in the memory through the switch device. Frame data is generated according to the display specifications data by the graphic processor, and the frame data is provided to the portable electronic apparatus for displaying.

Description

電子裝置與多螢幕顯示方法Electronic device and multi-screen display method

本發明是有關於一種多螢幕應用,且特別是有關於一種電子裝置與多螢幕顯示方法。The present invention relates to a multi-screen application, and particularly relates to an electronic device and a multi-screen display method.

隨著資訊處理量的增加,單一螢幕的筆記型電腦已逐漸無法滿足工作者的需求。對於筆記型電腦的使用者來說,使用多螢幕來提昇工作效率已經是習以為常的操作情境。一般而言,位於辦公室內的使用者,可將筆記型電腦連接至另一台桌上型顯示器,以使用多螢幕顯示功能來提昇工作效率。但是,在外辦公的使用者無法隨身攜帶體積龐大的桌上型顯示器,因而較難以享受多螢幕顯示功能帶來的便利。因此,伴隨著可攜式電子裝置(像是智慧手機或平板電腦等等)的普及,將這些具顯示功能的可攜式電子裝置用作為攜帶式螢幕的應用情境逐漸受到重視。使用者可將可攜式電子裝置連接至筆記型電腦,讓使用者同時觀看筆記型電腦的螢幕與可攜式電子裝置的螢幕,而據以實現多螢幕顯示應用。With the increase in the amount of information processing, single-screen notebook computers have gradually been unable to meet the needs of workers. For notebook computer users, using multiple screens to improve work efficiency has become a common operating situation. Generally speaking, users in the office can connect a laptop to another desktop monitor to use the multi-screen display function to improve work efficiency. However, users who work outside cannot carry a large desktop display with them, so it is more difficult to enjoy the convenience brought by the multi-screen display function. Therefore, with the popularization of portable electronic devices (such as smart phones or tablet computers, etc.), the application scenarios of using these portable electronic devices with display functions as portable screens have gradually attracted attention. The user can connect the portable electronic device to the notebook computer, allowing the user to watch the screen of the notebook computer and the screen of the portable electronic device at the same time, thereby realizing a multi-screen display application.

然而,市面上的可攜式電子裝置五花八門,這些可攜式電子裝置的顯示器的硬體規格也都不同。當將可攜式電子裝置作為擴充螢幕時,使用者需要於自行手動設定輸出圖幀的顯示規格(像是螢幕解析度與螢幕更新率等),並無法自動因應可攜式電子裝置的顯示規格來產生對應的輸出圖幀。若使用者的設定不良,易導致可攜式電子裝置顯示的畫面失真或不如使用者預期,造成使用者體驗不佳。However, there are various types of portable electronic devices on the market, and the hardware specifications of the displays of these portable electronic devices are also different. When using a portable electronic device as an expansion screen, the user needs to manually set the display specifications of the output image frame (such as screen resolution and screen update rate, etc.), and cannot automatically adapt to the display specifications of the portable electronic device To generate the corresponding output frame. If the user's settings are not good, it is easy to cause the screen displayed by the portable electronic device to be distorted or not as expected by the user, resulting in a poor user experience.

有鑑於此,本發明提出一種電子裝置與多螢幕顯示方法,其可自動偵測可攜式電子裝置的顯示硬體規格,從而使可攜式電子裝置提供良好的顯示效果。In view of this, the present invention provides an electronic device and a multi-screen display method, which can automatically detect the display hardware specifications of the portable electronic device, so that the portable electronic device provides a good display effect.

本發明實施例提供一種多螢幕顯示方法,適用於電子裝置,所述方法包括下列步驟。反應於連接至可攜式電子裝置,獲取可攜式電子裝置的顯示規格資料。反應於電子裝置中記憶體的記錄資料不符合顯示規格資料,將顯示規格資料寫入記憶體。切換連接於圖形處理器與記憶體之間的換裝置,致使圖形處理器經由切換裝置讀取記憶體中的顯示規格資料。藉由圖形處理器依據顯示規格資料產生畫面資料,並且將畫面資料提供予可攜式電子裝置來顯示。The embodiment of the present invention provides a multi-screen display method suitable for electronic devices. The method includes the following steps. In response to the connection to the portable electronic device, the display specification data of the portable electronic device is obtained. It is reflected that the recorded data in the memory of the electronic device does not meet the display specification data, and the display specification data is written into the memory. The switching device connected between the graphics processor and the memory is switched, so that the graphics processor reads the display specification data in the memory through the switching device. The graphics processor generates screen data according to the display specification data, and provides the screen data to the portable electronic device for display.

本發明實施例提供一種電子裝置,包括連接裝置、處理器、記憶體、微控制器、切換裝置、基本輸入輸出單元,以及圖形處理器。處理器耦接連接裝置,反應於透過連接裝置連接至可攜式電子裝置,獲取可攜式電子裝置的顯示規格資料。微控制器耦接記憶體,而切換裝置耦接記憶體、微控制器以及圖形處理器。基本輸入輸出單元耦接處理器以及微控制器。反應於記憶體的記錄資料不符合顯示規格資料,基本輸入輸出單元藉由微控制器將顯示規格資料寫入記憶體。基本輸入輸出單元藉由微控制器切換連接於圖形處理器與記憶體之間的切換裝置,致使圖形處理器經由切換裝置讀取記憶體中的顯示規格資料。圖形處理器依據顯示規格資料產生畫面資料,並且處理器經由連接裝置將畫面資料提供予可攜式電子裝置來顯示。An embodiment of the present invention provides an electronic device, which includes a connection device, a processor, a memory, a microcontroller, a switching device, a basic input output unit, and a graphics processor. The processor is coupled to the connection device, and responds to the connection to the portable electronic device through the connection device to obtain display specification data of the portable electronic device. The microcontroller is coupled to the memory, and the switching device is coupled to the memory, the microcontroller and the graphics processor. The basic input output unit is coupled to the processor and the microcontroller. Reflecting that the recorded data in the memory does not meet the display specification data, the basic input output unit writes the display specification data into the memory through the microcontroller. The basic input output unit switches the switching device connected between the graphics processor and the memory through the microcontroller, so that the graphics processor reads the display specification data in the memory through the switching device. The graphics processor generates screen data according to the display specification data, and the processor provides the screen data to the portable electronic device for display via the connecting device.

基於上述,於本發明的實施例中,可攜式電子裝置自動將硬體規格資訊提供給電子裝置,致使電子裝置可確保記憶體中的記錄資料與可攜式電子裝置的顯示規格資料相符。於是,透過切換連接於圖形處理器與記憶體之間的切換裝置,圖形處理器可讀取記憶體中的顯示規格資料並據以產生畫面資料。如此一來,可攜式電子裝置可依據符合自身硬體條件的畫面資料來進行顯示,不僅可簡化使用者設定步驟,更可以提供良好顯示效果。Based on the above, in the embodiment of the present invention, the portable electronic device automatically provides the hardware specification information to the electronic device, so that the electronic device can ensure that the recorded data in the memory matches the display specification data of the portable electronic device. Thus, by switching the switching device connected between the graphics processor and the memory, the graphics processor can read the display specification data in the memory and generate screen data accordingly. In this way, the portable electronic device can display according to the screen data that meets its own hardware conditions, which not only simplifies the user's setting steps, but also provides a good display effect.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並未揭示所有本發明的可實施方式。更確切的說,這些實施例只是本發明的專利申請範圍中的裝置與方法的範例。Part of the embodiments of the present invention will be described in detail in conjunction with the accompanying drawings. The reference symbols in the following description will be regarded as the same or similar elements when the same symbol appears in different drawings. These embodiments are only a part of the present invention, and do not disclose all the possible implementation modes of the present invention. To be more precise, these embodiments are only examples of the devices and methods within the scope of the patent application of the present invention.

圖1是依照本發明一實施例的多螢幕顯示系統的示意圖。請參照圖1,多螢幕顯示系統10包括電子裝置110以及可攜式電子裝置120。電子裝置110具備支援多螢幕顯示功能的圖形處理器,例如是桌上型電腦、筆記型電腦等等,本發明對此不限制。可攜式電子裝置120具有顯示功能,例如是平板電腦、智慧手機、個人數位助理、電子書或遊戲機等等,本發明對此不限制。FIG. 1 is a schematic diagram of a multi-screen display system according to an embodiment of the invention. Please refer to FIG. 1, the multi-screen display system 10 includes an electronic device 110 and a portable electronic device 120. The electronic device 110 is equipped with a graphics processor supporting multi-screen display function, such as a desktop computer, a notebook computer, etc., which is not limited by the present invention. The portable electronic device 120 has a display function, such as a tablet computer, a smart phone, a personal digital assistant, an e-book, or a game console, etc., which is not limited by the present invention.

電子裝置110經由資料傳輸介面I1連接可攜式電子裝置120,而資料傳輸介面I1例如是無線/有線通訊介面或有線匯流排介面,本發明對此不限制。舉例而言,資料傳輸介面I1可以是通用序列匯流排(Universal Serial Bus,USB)介面或WiFi通信介面等等。The electronic device 110 is connected to the portable electronic device 120 via the data transmission interface I1, and the data transmission interface I1 is, for example, a wireless/wired communication interface or a wired bus interface, which is not limited by the present invention. For example, the data transmission interface I1 can be a Universal Serial Bus (USB) interface or a WiFi communication interface, etc.

於一實施例中,可攜式電子裝置120用以作為電子裝置110的延伸螢幕,多螢幕顯示系統10藉由可攜式電子裝置120的顯示器121與電子裝置110的顯示器119實現多螢幕應用。於一實施例中,當電子裝置110經由資料傳輸介面I1與可攜式電子裝置120建立連線之後,可攜式電子裝置120可經由資料傳輸介面I1將自身的硬體規格資料d1提供給電子裝置110,硬體規格資料d1包括可攜式電子裝置120的顯示器121的硬體規格,例如螢幕解析度與螢幕更新率等等。電子裝置110可依據顯示器121的硬體規格產生畫面資料s1,並將畫面資料s1提供給可攜式電子裝置120進行顯示。基此,使用者無須手動利用電子裝置110或可攜式電子裝置120進行延伸螢幕的顯示設定,電子裝置110可自動針對可攜式電子裝置120的硬體規格提供適合的畫面資料,使可攜式電子裝置120可提供良好的顯示效果。In one embodiment, the portable electronic device 120 is used as an extended screen of the electronic device 110, and the multi-screen display system 10 implements a multi-screen application through the display 121 of the portable electronic device 120 and the display 119 of the electronic device 110. In one embodiment, after the electronic device 110 establishes a connection with the portable electronic device 120 via the data transmission interface I1, the portable electronic device 120 can provide its own hardware specification data d1 to the electronic device via the data transmission interface I1. For the device 110, the hardware specification data d1 includes the hardware specifications of the display 121 of the portable electronic device 120, such as the screen resolution and the screen update rate. The electronic device 110 can generate the screen data s1 according to the hardware specifications of the display 121, and provide the screen data s1 to the portable electronic device 120 for display. Based on this, the user does not need to manually use the electronic device 110 or the portable electronic device 120 to configure the display settings of the extended screen. The electronic device 110 can automatically provide suitable screen data for the hardware specifications of the portable electronic device 120, so that the portable The integrated electronic device 120 can provide a good display effect.

圖2是依照本發明一實施例的電子裝置的示意圖。請參照圖2,電子裝置110包括連接裝置111、處理器112、記憶體113、微控制器114、切換裝置115、基本輸入輸出單元116、圖形處理器117、儲存裝置118,以及顯示器119。FIG. 2 is a schematic diagram of an electronic device according to an embodiment of the invention. 2, the electronic device 110 includes a connection device 111, a processor 112, a memory 113, a microcontroller 114, a switching device 115, a basic input output unit 116, a graphics processor 117, a storage device 118, and a display 119.

連接裝置111用以提供電子裝置110與可攜式電子裝置120進行連線並傳輸資料。連接裝置111例如是支援藍芽通訊協定、Wi-Fi通訊協定的無線網路通訊晶片、天線等電子元件,但本發明不限定於此。或者,連接裝置111可以是有線的資料傳輸介面,例如是乙太網路元件、USB介面元件等等,但本發明不限定於此。電子裝置110可透過連接裝置111而傳輸資料至可攜式電子裝置120,或可透過連接裝置111而從可攜式電子裝置120接收資料。The connecting device 111 is used for providing the electronic device 110 to connect with the portable electronic device 120 and transmit data. The connecting device 111 is, for example, a wireless network communication chip, an antenna, and other electronic components that support the Bluetooth communication protocol and the Wi-Fi communication protocol, but the present invention is not limited thereto. Alternatively, the connecting device 111 may be a wired data transmission interface, such as an Ethernet component, a USB interface component, etc., but the present invention is not limited to this. The electronic device 110 can transmit data to the portable electronic device 120 through the connection device 111 or can receive data from the portable electronic device 120 through the connection device 111.

記憶體113例如是可抹除可編程唯讀記憶體(Erasable Programmable Read Only Memory,EPROM)、電子抹除式可複寫唯讀記憶體(Electrically Erasable Programmable Read Only Memory,EEPROM)、或快閃記憶體(Flash memory)等非揮發性記憶體,本發明對此並不限制。The memory 113 is, for example, Erasable Programmable Read Only Memory (EPROM), Electronically Erasable Programmable Read Only Memory (EEPROM), or flash memory. (Flash memory) and other non-volatile memory, the present invention is not limited to this.

微控制器114例如是電子裝置110的嵌入式控制器(Embedded Controller,EC)或其他具備運算能力的控制晶片。The microcontroller 114 is, for example, an Embedded Controller (EC) of the electronic device 110 or other control chips with computing capabilities.

切換裝置115耦接記憶體113、微控制器114以及圖形處理器117。切換裝置115除了利用電晶體的組合完成外,亦可利用複雜可程式邏輯裝置(Complex Programmable Logic Devic, CPLD)或現場可程式邏輯閘陣列(Field Programmable Gate Array,FPGA)來實現,本發明並不限制其實現方式。The switching device 115 is coupled to the memory 113, the microcontroller 114 and the graphics processor 117. In addition to the combination of transistors, the switching device 115 can also be implemented by a complex programmable logic device (Complex Programmable Logic Devic, CPLD) or a Field Programmable Gate Array (Field Programmable Gate Array, FPGA). Limit its implementation.

基本輸入輸出單元116耦接處理器112以及微控制器114。基本輸入輸出系統單元116為非揮發性記憶體(Non-volatile Memory),例如唯讀記憶體(Read Only Memory,ROM)或是快閃記憶體(Flash Memory),其中儲存了用來載入電腦系統最基本的韌體程式碼,即基本輸入輸出系統(Basic Input Output System,BIOS)。The basic input output unit 116 is coupled to the processor 112 and the microcontroller 114. The basic input output system unit 116 is a non-volatile memory (Non-volatile Memory), such as a read-only memory (Read Only Memory, ROM) or a flash memory (Flash Memory), in which is stored for loading into a computer The most basic firmware code of the system is the Basic Input Output System (BIOS).

圖形處理器(graphic processing unit,GPU)117提供多螢幕顯示功能,其可產生提供給多台顯示器的影像資料。於本實施例中,圖形處理器117可產生提供給顯示器119的畫面資料與提供給顯示器121的畫面資料,使得顯示器119與顯示器121可同時進行顯示。A graphics processing unit (GPU) 117 provides a multi-screen display function, which can generate image data for multiple displays. In this embodiment, the graphics processor 117 can generate the screen data provided to the display 119 and the screen data provided to the display 121, so that the display 119 and the display 121 can display at the same time.

處理器112耦接儲存裝置118、連接裝置111、基本輸入輸出單116以及圖形處理器117。處理器112可以是具有單核心或多核心的中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。處理器112用以存取載入至儲存裝置118中的各種軟體元件。舉例而言,處理器112可執行儲存裝置118中的應用程式與作業系統來實現本發明實施例的多螢幕顯示方法。The processor 112 is coupled to the storage device 118, the connection device 111, the basic input output unit 116 and the graphics processor 117. The processor 112 can be a central processing unit (CPU) with a single core or multiple cores, or other programmable general-purpose or special-purpose microprocessors (Microprocessors), digital signal processors (Digital Signal Processors). Processor, DSP), programmable controller, Application Specific Integrated Circuit (ASIC) or other similar components or a combination of the above components. The processor 112 is used to access various software components loaded into the storage device 118. For example, the processor 112 can execute the application program and the operating system in the storage device 118 to implement the multi-screen display method of the embodiment of the present invention.

儲存裝置118例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,其係用以儲存資料。儲存裝置118可載入各種軟體元件(例如,作業系統、應用程式、驅動程式、各種指令等)與資料以供處理器112執行和運用。The storage device 118 is, for example, any type of fixed or removable random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (Flash memory), hard disk Disk or other similar device or combination of these devices, which is used to store data. The storage device 118 can load various software components (for example, operating systems, applications, drivers, various commands, etc.) and data for the processor 112 to execute and use.

顯示器119例如是液晶顯示器(Liquid Crystal Display,LCD)、發光二極體(Light-Emitting Diode,LED)顯示器、場發射顯示器(Field Emission Display,FED)、有機發光二極體顯示器(Organic Light-Emitting Diode,OLED)或其他種類的顯示器,本發明並不限制於此。The display 119 is, for example, a liquid crystal display (LCD), a light-emitting diode (Light-Emitting Diode, LED) display, a field emission display (FED), an organic light-emitting diode display (Organic Light-Emitting Diode, OLED) or other types of displays, the present invention is not limited to this.

為了進一步說明多螢幕顯示方法,以下特舉一實施例來對本發明進行說明。圖3是依照本發明一實施例的多螢幕顯示方法的流程圖,請同時參閱圖2至圖3。本實施例的方法適用於圖2中的電子裝置110,以下即搭配電子裝置110中的各項元件說明本實施例方法的詳細流程。In order to further illustrate the multi-screen display method, an embodiment is given below to illustrate the present invention. FIG. 3 is a flowchart of a multi-screen display method according to an embodiment of the present invention. Please refer to FIGS. 2 to 3 at the same time. The method of this embodiment is applicable to the electronic device 110 in FIG. 2, and the detailed flow of the method of this embodiment is described below in conjunction with various components in the electronic device 110.

於步驟S301,反應於透過連接裝置111連接至可攜式電子裝置120,處理器112獲取可攜式電子裝置120的顯示規格資料。顯示規格資料包括延伸顯示能力識別資料(Extended display identification data,EDID)。於一實施例中,反應於透過連接裝置111連接至可攜式電子裝置120,處理器112自可攜式電子裝置120接收硬體規格資訊,並將可攜式電子裝置120的硬體規格資訊轉換為顯示規格資料。需說明的是,電子裝置110可直接經由USB介面或其他有線資料傳輸介鏈連接至可攜式電子裝置120,或者,位於同一區域網路底下的電子裝置110與可攜式電子裝置120可經由WiFi存取點相連接,但本發明不限制於此。In step S301, in response to the connection to the portable electronic device 120 through the connection device 111, the processor 112 obtains the display specification data of the portable electronic device 120. Display specification data includes extended display identification data (EDID). In one embodiment, in response to the connection to the portable electronic device 120 through the connection device 111, the processor 112 receives the hardware specification information from the portable electronic device 120, and sends the hardware specification information of the portable electronic device 120 Convert to display specification data. It should be noted that the electronic device 110 can be directly connected to the portable electronic device 120 via a USB interface or other wired data transmission media, or the electronic device 110 and the portable electronic device 120 located under the same local network can be connected via The WiFi access point is connected, but the present invention is not limited to this.

於步驟S302,反應於記憶體113的記錄資料不符合顯示規格資料,基本輸入輸出單元116藉由微控制器114將顯示規格資料寫入記憶體113。於一實施例中,反應於記憶體113不包括記錄資料,基本輸入輸出單元116透過微控制器114將顯示規格資料寫入記憶體113。反應於記憶體113中的記錄資料相異於顯示規格資料,基本輸入輸出單元116透過微控制器114利用顯示規格資料更新記憶體113中的記錄資料。具體而言,處理器112會比對可攜式電子裝置120的顯示規格資料是否相同於記憶體113中的記錄資料。當記憶體113的記錄資料不符合顯示規格資料時(亦即記憶體113的記錄資料不存在或與可攜式電子裝置120的顯示規格資料不相同),處理器112通知基本輸入輸出單元116更新記憶體113中的記錄資料。於是,基本輸入輸出單元116將藉由微控制器114將顯示規格資料寫入記憶體113,以更新記憶體113中的記錄資料。需說明的是,切換裝置115會導通微控制器114與記憶體113之間的路徑Q,使得微控制器114可以讀取或刷新記憶體113中的記錄資料。路徑Q可以由I2C通訊介面來實現。In step S302, reflecting that the recorded data of the memory 113 does not meet the display specification data, the basic input output unit 116 writes the display specification data into the memory 113 through the microcontroller 114. In one embodiment, in response to the fact that the memory 113 does not include recording data, the basic input output unit 116 writes the display specification data into the memory 113 through the microcontroller 114. Responding to the fact that the recorded data in the memory 113 is different from the display specification data, the basic input output unit 116 updates the recorded data in the memory 113 through the microcontroller 114 with the display specification data. Specifically, the processor 112 compares whether the display specification data of the portable electronic device 120 is the same as the recorded data in the memory 113. When the recorded data of the memory 113 does not meet the display specification data (that is, the recorded data of the memory 113 does not exist or is different from the display specification data of the portable electronic device 120), the processor 112 notifies the basic input output unit 116 to update Record data in the memory 113. Therefore, the basic input output unit 116 writes the display specification data into the memory 113 through the microcontroller 114 to update the recorded data in the memory 113. It should be noted that the switching device 115 connects the path Q between the microcontroller 114 and the memory 113, so that the microcontroller 114 can read or refresh the recorded data in the memory 113. Path Q can be realized by I2C communication interface.

接著,於步驟S303,基本輸入輸出單元116藉由微控制器114切換連接於圖形處理器117與記憶體113之間的切換裝置115,致使圖形處理器117經由切換裝置115讀取記憶體113中的顯示規格資料。切換裝置115會導通圖形處理器117與記憶體113之間的路徑P,使得致使圖形處理器117可以經由路徑P讀取記憶體113中的顯示規格資料。路徑P可以由I2C通訊介面來實現,亦即,圖形處理器117可經由I2C介面讀取記憶體113中的顯示規格資料。由此可知,切換裝置115可反應於為控制器114提供的控制訊號而導通路徑P或路徑Q,而將記憶體113的I2C埠連接至圖形處理器117的I2C埠或微控制器114的I2C埠。Next, in step S303, the basic input/output unit 116 uses the microcontroller 114 to switch the switching device 115 connected between the graphics processor 117 and the memory 113, so that the graphics processor 117 reads from the memory 113 through the switching device 115 The display specification data. The switching device 115 connects the path P between the graphics processor 117 and the memory 113, so that the graphics processor 117 can read the display specification data in the memory 113 through the path P. The path P can be implemented by an I2C communication interface, that is, the graphics processor 117 can read the display specification data in the memory 113 through the I2C interface. It can be seen that the switching device 115 can turn on the path P or the path Q in response to the control signal provided to the controller 114, and connect the I2C port of the memory 113 to the I2C port of the graphics processor 117 or the I2C of the microcontroller 114 port.

於一實施例中,於導通路徑P的同時,基本輸入輸出單元116透過微控制器114切換切換裝置115,致使圖形處理器117接收關聯於可攜式電子裝置120的熱拔插偵測(Hot Plug Detection)訊號而開啟多螢幕顯示功能。詳細而言,圖形處理器117是透過特定針腳(Pin)所接收的熱拔插偵測訊號來偵測外接顯示器的存在,從而開啟多螢幕顯示功能。於一實施例中,切換裝置115可導通電壓V1(例如5V)與圖形處理器117之間的路徑M,以使圖形處理器117的特定針腳可接收關聯於可攜式電子裝置120的熱拔插偵測訊號,並反應於熱拔插偵測訊號而啟動多螢幕顯示功能。In one embodiment, while the path P is being conducted, the basic input output unit 116 switches the switching device 115 through the microcontroller 114, so that the graphics processor 117 receives the hot plug detection (Hot plug detection) associated with the portable electronic device 120. Plug Detection) signal to enable the multi-screen display function. In detail, the graphics processor 117 detects the presence of an external display through the hot plug detection signal received by a specific pin (Pin), thereby enabling the multi-screen display function. In one embodiment, the switching device 115 can conduct the path M between the voltage V1 (for example, 5V) and the graphics processor 117, so that a specific pin of the graphics processor 117 can receive the hot pull associated with the portable electronic device 120 Plug-in detection signal, and activate the multi-screen display function in response to the hot-plug detection signal.

最後,於步驟S304,開啟多螢幕顯示功能的圖形處理器117依據顯示規格資料產生畫面資料s2,並且處理器112經由連接裝置111將畫面資料s2提供予可攜式電子裝置120來顯示。具體而言,處理器會將圖形處理器117產生的畫面資料s2轉換為串流傳輸資料格式,並將畫面資料s2串流傳輸至可攜式電子裝置120來顯示。Finally, in step S304, the graphics processor 117 with the multi-screen display function enabled generates the screen data s2 according to the display specification data, and the processor 112 provides the screen data s2 to the portable electronic device 120 for display via the connecting device 111. Specifically, the processor converts the screen data s2 generated by the graphics processor 117 into a streaming data format, and streams the screen data s2 to the portable electronic device 120 for display.

值得一提的是,於一實施例中,反應於記憶體113的記錄資料符合顯示規格資料,基本輸入輸出單元116不會藉由微控制器114將顯示規格資料寫入記憶體113。具體而言,當記憶體113的記錄資料相同於可攜式電子裝置120的顯示規格資料,可直接接續執行步驟S303與步驟S304。It is worth mentioning that, in one embodiment, reflecting that the recorded data of the memory 113 meets the display specification data, the basic input output unit 116 does not write the display specification data into the memory 113 through the microcontroller 114. Specifically, when the recorded data of the memory 113 is the same as the display specification data of the portable electronic device 120, step S303 and step S304 can be directly executed.

以一個應用情境來說,使用者將筆記型電腦連接至平板電腦,並使用具有手寫功能的平板電腦來進行修圖作業。當筆記型電腦首次使用多螢幕顯示功能而連接至平板電腦時,筆記型電腦可偵測到平板電腦的螢幕解析度為1920*1080且螢幕更新率是60fps,筆記型電腦將平板電腦的顯示規格資料(即螢幕解析度1920*1080與螢幕更新率是60fps)記錄於電子抹除式可複寫唯讀記憶體(EEPROM)中。於是,筆記型電腦可據以產生畫面解析度為1920*1080且畫面更新率為60fps的畫面資料,並將其投映於平板電腦上。日後,若使用者將筆記型電腦連接至另一平板電腦,筆記型電腦將偵測到另一平板電腦的螢幕解析度為3840*2160且螢幕更新率是60fps。反應於筆記型電腦判斷另一平板電腦的顯示規格資料相異於EEPROM中的記錄資料(即螢幕解析度1920*1080),筆記型電腦使用另一平板電腦的螢幕解析度3840*2160來刷新EEPROM中的記錄資料。如此一來,電子裝置將依據刷新後的記錄資料產生畫面解析度為3840*2160且畫面更新率為60fps的畫面資料,並將其投映於另一台平板電腦上。In an application scenario, a user connects a notebook computer to a tablet computer and uses a tablet computer with handwriting function to perform image editing operations. When a laptop is connected to a tablet using the multi-screen display function for the first time, the laptop can detect that the screen resolution of the tablet is 1920*1080 and the screen update rate is 60fps. The laptop will change the display specifications of the tablet The data (i.e. the screen resolution is 1920*1080 and the screen update rate is 60fps) are recorded in an electronically erasable rewritable read-only memory (EEPROM). Therefore, the notebook computer can generate screen data with a screen resolution of 1920*1080 and a screen update rate of 60fps, and project it on the tablet computer. In the future, if the user connects the laptop to another tablet, the laptop will detect that the screen resolution of the other tablet is 3840*2160 and the screen update rate is 60fps. Reflecting that the notebook computer judges that the display specification data of another tablet computer is different from the recorded data in the EEPROM (that is, the screen resolution of 1920*1080), the notebook computer uses the screen resolution of the other tablet computer to refresh the EEPROM. Record data in. In this way, the electronic device will generate screen data with a screen resolution of 3840*2160 and a screen update rate of 60fps based on the refreshed recorded data, and project it on another tablet computer.

圖4是依照本發明一實施例的多螢幕顯示方法的示意圖。須先說明的是,於本實施例中,電子裝置110與可攜式電子裝置120分別執行應用程式A1與應用程式A2而實現多螢幕顯示方法。FIG. 4 is a schematic diagram of a multi-screen display method according to an embodiment of the invention. It should be noted that, in this embodiment, the electronic device 110 and the portable electronic device 120 execute the application program A1 and the application program A2 respectively to realize the multi-screen display method.

請參照圖4,於步驟1,電子裝置110的應用程式A1與可攜式電子裝置120的應用程式A2建立連線,且應用程式A2可取得可攜式電子裝置120的硬體規格資訊(像是螢幕解析度螢幕更新率以及其他硬體資訊)並將其提供給應用程式A1。4, in step 1, the application A1 of the electronic device 110 establishes a connection with the application A2 of the portable electronic device 120, and the application A2 can obtain the hardware specification information of the portable electronic device 120 (like Is the screen resolution, screen update rate and other hardware information) and provide it to application A1.

於步驟2,應用程式A1將可攜式電子裝置120的硬體規格資訊轉換為當前EDID,並確認當前EDID是否與記憶體113中的記錄EDID相同。於步驟3,若當前EDID與記憶體113中的記錄EDID不相同,應用程式A1透過視窗管理規範(Windows Management Instrumentation,WMI)指令通知基本輸入輸出單元116更新記憶體113中的記錄EDID。In step 2, the application program A1 converts the hardware specification information of the portable electronic device 120 into the current EDID, and confirms whether the current EDID is the same as the recorded EDID in the memory 113. In step 3, if the current EDID is different from the recorded EDID in the memory 113, the application A1 informs the basic input output unit 116 to update the recorded EDID in the memory 113 through a Windows Management Instrumentation (WMI) command.

於步驟4,基本輸入輸出單元116藉由微控制器114將當前EDID經由I2C介面寫入至記憶體113,以更新記憶體113的記錄資料。於步驟5,反應於當前EDID寫入至記憶體113,基本輸入輸出單元116透過WMI指令通知應用程式A1當前EDID的寫入操作已經完成。In step 4, the basic input output unit 116 uses the microcontroller 114 to write the current EDID to the memory 113 via the I2C interface to update the recorded data of the memory 113. In step 5, in response to the current EDID being written into the memory 113, the basic input output unit 116 notifies the application program A1 that the current EDID write operation has been completed through the WMI command.

於步驟6,應用程式A1透過WMI指令通知基本輸入輸出單元116致能圖形處理器117的多螢幕顯示功能。於步驟7,基本輸入輸出單元116藉由微控制器114切換切換裝置,以致能圖形處理器117的多螢幕顯示功能並依據記憶體113中的當前EDID產生畫面資料。於步驟8,基本輸入輸出單元116透過WMI指令通知應用程式A1多螢幕顯示功能已致能。於步驟9,應用程式A1使用微軟套件DirectX從圖形處理器117擷取畫面資料並將畫面資料串流傳輸至可攜式電子裝置120的應用程式A2來進行顯示。In step 6, the application program A1 notifies the basic input output unit 116 to enable the multi-screen display function of the graphics processor 117 through the WMI command. In step 7, the basic input output unit 116 switches the switching device through the microcontroller 114 to enable the multi-screen display function of the graphics processor 117 and generate screen data according to the current EDID in the memory 113. In step 8, the basic input output unit 116 informs the application program A1 that the multi-screen display function has been enabled through the WMI command. In step 9, the application A1 uses the Microsoft package DirectX to capture screen data from the graphics processor 117 and stream the screen data to the application A2 of the portable electronic device 120 for display.

綜上所述,於本發明實施例中,透過軟體與硬體的協作來偵測可攜式電子裝置的顯示規格資料,致使電子裝置可確保記憶體中的記錄資料與可攜式電子裝置的顯示規格資料相符。於是,透過切換連接於圖形處理器與記憶體之間的切換裝置,圖形處理器可讀取記憶體中的顯示規格資料並據以產生畫面資料。如此一來,可攜式電子裝置可依據符合自身硬體條件的畫面資料來進行顯示,從而大幅簡化顯示設定的操作步驟,提高多螢幕顯示功能的使用便利性,並帶來良好的使用體驗。In summary, in the embodiments of the present invention, the display specification data of the portable electronic device is detected through the cooperation of software and hardware, so that the electronic device can ensure that the recorded data in the memory and the portable electronic device's Shows that the specification data matches. Thus, by switching the switching device connected between the graphics processor and the memory, the graphics processor can read the display specification data in the memory and generate screen data accordingly. In this way, the portable electronic device can display according to the screen data that meets its own hardware conditions, which greatly simplifies the operation steps of the display setting, improves the convenience of the multi-screen display function, and brings a good user experience.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be subject to those defined by the attached patent application scope.

10:多螢幕顯示系統 110:電子裝置 111:連接裝置 112:處理器 113:記憶體 114:微控制器 115:切換裝置 116:基本輸入輸出單元 117:圖形處理器 118:儲存裝置 119:顯示器 120:可攜式電子裝置 121:顯示器 s1、s2:畫面資料 d1:硬體規格資料 I1:資料傳輸介面 M、P、Q:路徑 V1:電壓 A1、A2:應用程式 S301~S304:步驟10: Multi-screen display system 110: electronic device 111: Connect the device 112: processor 113: Memory 114: Microcontroller 115: switching device 116: Basic Input Output Unit 117: graphics processor 118: storage device 119: Display 120: Portable electronic device 121: display s1, s2: screen data d1: hardware specifications I1: Data transmission interface M, P, Q: path V1: Voltage A1, A2: App S301~S304: steps

圖1是依照本發明一實施例的多螢幕顯示系統的示意圖。 圖2是依照本發明一實施例的電子裝置的示意圖。 圖3是依照本發明一實施例的多螢幕顯示方法的流程圖。 圖4是依照本發明一實施例的多螢幕顯示方法的示意圖。FIG. 1 is a schematic diagram of a multi-screen display system according to an embodiment of the invention. FIG. 2 is a schematic diagram of an electronic device according to an embodiment of the invention. FIG. 3 is a flowchart of a multi-screen display method according to an embodiment of the invention. FIG. 4 is a schematic diagram of a multi-screen display method according to an embodiment of the invention.

S301~S304:步驟S301~S304: steps

Claims (12)

一種多螢幕顯示方法,適用於電子裝置,所述方法包括: 反應於連接至一可攜式電子裝置,獲取所述可攜式電子裝置的顯示規格資料; 反應於所述電子裝置中一記憶體的記錄資料不符合所述顯示規格資料,將所述顯示規格資料寫入所述記憶體; 切換連接於所述圖形處理器與所述記憶體之間的一切換裝置,致使所述圖形處理器經由所述切換裝置讀取所述記憶體中的所述顯示規格資料;以及 藉由所述圖形處理器依據所述顯示規格資料產生畫面資料,並且將所述畫面資料提供予所述可攜式電子裝置來顯示。A multi-screen display method suitable for electronic devices, the method includes: In response to connecting to a portable electronic device, obtaining display specification data of the portable electronic device; It is reflected that the recorded data of a memory in the electronic device does not meet the display specification data, and the display specification data is written into the memory; Switching a switching device connected between the graphics processor and the memory, so that the graphics processor reads the display specification data in the memory through the switching device; and The graphics processor generates screen data according to the display specification data, and provides the screen data to the portable electronic device for display. 如請求項1所述的多螢幕顯示方法,所述顯示規格資料包括延伸顯示能力識別資料(Extended display identification data,EDID)。In the multi-screen display method described in claim 1, the display specification data includes extended display identification data (EDID). 如請求項2所述的多螢幕顯示方法,其中反應於連接至所述可攜式電子裝置,獲取所述可攜式電子裝置的所述顯示規格資料的步驟包括: 反應於連接至所述可攜式電子裝置,自所述可攜式電子裝置接收硬體規格資訊;以及 將所述可攜式電子裝置的所述硬體規格資訊轉換為所述顯示規格資料。The multi-screen display method according to claim 2, wherein the step of acquiring the display specification data of the portable electronic device in response to being connected to the portable electronic device includes: In response to being connected to the portable electronic device, receiving hardware specification information from the portable electronic device; and The hardware specification information of the portable electronic device is converted into the display specification data. 如請求項2所述的多螢幕顯示方法,其中所述圖形處理器經由I2 C介面讀取所述記憶體中的所述顯示規格資料。The multi-screen display method according to claim 2, wherein the graphics processor reads the display specification data in the memory through an I 2 C interface. 如請求項1所述的多螢幕顯示方法,其中反應於所述電子裝置中所述記憶體的所述記錄資料不符合所述顯示規格資料,將所述顯示規格資料寫入所述記憶體的步驟包括: 反應於所述記憶體不包括所述記錄資料,將所述顯示規格資料寫入所述記憶體;以及 反應於所述記憶體中的所述記錄資料相異於所述顯示規格資料,利用所述顯示規格資料更新所述記憶體中的所述記錄資料。The multi-screen display method of claim 1, wherein the record data reflected in the memory of the electronic device does not meet the display specification data, and the display specification data is written into the memory The steps include: Writing the display specification data into the memory in response to the memory not including the recording data; and It is reflected that the record data in the memory is different from the display specification data, and the record data in the memory is updated with the display specification data. 如請求項1所述的多螢幕顯示方法,其中所述方法更包括: 切換所述切換裝置,致使所述圖形處理器接收關聯於所述可攜式電子裝置的熱拔插偵測訊號而開啟多螢幕顯示功能。The multi-screen display method according to claim 1, wherein the method further includes: Switching the switching device causes the graphics processor to receive the hot plug detection signal associated with the portable electronic device to turn on a multi-screen display function. 一種電子裝置,包括: 一連接裝置; 一處理器,耦接所述連接裝置,反應於透過所述連接裝置連接至一可攜式電子裝置,獲取所述可攜式電子裝置的顯示規格資料: 一記憶體; 一微控制器; 一切換裝置,耦接所述記憶體以及所述微控制器; 一基本輸入輸出單元,耦接所述處理器以及所述微控制器,反應於所述記憶體的記錄資料不符合所述顯示規格資料,藉由所述微控制器將所述顯示規格資料寫入所述記憶體;以及 一圖形處理器,耦接所述切換裝置, 其中,所述基本輸入輸出單元藉由所述微控制器切換連接於所述圖形處理器與所述記憶體之間的所述切換裝置,致使所述圖形處理器經由所述切換裝置讀取所述記憶體中的所述顯示規格資料, 其中,所述圖形處理器依據所述顯示規格資料產生畫面資料,並且所述處理器經由所述連接裝置將所述畫面資料提供予所述可攜式電子裝置來顯示。An electronic device, including: A connecting device; A processor coupled to the connection device, in response to the connection to a portable electronic device through the connection device, to obtain display specification data of the portable electronic device: A memory; A microcontroller; A switching device coupled to the memory and the microcontroller; A basic input output unit, coupled to the processor and the microcontroller, and responding to the fact that the recorded data of the memory does not meet the display specification data, and the microcontroller writes the display specification data Into the memory; and A graphics processor coupled to the switching device, Wherein, the basic input output unit switches the switching device connected between the graphics processor and the memory through the microcontroller, so that the graphics processor reads the switching device through the switching device. The display specification data in the memory, Wherein, the graphics processor generates screen data according to the display specification data, and the processor provides the screen data to the portable electronic device for display via the connecting device. 如請求項7所述的電子裝置,所述顯示規格資料包括延伸顯示能力識別資料(Extended display identification data,EDID)。In the electronic device according to claim 7, the display specification data includes extended display identification data (EDID). 如請求項8所述的電子裝置,其中反應於透過所述連接裝置連接至所述可攜式電子裝置,所述處理器自所述可攜式電子裝置接收硬體規格資訊,並將所述可攜式電子裝置的所述硬體規格資訊轉換為所述顯示規格資料。The electronic device according to claim 8, wherein in response to being connected to the portable electronic device through the connecting device, the processor receives hardware specification information from the portable electronic device, and sends the The hardware specification information of the portable electronic device is converted into the display specification data. 如請求項8所述的電子裝置,其中所述圖形處理器經由I2 C介面讀取所述記憶體中的所述顯示規格資料。The electronic device according to claim 8, wherein the graphics processor reads the display specification data in the memory through an I 2 C interface. 如請求項7所述的電子裝置,其中反應於所述記憶體不包括所述記錄資料,所述基本輸入輸出單元透過所述微控制器將所述顯示規格資料寫入所述記憶體;以及反應於所述記憶體中的所述記錄資料相異於所述顯示規格資料,所述基本輸入輸出單元透過所述微控制器利用所述顯示規格資料更新所述記憶體中的所述記錄資料。The electronic device according to claim 7, wherein in response to the memory does not include the recording data, the basic input output unit writes the display specification data into the memory through the microcontroller; and Reflecting that the record data in the memory is different from the display specification data, the basic input output unit updates the record data in the memory with the display specification data through the microcontroller . 如請求項7所述的電子裝置,其中所述基本輸入輸出單元透過所述微控制器切換所述切換裝置,致使所述圖形處理器接收關聯於所述可攜式電子裝置的熱拔插偵測訊號而開啟多螢幕顯示功能。The electronic device according to claim 7, wherein the basic input output unit switches the switching device through the microcontroller, so that the graphics processor receives the hot plug detection associated with the portable electronic device Measure the signal and turn on the multi-screen display function.
TW109109466A 2020-03-20 2020-03-20 Multi-screen display method and electronic apparatus TWI779273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109109466A TWI779273B (en) 2020-03-20 2020-03-20 Multi-screen display method and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109109466A TWI779273B (en) 2020-03-20 2020-03-20 Multi-screen display method and electronic apparatus

Publications (2)

Publication Number Publication Date
TW202136986A true TW202136986A (en) 2021-10-01
TWI779273B TWI779273B (en) 2022-10-01

Family

ID=79601290

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109109466A TWI779273B (en) 2020-03-20 2020-03-20 Multi-screen display method and electronic apparatus

Country Status (1)

Country Link
TW (1) TWI779273B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8600446B2 (en) * 2008-09-26 2013-12-03 Htc Corporation Mobile device interface with dual windows
TWI394999B (en) * 2009-01-09 2013-05-01 Prime View Int Co Ltd Electric device with multi-screen
CN104657095B (en) * 2013-11-18 2017-10-31 惠科股份有限公司 Multi-display expansion method and system
TWI647611B (en) * 2017-10-02 2019-01-11 廣積科技股份有限公司 Smart Extended Display Identification Data Simulator

Also Published As

Publication number Publication date
TWI779273B (en) 2022-10-01

Similar Documents

Publication Publication Date Title
CN107409056B (en) Apparatus, system, method and device for facilitating data communication
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
KR101565357B1 (en) Systems, methods, and apparatuses for handling timeouts
CN103106109B (en) Mobile device and method for running two platform systems or application programs on mobile device
JP5009519B2 (en) Virtual extended display identification data (EDID) in flat panel controller
TWI553550B (en) Techniques to transmit commands to a target device
US8725917B2 (en) Chip and computer system
US9304544B2 (en) System and display control method for external device
US20090160733A1 (en) Information processing device and display control method
KR20180085192A (en) System including hot plug module and memory module
JP2015179330A (en) Electrical apparatus and display method
US9430023B2 (en) Sleep state video interface of an information handling device
US10460649B2 (en) Automatically selecting a set of parameter values that provide a higher link score
US20140043267A1 (en) Operation Method of Dual Operating Systems, Touch Sensitive Electronic Device Having Dual Operating Systems, and Computer Readable Storage Medium Having Dual Operating Systems
CN201188205Y (en) Video image array signal line, display and computer device thereof
CN113038052B (en) Digital video recorder, control method thereof, device storage medium and electronic device
TWI779273B (en) Multi-screen display method and electronic apparatus
US20130021351A1 (en) Method and system for controlling multimedia monitor
CN113467729B (en) Electronic device and multi-screen display method
CN104133646A (en) Power gating a display of a data processing device during cloning thereof across an external display
JPWO2015190002A1 (en) Electronic device, control method and program
US9367332B2 (en) Sensing data reading device and method
KR20220156326A (en) An electronic device that recognizes a touch and performs a display
US11482189B2 (en) Information processing apparatus and control method
KR20130136265A (en) Mobile terminal for connection with external device, and method for changing screen image thereof

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent