CN114900514A - Remote screen capture control method and system - Google Patents

Remote screen capture control method and system Download PDF

Info

Publication number
CN114900514A
CN114900514A CN202210447797.4A CN202210447797A CN114900514A CN 114900514 A CN114900514 A CN 114900514A CN 202210447797 A CN202210447797 A CN 202210447797A CN 114900514 A CN114900514 A CN 114900514A
Authority
CN
China
Prior art keywords
screen capture
data
screen
client
receiving end
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.)
Granted
Application number
CN202210447797.4A
Other languages
Chinese (zh)
Other versions
CN114900514B (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.)
Shenzhen Baoze Technology Co ltd
Original Assignee
Shenzhen Baoze Technology 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 Shenzhen Baoze Technology Co ltd filed Critical Shenzhen Baoze Technology Co ltd
Priority to CN202210447797.4A priority Critical patent/CN114900514B/en
Publication of CN114900514A publication Critical patent/CN114900514A/en
Application granted granted Critical
Publication of CN114900514B publication Critical patent/CN114900514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a remote screen capture control method and a system, wherein the method comprises the following steps: operating on a client to generate a screen capture request instruction, and transmitting the screen capture request instruction to a remote receiving end through network connection; the remote receiving end receives the screen capturing request instruction, and responds to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data; the remote receiving end sends the screen capture request response data to the client through network connection; the client analyzes the received screen capture request response data and identifies whether the analyzed screen capture request response data contains screen capture data or not; and when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path. In the embodiment of the invention, the requirement on the stability of network connection is not high, and the network bandwidth is saved; the remote receiving end realizes absolute control of screen capturing operation and ensures data safety.

Description

Remote screen capture control method and system
Technical Field
The invention relates to the technical field of remote control, in particular to a remote screen capture control method and system.
Background
The common traditional screenshot mode in the existing market:
the client acquires the picture of the remote receiving end in real time through network connection, the screen of the client displays the picture of the remote receiving end, and local screenshot and editing are carried out on the client. This method has the following disadvantages: (1) under the condition that a plurality of clients acquire pictures through network connection with a remote receiving end, the requirement on the stability of the network connection is very high, the network bandwidth is very occupied, and the network resources are wasted. (2) Because the screenshot is operated on the client, the picture of the receiving end can be randomly intercepted at any time, the risk of information leakage is caused, and absolute control cannot be achieved in the control degree. (3) The client side needs to capture the screen in real time, screen capture is carried out under the condition that the screen is acquired in real time, screen capture cannot be successfully carried out if the client side does not display the screen, and the client side is limited in use and is not convenient and concise in experience.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a remote screen capture control method and a system, which have low requirement on the stability of network connection and save the network bandwidth; the remote receiving end realizes absolute control of screen capturing operation and ensures data safety.
In order to solve the above technical problem, an embodiment of the present invention provides a remote screen capture control method, where the method includes:
operating on a client to generate a screen capture request instruction, and sending the screen capture request instruction to a remote receiving end through network connection;
the remote receiving end receives the screen capturing request instruction, and responds to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data;
the remote receiving end sends the screen capture request response data to the client through network connection;
the client analyzes the received screen capture request response data and identifies whether the analyzed screen capture request response data contains screen capture data or not;
and when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path.
Optionally, the method further includes:
and when the screen capture data does not exist, the client acquires the reason for rejecting screen capture of the remote receiving end and displays and prompts on a display interface of the client.
Optionally, the operating on the client generates a screen capture request instruction, and sends the screen capture request instruction to a remote receiving end through a network connection, including:
the client performs identity authentication on an operating user, generates a screen capture request instruction based on identity authentication information operation, and performs data encapsulation processing on the generated screen capture request instruction based on a flatBuffers data format;
and sending the encapsulated screen capture request instruction to a remote receiving end through network connection.
Optionally, the responding to the screen capture request instruction based on the limitation of the remote receiving end itself on the screen capture operation to obtain the screen capture request response data includes:
the remote receiving end analyzes the screen capturing request instruction and obtains the screen capturing content and the identity information of the requesting user in the screen capturing request instruction;
and the remote receiving end carries out screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data.
Optionally, the remote receiving end performs the screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data, including:
the remote receiving end judges whether to reject the screen capturing operation based on the screen capturing content and the identity information of the requesting user;
if the screen capturing operation is rejected, generating a reason for rejecting the screen capturing operation, and generating screen capturing request response data based on the reason for rejecting the screen capturing operation;
and if the screen capture operation is allowed, the remote receiving end carries out the screen capture operation based on the screen capture content to obtain screen capture data, and generates screen capture request response data based on the screen capture data.
Optionally, the remote receiving end performs a screen capture operation based on the screen capture content to obtain screen capture data, including:
the screen capture receiving end judges whether the number of people currently carrying out screen capture requests exceeds the limit number of people;
when the number of people exceeds the limit number, queuing for waiting is carried out;
when the number of people does not exceed the limit number, judging whether the screen capture cache storage time limit is exceeded or not;
if the time limit of the screen capture cache is exceeded, clearing the cache, performing screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client;
if the time limit of the screen capture cache storage time is not exceeded, judging whether the cache is stored in the picture data or not;
if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client;
and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
Optionally, the storing the screen capture data according to a preset storage path includes:
the client edits the screen capture data according to a preset rule to form edited screen capture data;
and storing the edited screenshot data according to a preset storage path.
Optionally, the client edits the screenshot data according to a preset rule to form edited screenshot data, including:
and the client carries out size interception and graphic drawing editing operation processing on the screenshot data according to a preset rule to form edited screenshot data.
In addition, an embodiment of the present invention further provides a remote screen capture control system, where the system includes: the system comprises a client and a remote receiving end, wherein the client is connected with the remote receiving end based on a network;
the client is used for generating a screen capture request instruction in an operation mode and sending the screen capture request instruction to a remote receiving end through network connection; analyzing the received screen capture request response data and identifying whether screen capture data exists in the analyzed screen capture request response data or not; when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path;
the remote receiving end is used for receiving the screen capturing request instruction and responding to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data; and sending the screen capture request response data to the client through network connection.
Optionally, the client is further configured to obtain a reason for rejecting screen capture by the remote receiving end when the screen capture data does not exist, and display a prompt on a display interface of the client.
In the embodiment of the invention, the client does not acquire the receiving end picture in real time any more, and only needs to simply send the screen capture instruction to the remote receiving end, and the remote receiving end carries out local screen capture and then sends the screen capture instruction to the client, so that high requirements on network connection stability are not generated, network bandwidth is saved, and waste of network resources is avoided; after the screen capturing operation is transferred from the client to the remote receiving end, the remote receiving end can realize absolute control on the screen capturing operation, and data safety is achieved; the client side does not need to acquire the picture of the remote receiving end in real time, only needs a simple screen capture button to send a screen capture instruction to the remote receiving end, and can acquire screen capture data of the remote receiving end and edit and store the screen capture data, so that the client side is more concise and convenient in use experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a remote screen capture control method in an embodiment of the invention;
fig. 2 is a schematic structural composition diagram of a remote screen capture control system in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a remote screen capture control method according to an embodiment of the present invention.
As shown in fig. 1, a remote screen capture control method includes:
s11: operating on a client to generate a screen capture request instruction, and sending the screen capture request instruction to a remote receiving end through network connection;
in a specific implementation process of the present invention, the generating a screen capture request instruction by operating on a client and sending the screen capture request instruction to a remote receiving end through a network connection includes: the client performs identity authentication on an operating user, generates a screen capture request instruction based on identity authentication information operation, and performs data encapsulation processing on the generated screen capture request instruction based on a flatBuffers data format; and sending the encapsulated screen capture request instruction to a remote receiving end through network connection.
Specifically, before a user generates a screen capture request instruction, the client firstly needs to perform identity authentication processing on an operating user to obtain identity authentication information, then the client generates the screen capture request instruction according to the identity authentication information when the client operates, and meanwhile, the generated screen capture request instruction is subjected to data encapsulation processing by using a flatBuffers data format; finally, the packaged screen capture request instruction is sent to a remote receiving end through network connection; by packaging the data in the format of the flatBuffers, the packaged instruction has small volume and small memory occupation, and quick transmission is realized.
And the network connection adopts a Netty network framework to construct the network connection between the client and the remote receiving end.
S12: the remote receiving end receives the screen capturing request instruction, and responds to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data;
in a specific implementation process of the present invention, the responding to the screen capture request command based on the limitation of the remote receiving end itself on the screen capture operation to obtain the screen capture request response data includes: the remote receiving end analyzes the screen capturing request instruction and obtains the screen capturing content and the identity information of the requesting user in the screen capturing request instruction; and the remote receiving end carries out screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data.
Further, the remote receiving end performs the screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data, and the method includes: the remote receiving end judges whether to reject the screen capturing operation based on the screen capturing content and the identity information of the requesting user; if the screen capturing operation is rejected, generating a reason for rejecting the screen capturing operation, and generating screen capturing request response data based on the reason for rejecting the screen capturing operation; and if the screen capture operation is allowed, the remote receiving end carries out the screen capture operation based on the screen capture content to obtain screen capture data, and generates screen capture request response data based on the screen capture data.
Further, the remote receiving end performs a screen capture operation based on the screen capture content to obtain screen capture data, including: the screen capture receiving end judges whether the number of people currently carrying out screen capture requests exceeds the limit number of people; when the number of people exceeds the limit number, queuing for waiting is carried out; when the number of people does not exceed the limit number, judging whether the screen capture cache storage time limit is exceeded or not; if the time limit of the screen capture cache is exceeded, clearing the cache, performing screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; if the time limit of the screen capture cache storage time is not exceeded, judging whether the cache is stored in the picture data or not; if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
Specifically, after receiving a screen capture request instruction, the remote receiving end firstly analyzes the screen capture request instruction, so as to obtain screen capture content and identity information of a requesting user in the screen capture request instruction; whether the screen capturing authority is provided or not is obtained by utilizing the identity information of the requesting user and the screen capturing content, and the screen capturing request command is responded, so that screen capturing request response data can be obtained.
Judging whether the identity information of the requesting user has the authority to screen the screen capturing content required by the requesting user according to the screen capturing content and the identity information of the requesting user on the remote receiving end, if so, allowing the requesting user to perform screen capturing operation, if not, rejecting the screen capturing operation, and when rejecting the screen capturing operation, generating a reason for rejecting the screen capturing operation, and then generating screen capturing request response data according to the reason for rejecting the screen capturing operation; when the screen capture operation is allowed, the remote receiving end performs the screen capture operation according to the corresponding screen capture content, acquires screen capture data, and then generates screen capture request response data according to the corresponding screen capture.
When the remote receiving end carries out screen capture operation according to the corresponding screen capture content, judging whether the recognition of the screen capture request for carrying out the screen capture operation at the same time exceeds the limit number of people or not, and entering a screen capture waiting area for queuing when the recognition exceeds the limit number; if the number of people exceeds the limit number, judging whether the screen capture cache storage time limit is exceeded or not; when the time limit of the screen capture cache storage time is exceeded, emptying the cache, carrying out screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format and sending the screen capture data to the client; when the screen capture cache storage time limit is not exceeded, judging whether the cache is stored in the picture data or not; if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
S13: the remote receiving end sends the screen capture request response data to the client through network connection;
in the implementation process of the invention, the remote receiving end sends the screen capture request response data to the client end through the network connection.
S14: the client analyzes the received screen capture request response data and identifies whether the analyzed screen capture request response data contains screen capture data or not;
in the specific implementation process of the invention, after receiving the screen capture request response data, the client analyzes the received screen capture request response data and identifies whether the screen capture data exists in the analyzed screen capture request response data.
S15: when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path;
in a specific implementation process of the present invention, storing the screenshot data according to a preset storage path includes: the client edits the screen capture data according to a preset rule to form edited screen capture data; and storing the edited screenshot data according to a preset storage path.
Further, the client edits the screen capture data according to a preset rule to form edited screen capture data, and the editing process includes: and the client carries out size interception and graphic drawing editing operation processing on the screenshot data according to a preset rule to form edited screenshot data.
Specifically, the client edits the screen capture data according to a preset rule to form edited screen capture data; storing the edited screenshot data according to a preset storage path; and the client carries out editing processing operations such as size interception, graphic drawing and the like on the screenshot data according to a preset rule, so that edited screenshot data is formed and stored.
S16: and when the screen capture data does not exist, the client acquires the reason for rejecting screen capture of the remote receiving end and displays and prompts on a display interface of the client.
In the specific implementation process of the invention, when no screen capture data exists in the screen capture request response data, the client needs to obtain the reason for rejecting screen capture of the remote receiving end, and the reason for rejecting screen capture is displayed and prompted on the display interface of the client.
In the embodiment of the invention, the client does not acquire the receiving end picture in real time any more, and only needs to simply send the screen capture instruction to the remote receiving end, and the remote receiving end carries out local screen capture and then sends the screen capture instruction to the client, so that high requirements on network connection stability are not generated, network bandwidth is saved, and waste of network resources is avoided; after the screen capturing operation is transferred from the client to the remote receiving end, the remote receiving end can realize absolute control of the screen capturing operation, and data safety is achieved; the client side does not need to acquire the picture of the remote receiving end in real time, only needs a simple screen capture button to send a screen capture instruction to the remote receiving end, and can acquire screen capture data of the remote receiving end and edit and store the screen capture data, so that the client side is more concise and convenient in use experience.
Example two
Referring to fig. 2, fig. 2 is a schematic structural component diagram of a remote screen capture control system according to an embodiment of the present invention.
As shown in fig. 2, a remote screen capture control system, the system comprising: a client 21 and a remote receiving end 22, wherein the client 21 and the remote receiving end 22 are connected based on a network;
the client 21 is configured to operate to generate a screen capture request instruction, and send the screen capture request instruction to a remote receiving end through network connection; analyzing the received screen capture request response data and identifying whether screen capture data exists in the analyzed screen capture request response data or not; when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path;
in a specific implementation process of the present invention, the generating a screen capture request instruction by operating on a client and sending the screen capture request instruction to a remote receiving end through a network connection includes: the client performs identity authentication on an operating user, generates a screen capture request instruction based on identity authentication information operation, and performs data encapsulation processing on the generated screen capture request instruction based on a flatBuffers data format; and sending the encapsulated screen capture request instruction to a remote receiving end through network connection.
Specifically, before a user generates a screen capture request instruction, the client firstly needs to perform identity authentication processing on an operating user to obtain identity authentication information, then the client generates the screen capture request instruction according to the identity authentication information when the client operates, and meanwhile, the generated screen capture request instruction is subjected to data encapsulation processing by using a flatBuffers data format; finally, the packaged screen capture request instruction is sent to a remote receiving end through network connection; by packaging the data in the format of the flatBuffers, the packaged instruction has small volume and small memory occupation, and quick transmission is realized.
And the network connection adopts a Netty network framework to construct the network connection between the client and the remote receiving end.
In the specific implementation process of the invention, after receiving the screen capture request response data, the client analyzes the received screen capture request response data and identifies whether the screen capture data exists in the analyzed screen capture request response data.
In a specific implementation process of the present invention, storing the screenshot data according to a preset storage path includes: the client edits the screen capture data according to a preset rule to form edited screen capture data; and storing the edited screenshot data according to a preset storage path.
Further, the client edits the screen capture data according to a preset rule to form edited screen capture data, and the editing process includes: and the client carries out size interception and graphic drawing editing operation processing on the screenshot data according to a preset rule to form edited screenshot data.
Specifically, the client edits the screen capture data according to a preset rule to form edited screen capture data; storing the edited screenshot data according to a preset storage path; and the client carries out editing processing operations such as size interception, graphic drawing and the like on the screenshot data according to a preset rule, so that edited screenshot data is formed and stored.
The remote receiving end 22 is configured to receive the screen capturing request instruction, and respond to the screen capturing request instruction based on the limitation of the remote receiving end itself on the screen capturing operation, so as to obtain screen capturing request response data; and sending the screen capture request response data to the client through network connection.
In a specific implementation process of the present invention, the responding to the screen capture request command based on the limitation of the remote receiving end itself on the screen capture operation to obtain the screen capture request response data includes: the remote receiving end analyzes the screen capturing request instruction and obtains the screen capturing content and the identity information of the requesting user in the screen capturing request instruction; and the remote receiving end carries out screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data.
Further, the remote receiving end performs the screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data, and the method includes: the remote receiving end judges whether to reject the screen capturing operation based on the screen capturing content and the identity information of the requesting user; if the screen capturing operation is rejected, generating a reason for rejecting the screen capturing operation, and generating screen capturing request response data based on the reason for rejecting the screen capturing operation; and if the screen capture operation is allowed, the remote receiving end carries out the screen capture operation based on the screen capture content to obtain screen capture data, and generates screen capture request response data based on the screen capture data.
Further, the remote receiving end performs a screen capture operation based on the screen capture content to obtain screen capture data, including: the screen capture receiving end judges whether the number of people currently carrying out screen capture requests exceeds the limit number of people; when the number of people exceeds the limit number, queuing for waiting is carried out; when the number of people does not exceed the limit number, judging whether the screen capture cache storage time limit is exceeded or not; if the time limit of the screen capture cache is exceeded, clearing the cache, performing screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; if the time limit of the screen capture cache storage time is not exceeded, judging whether the cache is stored in the picture data or not; if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
Specifically, after receiving a screen capture request instruction, the remote receiving end firstly analyzes the screen capture request instruction, so as to obtain screen capture content and identity information of a requesting user in the screen capture request instruction; whether the screen capturing authority is provided or not is obtained by utilizing the identity information of the requesting user and the screen capturing content, and the screen capturing request command is responded, so that screen capturing request response data can be obtained.
Judging whether the identity information of the requesting user has the authority to screen the screen capturing content required by the requesting user according to the screen capturing content and the identity information of the requesting user on the remote receiving end, if so, allowing the requesting user to perform screen capturing operation, if not, rejecting the screen capturing operation, and when rejecting the screen capturing operation, generating a reason for rejecting the screen capturing operation, and then generating screen capturing request response data according to the reason for rejecting the screen capturing operation; when the screen capture operation is allowed, the remote receiving end performs the screen capture operation according to the corresponding screen capture content, acquires screen capture data, and then generates screen capture request response data according to the corresponding screen capture.
When the remote receiving end carries out screen capture operation according to the corresponding screen capture content, judging whether the recognition of the screen capture request for carrying out the screen capture operation at the same time exceeds the limit number of people or not, and entering a screen capture waiting area for queuing when the recognition exceeds the limit number; if the number of people exceeds the limit number, judging whether the screen capture cache storage time limit is exceeded or not; when the time limit of the screen capture cache storage time is exceeded, emptying the cache, carrying out screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format and sending the screen capture data to the client; when the screen capture cache storage time limit is not exceeded, judging whether the cache is stored in the picture data or not; if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client; and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
In the implementation process of the invention, the remote receiving end sends the screen capture request response data to the client end through the network connection.
Optionally, the client 21 is further configured to obtain a reason for rejecting screen capture by the remote receiving end when the screen capture data does not exist, and display a prompt on a display interface of the client.
In the specific implementation process of the invention, when no screen capture data exists in the screen capture request response data, the client needs to obtain the reason for rejecting screen capture of the remote receiving end, and the reason for rejecting screen capture is displayed and prompted on the display interface of the client.
In the embodiment of the invention, the client does not acquire the receiving end picture in real time any more, and only needs to simply send the screen capture instruction to the remote receiving end, and the remote receiving end carries out local screen capture and then sends the screen capture instruction to the client, so that high requirements on network connection stability are not generated, network bandwidth is saved, and waste of network resources is avoided; after the screen capturing operation is transferred from the client to the remote receiving end, the remote receiving end can realize absolute control on the screen capturing operation, and data safety is achieved; the client side does not need to acquire the picture of the remote receiving end in real time, only needs a simple screen capture button to send a screen capture instruction to the remote receiving end, and can acquire screen capture data of the remote receiving end and edit and store the screen capture data, so that the client side is more concise and convenient in use experience.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
In addition, the above detailed description is given to the remote screen capture control method and system provided by the embodiment of the present invention, and a specific example should be adopted herein to explain the principle and the implementation manner of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A remote screen capture control method, the method comprising:
operating on a client to generate a screen capture request instruction, and sending the screen capture request instruction to a remote receiving end through network connection;
the remote receiving end receives the screen capturing request instruction, and responds to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data;
the remote receiving end sends the screen capture request response data to the client through network connection;
the client analyzes the received screen capture request response data and identifies whether the analyzed screen capture request response data contains screen capture data or not;
and when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path.
2. The remote screen capture control method of claim 1, wherein the method further comprises:
and when the screen capture data does not exist, the client acquires the reason for rejecting screen capture of the remote receiving end and displays and prompts on a display interface of the client.
3. The remote screen capture control method of claim 1, wherein the generating a screen capture request command on the client and sending the screen capture request command to a remote receiving end through a network connection comprises:
the client performs identity authentication on an operating user, generates a screen capture request instruction based on identity authentication information operation, and performs data encapsulation processing on the generated screen capture request instruction based on a flatBuffers data format;
and sending the encapsulated screen capture request instruction to a remote receiving end through network connection.
4. The remote screen capture control method of claim 1, wherein the obtaining screen capture request response data in response to the screen capture request command based on the limitation of the remote receiving end itself on screen capture operation comprises:
the remote receiving end analyzes the screen capturing request instruction and obtains the screen capturing content and the identity information of the requesting user in the screen capturing request instruction;
and the remote receiving end carries out screen capture request instruction response processing based on the screen capture content and the identity information of the requesting user to obtain screen capture request response data.
5. The remote screen-capture control method of claim 4, wherein the remote receiving end performs the screen-capture request instruction response processing based on the screen-capture content and the identity information of the requesting user to obtain screen-capture request response data, and the method comprises:
the remote receiving end judges whether to reject the screen capturing operation based on the screen capturing content and the identity information of the requesting user;
if the screen capturing operation is rejected, generating a reason for rejecting the screen capturing operation, and generating screen capturing request response data based on the reason for rejecting the screen capturing operation;
and if the screen capture operation is allowed, the remote receiving end carries out the screen capture operation based on the screen capture content to obtain screen capture data, and generates screen capture request response data based on the screen capture data.
6. The remote screen capture control method of claim 5, wherein the remote receiving end performs a screen capture operation based on the screen capture content to obtain screen capture data, and the method comprises the following steps:
the screen capture receiving end judges whether the number of people currently carrying out screen capture requests exceeds the limit number of people;
when the number of people exceeds the limit number, queuing for waiting is carried out;
when the number of people does not exceed the limit number, judging whether the screen capture cache storage time limit is exceeded or not;
if the time limit of the screen capture cache is exceeded, clearing the cache, performing screen capture operation again, storing the screen capture data into the cache, restarting timing, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client;
if the time limit of the screen capture cache storage time is not exceeded, judging whether the cache is stored in the picture data or not;
if the picture data is stored in the picture data, responding to the permission of screen capture operation, packaging the screen capture data through a flatBuffers data format, and sending the screen capture data to the client;
and if the screenshot data is not stored in the picture data, performing screenshot operation, storing the screenshot data in a cache, starting storing and timing, packaging the screenshot data through a flatBuffers data format, and sending the screenshot data to the client.
7. The remote screen capture control method of claim 1, wherein the storing the screen capture data according to a preset storage path comprises:
the client edits the screen capture data according to a preset rule to form edited screen capture data;
and storing the edited screenshot data according to a preset storage path.
8. The remote screen capture control method of claim 7, wherein the client edits the screen capture data according to a preset rule to form edited screen capture data, and the editing comprises:
and the client carries out size interception and graphic drawing editing operation processing on the screenshot data according to a preset rule to form edited screenshot data.
9. A remote screen capture control system, the system comprising: the system comprises a client and a remote receiving end, wherein the client is connected with the remote receiving end based on a network;
the client is used for generating a screen capture request instruction in an operation mode and sending the screen capture request instruction to a remote receiving end through network connection; analyzing the received screen capture request response data and identifying whether screen capture data exists in the analyzed screen capture request response data or not; when the screen capture data exist, the client receives the screen capture data and stores the screen capture data according to a preset storage path;
the remote receiving end is used for receiving the screen capturing request instruction and responding to the screen capturing request instruction based on the limitation of the remote receiving end on screen capturing operation to obtain screen capturing request response data; and sending the screen capture request response data to the client through network connection.
10. The remote screen capture control system of claim 9, wherein the client is further configured to obtain a reason for rejection of screen capture by the remote receiving end when the screen capture data does not exist, and display a prompt on a display interface of the client.
CN202210447797.4A 2022-04-26 2022-04-26 Remote screen capturing control method and system Active CN114900514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210447797.4A CN114900514B (en) 2022-04-26 2022-04-26 Remote screen capturing control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210447797.4A CN114900514B (en) 2022-04-26 2022-04-26 Remote screen capturing control method and system

Publications (2)

Publication Number Publication Date
CN114900514A true CN114900514A (en) 2022-08-12
CN114900514B CN114900514B (en) 2023-12-01

Family

ID=82719138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210447797.4A Active CN114900514B (en) 2022-04-26 2022-04-26 Remote screen capturing control method and system

Country Status (1)

Country Link
CN (1) CN114900514B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
US20140298188A1 (en) * 2013-03-08 2014-10-02 Tencent Technology (Shenzhen) Company Limited Remote operation method and system
CN105992064A (en) * 2015-01-31 2016-10-05 乐视致新电子科技(天津)有限公司 Method, device and system for sharing screenshot
WO2016206223A1 (en) * 2015-06-26 2016-12-29 深圳Tcl数字技术有限公司 Screenshooting method and system
CN106470354A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of screenshotss method, terminal and Set Top Box
WO2017124842A1 (en) * 2016-01-22 2017-07-27 腾讯科技(深圳)有限公司 Method and device for taking screenshots
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
CN111355769A (en) * 2019-04-24 2020-06-30 深圳市鸿合创新信息技术有限责任公司 Remote monitoring method and device and electronic equipment
CN112770151A (en) * 2020-12-22 2021-05-07 深圳创维-Rgb电子有限公司 Method, device and storage medium for supporting multi-person interception of screen-projected playing picture
CN114048050A (en) * 2021-11-23 2022-02-15 西安万像电子科技有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140298188A1 (en) * 2013-03-08 2014-10-02 Tencent Technology (Shenzhen) Company Limited Remote operation method and system
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
CN105992064A (en) * 2015-01-31 2016-10-05 乐视致新电子科技(天津)有限公司 Method, device and system for sharing screenshot
WO2016206223A1 (en) * 2015-06-26 2016-12-29 深圳Tcl数字技术有限公司 Screenshooting method and system
CN106470354A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of screenshotss method, terminal and Set Top Box
WO2017124842A1 (en) * 2016-01-22 2017-07-27 腾讯科技(深圳)有限公司 Method and device for taking screenshots
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
CN111355769A (en) * 2019-04-24 2020-06-30 深圳市鸿合创新信息技术有限责任公司 Remote monitoring method and device and electronic equipment
CN112770151A (en) * 2020-12-22 2021-05-07 深圳创维-Rgb电子有限公司 Method, device and storage medium for supporting multi-person interception of screen-projected playing picture
CN114048050A (en) * 2021-11-23 2022-02-15 西安万像电子科技有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114900514B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
EP2899956A1 (en) Terminal pairing method, terminal and system
WO2017101297A1 (en) Method and device for video messaging, terminal, and server
CN110743163A (en) Method and system for entering same game room based on live broadcast interface two-dimensional code
CN114598749B (en) Service access method and device
WO2021190404A1 (en) Conference establishment and conference creation method, device and system, and storage medium
CN108156223A (en) A kind of accurate supplying system of message based on websocket and method
CN106455128B (en) WIFI point-to-point data transmission method and device
EP3823270A1 (en) Video processing method and device, and terminal and storage medium
CN111917813A (en) Communication method, device, equipment, system and storage medium
CN112307925B (en) Image detection method, image display method, related device and storage medium
CN113065879A (en) Data stream quality inspection method and system
CN114900514B (en) Remote screen capturing control method and system
CN102904909A (en) OCR (Optical Character Recognition) method based on cloud model
CN108132767B (en) Application window preview method and system
CN114390239B (en) Communication method, device, system, electronic device, and storage medium
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN113053374B (en) Large screen control system
CN113420133B (en) Session processing method, device, equipment and storage medium
CN115357772A (en) Data processing method and device
CN111131746A (en) Terminal service control method and device
CN114244798B (en) Card message sending method, system, equipment and storage medium
CN112559111B (en) Screen capturing method and device for sharing desktop
CN110995940A (en) Harassment visitor identification method and device, electronic equipment and medium
CN107733947A (en) Image acquiring method, apparatus and system
CN113823283B (en) Information processing method, apparatus, storage medium, and program product

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