CN107423187B - Screen monitoring method, device and system - Google Patents

Screen monitoring method, device and system Download PDF

Info

Publication number
CN107423187B
CN107423187B CN201610406811.0A CN201610406811A CN107423187B CN 107423187 B CN107423187 B CN 107423187B CN 201610406811 A CN201610406811 A CN 201610406811A CN 107423187 B CN107423187 B CN 107423187B
Authority
CN
China
Prior art keywords
terminal
screen
preset
resolution
monitoring area
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
CN201610406811.0A
Other languages
Chinese (zh)
Other versions
CN107423187A (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.)
Ningbo Broadcast Television Group
Sumavision Technologies Co Ltd
Original Assignee
Ningbo Broadcast Television Group
Sumavision Technologies 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 Ningbo Broadcast Television Group, Sumavision Technologies Co Ltd filed Critical Ningbo Broadcast Television Group
Priority to CN201610406811.0A priority Critical patent/CN107423187B/en
Publication of CN107423187A publication Critical patent/CN107423187A/en
Application granted granted Critical
Publication of CN107423187B publication Critical patent/CN107423187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a screen monitoring method, a device and a system, which aim to solve the problem that a bitmap acquired by a client cannot be amplified or reduced in equal proportion, and the method comprises the following steps: the method comprises the steps that a first terminal obtains the screen resolution of a second terminal; the method comprises the steps that a first terminal sends a user request to a server corresponding to a preset page through an instruction of monitoring the preset page through a screen of a second terminal, wherein the instruction carries the screen resolution of the second terminal; the method comprises the steps that a first terminal receives description information which is replied by a server and aims at a preset screen monitoring area in a preset page, and the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution of a second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on a screen of the first terminal; the first terminal carries out screen capture on a preset screen monitoring area in a preset page presented on a screen of the first terminal at regular time according to the description information, and sends a screen capture result to the second terminal.

Description

Screen monitoring method, device and system
Technical Field
The invention relates to the technical field of computers, in particular to a screen monitoring method, device and system.
Background
With the rapid development of computer networks, local area networks are widely available, and the production behaviors and life styles of people are greatly changed. As a very important technology in production and life, the network real-time screen monitoring technology has been developed greatly.
The network real-time screen monitoring system is actually a client/server mode program. The server program is installed on the computer of the controlled side, and the client program is installed on the computer of the control side. The system operates in the following general processes: first, a computer (client) that installs a client program searches a local area network for a computer (server) that has installed a server program and starts a service. After the client searches, the client sends an instruction to obtain the connection to the server, and after the server responds, the two computers establish the connection. When the two computers are successfully connected, the client can send data, signals and various remote control commands to the server as a common user, so that the operation of various application programs in the server is controlled, and the management and control of the server are realized.
Currently, remote screen monitoring has a plurality of mature products, such as SubSeven for remote management and monitoring, PCAnyWhere for remote access and control, and glacier trojan, BO, etc. commonly used by hackers.
Although the prior art can realize real-time screen monitoring, due to the limitation of different screen resolutions of a server and a client, a bitmap acquired by the client cannot be enlarged or reduced in equal proportion, so that image distortion presented by a screen of the client is serious, and a display effect is poor. For example, the screen resolution of the server is 1600 × 900, the screen resolution of the client is 1024 × 768, the server directly captures a screen of a page presented on the screen of the server and sends the captured screen to the client, the screen capture result obtained by the server is a bitmap with a size of 1600 × 900, the screen resolution of the client is 1024 × 768, and the obtained bitmap with a size of 1600 × 900 needs to be reduced to a bitmap with a size of 1024 × 768, so that an image presented on the screen of the client is distorted.
Disclosure of Invention
The embodiment of the invention aims to provide a screen monitoring method, a screen monitoring device and a screen monitoring system, which are used for solving the problems that the image displayed on a screen of a client is seriously distorted and the display effect is poor due to the fact that a bitmap acquired by the client cannot be amplified or reduced in an equal proportion.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, a screen monitoring method includes:
the method comprises the steps that a first terminal obtains the screen resolution of a second terminal;
the first terminal sends an instruction of a user request for monitoring a preset page through a screen of the second terminal to a server corresponding to the preset page, wherein the instruction carries the screen resolution of the second terminal;
the first terminal receives description information which is replied by the server and aims at a preset screen monitoring area in a preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution ratio of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal;
the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal at regular time according to the description information, and sends a screen capturing result to the second terminal, so that the screen of the second terminal displays the preset screen monitoring area.
In a possible implementation manner, the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the first terminal, and the position information of the preset screen monitoring area in the preset page, and the description information includes the position coordinate of the preset screen monitoring area and the resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same aspect ratio.
In a possible implementation manner, before the first terminal acquires the screen resolution of the second terminal, the method further includes:
and the first terminal establishes connection with the second terminal through the IP of the second terminal.
In a possible implementation manner, the sending, by the first terminal, the screen capture result to the second terminal includes:
and the first terminal adopts JPEG compression coding to the bitmap information obtained by screen capture to form a data stream and sends the data stream to the second terminal.
In a second aspect, a screen monitoring method includes:
a server corresponding to a preset page receives a user request sent by a first terminal and monitors an instruction of the preset page through a screen of a second terminal, wherein the instruction carries the screen resolution of the second terminal;
the server calculates description information of a preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in a preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal;
and the server replies the description information to the first terminal.
In a possible implementation manner, the description information includes a position coordinate of the preset screen monitoring area and a resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and a screen resolution of the second terminal have the same aspect ratio.
In a third aspect, a screen monitoring system includes: the system comprises a first terminal, a second terminal and a server corresponding to a preset page; wherein the content of the first and second substances,
the first terminal is used for acquiring the screen resolution of the second terminal, sending a command of a user requesting to monitor a preset page through the screen of the second terminal to a server corresponding to the preset page, and receiving the description information replied by the server and aiming at the preset screen monitoring area in the preset page, and capturing the screen of the preset screen monitoring area in the preset page presented on the screen of the first terminal according to the description information, and sending the screen capturing result to the second terminal, the instruction carries the screen resolution of the second terminal, and the description information is used for enabling the first terminal to obtain a bitmap with the same aspect ratio as the screen resolution of the second terminal when the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal;
the second terminal is used for receiving the screen capturing result sent by the first terminal, adjusting the screen capturing result according to the resolution of the second terminal, and presenting the preset screen monitoring area through the screen of the second terminal;
the server corresponding to the preset page is used for receiving a command of a user request sent by a first terminal for monitoring the preset page through a screen of a second terminal, calculating description information of the preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in the preset page, and replying the description information to the first terminal.
In a fourth aspect, an apparatus for screen monitoring, comprises:
the acquisition unit is used for acquiring the screen resolution of the second terminal;
the sending unit is used for sending an instruction of a user requesting to monitor a preset page through a screen of the second terminal to a server corresponding to the preset page, wherein the instruction carries the screen resolution of the second terminal;
a receiving unit, configured to receive description information, which is replied by the server and is for a preset screen monitoring area in the preset page, where the description information is used to enable the device to obtain a bitmap with a same aspect ratio as a screen resolution of the second terminal when the device captures a screen of the preset screen monitoring area in the preset page displayed on a screen of the device;
and the processing unit is used for capturing the screen of the preset screen monitoring area in the preset page presented on the screen of the first terminal at regular time according to the description information, and sending a screen capturing result to the second terminal through the sending unit so as to enable the screen of the second terminal to present the preset screen monitoring area.
In a possible implementation manner, the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the device, and the position information of the preset screen monitoring area in the preset page, and the description information includes the position coordinate of the preset screen monitoring area and the resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same aspect ratio.
In one possible implementation manner, the apparatus further includes:
the establishing unit is used for establishing connection with the second terminal through the IP of the second terminal before acquiring the screen resolution of the second terminal.
In a possible implementation manner, the processing unit is specifically configured to:
and compressing and coding the bitmap information obtained by screen capture into a data stream by JPEG (joint photographic experts group) and sending the data stream to the second terminal.
In a fifth aspect, a screen monitoring device includes:
the receiving unit is used for receiving a command of a user request sent by a first terminal for monitoring the preset page through a screen of a second terminal, and the command carries the screen resolution of the second terminal;
the processing unit is used for calculating description information of a preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in the preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal;
and the sending unit is used for replying the description information to the first terminal.
In a possible implementation manner, the description information includes a position coordinate of the preset screen monitoring area and a resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and a screen resolution of the second terminal have the same aspect ratio.
According to the method provided by the embodiment of the invention, after the first terminal is connected with the second terminal, the first terminal acquires the screen resolution of the second terminal. When a user requests to monitor a preset page through a screen of a second terminal through a first terminal, the first terminal sends an instruction of monitoring the preset page through the screen of the second terminal to a server corresponding to the preset page, and the instruction carries the screen resolution of the second terminal. The server corresponding to the preset page calculates description information of the preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and the position information of the preset screen monitoring area in the preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same resolution ratio as the screen resolution of the second terminal when the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal. Therefore, the first terminal can capture a preset screen monitoring area in a preset page presented on the screen of the first terminal at regular time according to the description information, and send a screen capture result to the second terminal, and the second terminal performs equal proportion adjustment on the received screen capture result, so that the screen of the second terminal presents the preset screen monitoring area. Therefore, by adopting the method provided by the embodiment of the invention, the first terminal performs adaptive screen capture according to the description information of the preset screen monitoring area provided by the server corresponding to the preset page, the page area which does not need to be displayed is removed, and the length-width ratio of the bitmap obtained by screen capture to the screen resolution of the second terminal is equal, so that finally, the second terminal can obtain better image display effect.
Drawings
FIG. 1 is a diagram of a screen monitoring system in an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an overview of a screen monitoring method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating TCP protocol establishment in an embodiment of the present invention;
fig. 4 is a schematic page layout diagram of an emergency broadcast page on a screen of a first terminal according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a screen display of an operation area in an emergency broadcast page at a second terminal according to an embodiment of the present invention;
fig. 6 is a schematic internal flow chart of the first terminal and the second terminal performing page monitoring according to the embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a screen monitor according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of a screen monitoring device according to an 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.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a screen monitoring system, including: the system comprises a first terminal, a second terminal and a server corresponding to a preset page.
The first terminal installs and starts a server program of the real-time screen monitoring system. The second terminal installs and starts a client program of the real-time screen monitoring system. The user can access the preset page through the browser of the first terminal, and send a command requesting to monitor the preset page through the screen of the second terminal to the server corresponding to the preset page, for example, a button of "large screen up" is set in the preset page, and the user realizes interaction with the server corresponding to the preset page by clicking the button of "large screen up". Therefore, the first terminal can communicate with the server corresponding to the preset page. In addition, the server corresponding to the preset page can adjust the page layout of the preset page and the pixels occupied by each component.
Referring to fig. 2, an embodiment of the present invention provides a screen monitoring method, including:
s201: the first terminal acquires the screen resolution of the second terminal.
S202: and the first terminal sends the user request to a server corresponding to the preset page through an instruction of monitoring the preset page by the screen of the second terminal.
The instruction carries the screen resolution of the second terminal.
S203: when a server corresponding to the preset page receives an instruction sent by a first terminal and used for a user to request to monitor the preset page through a screen of a second terminal, description information of the preset screen monitoring area is calculated according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in the preset page.
The description information is used for enabling the first terminal to obtain a bitmap with the same resolution ratio and the same length-width ratio as the screen resolution ratio of the second terminal when the first terminal captures a screen in a preset screen monitoring area in a preset page displayed on a screen of the first terminal.
S204: and the server corresponding to the preset page replies the description information to the first terminal.
S205: and the first terminal receives the description information replied by the server and captures a preset screen monitoring area in a preset page presented on the screen of the first terminal according to the description information.
S206: and the first terminal sends the screen capture result to the second terminal.
S207: and the second terminal receives the screen capture result sent by the first terminal, adjusts the screen capture result according to the resolution of the second terminal, and presents a preset screen monitoring area through a screen of the second terminal.
Before performing S201, the first terminal establishes a connection with the second terminal through the IP of the second terminal.
When the first terminal establishes the TCP connection with the second terminal, the following methods may be adopted, but are not limited to:
specifically, Java object-oriented connection generally goes through the following 4 basic steps: (1) creating Socket and establishing connection; (2) opening an input/output stream connected to Socket; (3) performing read/write operation on the Socket according to the protocol; (4) and closing the Socket.
2 classes in the net package: socket and serverssocket, which respectively represent a client (second terminal) and a server (first terminal) of a connection. Referring to fig. 3, the server uses serversocket (port) to bind the local Socket to the port and wait for connection. A client creates a designated port for Socket connection to a server by using Socket (port), and when the server monitors a connection request, the server uses accept () to successfully establish a connection.
For step S203, the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the first terminal, and the position information of the preset screen monitoring area in the preset page, and the description information includes the position coordinate of the preset screen monitoring area and the resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same aspect ratio.
The following takes an emergency broadcast page as an example to illustrate how to determine the description information of the preset screen monitoring area. Referring to fig. 4, the emergency broadcast page includes a left menu, an upper head-up, and a right operation area, wherein the operation area is a preset screen monitoring area. The top head-up width is 126, which refers to the distance between the upper boundary of the operating region and the upper edge of the page. The length of the left menu is 10% of the width of the page display screen.
The screen resolution of the first terminal is 1920 × 1080, the screen resolution of the second terminal is 1600 × 900, that is, 16:9, the width of the operation area is 1080-.
The coordinates of the upper left corner of the operating area are:
x is 1920 × 10 ═ 192, where 1920 × 10% is the length of the left menu, and y is 126.
And the server takes the calculated coordinates of the upper left corner of the operation area and the size of the operation area with the same length-width ratio as the screen resolution of the second terminal as the description information of the preset screen monitoring area and sends the description information to the first terminal.
As can be seen from the above, for the layout of different preset pages, because the preset screen monitoring area is located at different positions in the preset page, when the description information of the preset screen monitoring area is calculated, the description information may be the coordinates of the upper right corner or the coordinates of the lower right corner, but the processing method is similar to the above example, the principle is the same, and details are not repeated here.
And S206, the first terminal encodes the bitmap information obtained by screen capture into a data stream by JPEG compression and transmits the data stream to the second terminal.
For example, a Robot in Java provides a createscreencapture (rectangle) method to capture a screen, creates a rectangle object according to the position coordinates of a preset screen monitoring area given by a server corresponding to a preset page, and copies pixels of the preset screen monitoring area into a buffer image object, thereby completing the screen capture. Then, the object is JPEG-encoded and compressed and written into the Socket output stream.
And for S207, the second terminal reads Socket input stream data connected with the TCP, decodes the Socket input stream data to obtain a screen capture bitmap of the server, and finally displays the bitmap in JPanel of the AWT.
For example, in the above example, referring to fig. 5, if the resolution of the operation region is 1696 × 954 and the screen resolution of the second terminal is 1600 × 900, the operation region is enlarged to 1600 × 900 in an equal scale and displayed on the screen of the second terminal.
Referring to fig. 6, a screen monitoring execution process inside the first terminal and the second terminal is shown. The first terminal obtains an image stream through screen capture, the image stream is subjected to JPEG coding compression, the coded and compressed data is transmitted through a TCP protocol, the second terminal decompresses the received data through JPEG coding to obtain an image stream, and the image stream subjected to equal-proportion adjustment is displayed through a large screen.
Based on the same inventive concept, the embodiment of the present invention further provides a device for screen monitoring, and as the principle of the device for solving the problem is similar to that of the method embodiment, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 7, a screen monitoring apparatus includes:
an acquiring unit 70 for acquiring a screen resolution of the second terminal;
the sending unit 71 is configured to send an instruction of a user requesting to monitor a preset page through a screen of the second terminal to a server corresponding to the preset page, where the instruction carries a screen resolution of the second terminal;
a receiving unit 72, configured to receive description information, which is replied by the server and is for a preset screen monitoring area in the preset page, where the description information is used to enable the device to obtain a bitmap with the same aspect ratio as a screen resolution of the second terminal when the device captures a screen of the preset screen monitoring area in the preset page displayed on a screen of the device;
and the processing unit 73 is used for capturing the screen of the preset screen monitoring area in the preset page presented on the screen of the first terminal at regular time according to the description information, and sending a screen capturing result to the second terminal through the sending unit so as to enable the screen of the second terminal to present the preset screen monitoring area.
In a possible implementation manner, the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the device, and the position information of the preset screen monitoring area in the preset page, and the description information includes the position coordinate of the preset screen monitoring area and the resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same aspect ratio.
In one possible implementation manner, the apparatus further includes:
a establishing unit 74, configured to establish a connection with the second terminal through the IP of the second terminal before acquiring the screen resolution of the second terminal.
In a possible implementation manner, the processing unit 73 is specifically configured to:
and compressing and coding the bitmap information obtained by screen capture into a data stream by JPEG (joint photographic experts group) and sending the data stream to the second terminal.
Referring to fig. 8, a screen monitoring apparatus includes:
a receiving unit 80, configured to receive an instruction, sent by a first terminal, that a user requests to monitor the preset page through a screen of a second terminal, where the instruction carries a screen resolution of the second terminal;
the processing unit 81 is configured to calculate description information of a preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal, and position information of the preset screen monitoring area in the preset page, where the description information is used for enabling the first terminal to obtain a bitmap with the same aspect ratio as the screen resolution of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal;
a sending unit 82, configured to reply the description information to the first terminal.
In a possible implementation manner, the description information includes a position coordinate of the preset screen monitoring area and a resolution of the preset screen monitoring area, where the resolution of the preset screen monitoring area and a screen resolution of the second terminal have the same aspect ratio.
According to the method provided by the embodiment of the invention, after the first terminal is connected with the second terminal, the first terminal acquires the screen resolution of the second terminal. When a user requests to monitor a preset page through a screen of a second terminal through a first terminal, the first terminal sends an instruction of monitoring the preset page through the screen of the second terminal to a server corresponding to the preset page, and the instruction carries the screen resolution of the second terminal. The server corresponding to the preset page calculates description information of the preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and the position information of the preset screen monitoring area in the preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same resolution ratio as the screen resolution of the second terminal when the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal. Therefore, the first terminal can capture a preset screen monitoring area in a preset page presented on the screen of the first terminal at regular time according to the description information, and send a screen capture result to the second terminal, and the second terminal performs equal proportion adjustment on the received screen capture result, so that the screen of the second terminal presents the preset screen monitoring area. Therefore, by adopting the method provided by the embodiment of the invention, the first terminal performs adaptive screen capture according to the description information of the preset screen monitoring area provided by the server corresponding to the preset page, the page area which does not need to be displayed is removed, and the length-width ratio of the bitmap obtained by screen capture to the screen resolution of the second terminal is equal, so that finally, the second terminal can obtain better image display effect.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (9)

1. A screen monitoring method, comprising:
the method comprises the steps that a first terminal obtains the screen resolution of a second terminal;
the first terminal sends an instruction of a user request for monitoring a preset page through a screen of the second terminal to a server corresponding to the preset page, wherein the instruction carries the screen resolution of the second terminal;
the first terminal receives description information which is replied by the server and aims at a preset screen monitoring area in a preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution ratio of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal; the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the first terminal and the position information of the preset screen monitoring area in the preset page, and comprises the position coordinates of the preset screen monitoring area and the resolution of the preset screen monitoring area, wherein the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same length-width ratio;
the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal at regular time according to the description information, and sends a screen capturing result to the second terminal, so that the screen of the second terminal displays the preset screen monitoring area.
2. The method of claim 1, before the first terminal obtains the screen resolution of the second terminal, further comprising:
and the first terminal establishes connection with the second terminal through the IP of the second terminal.
3. The method of claim 1, wherein the first terminal sends the screen-scrape result to the second terminal, comprising
And the first terminal adopts JPEG compression coding to the bitmap information obtained by screen capture to form a data stream and sends the data stream to the second terminal.
4. A screen monitoring method, comprising:
a server corresponding to a preset page receives a user request sent by a first terminal and monitors an instruction of the preset page through a screen of a second terminal, wherein the instruction carries the screen resolution of the second terminal;
the server calculates description information of a preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in a preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal; the description information comprises position coordinates of the preset screen monitoring area and resolution of the preset screen monitoring area, wherein the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same length-width ratio;
and the server replies the description information to the first terminal.
5. A screen monitoring system, comprising: the system comprises a first terminal, a second terminal and a server corresponding to a preset page; wherein the content of the first and second substances,
the first terminal is used for acquiring the screen resolution of the second terminal, sending a command of a user requesting to monitor a preset page through the screen of the second terminal to a server corresponding to the preset page, and receiving the description information replied by the server and aiming at the preset screen monitoring area in the preset page, and capturing the screen of the preset screen monitoring area in the preset page presented on the screen of the first terminal according to the description information, and sending the screen capturing result to the second terminal, the instruction carries the screen resolution of the second terminal, and the description information is used for enabling the first terminal to obtain a bitmap with the same aspect ratio as the screen resolution of the second terminal when the first terminal captures the screen of the preset screen monitoring area in the preset page displayed on the screen of the first terminal; the description information comprises position coordinates of the preset screen monitoring area and resolution of the preset screen monitoring area, wherein the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same length-width ratio;
the second terminal is used for receiving the screen capturing result sent by the first terminal, adjusting the screen capturing result according to the resolution of the second terminal, and presenting the preset screen monitoring area through the screen of the second terminal;
the server corresponding to the preset page is used for receiving a command of a user request sent by a first terminal for monitoring the preset page through a screen of a second terminal, calculating description information of the preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in the preset page, and replying the description information to the first terminal.
6. A screen monitoring apparatus, comprising:
the acquisition unit is used for acquiring the screen resolution of the second terminal;
the sending unit is used for sending an instruction of a user requesting to monitor a preset page through a screen of the second terminal to a server corresponding to the preset page, wherein the instruction carries the screen resolution of the second terminal;
a receiving unit, configured to receive description information, which is replied by the server and is for a preset screen monitoring area in the preset page, where the description information is used to enable the device to obtain a bitmap with a same aspect ratio as a screen resolution of the second terminal when the device captures a screen of the preset screen monitoring area in the preset page displayed on a screen of the device; the description information is obtained by the server through calculation according to the screen resolution of the second terminal, the resolution of the device and the position information of the preset screen monitoring area in the preset page, and comprises the position coordinates of the preset screen monitoring area and the resolution of the preset screen monitoring area, wherein the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same length-width ratio;
and the processing unit is used for regularly grabbing the screen of the preset screen monitoring area in the preset page displayed on the screen of the device according to the description information, and sending a screen grabbing result to the second terminal through the sending unit so as to enable the screen of the second terminal to display the preset screen monitoring area.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the establishing unit is used for establishing connection with the second terminal through the IP of the second terminal before acquiring the screen resolution of the second terminal.
8. The apparatus as claimed in claim 6, wherein said processing unit is specifically configured to:
and compressing and coding the bitmap information obtained by screen capture into a data stream by JPEG (joint photographic experts group) and sending the data stream to the second terminal.
9. A screen monitoring device, comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an instruction which is sent by a first terminal and used for a user to request to monitor a preset page through a screen of a second terminal, and the instruction carries the screen resolution of the second terminal;
the processing unit is used for calculating description information of a preset screen monitoring area according to the screen resolution of the second terminal, the resolution of the first terminal and position information of the preset screen monitoring area in the preset page, wherein the description information is used for enabling the first terminal to obtain a bitmap with the same length-width ratio as the screen resolution of the second terminal when the first terminal captures the preset screen monitoring area in the preset page displayed on the screen of the first terminal; the description information comprises position coordinates of the preset screen monitoring area and resolution of the preset screen monitoring area, wherein the resolution of the preset screen monitoring area and the screen resolution of the second terminal have the same length-width ratio;
and the sending unit is used for replying the description information to the first terminal.
CN201610406811.0A 2016-06-08 2016-06-08 Screen monitoring method, device and system Active CN107423187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610406811.0A CN107423187B (en) 2016-06-08 2016-06-08 Screen monitoring method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610406811.0A CN107423187B (en) 2016-06-08 2016-06-08 Screen monitoring method, device and system

Publications (2)

Publication Number Publication Date
CN107423187A CN107423187A (en) 2017-12-01
CN107423187B true CN107423187B (en) 2021-02-12

Family

ID=60423007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610406811.0A Active CN107423187B (en) 2016-06-08 2016-06-08 Screen monitoring method, device and system

Country Status (1)

Country Link
CN (1) CN107423187B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168041B (en) * 2018-09-26 2022-07-26 深圳壹账通智能科技有限公司 Mobile terminal monitoring method and system
CN109543653B (en) * 2018-12-12 2021-07-20 厦门博聪信息技术有限公司 Video monitoring warning area setting method, system and device
CN112351093A (en) * 2020-10-30 2021-02-09 深圳Tcl新技术有限公司 Screenshot image sharing method, device and equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314502B (en) * 2011-09-01 2017-03-01 百度在线网络技术(北京)有限公司 A kind of method and apparatus for showing webpage body content on mobile terminals
KR20150001891A (en) * 2013-06-27 2015-01-07 삼성전자주식회사 electro device for sharing question message and method for controlling thereof
CN103336814B (en) * 2013-06-28 2016-07-06 优视科技有限公司 Webpage screenshot processing method and device
JP2015179330A (en) * 2014-03-18 2015-10-08 株式会社東芝 Electrical apparatus and display method
CN104978358B (en) * 2014-04-11 2019-11-15 阿里巴巴集团控股有限公司 The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN104135712A (en) * 2014-07-30 2014-11-05 上海斐讯数据通信技术有限公司 Short-range control method and system for mobile terminal

Also Published As

Publication number Publication date
CN107423187A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
US10362276B2 (en) Image capture apparatus, method for setting mask image, and recording medium
US10397627B2 (en) Desktop-cloud-based media control method and device
CN103533034A (en) Method for seamlessly using cloud terminal local camera in VDI (Virtual Device Interface) virtual desktop
JP2008511258A (en) Real-time image stabilization
CN105338323A (en) Video monitoring method and device
CN109085950B (en) Multi-screen interaction method and device based on electronic whiteboard and electronic whiteboard
CN103442177A (en) PTZ video camera control system and method based on gesture identification
CN107423187B (en) Screen monitoring method, device and system
CN112799891B (en) iOS device testing method, device, system, storage medium and computer device
WO2018040480A1 (en) Method and device for adjusting scanning state
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
EP3929813A2 (en) Image processing method in remote control, device, apparatus and program product
CN106303571A (en) Image acquisition process realizes the method and system of self adaptation screen rotation
CN111427524A (en) Remote control method, device, computer equipment and storage medium
CN103442221A (en) Virtual PTZ system and method based on image zooming and cropping
CN115170711A (en) High-simulation digital factory display method based on cloud rendering
EP3454202B1 (en) Frame drop processing method and system for played ppt
CN101984402A (en) Image acquisition and compression method and related device
CN112162718A (en) Reverse interaction method, device, equipment and storage medium
CN103716528A (en) PTZ camera remote control system and method based on touch terminal
CN115103204B (en) Method and device for realizing edge intelligent application supporting AI engine
CN104125497B (en) Webpage video recording method and device
CN113191210A (en) Image processing method, device and equipment
CN105068708A (en) Instruction obtaining and feedback method and device and cloud server
CN113168706A (en) Object position determination in frames of a video stream

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant