[0018] The specific implementation of the display content processing method and system of the present invention will be described in detail below with reference to the accompanying drawings.
[0019] reference figure 1 , figure 1 Shown is a flowchart of a method for processing display content in an embodiment, including the following steps:
[0020] S10, respectively detecting the display content of each display window of the splicing display device, and determining the display window whose display content has changed as the selected display window;
[0021] The display interface of the splicing display device includes multiple display windows, and each display window independently displays its corresponding display content. When the above spliced display device first opens a window to display the corresponding content, the displayed content can be reduced in resolution and sent to the control terminal for synchronous display, so that relevant staff can obtain the content displayed by the corresponding spliced display device from the control terminal .
[0022] The above steps can detect the difference between the display data of two adjacent frames in the display data received by a certain display window to determine whether the display content corresponding to the display window has changed. If the difference between the display data of two adjacent frames is large , You can determine whether the display content of the corresponding display window changes at the current moment, and the display window is the selected display window.
[0023] In an embodiment, the foregoing process of separately detecting the display content of each display window of the spliced display device may include:
[0024] Detect the sum of the absolute value of the difference between each corresponding pixel in the display data of two adjacent frames in the display data received by each display window;
[0025] If the sum of the absolute values exceeds the preset threshold, it is determined that the display content in the display window corresponding to the two frames of display data detected has changed.
[0026] The above preset threshold can be set to 0.01 or 0.02, etc. If the sum of the absolute value of the difference between each corresponding pixel in the display data of two adjacent frames exceeds the preset threshold, it indicates the difference between the display data of two adjacent frames If the corresponding display content changes at this time, this change information needs to be sent to the control terminal to ensure the accuracy of the splicing display device monitored by the control terminal.
[0027] S20: Acquire selected display content corresponding to the selected display window;
[0028] The above-mentioned selected display content is a frame of display data sent to the selected display window when the display content of the selected display window has changed (a frame of display data after the display content of the selected display window has changed).
[0029] S30, reducing the resolution of the selected display content by a set multiple, and sending the selected display content with the reduced resolution to the control terminal;
[0030] The set multiple can be set according to the performance characteristics of the spliced display device and the control terminal, so that the resolution of the selected display content is reduced by the set multiple, and a complete display can be performed on the control terminal.
[0031] In an embodiment, the above-mentioned determination process of the set multiple may include:
[0032] Obtain the resolution of the splicing display device and the resolution of the control terminal respectively;
[0033] The ratio of the resolution of the spliced display device to the resolution of the control terminal is determined as a set multiple.
[0034] In this embodiment, the ratio between the resolution of the spliced display device and the resolution of the control terminal is determined as a set multiple, so that the display content after the resolution reduction process can be better matched with the relevant performance characteristics of the control terminal.
[0035] In one embodiment, the step of reducing the resolution of the selected display content by a set multiple, and sending the selected display content with the reduced resolution to the control terminal may include:
[0036] Acquiring each row of data and each column of data of the selected display content;
[0037] Superimpose redundant data of the first set value pixels after each row of data;
[0038] Superimpose redundant data of the second set value pixels after each column of data;
[0039] Reduce the resolution of the selected display content after superimposing redundant data by a set multiple.
[0040] If the number of pixels in each row and/or column of the selected display content does not have a multiple relationship with the set multiple, after the selected display content is subjected to the set multiple resolution reduction processing, the display after the resolution reduction processing The edge part of the content may have a row and/or column of pixels being covered with each other, so that the subsequent display effect of this part of the content on the control terminal is poor. In this case, the first set value pixels can be superimposed after each row of data The redundant data of the second set value is superimposed after each column of data, and the resolution of the selected display content after superimposed redundant data is reduced by the set multiple to reduce the resolution The edge part of the display content after a fixed multiple can avoid the above-mentioned problems such as overlapping of one row and/or column of pixels with each other, so as to improve the effect of the resolution reduction processing on the selected display content, thereby the selection of the above resolution reduction processing The display content can be displayed more smoothly on the control terminal, which improves the display effect of the subsequent control terminal. The above-mentioned redundant data may include blank data and other data that have little influence on the display effect of the selected display content.
[0041] As an embodiment, before the step of superimposing the redundant data of the first set value pixels after each row of data, the method further includes:
[0042] Get the row pixel value of any row of data in the selected display content;
[0043] Calculating the remainder of the row pixel value and the set multiple to obtain the row remainder;
[0044] The difference between the set multiple and the line remainder is determined as the first set value.
[0045] In this embodiment, the difference between the set multiple and the line remainder is determined as the first set value, so that the number of pixels in each row of the selected display content after superimposing redundant data can be evenly divided by the set multiple to further ensure that The effect of resolution reduction processing.
[0046] As an embodiment, before the step of superimposing the redundant data of the second set value pixels after each column of data, it may further include:
[0047] Get the column pixel value of any column of data in the selected display content;
[0048] Calculating the remainder of the column pixel value and the set multiple to obtain the column remainder;
[0049] The difference between the set multiple and the column remainder is determined as the second set value.
[0050] In this embodiment, the difference between the set multiple and the column remainder is determined as the second set value, so that the number of pixels in each column of the selected display content after superimposing redundant data can be evenly divided by the set multiple to further ensure correctness The effect of its resolution reduction processing.
[0051] S40. After the control terminal receives the selected display content, after the control terminal receives the selected display content, update the selected display content to the last frame of monitoring display content buffered by the control terminal, and update The subsequent monitoring display content is sent to the display interface of the control terminal.
[0052] In the above steps, the selected display content received by the control terminal is spliced to the last frame of monitoring display content buffered by the control terminal (that is, to the display data of the last time displayed on the control terminal), so that the display content of the display window of the spliced display device changes At the time, the corresponding display content of the control terminal can be updated in time by splicing the corresponding selected display content on the last frame of the monitoring display content, so that the spliced monitoring display content (monitor display content after splicing processing) can be displayed in the control Terminal, to ensure the accuracy of the content displayed on the control terminal.
[0053] In one embodiment, the above process of updating the selected display content to the last frame of monitoring display content buffered by the controller includes:
[0054] Obtaining display coordinates corresponding to the selected display content;
[0055] Obtain the original display content corresponding to the display coordinates from the last frame of monitoring display content buffered by the control terminal;
[0056] The selected display content is used to overwrite the original display content to obtain the updated monitoring display content.
[0057] This embodiment updates the original display content in the last frame of monitoring display content buffered by the control terminal according to the display coordinates corresponding to the selected display content, so that the selected display content is spliced to the last frame of monitoring display content buffered by the control terminal To form the monitoring display content currently displayed on the control terminal.
[0058] The display content processing method provided by the present invention can identify the selected display window whose display content has changed, only obtain the selected display content corresponding to the selected display window, and perform reduction processing on the resolution of the selected display content, There is no need to perform corresponding resolution reduction and transmission processing on all the display content of the spliced display device display interface, so that the control terminal can obtain the display content of the spliced display device and its change information, so that the spliced display device can be displayed on the control end The display content of the display content can realize the monitoring of the spliced display device, which effectively reduces the amount of data processing in the above-mentioned monitoring process, reduces the hardware configuration requirements of the control terminal, and thereby reduces the cost of monitoring the corresponding spliced display device.
[0059] In one embodiment, before the above process of separately detecting the display content of each display window of the spliced display device, and determining the display window whose display content is changed as the selected display window, it may further include:
[0060] Reduce the resolution of all displayed contents of the spliced display device by a set multiple, and send all the displayed contents after the reduced resolution to the control terminal for buffering and display.
[0061] In this embodiment, when the splicing display device opens a window to display the display content that it needs to display, the resolution of all its display content is reduced by a set multiple, so as to realize the caching and display of all the display content mentioned above on the control end, and ensure that the control end is The completeness and smoothness of the display content of the spliced display device.
[0062] In one embodiment, after the above process of updating the selected display content to the last frame of monitoring display content buffered by the controller, the process further includes:
[0063] The spliced monitoring display content is cached at the control end.
[0064] In this embodiment, the spliced monitoring display content is cached on the control terminal for subsequent update of the corresponding display content when the display content of the spliced display device changes, which can further ensure the monitoring effect of the control terminal.
[0065] reference figure 2 , figure 2 Shown is a schematic structural diagram of a display content processing system of an embodiment, including:
[0066] The detection module 10 is configured to separately detect the display content of each display window of the splicing display device, and determine the display window whose display content is changed as the selected display window;
[0067] The obtaining module 20 is configured to obtain the selected display content corresponding to the selected display window;
[0068] The sending module 30 is configured to reduce the resolution of the selected display content by a set multiple, and send the selected display content with the reduced resolution to the control terminal;
[0069] The splicing module 40 is used to update the selected display content to the last frame of monitoring display content buffered by the control terminal after receiving the selected display content at the control terminal and after receiving the selected display content at the control terminal , And send the updated monitoring display content to the display interface of the control terminal.
[0070] The display content processing system provided by the present invention corresponds to the display content processing method provided by the present invention, and the technical features and beneficial effects described in the embodiments of the display content processing method are applicable to the display content processing system In the embodiment, hereby declare.
[0071] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered as the scope of this specification.
[0072] The above-mentioned embodiments only express several implementation modes of the present invention, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can be made, and these all fall within the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.