CN116132722A - Window cloud computer screen sharing method and system - Google Patents

Window cloud computer screen sharing method and system Download PDF

Info

Publication number
CN116132722A
CN116132722A CN202310061213.4A CN202310061213A CN116132722A CN 116132722 A CN116132722 A CN 116132722A CN 202310061213 A CN202310061213 A CN 202310061213A CN 116132722 A CN116132722 A CN 116132722A
Authority
CN
China
Prior art keywords
sharing
virtual display
parameters
receiving end
cloud computer
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
Application number
CN202310061213.4A
Other languages
Chinese (zh)
Inventor
曹幼芝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yueduo Cloud Computing Wuhan Co ltd
Original Assignee
Yueduo Cloud Computing Wuhan Co ltd
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 Yueduo Cloud Computing Wuhan Co ltd filed Critical Yueduo Cloud Computing Wuhan Co ltd
Priority to CN202310061213.4A priority Critical patent/CN116132722A/en
Publication of CN116132722A publication Critical patent/CN116132722A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

A method and a system for sharing windows cloud computer screens relate to the technical field of windows cloud computer screen sharing, and comprise the following steps: generating a virtual display, disabling a physical display, outputting a picture to the virtual display, encoding and compressing each frame of image received by the virtual display, transmitting encoded and compressed data to a sharing receiving end device through a network, and the like.

Description

Window cloud computer screen sharing method and system
Technical Field
The invention relates to the technical field of windows cloud computer screen sharing, in particular to a method and a system for sharing windows cloud computer screens.
Background
In the cloud computer scene, the complete picture of the computer needs to be transmitted to the shared receiving terminal equipment, and the following modes exist in the prior art:
gdi (graphics device interface):
with the introduction of windows7 dwm (desktop window manager), the method has low screen capturing efficiency, wherein the screen capturing efficiency is lower than 30 frames under 1080p per second;
mirror driver:
according to the method, in the WinXP era, microsoft recommends a high-efficiency screen capturing method, but as dwm is introduced, hardware synthesis is not supported, and all windows systems after win8 forcedly adopt hardware picture synthesis to cause the efficiency of Mirror driver to be lower;
3.DXGI Desktop Duplication:
the method is a screen capturing method recommended by Microsoft and Inlet, is also a method used in the current mainstream streaming technology, but cannot capture protected content and cannot capture full-screen exclusive content;
because the performance of the shared receiving end device is weaker, when the received picture exceeds the performance range of the shared receiving end device, the problem that the picture is not smooth and the normal operation of the shared receiving end device is affected also exists.
Disclosure of Invention
The embodiment of the invention provides a method and a system for sharing windows cloud computer screens, which are used for solving the problems.
A windows cloud computer screen sharing method comprises the following steps:
s1, generating a virtual display;
s2, disabling other physical displays except the virtual display generated in the step S1;
s3, outputting the picture to the virtual display;
s4, carrying out coding compression on each frame of image received by the virtual display;
and S5, transmitting the encoded and compressed data to the sharing receiving terminal equipment through a network.
Further, in the step S1, the generated parameters of the virtual display are within the range of the supported resolution and refresh rate of the shared receiving device in the step S5.
Further, in the step S1, the manner of generating the virtual display is: the virtual display is generated by means of an indirect display drive framework provided by microsoft.
Further, in the step S4, the method further includes obtaining parameters of the shared terminal device, if the number of the shared receiving terminal devices is a plurality of the shared receiving terminal devices, obtaining parameters of all the shared receiving terminal devices, respectively performing encoding compression on each frame of image according to parameters of different shared terminal devices, and if the number of the shared receiving terminal devices is one, performing encoding compression on each frame of image according to parameters of the current shared terminal device.
Further, in the step S5, the encoded data is directionally transmitted to the corresponding sharing end device.
Further, the parameters of the shared receiving end device include parameters of hardware supported by the shared receiving end device and working states of the hardware.
Further, in the step S4, the method further includes calculating, according to the acquired parameters of the shared receiving end device, parameters of a picture receivable within a range of a resolution and a refresh rate of the current shared receiving end device.
Further, in the step S4, each frame of image is encoded and compressed according to the received picture parameters.
In a second aspect, an embodiment of the present invention provides a windows cloud computer screen sharing system, including a virtual display module, a display management module, a shared receiving end device parameter acquisition module, and an image processing module;
the virtual display module is used for generating a virtual display;
the display management module is used for generating other physical displays except the virtual display and outputting pictures to the virtual display;
the shared receiving end equipment parameter acquisition module is used for acquiring parameters of all shared receiving end equipment;
the image processing module is used for encoding and compressing each frame of image received by the virtual display according to the parameters of the sharing receiving terminal equipment and then sending the encoded and compressed image to the corresponding sharing receiving terminal equipment.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the invention generates the virtual display and disables other physical displays to enable windows to directly output pictures to the virtual display, and codes and compresses each frame of image received by the virtual display according to the parameters of the sharing receiving end equipment and then sends the compressed frame of image to the sharing receiving end equipment, so that screen sharing is realized, protected content can be transmitted to the sharing receiving end equipment, and meanwhile, the pictures are adjusted according to the parameters of the sharing receiving end equipment, so that the sharing receiving end equipment can normally display without influencing the normal work of the sharing receiving end equipment.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic flow chart of a method for sharing a window cloud computer screen according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a windows cloud computer screen sharing system according to an embodiment of the present invention.
Reference numerals:
1. a virtual display module; 2. a display management module; 3. a shared receiving end equipment parameter acquisition module; 4. and an image processing module.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
As shown in fig. 1, an embodiment of the present invention provides a method for sharing a window cloud computer screen, including the following steps:
s1, generating a virtual display;
specifically, a virtual display is generated by an indirect display drive framework provided by microsoft.
S2, disabling other physical displays except the virtual display generated in the step S1;
s3, outputting the picture to the virtual display;
s4, carrying out coding compression on each frame of image received by the virtual display;
specifically, the method further comprises the steps of obtaining parameters of the sharing end equipment, obtaining all the parameters of the sharing end equipment if the number of the sharing end equipment is a plurality of the sharing end equipment, respectively carrying out coding compression on each frame of image according to the parameters of different sharing end equipment, and carrying out coding compression on each frame of image according to the parameters of the current sharing end equipment if the number of the sharing end equipment is one;
the shared receiving end device comprises a cloud terminal, a thin terminal and a fat terminal, and the performance of the cloud terminal, the thin terminal and the fat terminal is worse than that of the traditional PC, and the parameters of the shared receiving end device comprise the parameters of hardware supported by the shared receiving end device and the working state of the hardware;
as a preferred embodiment, according to the acquired parameters of the shared receiving end device, calculating to obtain a picture parameter receivable in the range of the resolution and refresh rate of the current shared receiving end device, and encoding and compressing each frame of image according to the received picture parameter, where the receivable picture parameter is the resolution and refresh rate of the image that can be displayed by the shared receiving end device without occupying the performance of the current shared receiving end device substantially in the process of receiving and displaying the image and without affecting the normal operation of the current shared receiving end device;
after parameters of the shared receiving end equipment are acquired and analyzed, each frame of image received by the virtual display is subjected to corresponding coding compression, so that the shared receiving end equipment can normally display data after receiving the coding compression and does not occupy the performance of the current shared receiving end equipment greatly at the same time, the normal work of the current shared receiving end equipment is not influenced, if the number of the shared receiving end equipment is multiple, each frame of image received by the virtual display is subjected to corresponding coding compression according to the parameters of each shared receiving end equipment, and the coding compression can change the resolution of each frame of image and the frame rate of the image received by the virtual display so that the image is suitable for different shared receiving end equipment.
S5, the encoded and compressed data are sent to shared receiving end equipment through a network;
specifically, the encoded data is directionally transmitted to the corresponding sharing terminal equipment, so that the sharing terminal equipment displays the encoded and compressed data corresponding to the sharing terminal equipment, and the sharing receiving terminal equipment can normally display the encoded and compressed data without occupying the performance of the current sharing receiving terminal equipment to a large extent and affecting the normal work of the current sharing receiving terminal equipment.
According to the method for sharing the windows cloud computer screen, disclosed by the embodiment, the virtual display is generated, other physical displays are disabled, so that windows can directly output pictures to the virtual display, each frame of image received by the virtual display is encoded and compressed according to the parameters of the sharing receiving end equipment and then is sent to the sharing receiving end equipment, screen sharing is achieved, protected content and exclusive content can be transmitted to the sharing receiving end equipment, pictures can be adjusted according to the parameters of the sharing receiving end equipment, the sharing receiving end equipment can normally display and normal work of the sharing receiving end equipment is not influenced, and as the data originally sent to the physical display by the windows are sent to the virtual display, each frame of image is encoded and compressed and then is directly sent to the sharing receiving end equipment, and the sharing receiving end equipment displays more smoothly.
Example two
The embodiment of the invention also discloses a windows cloud computer screen sharing system, as shown in fig. 2, comprising a virtual display module 1, a display management module 2, a sharing receiving end device parameter acquisition module 3 and an image processing module 4;
the virtual display module 1 is used for generating a virtual display;
specifically, the virtual display module 1 indirectly displays the driving frame to generate the virtual display.
The display management module 2 is used for generating other physical displays except the virtual display and outputting pictures to the virtual display;
specifically, the display management module 2 detects display hardware in the current windows system and disables all physical displays, and simultaneously makes the windows output pictures to the virtual display, and the virtual display receives all pictures.
The shared receiving end equipment parameter acquisition module 3 is used for acquiring parameters of all shared receiving end equipment;
specifically, the shared receiving end device parameter obtaining module 3 obtains the parameters of the shared receiving end device in real time, wherein the working state of the hardware is dynamic, and the shared receiving end device parameter obtaining module 3 collects the working state of the hardware of the shared receiving end device in real time and sends the working state back to the image processing module 4.
The image processing module 4 is used for encoding and compressing each frame of image received by the virtual display according to the parameters of the sharing receiving terminal equipment and then sending the encoded and compressed image to the corresponding sharing receiving terminal equipment;
specifically, the image processing module 4 calculates, according to the acquired parameters of the shared receiving end device, a picture parameter receivable in the range of the resolution and refresh rate of the current shared receiving end device, encodes and compresses each frame of image according to the received picture parameter, and then transmits the encoded and compressed frame of image to the corresponding shared receiving end device, if the shared receiving end device runs other tasks in the display process, the image processing module 4 can recalculate the picture parameter receivable in the range of the resolution and refresh rate of the current shared receiving end device according to the latest parameter of the shared receiving end device, and encodes and compresses each frame of image according to the received picture parameter, so that dynamic adjustment is realized, and the shared receiving end device can normally display the encoded and compressed data without occupying the performance of the current shared receiving end device greatly and affecting the normal operation of the current shared receiving end device.
According to the windows cloud computer screen sharing system disclosed by the embodiment, a virtual display is generated through the virtual display module 1, display hardware in a current windows system is detected, all physical displays are disabled, windows directly output pictures to the virtual display, the parameter acquisition module 3 of the sharing receiving end equipment acquires parameters of the sharing receiving end equipment in real time and sends the parameters to the image processing module 4, the image processing module 4 encodes and compresses each frame of image received by the virtual display according to the parameters of the sharing receiving end equipment and then sends the encoded compressed images to the sharing receiving end equipment, screen sharing is achieved, protected content can be transmitted to the sharing receiving end equipment, pictures can be adjusted according to the parameters of the sharing receiving end equipment, the sharing receiving end equipment can normally display and does not influence normal work of the sharing receiving end equipment, and because data originally sent to the physical displays by the windows are sent to the virtual display, each frame of image is encoded and compressed and then directly sent to the sharing receiving end equipment, and the sharing receiving end equipment displays more smoothly.
It should be understood that the specific order or hierarchy of steps in the processes disclosed are examples of exemplary approaches. Based on design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged without departing from the scope of the present disclosure. The accompanying method claims present elements of the various steps in a sample order, and are not meant to be limited to the specific order or hierarchy presented.
In the foregoing detailed description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments of the subject matter require more features than are expressly recited in each claim. Rather, as the following claims reflect, invention lies in less than all features of a single disclosed embodiment. Thus the following claims are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate preferred embodiment of this invention.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. The processor and the storage medium may reside as discrete components in a user terminal.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. These software codes may be stored in memory units and executed by processors. The memory unit may be implemented within the processor or external to the processor, in which case it can be communicatively coupled to the processor via various means as is known in the art.
The foregoing description includes examples of one or more embodiments. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the aforementioned embodiments, but one of ordinary skill in the art may recognize that many further combinations and permutations of various embodiments are possible. Accordingly, the embodiments described herein are intended to embrace all such alterations, modifications and variations that fall within the scope of the appended claims. Furthermore, as used in the specification or claims, the term "comprising" is intended to be inclusive in a manner similar to the term "comprising," as interpreted when employed as a transitional word in a claim. Furthermore, any use of the term "or" in the specification of the claims is intended to mean "non-exclusive or".

Claims (9)

1. The windows cloud computer screen sharing method is characterized by comprising the following steps of:
s1, generating a virtual display;
s2, disabling other physical displays except the virtual display generated in the step S1;
s3, outputting the picture to the virtual display;
s4, carrying out coding compression on each frame of image received by the virtual display;
and S5, transmitting the encoded and compressed data to the sharing receiving terminal equipment through a network.
2. The method for sharing windows cloud computer screen according to claim 1, wherein in step S1, parameters of the generated virtual display are within a range of the supported resolution and refresh rate of the sharing receiving device in step S5.
3. The method for sharing windows cloud computer screen according to claim 1, wherein in step S1, the virtual display is generated by: the virtual display is generated by means of an indirect display drive framework provided by microsoft.
4. The method of claim 1, wherein in step S4, the method further comprises obtaining parameters of a sharing end device, if the number of sharing receiving end devices is a plurality of sharing receiving end devices, obtaining parameters of all sharing receiving end devices, respectively encoding and compressing each frame of image according to parameters of different sharing end devices, and if the number of sharing receiving end devices is one, encoding and compressing each frame of image according to parameters of a current sharing end device.
5. The method for sharing windows cloud computer screen according to claim 4, wherein in step S5, the encoded data is transmitted to the corresponding sharing end device in a directional manner.
6. The method for sharing windows cloud computer screen according to claim 4, wherein the parameters of the shared receiving device include parameters of hardware supported by the shared receiving device and a working state of the hardware.
7. The method of claim 6, wherein in step S4, further comprising calculating, according to the obtained parameters of the shared receiving device, the parameters of the screen receivable within the range of the resolution and refresh rate of the current shared receiving device.
8. The method for sharing windows cloud computer screen according to claim 7, wherein in step S4, each frame of image is encoded and compressed according to the received picture parameters.
9. The windows cloud computer screen sharing system applying the method according to any one of claims 1, which is characterized by comprising a virtual display module, a display management module, a sharing receiving end device parameter acquisition module and an image processing module;
the virtual display module is used for generating a virtual display;
the display management module is used for generating other physical displays except the virtual display and outputting pictures to the virtual display;
the shared receiving end equipment parameter acquisition module is used for acquiring parameters of all shared receiving end equipment;
the image processing module is used for encoding and compressing each frame of image received by the virtual display according to the parameters of the sharing receiving terminal equipment and then sending the encoded and compressed image to the corresponding sharing receiving terminal equipment.
CN202310061213.4A 2023-01-14 2023-01-14 Window cloud computer screen sharing method and system Pending CN116132722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310061213.4A CN116132722A (en) 2023-01-14 2023-01-14 Window cloud computer screen sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310061213.4A CN116132722A (en) 2023-01-14 2023-01-14 Window cloud computer screen sharing method and system

Publications (1)

Publication Number Publication Date
CN116132722A true CN116132722A (en) 2023-05-16

Family

ID=86296900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310061213.4A Pending CN116132722A (en) 2023-01-14 2023-01-14 Window cloud computer screen sharing method and system

Country Status (1)

Country Link
CN (1) CN116132722A (en)

Similar Documents

Publication Publication Date Title
US20150242994A1 (en) Method and system for accelerating video preview digital camera
CN110363831B (en) Layer composition method and device, electronic equipment and storage medium
CN108650460B (en) Server, panoramic video storage and transmission method and computer storage medium
US7477795B2 (en) Image compression and expansion technique
US20240104780A1 (en) Image compression method and apparatus, and intelligent terminal and computer-readable storage medium
KR20200011000A (en) Device and method for augmented reality preview and positional tracking
US8954876B1 (en) Method and apparatus for providing a session status indicator
WO2020220346A1 (en) Image processing method and apparatus
CN115209145A (en) Video compression method, system, device and readable storage medium
CN211909012U (en) Mosaic image processing apparatus
CN116132722A (en) Window cloud computer screen sharing method and system
CN112468763A (en) Video transmission and display method, device, equipment and storage medium of conference television
CN111741343A (en) Video processing method and device and electronic equipment
JP5230401B2 (en) Display control device, image processing device
JP2006246110A (en) Apparatus and system for transmitting video
US20020154889A1 (en) Video pre-processing/post-processing method for processing video efficiently and pre-processing/post-processing apparatus using the same
CN107318021B (en) Data processing method and system for remote display
US7382376B2 (en) System and method for effectively utilizing a memory device in a compressed domain
CN115129279B (en) Image drawing method, image drawing device, electronic equipment and computer storage medium
CN110933493A (en) Video rendering system, method and computer-readable storage medium
CN107506119A (en) A kind of image display method, device, equipment and storage medium
CN113992951A (en) Screen projection method, projector and terminal equipment
CN107318020B (en) Data processing method and system for remote display
KR101139680B1 (en) Image dispaly apparatus for changing resolution of image data and thereof method
CN114339379B (en) Multi-window ultra-low delay video signal processing method, device, equipment and medium

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