METHOD AND APPARATUS FOR SCREEN DISPLAY
20220350561 ยท 2022-11-03
Assignee
Inventors
Cpc classification
G09G3/2096
PHYSICS
G09G2370/04
PHYSICS
International classification
G06F3/14
PHYSICS
G09G3/20
PHYSICS
Abstract
A method and an apparatus for screen display are provided. The method is adapted to an electronic apparatus including a processor and a memory. The method includes the following steps: installing a virtual display card driver; making one or more network connections with one or more selected apparatuses in an adjacent area; creating one or more virtual screens corresponding to the one or more selected apparatuses through the virtual display card driver; encoding one or more pictures of the one or more virtual screens to generate one or more encoded videos; and transmitting the one or more encoded videos to the corresponding one or more selected apparatuses respectively through the one or more network connections, to display the one or more pictures of the corresponding one or more virtual screens on one or more screens of the one or more selected apparatuses respectively.
Claims
1. A method for screen display, applied to an electronic apparatus comprising a processor and a memory, the method comprising the following steps: installing a virtual display card driver; making one or more network connections with one or more selected apparatuses in an adjacent area; creating one or more virtual screens corresponding to the one or more selected apparatuses respectively through the virtual display card driver; encoding one or more pictures of the one or more virtual screens to generate one or more encoded videos; and transmitting the one or more encoded videos to the corresponding one or more selected apparatuses respectively through the one or more network connections, to display the one or more pictures of the corresponding one or more virtual screens on one or more screens of the one or more selected apparatuses respectively.
2. The method for screen display according to claim 1, wherein the electronic apparatus further comprises an input apparatus and a screen, and the step of making one or more network connections with one or more selected apparatuses in an adjacent area comprises: receiving broadcast signals from a plurality of external apparatuses in the adjacent area, to list the plurality of external apparatuses on the screen of the electronic apparatus; receiving a selecting operation through the input apparatus, to select the one or more selected apparatuses from the listed plurality of external apparatuses; and making one or more point-to-point network connections with the one or more selected apparatuses.
3. The method for screen display according to claim 2, wherein the step of listing the plurality of external apparatuses on the screen of the electronic apparatus comprises: determining whether the plurality of external apparatuses has a projection function according to the broadcast signals; and listing the plurality of external apparatuses having the projection function on the screen of the electronic apparatus.
4. The method for screen display according to claim 2, wherein the broadcast signals comprise screen resolution information of the one or more selected apparatuses, and the step of creating one or more virtual screens corresponding to the one or more selected apparatuses respectively through the virtual display card driver comprises: creating, through the virtual display card driver, the corresponding one or more virtual screens respectively according to the screen resolution information of the one or more selected apparatuses.
5. The method for screen display according to claim 1, wherein the memory comprises a shared memory, and before the step of encoding one or more pictures of the one or more virtual screens to generate one or more encoded videos, the method further comprises: sharing, through the shared memory, the one or more pictures of the one or more virtual screens to an application performing picture encoding when one or more pictures appear on the one or more virtual screens.
6. The method for screen display according to claim 1, further comprising: receiving touch information from the one or more selected apparatuses, to simulate one or more corresponding touch events on the one or more virtual screens.
7. An apparatus for screen display, comprising: a memory, configured to store data; a network card, configured to make a network connection; and a processor, coupling the memory and the network card, configured to load and run an application to execute the following steps: installing a virtual display card driver; making, one or more network connections between the network card and one or more selected apparatuses in an adjacent area; requesting the virtual display card driver to create one or more virtual screens corresponding to the one or more selected apparatuses respectively; encoding one or more pictures of the one or more virtual screens to generate one or more encoded videos; and transmitting the one or more encoded videos to the corresponding one or more selected apparatuses respectively through the one or more network connections, to display the one or more pictures of the corresponding one or more virtual screens on one or more screens of the one or more selected apparatuses respectively.
8. The apparatus for screen display according to claim 7, wherein the apparatus for screen display further comprises an input apparatus and a screen, and the processor receives broadcast signals from a plurality of external apparatuses in the adjacent area, to list the plurality of external apparatuses on the screen of the apparatus for screen display; the processor receives a selecting operation through the input apparatus, to select the one or more selected apparatuses from the listed plurality of external apparatuses; and the processor makes, through the network card, one or more point-to-point network connections with the one or more selected apparatuses.
9. The apparatus for screen display according to claim 8, wherein the processor determines whether the plurality of external apparatuses has a projection function according to the broadcast signals, and the processor lists the plurality of external apparatuses having the projection function on the screen of the apparatus for screen display.
10. The apparatus for screen display according to claim 8, wherein the broadcast signals comprise screen resolution information of the one or more selected apparatuses, and the processor requests the virtual display card driver to create the corresponding one or more virtual screens respectively according to the screen resolution information of the one or more selected apparatuses.
11. The apparatus for screen display according to claim 7, wherein the memory comprises a shared memory, and the processor shares, through the shared memory, the one or more pictures of the one or more virtual screens to an application that performs picture encoding when one or more pictures appear on the one or more virtual screens.
12. The apparatus for screen display according to claim 7, wherein the processor receives touch information from the one or more selected apparatuses, to simulate one or more corresponding touch events on the one or more virtual screens.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0011] Referring to
[0012] The memory 110 is configured to store data such as an image, data, and a program code, in an embodiment, which is a fixed or removable random access memory (RAM) of any type, a read-only memory (ROM), a flash memory, a hard disk or another similar apparatus, an integrated circuit, or a combination thereof.
[0013] In an embodiment, the network card 120 is a wireless network card supporting various wireless communication standards, such as, a Bluetooth communication protocol, a Wireless Fidelity (Wi-Fi) communication protocol, or Wi-Fi Direct, or a network card supporting wired networking. The network card makes, through a wired or wireless manner, network connections with external selected apparatuses 200_1 to 200_3. As shown in
[0014] In an embodiment, the processor 130 is a central processing unit (CPU), another programmable general-purpose or special-purpose microprocessor, a digital signal processor (DSP), a programmable controller, an application-specific integrated circuit (ASIC), or another similar apparatus, or a combination thereof.
[0015] In an embodiment, the screen 140 is a screen or a TV using a liquid crystal display (LCD), a light-emitting diode (LED), a field emission display (FED), or another type of panel, and receives an externally inputted signal to display a picture.
[0016] In an embodiment, the input apparatus 150 is a mouse, a touchpad, or a touch panel with resistive, capacitive, or another type of touch sensing component, and is combined with the screen 140 to form a touchscreen, to receive a touch operation of a user on the picture displayed on the screen 140.
[0017] As shown in
[0018]
[0019] First, a processor 130 executes an application AP0, to install a virtual display card driver DR (step S202).
[0020] Then, the processor 130 executes the application AP0, to make, through a network card 120, network connections with selected apparatuses 200_1 to 200_3 in an adjacent area (step S204). Specifically, the processor 130 receives, through the network card 120, broadcast signals from a plurality of external apparatuses in the adjacent area (in an embodiment, broadcast signals SB1 to SB3 from the selected apparatuses 200_1 to 200_3). Therefore, the processor 130 determines whether the external apparatuses have a projection function according to the broadcast signals, and only list the external apparatus having the projection function on the screen 140, for a user to make a selection. In this case, the processor 130 receives, through the input apparatus 150, a selecting operation from the user, to select a selected apparatus from the listed plurality of external apparatuses. In this embodiment, the selected apparatuses 200_1 to 200_3 in
[0021] It is to be noted that this embodiment does not limit the manner of determining the networking. In another embodiment, the processor 130 notifies, through the network card 120, an external apparatus that the current apparatus has a projection function, and then the external apparatus determines whether to make networking with the current apparatus.
[0022] Then, the processor 130 executes the application AP0, to create virtual screens corresponding to selected apparatuses 200_1 to 200_3 respectively through a virtual display card driver DR (step S206).
[0023] Referring to
[0024] Referring back to
[0025] Then, the processor 130 transmits, through network connections of the network card 120, the encoded videos SE1 to SE3 to the corresponding selected apparatuses 200_1 to 200_3 respectively, to display pictures of the corresponding virtual screens VS1 to VS3 on the screens 220_1 to 220_3 of the selected apparatuses 200_1 to 200_3 respectively (step S210). Specifically, the processors 210_1 to 210_3 of the selected apparatuses 200_1 to 200_3 execute the applications AP1 to AP3 respectively, to receive the encoded videos SE1 to SE3, and decode the encoded videos immediately, to display pictures of the virtual screens VS1 to VS3 restored after decoding on the screens 220_1 to 220_3 respectively.
[0026] With the foregoing method, the transmission of the video is completed through the network connection, to use any old apparatus with a network function as an external screen (in an embodiment, an extended screen).
[0027] In an embodiment, the processors 210_1 to 210_3 of the selected apparatuses 200_1 to 200_3 receive, through the screens 220_1 to 220_3, touch operations from a user, and generate touch information to transmit the touch information to the 100 apparatus for screen display at a local terminal. Based on this, the processor 130 receives the touch information from the selected apparatuses 200_1 to 200_3, to simulate corresponding touch events on the virtual screens VS1 to VS3, and performs subsequent corresponding operations.
[0028] Based on the above, in the method and apparatus for screen display of the disclosure, the virtual screen is first created by using the virtual display card driver, and then the picture of the virtual screen is projected onto the screen of the external apparatus through the network connection. Therefore, the flexibility of using various handheld apparatuses or computers with different connection ports as external screens is increased.