CN112256226A - Wireless screen expansion method and system - Google Patents
Wireless screen expansion method and system Download PDFInfo
- Publication number
- CN112256226A CN112256226A CN202011140812.8A CN202011140812A CN112256226A CN 112256226 A CN112256226 A CN 112256226A CN 202011140812 A CN202011140812 A CN 202011140812A CN 112256226 A CN112256226 A CN 112256226A
- Authority
- CN
- China
- Prior art keywords
- display
- display data
- module
- data
- thread
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The wireless screen expansion method and the wireless screen expansion system provided by the invention realize screen expansion through a network, solve the problems of the limitation of the physical position of a screen and the limitation of the number of video wires and video output interfaces, and enable a user to realize the function of screen expansion in a more flexible and more convenient manner.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a wireless screen expansion method and a wireless screen expansion system.
Background
The performance of computers is getting more and more powerful, and in daily office or special industrial application, the situation of using multiple displays is needed, and the current expansion of multiple displays is that video lines are connected to the computers physically. This is limited in the physical location of the screen and is also limited by the length of the video cable and how many video outlets are provided on the computer hardware. By the wireless screen expansion method and the network expansion, the limitation of the physical position of the screen can be realized, and the limitation of video output interfaces on video wires and computer hardware can be avoided.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a wireless screen expansion method and a wireless screen expansion system.
The invention adopts the following technical scheme for realizing the purpose:
in a first aspect, the present invention provides a wireless screen expansion method, including:
acquiring a screen expansion request instruction which is requested to be expanded and sent, wherein the screen expansion request instruction comprises display parameters of the request expansion;
creating a virtual display thread;
generating a matched driving module according to the display parameters;
the virtual display thread writes picture data into the driving module according to a control instruction sent by a user;
the driving module generates display data according to the picture data;
the virtual display thread sends the display data to the request expansion equipment;
and the request expansion equipment displays the received display data in real time.
In an embodiment of the present invention, the generating, by the driving module, display data according to the picture data specifically includes:
the driving module registers a virtual display device to a service end inner core;
the server allocates a shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module encodes the picture data and generates display data;
the driving module writes the display data into a shared memory;
then, the sending, by the virtual display thread, the display data to the request expansion device specifically includes:
when the driving module writes a frame of display data into the shared memory;
and the virtual display thread compresses the written display data and sends the compressed display data to the request expansion equipment.
In an embodiment of the present invention, the requesting expansion device to display the received display data in real time specifically includes:
whenever the request expansion device receives a frame of display data;
decompressing the compressed display data;
inputting the decompressed display data to the display device of the request expansion device for displaying;
waiting for the next frame of display data to be received.
In a second aspect, the present invention provides a wireless screen expansion system, including a server and at least one client;
the server is in communication connection with the client;
the server comprises an extended instruction acquisition module, a thread management module, a drive generation module and a control instruction acquisition module;
the extended instruction acquisition module is used for acquiring a screen extended request instruction sent by the client, wherein the screen extended request instruction comprises display parameters of the client;
the thread management module is used for creating a virtual display thread;
the driving generation module is used for generating a matched driving module according to the display parameters;
the control instruction acquisition module is used for receiving a control instruction sent by a user;
the thread management module is also used for controlling the virtual display thread to write picture data into the driving module according to a control instruction sent by a user;
the driving module is used for generating display data according to the picture data;
the thread management module is further configured to control the virtual display thread to send the display data to the client;
and the client displays the received display data in real time.
In an embodiment of the present invention, the server further includes a memory allocation module;
the driving module is also used for registering a virtual display device to the kernel of the server;
the memory allocation module is used for allocating shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module is further used for encoding the picture data and generating display data;
the driving module is further configured to write the display data into a shared memory;
and when the driving module writes a frame of display data into the shared memory, the thread management module is further configured to control the virtual display thread to compress the written display data and send the compressed display data to the client.
In an embodiment of the present invention, the client includes a display data receiving module, a decompression module and a display module;
the display data receiving module is used for receiving the display data sent by the server;
the decompression module is used for decompressing the received display data when the display data receiving module receives the display data of one frame;
and the display module is used for inputting the decompressed display data to the display equipment of the client for displaying the data.
Compared with the prior art, the invention has the beneficial effects that:
the wireless screen expansion method and the wireless screen expansion system provided by the invention realize screen expansion through a network, solve the problems of the limitation of the physical position of the screen and the limitation of the number of video wires and video output interfaces, and enable a user to realize the function of screen expansion in a more flexible and more convenient manner, so that the wireless screen expansion method and the wireless screen expansion system can be conveniently applied to scenes such as teleconferencing, public speech, cross-platform display and the like.
Drawings
Fig. 1 is a flowchart illustrating a wireless screen expansion method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless screen expansion system according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific embodiments, wherein the exemplary embodiments and descriptions are only used for explaining the present invention, but not for limiting the present invention.
It should be noted that, in the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
In a first aspect, as shown in fig. 1, the present invention provides a wireless screen expansion method, including:
s100: acquiring a screen expansion request instruction which is requested to be expanded and sent, wherein the screen expansion request instruction comprises display parameters of the request expansion;
s200: creating a virtual display thread;
s300: generating a matched driving module according to the display parameters;
s400: the virtual display thread writes picture data into the driving module according to a control instruction sent by a user;
s500: the driving module generates display data according to the picture data;
s600: the virtual display thread sends the display data to the request expansion equipment;
s700: and the request expansion equipment displays the received display data in real time.
In an embodiment of the present invention, step S500 specifically includes:
the driving module registers a virtual display device to a service end inner core;
the server allocates a shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module encodes the picture data and generates display data;
the driving module writes the display data into a shared memory;
then, step S600 specifically includes:
when the driving module writes a frame of display data into the shared memory;
and the virtual display thread compresses the written display data and sends the compressed display data to the request expansion equipment.
In an embodiment of the present invention, step S700 specifically includes:
when the request expansion equipment receives display data of one frame;
decompressing the compressed display data;
inputting the decompressed display data to the display device of the request expansion device for displaying;
waiting for the next frame of display data to be received.
In a second aspect, as shown in fig. 2, the present invention provides a wireless screen expansion system, which includes a server 100 and at least one client 200;
the server 100 is in communication connection with the client 200;
the server 100 includes an extended instruction obtaining module 110, a thread management module 120, a driver generating module 130, and a control instruction obtaining module 140;
the extended instruction obtaining module 110 is configured to obtain a screen extended request instruction sent by the client 200, where the screen extended request instruction includes display parameters of the client 200;
the thread management module 120 is configured to create a virtual display thread;
the driving generation module 130 is configured to generate a matched driving module according to the display parameter;
a control instruction obtaining module 140, configured to receive a control instruction sent by a user;
the thread management module 120 is further configured to control the virtual display thread to write image data into the driver module according to a control instruction sent by a user;
the driving module is used for generating display data according to the picture data;
the thread management module 120 is further configured to control the virtual display thread to send the display data to the client 200;
the client 200 displays the received display data in real time.
In an embodiment of the present invention, the server 100 further includes a memory allocation module;
the driver module is further configured to register a virtual display device with the kernel of the server 100;
the memory allocation module is used for allocating shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module is further used for encoding the picture data and generating display data;
the driving module is further configured to write the display data into a shared memory;
when the driver module writes a frame of display data into the shared memory, the thread management module 120 is further configured to control the virtual display thread to compress the written display data, and send the compressed display data to the client 200.
In an embodiment of the present invention, the client 200 includes a display data receiving module, a decompression module and a display module;
the display data receiving module is configured to receive display data sent by the server 100;
the decompression module is used for decompressing the received display data when the display data receiving module receives the display data of one frame;
the display module is configured to input the decompressed display data to the display device of the client 200 for displaying.
Specifically, in a specific application scenario of the present invention, the method provided by the first aspect of the present invention is implemented by the system provided by the second aspect of the present invention, wherein the server 100 is a personal terminal to which a main screen to which a user needs to extend belongs, and includes a computer, a mobile phone, a tablet computer, and the like, and the client 200 is a personal terminal to which an extended screen belongs, and includes a computer, a mobile phone, a tablet computer, and the like;
when a user needs to perform an expansion mode, the client 200 sends an expansion request to the server 100, where the expansion request includes display parameters of the client 200, such as resolution and size of a screen; after receiving the extension request, the server 100 creates a virtual display process to manage extension display data of the client, and meanwhile, the server 100 creates a suitable driver, such as an HDMI driver, according to the display parameters sent by the client 200, the driver registers a virtual display device in a system kernel of the server 100, and meanwhile, a system of the server 100 allocates a shared memory for the display device; at this time, the system of the server 100 may consider that a screen is physically inserted, a display is added on a display setting interface of the system, and a user may directly select a mirror mode or an extension mode for the system, select a content to be displayed, adjust display parameters, and the like; after the user finishes setting, the system of the server 100 sends corresponding picture data to the registered virtual display device through the driver, and after receiving the picture data, the driver encodes the picture data into display data according to preset display parameters and writes the display data into a shared memory allocated by the system, so as to simulate the process of sending the picture data to the display device; meanwhile, the driving module triggers system interruption once when writing a frame of display data, at this time, the system of the server 100 compresses the display data in the shared memory and transmits the compressed display data to the client 200 through the network, the client 200 decompresses the data after receiving the display data and displays the decompressed data on the display screen of the client, and meanwhile, the client waits for the next frame of display data to be sent, and the process is circulated, so that the function of screen expansion is realized.
It should be understood that the above examples are only for clearly showing the technical solutions of the present invention, and are not intended to limit the embodiments of the present invention. It will be apparent to those skilled in the art from this disclosure that various changes and modifications can be made herein without departing from the spirit and scope of the invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (6)
1. A wireless screen expansion method, comprising:
acquiring a screen expansion request instruction which is requested to be expanded and sent, wherein the screen expansion request instruction comprises display parameters of the request expansion;
creating a virtual display thread;
generating a matched driving module according to the display parameters;
the virtual display thread writes picture data into the driving module according to a control instruction sent by a user;
the driving module generates display data according to the picture data;
the virtual display thread sends the display data to the request expansion equipment;
and the request expansion equipment displays the received display data in real time.
2. The wireless screen expansion method according to claim 1, wherein the driving module generates display data according to the picture data, and specifically includes:
the driving module registers a virtual display device to a service end inner core;
the server allocates a shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module encodes the picture data and generates display data;
the driving module writes the display data into a shared memory;
then, the sending, by the virtual display thread, the display data to the request expansion device specifically includes:
when the driving module writes a frame of display data into the shared memory;
and the virtual display thread compresses the written display data and sends the compressed display data to the request expansion equipment.
3. The method for expanding a wireless screen according to claim 1, wherein the requesting of the expanding device to display the received display data in real time specifically comprises:
whenever the request expansion device receives a frame of display data;
decompressing the compressed display data;
inputting the decompressed display data to the display device of the request expansion device for displaying;
waiting for the next frame of display data to be received.
4. A wireless screen expansion system is characterized by comprising a server and at least one client;
the server is in communication connection with the client;
the server comprises an extended instruction acquisition module, a thread management module, a drive generation module and a control instruction acquisition module;
the extended instruction acquisition module is used for acquiring a screen extended request instruction sent by the client, wherein the screen extended request instruction comprises display parameters of the client;
the thread management module is used for creating a virtual display thread;
the driving generation module is used for generating a matched driving module according to the display parameters;
the control instruction acquisition module is used for receiving a control instruction sent by a user;
the thread management module is also used for controlling the virtual display thread to write picture data into the driving module according to a control instruction sent by a user;
the driving module is used for generating display data according to the picture data;
the thread management module is further configured to control the virtual display thread to send the display data to the client;
and the client displays the received display data in real time.
5. The wireless screen expansion system of claim 4, wherein the server further comprises a memory allocation module;
the driving module is also used for registering a virtual display device to the kernel of the server;
the memory allocation module is used for allocating shared memory for the virtual display equipment;
when the drive module receives the written picture data, the drive module is further used for encoding the picture data and generating display data;
the driving module is further configured to write the display data into a shared memory;
and when the driving module writes a frame of display data into the shared memory, the thread management module is further configured to control the virtual display thread to compress the written display data and send the compressed display data to the client.
6. The wireless screen expansion system of claim 4, wherein the client comprises a display data receiving module, a decompression module, and a display module;
the display data receiving module is used for receiving the display data sent by the server;
the decompression module is used for decompressing the received display data when the display data receiving module receives the display data of one frame;
and the display module is used for inputting the decompressed display data to the display equipment of the client for displaying the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011140812.8A CN112256226A (en) | 2020-10-22 | 2020-10-22 | Wireless screen expansion method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011140812.8A CN112256226A (en) | 2020-10-22 | 2020-10-22 | Wireless screen expansion method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112256226A true CN112256226A (en) | 2021-01-22 |
Family
ID=74264045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011140812.8A Pending CN112256226A (en) | 2020-10-22 | 2020-10-22 | Wireless screen expansion method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112256226A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095764A (en) * | 2021-09-26 | 2022-02-25 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
CN114173183A (en) * | 2021-09-26 | 2022-03-11 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465115A (en) * | 2008-12-25 | 2009-06-24 | 大道计算机技术(上海)有限公司 | Network display method for large screen display system |
US20120042252A1 (en) * | 2010-08-10 | 2012-02-16 | Microsoft Corporation | Cloning Or Extending A Computer Desktop On A Wireless Display Surface |
CN103513947A (en) * | 2012-06-25 | 2014-01-15 | 联想(北京)有限公司 | Information processing method and information processing system |
CN105262974A (en) * | 2015-08-12 | 2016-01-20 | 北京恒泰实达科技股份有限公司 | Method for realizing wireless screen sharing of multiple users |
CN105808147A (en) * | 2016-05-10 | 2016-07-27 | 安徽大学 | Wireless replication and extended display interaction method and system |
CN105930384A (en) * | 2016-04-14 | 2016-09-07 | 南京理工大学 | Sensing cloud data storage system based on Hadoop system and implementation method thereof |
CN205670292U (en) * | 2016-05-10 | 2016-11-02 | 安徽大学 | Wireless replication and extended display interactive system |
CN109379549A (en) * | 2018-09-18 | 2019-02-22 | 湖州佳格电子科技股份有限公司 | A kind of wireless screen transmission method, equipment and system |
CN111240631A (en) * | 2020-02-20 | 2020-06-05 | 湖南麒麟信安科技有限公司 | Method and system for virtually transmitting Linux virtual machine screen picture based on AMD display card |
-
2020
- 2020-10-22 CN CN202011140812.8A patent/CN112256226A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465115A (en) * | 2008-12-25 | 2009-06-24 | 大道计算机技术(上海)有限公司 | Network display method for large screen display system |
US20120042252A1 (en) * | 2010-08-10 | 2012-02-16 | Microsoft Corporation | Cloning Or Extending A Computer Desktop On A Wireless Display Surface |
CN103513947A (en) * | 2012-06-25 | 2014-01-15 | 联想(北京)有限公司 | Information processing method and information processing system |
CN105262974A (en) * | 2015-08-12 | 2016-01-20 | 北京恒泰实达科技股份有限公司 | Method for realizing wireless screen sharing of multiple users |
CN105930384A (en) * | 2016-04-14 | 2016-09-07 | 南京理工大学 | Sensing cloud data storage system based on Hadoop system and implementation method thereof |
CN105808147A (en) * | 2016-05-10 | 2016-07-27 | 安徽大学 | Wireless replication and extended display interaction method and system |
CN205670292U (en) * | 2016-05-10 | 2016-11-02 | 安徽大学 | Wireless replication and extended display interactive system |
CN109379549A (en) * | 2018-09-18 | 2019-02-22 | 湖州佳格电子科技股份有限公司 | A kind of wireless screen transmission method, equipment and system |
CN111240631A (en) * | 2020-02-20 | 2020-06-05 | 湖南麒麟信安科技有限公司 | Method and system for virtually transmitting Linux virtual machine screen picture based on AMD display card |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095764A (en) * | 2021-09-26 | 2022-02-25 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
CN114173183A (en) * | 2021-09-26 | 2022-03-11 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
CN114173183B (en) * | 2021-09-26 | 2023-01-24 | 荣耀终端有限公司 | Screen projection method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4716645B2 (en) | Document viewing method | |
US20030017846A1 (en) | Wireless display | |
CN113220474B (en) | Android application sharing Linux system screen data method based on Android-EMUGL | |
US8566892B2 (en) | Network system and image projection apparatus | |
CN113068153B (en) | Remote control method, device, equipment and storage medium for vehicle-mounted central control | |
EP2905945A1 (en) | Inter-terminal image sharing method, terminal device and communication system | |
CN112256226A (en) | Wireless screen expansion method and system | |
CN105578247A (en) | Mirror display system and mirror display method | |
CN109712691B (en) | System and method for converting a mobile device display into a medical image display | |
CN104765585B (en) | Display device and its control method | |
CN113596571B (en) | Screen sharing method, device, system, storage medium and computer equipment | |
CN111190675A (en) | Three-dimensional image transmission method and equipment based on Roc processor | |
CN111741343A (en) | Video processing method and device and electronic equipment | |
CN107318021B (en) | Data processing method and system for remote display | |
CN209992953U (en) | Keyboard, virtual reality equipment and display system | |
EP3119084A1 (en) | Electronic information terminal, image processing apparatus and image processing system | |
CN114092362A (en) | Panoramic picture loading method and device | |
CN217932706U (en) | Data display system and data acquisition equipment | |
CN110740361B (en) | Wireless routing servo device and method for value-added remote display service | |
TWI672672B (en) | Image display system and method of transforming display panels of mobile devices into being compatible with medical images display standard | |
JP2010098622A (en) | Computer | |
CN114244819A (en) | Method for decoding video stream through router, storage medium and electronic equipment | |
CN118803104A (en) | Display control method, display control device, electronic equipment and storage medium | |
CN116708694A (en) | Video image acquisition and segmentation device, video decoding device and video segmentation method | |
CN118298130A (en) | Portable VR effect realization method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210122 |