CN112559111B - Screen capturing method and device for sharing desktop - Google Patents

Screen capturing method and device for sharing desktop Download PDF

Info

Publication number
CN112559111B
CN112559111B CN202110207481.3A CN202110207481A CN112559111B CN 112559111 B CN112559111 B CN 112559111B CN 202110207481 A CN202110207481 A CN 202110207481A CN 112559111 B CN112559111 B CN 112559111B
Authority
CN
China
Prior art keywords
desktop
picture
original
screenshot
client
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.)
Active
Application number
CN202110207481.3A
Other languages
Chinese (zh)
Other versions
CN112559111A (en
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.)
G Net Cloud Service Co Ltd
Original Assignee
G Net Cloud Service 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 G Net Cloud Service Co Ltd filed Critical G Net Cloud Service Co Ltd
Priority to CN202110207481.3A priority Critical patent/CN112559111B/en
Publication of CN112559111A publication Critical patent/CN112559111A/en
Application granted granted Critical
Publication of CN112559111B publication Critical patent/CN112559111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/402Support for services or applications wherein the services involve a main real-time session and one or more additional parallel non-real time sessions, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services
    • H04L65/4025Support for services or applications wherein the services involve a main real-time session and one or more additional parallel non-real time sessions, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services where none of the additional parallel sessions is real time or time sensitive, e.g. downloading a file in a parallel FTP session, initiating an email or combinational services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a screen capturing method and device for sharing a desktop. The method comprises the following steps: storing the captured original pictures of the shared desktop to an internal memory; receiving an original screenshot request carrying screenshot parameters of a participant desktop picture at a screenshot triggering moment sent by a participant client; and screening the original picture corresponding to the screenshot parameter from the memory, and returning the screened original picture to the participating client. By the scheme of the invention, the original picture shared by the speaker can be accurately intercepted, so that the participants can obtain the picture with the shared original resolution.

Description

Screen capturing method and device for sharing desktop
Technical Field
The invention relates to the technical field of online conferences, in particular to a screen capturing method and device for sharing a desktop.
Background
At present, a remote network conference system is widely used, and users at different places log in a conference through a conference terminal. The network conference usually has an interface sharing function, namely, a speaker shares a desktop of the speaker, and other participants can display an interface on a speaker terminal on a local client, so that the communication effect is improved. During the process of sharing the desktop by the speaker, the participants often want to capture the content of interest in the shared desktop, and then save the content for later use. Currently, a participant can generally adopt a screen capture operation supported by an operating system of a local client or a screen capture tool provided by a conference system to capture the current screen content.
At present, ultra-high-definition screens are increasingly popular, in order to optimize network transmission, the screen resolution of a main speaker is generally reduced to 1080P, in addition, the resolution of local clients of the participants is high or low, and many clients adapt to the machine resolution by using h.264 SVC (Scalable Video Coding), so that the resolution received by the participants is lower than the desktop resolution of the main speaker. The resolution of the picture captured by the above screen capturing mode depends on the screen resolution of the local client and the resolution of the picture or video received by the client from the server, which results in that the captured picture is inferior to the shared desktop on the speaker side in terms of resolution and color effect.
Disclosure of Invention
In order to solve the problems, the invention provides a screen capturing method and device for sharing a desktop.
The invention relates to a screen capturing method for sharing a desktop, which comprises the following steps:
storing the captured original pictures of the shared desktop to an internal memory;
receiving an original screenshot request carrying screenshot parameters of a participant desktop picture at a screenshot triggering moment sent by a participant client;
and screening the original picture corresponding to the screenshot parameter from the memory, and returning the screened original picture to the participating client.
Optionally, the screenshot parameter includes: the picture similarity value of the conference desktop picture at the screen capture triggering moment;
correspondingly, the screening the original picture corresponding to the screenshot parameter from the memory includes:
and screening out the original picture corresponding to the screenshot parameter according to the comparison result of the picture similarity of the original picture of the shared desktop in the memory and the picture similarity of the pictures of the participating desktop.
Optionally, the screenshot parameter includes: the key frame identity of the participating desktop picture at the screen capture triggering moment;
correspondingly, the screening the original picture corresponding to the screenshot parameter from the memory includes:
and screening out the original picture corresponding to the key frame identity of the participating desktop picture according to the pre-established corresponding relation between the key frame identity and the original picture.
Optionally, the screenshot parameter includes: coordinates of the screenshot area;
correspondingly, the returning the screened original picture to the participating client includes:
and intercepting the screened original picture according to the coordinates of the screenshot area, and returning an interception result to the participating client.
Optionally, when storing the original picture of the shared desktop, the method further includes: and setting the storage time length of the original picture so as to destroy the original picture after the storage time length of the original picture reaches the storage time length.
The second aspect of the present invention relates to another screen capturing method when a desktop is shared, including:
if a screen capture trigger event is identified when the decoded shared desktop is displayed, acquiring screen capture parameters of the participating desktop pictures at the screen capture trigger moment; the conference desktop picture is a currently displayed desktop;
generating an original screenshot request carrying the screenshot parameters, and sending the original screenshot request to the talkback client;
and receiving an original picture corresponding to the screenshot parameter returned by the main speaking client.
A third aspect of the present invention relates to a screen capture apparatus for sharing a desktop, comprising:
the picture storage module is used for storing the captured original pictures of the shared desktop into the memory;
the request receiving module is used for receiving an original screenshot request carrying screenshot parameters of the conference desktop pictures at the screenshot triggering moment sent by the conference client;
and the screenshot screening module is used for screening the original pictures corresponding to the screenshot parameters from the memory and returning the screened original pictures to the participating client.
A fourth aspect of the present invention relates to a screen capture apparatus when sharing a desktop, comprising:
the parameter acquisition module is used for acquiring screenshot parameters of the conference participating desktop pictures at the screenshot triggering moment if a screenshot triggering event is identified when the decoded shared desktop is displayed; the conference desktop picture is a currently displayed desktop;
the screenshot request module generates an original screenshot request carrying the screenshot parameters and sends the original screenshot request to the main speaking client;
and the screenshot receiving module is used for receiving the original picture corresponding to the screenshot parameter returned by the main speaking client.
A fifth aspect of the invention relates to a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method according to the first or second aspect.
A sixth aspect of the invention relates to an electronic device comprising a memory having stored thereon a computer program and a processor which, when executing the program, performs the method according to the first or second aspect.
According to the invention, the original picture of the shared desktop is stored, and after the original screenshot request sent by the participating client is received, the original picture is accurately intercepted according to the screenshot parameter of the participating desktop picture at the screenshot triggering moment carried in the original screenshot request and is returned to the participating client. Therefore, the participants can obtain the shared pictures with the original resolution, and the user experience is better.
Drawings
FIG. 1 is a flowchart illustrating a screen capture method for a shared desktop on the main phone side according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a screen capture method for a shared desktop at a participant side according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a screen capture method when sharing a desktop according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a screen capture method when sharing a desktop according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a screen capture device for sharing a desktop according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a screen capture device for sharing a desktop according to another embodiment of the present invention;
FIG. 7 is a block diagram of an exemplary electronic device capable of implementing embodiments of the present invention.
Detailed Description
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 1, a flow diagram of a screen capture method when sharing a desktop on a main speaking side according to an embodiment of the invention is shown. As shown in fig. 1, an embodiment of the present invention provides a screen capturing method for sharing a desktop, including:
and S101, storing the captured original pictures of the shared desktop to a memory.
In practical applications, in a desktop sharing workflow, a client of a speaker usually captures a shared desktop provided by the speaker according to a preset screen capture frequency, and then encodes an original picture of the captured shared desktop, transmits the encoded picture to a server, and transmits the encoded picture to clients of participating users. And then, the participating client decodes the received shared desktop and displays the decoded shared desktop to the participating user.
Considering that the participating user initiates a request of screenshot to the main user receives the request, the process has certain hysteresis according to network delay, and the desktop of the main user has larger change during sharing. Therefore, in order to ensure that the participating user intercepts the accurate picture content of the calling user, in some embodiments of the present invention, after the client of the calling user captures the original picture of the shared desktop, the captured original picture of the shared desktop may be stored.
Optionally, in some embodiments of the present invention, to avoid occupying too much memory, when storing the original picture of the shared desktop, the storage duration of the original picture may be set, so that the original picture is destroyed after the storage duration of the original picture reaches the storage duration. Wherein the storage time length is set by a person skilled in the art according to actual requirements.
And S102, receiving an original screenshot request carrying screenshot parameters of the conference desktop pictures at the screenshot triggering moment sent by the conference client.
And the conference participating desktop picture is a desktop screenshot displayed by the sharing desktop on the conference participating client.
In some embodiments of the present invention, when the participant client displays the decoded shared desktop, the participant user may perform a screen capture operation on the currently displayed desktop. After the participant user executes the screen capture operation, the participant client identifies the screen capture trigger event, then can capture the participant desktop picture at the screen capture trigger moment and generate an original screen capture request carrying the screen capture parameters of the participant desktop picture at the screen capture trigger moment. And then, sending an original screenshot request to the main speaking client through the server so as to obtain an original picture corresponding to the conference participating desktop picture at the screenshot triggering moment.
Accordingly, in some embodiments of the present invention, the main client may receive, through the server, an original screenshot request from the participant client that carries screenshot parameters of the participant desktop picture at the screenshot trigger time.
Optionally, in some embodiments of the present invention, the screenshot parameters of the participating desktop pictures may include: and the picture similarity value of the pictures of the conference desktop at the screen capture triggering moment. Specifically, after the meeting client intercepts the meeting desktop picture at the screenshot triggering time, the intercepted meeting desktop picture is processed according to a preset picture similarity algorithm to obtain a picture similarity value of the meeting desktop picture, and an original screenshot request carrying the picture similarity value of the meeting desktop picture at the screenshot triggering time is generated. Correspondingly, the main speaking client receives an original screenshot request carrying the picture similarity value of the participating desktop pictures at the screenshot triggering moment.
It is understood that the picture similarity value of the conference desktop picture can be obtained by the technical means of the picture similarity algorithm commonly used by those skilled in the art. For example, a means of acquiring histogram data of a picture with reference to a histogram algorithm, a means of acquiring a fingerprint character string of a picture with a perceptual hash algorithm, and the like may be used.
Optionally, in some embodiments of the present invention, the screenshot parameters of the participating desktop pictures may include: and the key frame identity of the participating desktop picture at the screen capture triggering moment.
Specifically, after capturing the participating desktop picture at the screenshot triggering time, the participating client may identify a key frame and an identifier thereof corresponding to the participating desktop picture at the screenshot triggering time, and generate an original screenshot request carrying an Identity Document (Identity ID) of the key frame of the participating desktop picture at the screenshot triggering time. Correspondingly, the main speaking client receives an original screenshot request carrying the key frame ID of the participating desktop picture at the screenshot triggering moment.
It is understood that the key frames of the participating desktop pictures and their IDs can be identified by the techniques commonly used by those skilled in the art.
In practical application, a user can designate a screen capture area according to different requirements of the user or does not designate the screen capture area when performing screen capture operation.
Optionally, in some embodiments of the present invention, if the screenshot area is selected when the user performs the screenshot operation, it indicates that the screenshot triggering event specifies the screenshot area, and the screenshot parameters of the participating desktop picture may include: and the coordinates of the screenshot area can facilitate the follow-up accurate interception of the content which is interested by the participating user. Accordingly, the original screenshot request to be received by the calling client may further include: coordinates of the screenshot area.
Optionally, in some embodiments of the present invention, in a case that the user does not specify the screen capture area, the screen capture parameters of the participating desktop pictures may further include coordinates of a default screen capture area that is agreed in advance.
S103, screening an original picture corresponding to the screenshot parameter from the memory, and returning the screened original picture to the participating client.
Specifically, after receiving the original screenshot request in step S102, screenshot parameters of the conference participating desktop picture at the screenshot triggering time may be extracted from the original screenshot request, and then, the original pictures stored in the memory are screened according to the extracted screenshot parameters, so as to obtain the original pictures corresponding to the extracted screenshot parameters, and the screened original pictures are returned to the conference participating client.
Further, in some embodiments of the present invention, if the screenshot parameter includes: and intercepting the screened original picture according to the coordinates of the screenshot area, and returning an interception result to the participating client.
Optionally, in some embodiments of the present invention, if the extracted screenshot parameter includes: and if the picture similarity of the pictures of the participating desktop at the screen capture triggering moment is greater than the picture similarity of the pictures of the participating desktop, the main speaking client can screen out the original pictures corresponding to the screen capture parameters according to the comparison result between the picture similarity of the original pictures of the shared desktop in the memory and the picture similarity of the pictures of the participating desktop, and return the screened original pictures to the participating client. In practical application, the picture similarity of the original picture can be calculated after the original screenshot request is received according to a preset picture similarity algorithm, and the picture similarity of the original picture can also be calculated and stored when the original picture is captured according to the preset picture similarity algorithm. Therefore, the main speaking client can compare the picture similarity value of the participating desktop picture with the picture similarity of the original picture sharing the desktop in the memory, calculate the similarity between the participating desktop picture and different original pictures in the memory, and then screen out the original picture with the highest similarity as the original picture corresponding to the screenshot parameter according to the calculated similarity. Optionally, if the screenshot parameter further includes: and intercepting the screened original picture according to the coordinates of the screenshot area, and returning an interception result to the participating client.
Optionally, in some embodiments of the present invention, if the extracted screenshot parameter includes: and the key frame ID of the participated desktop picture at the screen capture triggering moment, the main speaking client side can screen out the original picture corresponding to the key frame ID of the participated desktop picture according to the pre-established corresponding relation between the key frame ID and the original picture. In practical application, the talkback client can identify the key frames and the key frame IDs of the stored original pictures in advance, and construct the corresponding relationship between the original pictures and the key frame IDs. It is understood that the key frame and the identification thereof can be identified by a technique commonly used by those skilled in the art. Therefore, the main speaking client can quickly position the original picture corresponding to the screenshot parameter according to the key frame ID of the participated desktop picture, and return the screened original picture to the participated client. Optionally, if the screenshot parameter further includes: and intercepting the screened original picture according to the coordinates of the screenshot area, and returning an interception result to the participating client.
According to the screen capture method provided by the embodiment of the invention, the original picture of the shared desktop is stored, and after the original screen capture request sent by the participating client is received, the original picture is accurately captured according to the screen capture parameter of the participating desktop picture at the screen capture triggering moment carried in the original screen capture request and is returned to the participating client. Therefore, the participants can obtain the picture with the original resolution shared by the speaker, and the user experience is better.
Referring to fig. 2, a flowchart of a screen capture method when sharing a desktop on a participant side according to an embodiment of the present invention is shown. As shown in fig. 2, an embodiment of the present invention provides a screen capturing method for sharing a desktop, including:
s201, if a screen capture trigger event is identified when the decoded shared desktop is displayed, acquiring screen capture parameters of the conference participating desktop pictures at the screen capture trigger moment. And the conference participating desktop picture is a desktop currently displayed by the conference participating client.
And S202, generating an original screenshot request carrying the screenshot parameters, and sending the original screenshot request to the main speaking client.
And S203, receiving an original picture corresponding to the screenshot parameter returned by the main speaking client.
In some embodiments of the present invention, the participating client receives the encoded shared desktop sent by the client of the principal user from the server, decrypts the received shared desktop, and displays the decrypted shared desktop to the participating user. When the participant client displays the decoded shared desktop, the participant user can perform screen capture operation on the currently displayed desktop. After the participant user executes the screen capture operation, the participant client identifies the screen capture trigger event, then can capture the participant desktop picture at the screen capture trigger moment and acquire the screenshot parameter of the participant desktop picture at the screen capture trigger moment. And then, generating an original screenshot request carrying screenshot parameters of the participating desktop pictures at the screenshot triggering moment, and sending the original screenshot request to the main speaking client through the server. And then, receiving an original picture corresponding to the screenshot parameter returned by the main speaking client.
Optionally, in some embodiments of the present invention, the screenshot parameters of the participating desktop pictures may include: and the picture similarity value of the pictures of the conference desktop at the screen capture triggering moment. Specifically, after intercepting a conference desktop picture at a screen capture triggering moment, a conference client processes the intercepted conference desktop picture according to a preset picture similarity algorithm to obtain a picture similarity value of the conference desktop picture; and then, generating an original screenshot request carrying the picture similarity values of the participating desktop pictures at the screenshot triggering moment.
Optionally, in some embodiments of the present invention, the screenshot parameters of the participating desktop pictures may include: and the key frame identity of the participating desktop picture at the screen capture triggering moment. Specifically, after capturing the participating desktop picture at the screen capture triggering time, the participating client can identify the key frame and the identifier thereof corresponding to the participating desktop picture at the screen capture triggering time, and generate an original screen capture request carrying the key frame ID of the participating desktop picture at the screen capture triggering time.
In order to obtain part of the content in the original picture, in some embodiments of the present invention, if the user selects the screenshot area when performing the screenshot operation, the participating client may intercept the original picture returned by the main-speaking client according to the coordinates of the screenshot area.
Optionally, in order to obtain a part of the content in the original picture, in some embodiments of the present invention, the screenshot parameters of the participating desktop picture may include: coordinates of the screenshot area. Specifically, if the screenshot area is selected when the user performs the screenshot operation, it indicates that the screenshot triggering event specifies the screenshot area, and the participating client may generate an original screenshot request carrying coordinates of the screenshot area, so that the host client returns an original picture of the screenshot area.
According to the screen capture method provided by the embodiment of the invention, the original screen capture request carrying the screen capture parameters of the participating desktop pictures at the screen capture triggering moment is sent to the main speaker client, so that the pictures with the original resolution shared by the main speaker can be obtained, and the user experience is better.
On the basis of the embodiments shown in fig. 1 and fig. 2, an embodiment of the present invention provides a screen capture method when sharing a desktop, as shown in fig. 3, including:
s301, the talkback client captures an original picture of the shared desktop.
And S302, the talkback client stores the captured original pictures of the shared desktop to a memory.
And S303, the main speaking client encodes the captured original pictures of the shared desktop, transmits the encoded pictures to the server, and transmits the coded pictures to the participating clients through the server.
And S304, the participating clients display the video-decoded shared desktop.
S305, after the user performs screen capture triggering operation, the conference participating client generates an original screen capture request carrying screen capture parameters of the conference participating desktop pictures at the screen capture triggering moment and sends the original screen capture request to the main speaking client, wherein the screen capture parameters comprise: picture similarity values and coordinates of the screenshot area.
S306, the talkback client screens out the original picture with the highest similarity according to the comparison result of the picture similarity of the original picture of the shared desktop in the memory and the picture similarity of the picture of the conference desktop in the original screenshot request.
And S307, the main speaking client intercepts the screened original picture according to the coordinates of the screenshot area, and returns the interception result to the participating client.
And S308, the participating client receives the interception result of the original picture corresponding to the screenshot parameter, which is returned by the main speaking client.
It is understood that, in the embodiments of the present invention, the steps S301 to S308 may refer to the steps in the embodiments shown in fig. 1 and fig. 2, and are not described herein again. Step S302 and step S303 have no restriction on the execution sequence, and step S302 may be executed first and then step S303 is executed, or step S303 may be executed first and then step S302 is executed, or step S302 and step S303 may be executed simultaneously.
On the basis of the embodiments shown in fig. 1 and fig. 2, another embodiment of the present invention provides a screen capturing method when a desktop is shared, as shown in fig. 4, including:
s401, the talkback client side captures an original picture of the shared desktop.
S402, the talkback client stores the captured original pictures of the shared desktop to a memory.
And S403, the main speaking client encodes the captured original pictures of the shared desktop, transmits the encoded pictures to the server, and transmits the coded pictures to the participating clients through the server.
And S404, displaying the video-decoded shared desktop by the participating clients.
S405, after the user performs screen capture triggering operation, the participating client sends an original screen capture request of screen capture parameters of the participating desktop pictures carrying the screen capture triggering moment to the main speaking client, and the screen capture parameters comprise: key frame ID and coordinates of screenshot area.
S406, the talkback client screens out the original picture corresponding to the key frame ID of the participating desktop picture according to the pre-established corresponding relation between the key frame ID and the original picture.
S407, the main speaking client intercepts the screened original picture according to the coordinates of the screenshot area, and returns the intercepting result to the participating client.
And S408, the participating client receives the interception result of the original picture corresponding to the screenshot parameter, which is returned by the main speaking client.
It is understood that, in the embodiments of the present invention, the steps S401 to S408 may refer to the steps in the embodiments shown in fig. 1 and fig. 2, and are not described herein again. Step S402 and step S403 are not limited by the execution sequence, and step S402 may be executed first and then step S403 is executed, or step S403 may be executed first and then step S402 is executed, or steps S402 and S403 may be executed simultaneously.
Referring to fig. 5, a schematic structural diagram of a screen capture device when sharing a desktop according to an embodiment of the present invention is shown; as shown in fig. 5, an embodiment of the present invention provides a screen capture device for sharing a desktop, including:
the image storage module 501 is configured to store the captured original image of the shared desktop into an internal memory.
A request receiving module 502, configured to receive an original screenshot request carrying screenshot parameters of a meeting desktop picture at a screenshot trigger time sent by a meeting participating client.
And a screenshot screening module 503, configured to screen an original picture corresponding to the screenshot parameter from the memory, and return the screened original picture to the participating client.
Optionally, the picture storage module 501 is further configured to set a storage duration of the original picture when the original picture of the shared desktop is stored, so that the original picture is destroyed after the storage duration of the original picture reaches the storage duration.
Optionally, the screenshot parameters received by the request receiving module 502 include: and the picture similarity value of the pictures of the conference desktop at the screen capture triggering moment. Accordingly, the screenshot screening module 503 may screen out the original picture corresponding to the screenshot parameter according to the comparison result between the picture similarity of the original picture of the shared desktop in the memory and the picture similarity of the participating desktop picture.
Optionally, the screenshot parameters received by the request receiving module 502 include: and the key frame identity of the participating desktop picture at the screen capture triggering moment. Accordingly, the screenshot screening module 503 may screen out the original picture corresponding to the keyframe id of the participating desktop picture according to the pre-established correspondence between the keyframe id and the original picture.
Optionally, the screenshot parameters received by the request receiving module 502 include: coordinates of the screenshot area. Correspondingly, the screenshot screening module 503 may intercept the screened original picture according to the coordinates of the screenshot area, and return the interception result to the participating client.
Each module of the screen capture device of this embodiment is configured to correspondingly implement each step in the method shown in fig. 1, and specific contents are not described herein again.
The screen capture device provided by the embodiment of the invention stores the original picture of the shared desktop, and after receiving the original screen capture request sent by the conference participating client, accurately captures the original picture according to the screen capture parameter of the conference participating desktop picture at the screen capture triggering moment carried in the original screen capture request and returns the original picture to the conference participating client. Therefore, the participants can obtain the original resolution of the speaker side and the original picture of the shared desktop without color loss, and the user experience is better.
Referring to fig. 6, a schematic structural diagram of a screen capture device when sharing a desktop according to another embodiment of the present invention is shown; as shown in fig. 6, an embodiment of the present invention provides a screen capture device for sharing a desktop, including:
a parameter obtaining module 601, configured to obtain screenshot parameters of a conference participating desktop picture at a screenshot triggering time if a screenshot triggering event is identified when the decoded shared desktop is displayed; and the participating desktop picture is a currently displayed desktop.
The screenshot parameters of the participating desktop pictures at the screenshot triggering moment can include: and capturing the image similarity value of the desktop images of the participants at the screen triggering moment. Or, the screenshot parameters of the participating desktop pictures at the screenshot triggering time may include: and (4) capturing the key frame identity of the desktop picture of the meeting at the screen triggering moment.
Optionally, the screenshot parameter of the conference participating desktop picture at the screenshot triggering time may further include: coordinates of the screenshot area.
And the screenshot request module 602 is configured to generate an original screenshot request carrying the screenshot parameter, and send the original screenshot request to the main speaking client.
A screenshot receiving module 603, configured to receive an original picture corresponding to the screenshot parameter, where the original picture is returned by the mainly speaking client.
According to the screen capture device provided by the embodiment of the invention, the original resolution and the original picture without color loss of the speaker side can be obtained by sending the original screen capture request carrying the screen capture parameters of the conference participating desktop pictures at the screen capture triggering moment to the speaker client, so that the user experience is better.
Each module of the screen capture device of this embodiment is configured to correspondingly implement each step in the method shown in fig. 2, and specific contents are not described herein again.
The embodiment of the disclosure also provides the electronic equipment. The electronic device includes: a memory having a computer program stored thereon and a processor implementing the method as described above when executing the program. Further, a computer-readable storage medium is also provided, on which a computer program is stored which, when being executed by a processor, carries out the method as described above. FIG. 7 illustrates a schematic block diagram of an electronic device 700 that may be used to implement embodiments of the present disclosure. As shown, device 700 includes a Central Processing Unit (CPU) 701 that may perform various appropriate actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM) 702 or computer program instructions loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The CPU 701, the ROM702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processing unit 701 performs the various methods and processes described above. For example, in some embodiments, the methods may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, CPU 701 may be configured to perform the method by any other suitable means (e.g., by way of firmware).
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), and the like.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (1)

1. A screen capture method for a shared desktop is characterized by comprising the following steps:
a main client captures an original picture of a shared desktop; the method comprises the steps that a main client stores a captured original picture of a shared desktop into a memory, and the storage time length of the original picture is set, so that the original picture is destroyed after the storage time length of the original picture reaches the storage time length; the method comprises the steps that a main speaking client encodes a captured original picture of a shared desktop, transmits the picture to a server, and transmits the picture to a participating client through the server; the participating client displays the video-decoded shared desktop; after a user carries out screen capture triggering operation, the meeting participating client generates an original screen capture request carrying screen capture parameters of the meeting participating desktop pictures at the screen capture triggering moment and sends the original screen capture request to the main speaking client, wherein the screen capture parameters comprise: key frame ID and coordinates of screenshot area; the main speaking client screens out original pictures corresponding to the key frame IDs of the participating desktop pictures according to the pre-established corresponding relation between the key frame IDs and the original pictures; and the main speaking client intercepts the screened original picture according to the coordinates of the screenshot area and returns an intercepted result to the participating client.
CN202110207481.3A 2021-02-25 2021-02-25 Screen capturing method and device for sharing desktop Active CN112559111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110207481.3A CN112559111B (en) 2021-02-25 2021-02-25 Screen capturing method and device for sharing desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110207481.3A CN112559111B (en) 2021-02-25 2021-02-25 Screen capturing method and device for sharing desktop

Publications (2)

Publication Number Publication Date
CN112559111A CN112559111A (en) 2021-03-26
CN112559111B true CN112559111B (en) 2021-05-18

Family

ID=75034664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110207481.3A Active CN112559111B (en) 2021-02-25 2021-02-25 Screen capturing method and device for sharing desktop

Country Status (1)

Country Link
CN (1) CN112559111B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110881140A (en) * 2018-09-05 2020-03-13 北京高德云图科技有限公司 Method and device for capturing picture from video, embedded device and storage medium
CN112040260A (en) * 2020-08-28 2020-12-04 咪咕视讯科技有限公司 Screenshot method, screenshot device, screenshot equipment and computer-readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369372B (en) * 2013-07-17 2017-11-10 广州珠江数码集团股份有限公司 A kind of live telecast screen-cutting system and method
US9779389B2 (en) * 2015-03-24 2017-10-03 Getgo, Inc. Generation of screenshots for a visual summary of an online meeting under diverse and/or varying network and/or client computer performance conditions
CN108462851A (en) * 2017-02-21 2018-08-28 北京视联动力国际信息技术有限公司 The method and mobile terminal of data processing, server, the second mobile terminal
CN111049868B (en) * 2018-10-15 2020-08-25 北京仁光科技有限公司 Data interaction system and data interaction method
CN111049790B (en) * 2018-10-15 2021-08-17 北京仁光科技有限公司 Data interaction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110881140A (en) * 2018-09-05 2020-03-13 北京高德云图科技有限公司 Method and device for capturing picture from video, embedded device and storage medium
CN112040260A (en) * 2020-08-28 2020-12-04 咪咕视讯科技有限公司 Screenshot method, screenshot device, screenshot equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN112559111A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN107682714B (en) Method and device for acquiring online video screenshot
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
CN110557417B (en) Image processing method and device and storage medium
US10498716B2 (en) Management system, communication control method, and communication system
CN112351093A (en) Screenshot image sharing method, device and equipment and computer readable storage medium
CN112165574B (en) Internet terminal control method
CN113271428A (en) Video conference user authentication method, device and system
CN109145813B (en) Image matching algorithm testing method and device
CN115484086B (en) Cloud mobile phone screen sharing method, electronic equipment and computer readable storage medium
CN111428568A (en) Living body video picture processing method and device, computer equipment and storage medium
EP3151481B1 (en) Communication terminal, communication system, and output method
CN112559111B (en) Screen capturing method and device for sharing desktop
CN111031325A (en) Data processing method and system
CN107872683B (en) Video data processing method, device, equipment and storage medium
CN111010526A (en) Interaction method and device in video communication
CN113709401A (en) Video call method, device, storage medium, and program product
CN112948046A (en) Screen capturing method, device, equipment and storage medium
JP2022032812A (en) Information processing device and program
CN112584226B (en) Screen capturing method and device for sharing desktop
WO2021076300A1 (en) Processing interaction requests with user specific data on a shared device
CN107707930B (en) Video processing method, device and system
CN114302096A (en) Frozen screen sharing method and device and first electronic device
CN112866623B (en) Method and system for using camera across devices
CN115086730B (en) Subscription video generation method, subscription video generation system, computer equipment and subscription video generation medium
CN114219809A (en) Image processing method, image processing device, electronic equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant