Image screenshot method and screen capture device
By obtaining and converting the low voltage differential signal of the monitor driver board and transmitting it to the computer terminal, the problem of low-cost or old display driver board does not support screenshots, and the low-cost screenshot function and high-versatility effects are achieved.
Patent Information
- Application Number
- CN202011543727.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2040-12-23
AI Technical Summary
The low-cost or old display driver boards on the market usually do not support the screenshot function, and the boards with their own screenshot function are expensive, have high maintenance costs, and are also highly difficult to transform and cost to transform.
By obtaining the low voltage differential signal of the monitor driver board, converting it into a digital signal, and using the serial port to network module to transmit the signal to the computer terminal, the screenshot function is realized, and a cache unit and a conversion unit are used to ensure the stable transmission and processing of the signal.
The screenshot function of the display driver board that does not support the screenshot function is realized, which reduces production costs and improves the universality and efficiency of equipment.
Smart Images

Figure CN112543369B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image communication technology, and in particular to an image screenshot method and a screenshot device. Background Art
[0002] Display driver boards are often called A / D (analog / digital) boards. LCD screens need to collect digitized video signals to display images. The LCD driver board is the functional module that completes the conversion from analog signals to digital signals (or from one digital signal to another), and at the same time drives the display screen to display images under the control of the image control unit.
[0003] In the prior art, low-cost display driver boards or some old display driver boards on the market usually do not support the screenshot function, and most display driver boards with built-in screenshot function are too expensive and have relatively high maintenance costs. In addition, if some old display driver boards need the screenshot function, the difficulty and cost of modification are very high. Summary of the invention
[0004] The purpose of the present invention is to provide an image screenshot method and a screenshot device to solve the problem raised in the above background technology: in the prior art, low-cost display screen driver boards or some old display screen driver boards on the market usually do not support the screenshot function, and most display screen driver boards with built-in screenshot functions are too expensive and have relatively high maintenance costs. In addition, if some old display screen driver boards need the screenshot function, the difficulty and cost of modification are very high.
[0005] To achieve the above-mentioned purpose, according to one aspect of the present invention, there is provided an image screenshot method, which is used in a screenshot device, and the method comprises: obtaining a screenshot command, wherein the screenshot command is an instruction issued by a computer terminal screenshot software and received by the screenshot device through a serial port to network module; obtaining a first signal output from a low-voltage differential signal output port of a display driver board, wherein the first signal is a low-voltage differential signal; converting the first signal into a second signal, wherein the second signal is a digital signal; converting the second signal into a third signal through a conversion unit, and transmitting the third signal to a display screen, wherein the third signal is a low-voltage differential signal; according to the screenshot command, transmitting the second signal to a computer terminal through a serial port to network module, wherein the second signal is used to provide screenshot image data to the computer terminal, and the screenshot image data is synthesized by a computer to obtain a screenshot in an image format.
[0006] In the above image screenshot method, the digital signal is a TTL digital signal.
[0007] In the above-mentioned image screenshot method, the step of transmitting the second signal to the computer terminal through the serial port to network module includes: dividing the second signal into n portions of data, and transmitting the n portions of data one by one to the computer terminal through the serial port to network module, wherein n is a value preset by the user, and n is a positive integer value.
[0008] In the above-mentioned image screenshot method, the user presets a value m, and the value m is used to indicate that the computer terminal receives the second signal m times in total, wherein the value m is a positive integer.
[0009] In the above-mentioned image screenshot method, the screenshot command is a serial port instruction obtained by parsing the instruction in Telnet message format sent by the computer terminal by the serial port to network module.
[0010] In the above-mentioned image screenshot method, the second signal is converted into network data in Telnet message format by the serial port to network module and then transmitted to the computer terminal.
[0011] In the above-mentioned image screenshot method, before converting the second signal into the third signal through the conversion module, it further includes: storing the second signal in a cache unit.
[0012] In the above-mentioned image screenshot method, the first signal is a low voltage differential signal of 1 / 60 second outputted by the low voltage differential signal output port.
[0013] According to another aspect of the present invention, a screenshot device is provided, the device comprising: an input port, for obtaining a first signal output from a low voltage differential signal output port of a display driver board, wherein the first signal is a low voltage differential signal; a serial port transceiver port, for obtaining a screenshot command from a serial port to network module, and connecting to the serial port to network module to complete data transmission; an image processing unit, respectively connected to the input port and the serial port transceiver port, for converting the first signal into a second signal according to a serial port instruction received by the serial port transceiver port from an instruction issued by the serial port to the network module to a computer terminal, wherein the second signal is a digital signal; a conversion unit, connected to the image processing unit, for converting the second signal into a third signal, wherein the third signal is a low voltage differential signal; an output port, connected to the conversion unit, for transmitting the third signal to a display screen.
[0014] The above screenshot device further includes: a cache unit, which is connected to the image processing unit and is used to store the second signal.
[0015] Through the image screenshot method and screenshot device of the present invention, the user can capture images on a display screen or a large display screen composed of multiple display screens, and by connecting the low-voltage differential signal output port of the display screen driver board with the screenshot device provided by the present invention, some low-cost display screen driver boards that do not have a screenshot function or some old display screen driver boards can also achieve the screenshot function. The production cost is low, and by connecting with the low-voltage differential signal output port of the display screen driver board, the effect of high versatility is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of an image screenshot method provided by an embodiment of the present invention;
[0017] Figure 2 is another flow chart of an image screenshot method provided by an embodiment of the present invention;
[0018] Figure 3 It is a schematic diagram of the functional module structure of a screen capture device provided by an embodiment of the present invention;
[0019] Figure 4 It is a schematic diagram of the assembly of a screen capture device provided by an embodiment of the present invention;
[0020] Figure 5 It is a schematic diagram of the circuit packaging structure of a screenshot device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front end", "rear end", "two ends", "one end", "the other end" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0023] According to one aspect of an embodiment of the present invention, there is provided an image screenshot method, which is applied to a screenshot device. Figure 1is a flow chart of an image screenshot method provided by an embodiment of the present invention, the method comprising:
[0024] Step 110, obtaining a screenshot command, wherein the screenshot command is an instruction issued by the computer terminal screenshot software and received by the screenshot device through the serial port to network module.
[0025] For example, since the screenshot device cannot directly read the instructions issued by the computer, it needs to convert the instructions issued by the computer terminal into serial port instructions through a serial port to network module, so that the screenshot device can obtain the instructions issued by the computer, that is, the screenshot command. Preferably, the instructions issued by the computer are instructions in the Telnet message format, wherein the serial port to network module should be able to realize the function of bidirectional transparent transmission of serial port and network interface data. The above-mentioned computer terminal can be all electronic computing machines used for high-speed computing, including supercomputers, industrial control computers, network computers, personal computers, embedded computers, biological computers, photonic computers, quantum computers, etc.
[0026] Step 120: Obtain a first signal output from a low voltage differential signal output port of the display driver board, where the first signal is a low voltage differential signal.
[0027] For example, according to step 110, after obtaining the screenshot command, the low voltage differential signal output from the low voltage differential signal output port of the display driver board is directly intercepted as the first signal, wherein the low voltage differential signal is also called LVDS signal. In addition to the RGB data signal, the low voltage differential signal also includes line synchronization, field synchronization, pixel clock and other signals. Therefore, it can be understood that the first signal should include image data composed of RGB data, line synchronization, field synchronization, pixel clock and other signals intercepted by the screenshot device from the display driver board. More preferably, the first signal is a 1 / 60 second low voltage differential signal output from the low voltage differential signal output port, which effectively prevents the occurrence of blurred screenshots.
[0028] Step 130: Convert the first signal into a second signal, wherein the second signal is a digital signal.
[0029] For example, the LVDS low-voltage differential signal output from the low-voltage differential signal output port of the display driver board is converted into a digital signal required by the computer terminal, which facilitates the computer terminal to process the data output by the display driver board, and the digital signal is preferably a TTL data signal.
[0030] Step 140: convert the second signal into a third signal through a conversion unit, and transmit the third signal to a display screen, wherein the third signal is a low voltage differential signal.
[0031] For example, in order not to affect the normal use of the display screen, the low-voltage differential signal that has been converted into a digital signal is converted back into a low-voltage differential signal, that is, the second signal is converted into a third signal, and provided to the display screen for use, thereby achieving the effect of not affecting the normal use of the display screen during the screenshot process. More preferably, before the second signal is converted into the third signal, the second signal should be stored in a cache unit, thereby improving the computing efficiency of the main control chip in the display screen.
[0032] Step 150, according to the screenshot command, the second signal is transmitted to the computer terminal through the serial port to network module, the second signal is used to provide the computer terminal with screenshot image data, the screenshot image data is processed by computer synthesis to obtain a screenshot in image format, and more preferably, the second signal is converted into network data in Telnet message format through the serial port to network module and then transmitted to the computer terminal.
[0033] For example, the second signal contains image data output by the display driver board. The computer parses the image data and eventually saves it as a file in an image format (such as PNG format) for the user to view and use.
[0034] See also Figure 2 , Figure 2 Another flow chart of the image screenshot method provided by an embodiment. Before the screenshot device sends the second signal to the computer terminal, it also includes a process for establishing a handshake protocol for communication. Correspondingly, the method of this embodiment includes the following steps:
[0035] Step 201, the computer terminal issues an instruction;
[0036] Step 202, the serial port to network module converts the command sent by the computer terminal into a serial port command recognizable by the screenshot device, i.e., a screenshot command;
[0037] Step 203, according to the screenshot command, intercepting the first signal from the display driver board;
[0038] Step 204, sending response data to the serial port to network module, wherein the response data is a second signal;
[0039] Step 205: the serial port to network module sends the response data to the computer terminal. After receiving the response data, the computer terminal starts to prepare to receive the second signal with the screenshot data.
[0040] To sum up, the handshake protocol for establishing a connection is completed. After completing the handshake protocol for establishing a connection, perform the following steps:
[0041] Step 206, the computer terminal issues an instruction;
[0042] Step 207, the serial port to network module converts the instruction sent by the computer terminal into a serial port command recognizable by the screenshot device, namely, a screenshot command;
[0043] Step 208, intercepting a first signal from the display driver board according to the screenshot command;
[0044] Step 209, dividing the first signal into n parts, converting the first signal into a second signal, and sending the second signal to the serial port to network module one by one, wherein the value of n is preferably 360;
[0045] Step 210, the serial port to network module converts the second signal and sends it to the computer terminal, and after receiving the second signal, the computer terminal stores the data in the second signal;
[0046] Step 211, the computer terminal issues an instruction;
[0047] Step 212, return to step 207 and re-execute steps 207 to 212 until the value m is reached, then the execution ends and proceeds to the next step, wherein the value m is preferably 360.
[0048] Step 213: After receiving the mth second signal, the computer terminal synthesizes the data carried by all the stored second signals and saves them as a file in an image format for the user to view and use.
[0049] To summarize, by dividing the first signal into n parts and repeatedly transmitting the second signal m times, for example, the first signal is divided into 360 parts, the second signal is repeatedly transmitted 360 times, and then all the data are integrated into a screenshot through a computer terminal. The purpose of the present invention is to prevent the data stored in the computer terminal before the abnormality cannot be used directly when a reception abnormality (disconnection) occurs, and the data must be received again after the abnormality is repaired, thereby occupying a large amount of storage space and operating space, and the efficiency is low. With the above method, after receiving the abnormality (disconnection), the remaining data will continue to be received when the user repairs the abnormality, and most of the data before receiving the abnormality is still valid data, thereby achieving the effect of reset reception.
[0050] See also Figures 3 to 5 , Figure 3 The figure is a schematic diagram of the functional module structure of a screenshot device provided by an embodiment. The screenshot device 300 includes:
[0051] The input port 301 is used to obtain a first signal outputted from a low voltage differential signal output port of the display driving board 400, wherein the first signal is a low voltage differential signal;
[0052] The serial port transceiver port 302 is used to obtain the screenshot command from the serial port to network module 600 and connect to the serial port to network module 600 to complete the data transmission;
[0053] The image processing unit 303 is connected to the input port 301 and the serial port transceiver port 302, respectively, and is used to convert the first signal into a second signal according to the serial port instruction received by the serial port transceiver port 302 and obtained by converting the instruction sent by the serial port to the network module 600 to the computer terminal 700, wherein the second signal is a digital signal;
[0054] a conversion unit 304, connected to the image processing unit 303, and configured to convert the second signal into a third signal, wherein the third signal is a low voltage differential signal;
[0055] The output port 305 is connected to the conversion unit 304 and is used to transmit the third signal to the display screen 500 .
[0056] Preferably, the screenshot device 300 further includes a cache unit 306, which is connected to the image processing unit 303. The cache unit 306 is used to cache the second signal, thereby increasing the data transmission rate.
[0057] Furthermore, the working principle of the screen capture device 300 is as follows:
[0058] The input end of the input port 301 is connected to the low voltage differential signal output port of the display driver board 400, and the output end of the input port 301 is connected to the image processing unit 303. The input port 301 is responsible for receiving the first signal sent by the display driver board 400 and transmitting the first signal to the image processing unit 303;
[0059] The cache unit 306 is connected to the image processing unit 303, the image processing unit 303 is connected to the serial transceiver port 302, the serial transceiver port 302 is connected to the serial port to network module 600, the serial port to network module 600 is connected to the computer terminal 700 through the network, and the image processing unit 303 is also connected to the conversion unit 304, wherein the conversion unit 304 is a TTL to LVDS unit, the conversion unit 304 is connected to the input end of the output port 305, the output end of the output port 305 is connected to the display screen, the image processing unit 303 converts the first signal into the second signal and transmits it to the conversion unit 304, the conversion unit 304 converts the second signal sent by the image processing unit 303 into the third signal and transmits it to the output port 305, the third signal is transmitted to the display screen through the output port 305, so that the image is displayed on the display screen;
[0060] At the same time, the computer terminal 700 sends the instruction to the serial port to network module 600 through the network. The serial port to network module 600 converts the instruction into a screenshot command of a serial port command and transmits it to the serial port transceiver port 302. The serial port transceiver port 302 transmits the screenshot command to the image processing unit 303. After receiving the screenshot command, the image processing unit 303 immediately starts to capture the first signal of 1 / 60 s as image data, and stores the stored signal in the cache unit 306. At the same time, it follows up with the screenshot command and transmits the captured image data back to the serial port transceiver port 302 in batches. After receiving the image data, the serial port transceiver port 302 transmits the data to the serial port to network module 600. The serial port to network module 600 transmits the data to the computer terminal 700. The computer terminal 700 parses the image data and finally generates the data as a PNG picture for the customer to view.
[0061] The matters not described in detail in the present invention are all known technologies to those skilled in the art.
[0062] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A method for capturing an image, characterized in that: It is used in a screen capture device, and the method includes: Obtaining a screenshot command, wherein the screenshot command is an instruction issued by the computer terminal screenshot software and received by the screenshot device through the serial port to network module; Obtaining a first signal outputted from a low voltage differential signal output port of a display driver board, wherein the first signal is a low voltage differential signal; converting the first signal into a second signal, wherein the second signal is a digital signal; Convert the second signal into a third signal through a conversion unit, and transmit the third signal to a display screen, wherein the third signal is a low voltage differential signal; According to the screenshot command, the second signal is transmitted to the computer terminal through the serial port to network module, the second signal is used to provide the computer terminal with screenshot image data, and the screenshot image data is processed by the computer to obtain a screenshot in image format; According to the screenshot command, the step of transmitting the second signal to the computer terminal through the serial port to network module includes: The second signal is divided into n portions of data, and the n portions of data are transmitted one by one to a computer terminal through a serial port to network module, wherein n is a value preset by a user, and n is a positive integer value.
2. The image screenshot method according to claim 1, characterized in that: The digital signal is a TTL digital signal.
3. The image screenshot method according to claim 1, characterized in that: The user presets a value m, and the value m is used to indicate that the computer terminal receives the second signal m times in total, wherein the value m is a positive integer.
4. The image screenshot method according to claim 1, characterized in that: The screenshot command is a serial port command obtained by parsing a command in a Telnet message format sent by a computer terminal by a serial port to network module.
5. The image screenshot method according to claim 1, characterized in that: The second signal is converted into network data in Telnet message format by the serial port to network module and then transmitted to the computer terminal.
6. The image screenshot method according to claim 1, characterized in that: Before converting the second signal into a third signal through a conversion module, the method further includes: The second signal is stored in a buffer unit.
7. The image screenshot method according to claim 1, characterized in that: The first signal is a low voltage differential signal of 1 / 60 second outputted by the low voltage differential signal output port.
8. A screenshot device using the image screenshot method according to any one of claims 1 to 7, characterized in that: include: An input port, used to obtain a first signal outputted from a low voltage differential signal output port of a display driver board, wherein the first signal is a low voltage differential signal; The serial port transceiver port is used to obtain the screenshot command from the serial port to network module and connect to the serial port to network module to complete the data transmission; an image processing unit, connected to the input port and the serial transceiver port, respectively, for converting the first signal into a second signal according to a serial port instruction received by the serial transceiver port and obtained by converting an instruction sent by the serial port to the network module to the computer terminal, wherein the second signal is a digital signal; a conversion unit, connected to the image processing unit, and configured to convert the second signal into a third signal, wherein the third signal is a low voltage differential signal; The output port is connected to the conversion unit and is used to transmit the third signal to the display screen.
9. A screen capture device according to claim 8, characterized in that: It further includes: A cache unit, wherein the cache unit is connected to the image processing unit and is used to store the second signal.
