Method for displaying preview screen

By dynamically adjusting the resolution and splicing processing of the input source signal, the pre-monitor screen lag and image quality degradation caused by excessive data processing of the encoding chip is solved, and the smooth and clear display of the pre-monitor screen is achieved.

CN115499598BActive Publication Date: 2025-08-05XIAN NOVASTAR TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110680226.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-18
Publication Date
2025-08-05
Estimated Expiration
2041-06-18

AI Technical Summary

Technical Problem

In the prior art, the encoding chip performs data processing on a large number of input source signals, resulting in excessive pressure on processing data, resulting in lag in the pre-monitor screen and degradation in image quality.

Method used

By acquiring multiple input source signals, dynamically adjusting the resolution of image data according to the number of channels of the input source signals, and compressing and splicing to form the target resolution of the pre-monitored picture to reduce the processing pressure on the encoding chip.

Benefits of technology

It realizes smooth and clear display of the pre-monitor screen, avoiding lag and image quality reduction caused by excessive data processing pressure of the encoding chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499598B_ABST
    Figure CN115499598B_ABST
Patent Text Reader

Abstract

The present application discloses a method for displaying a preview screen. The method includes: collecting multiple input source signals, wherein the input source signals include: information of the image data to be displayed, and the input source signals correspond to the image data one by one; determining a first target resolution according to the number of channels of the collected input source signals; compressing the image data corresponding to the multiple input source signals according to the first target resolution to obtain a plurality of first image data; determining a second target resolution of the preview screen obtained by splicing the plurality of first image data based on the plurality of first target resolutions and the number of channels, so as to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution. The present application solves the technical problem that the encoding chip is under too much pressure to process data due to the related technology processing a large number of input source signals in the encoding chip, which leads to freezes in the preview screen and reduced image quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display, and in particular to a method for displaying a preview screen. Background Art

[0002] In video splicing equipment, a large number of input source signals are applied, and users expect to be able to monitor whether these input source signals are normal through an interface or video interface. This is the source of the demand for the input source preview function. Users can uniformly monitor whether all input sources are normal, and can also monitor whether the input source they are concerned about is normal before it is officially displayed on the screen or whether there is a problem with the content, that is, to ensure that the input source is in a confirmed state before being displayed on the large screen. However, since there may be a large number of input source signals at the same time, and in related technologies, a large number of input source signals are often directly compressed in the encoding chip, which will cause the encoding chip to process data too much pressure, resulting in the input preview screen being stuck and the picture quality being degraded. That is, in related technologies, the encoding chip directly processes data on a large number of input source signals, and there is a technical problem that the encoding chip is under too much pressure to process data, which in turn causes the preview screen to be stuck and the picture quality to be degraded.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] An embodiment of the present application provides a method for displaying a preview screen, which at least solves the technical problem that the encoding chip is under excessive pressure to process data due to the related technology of processing a large number of input source signals, thereby causing the preview screen to freeze and the image quality to deteriorate.

[0005] According to one aspect of an embodiment of the present application, a method for displaying a preview screen is provided, comprising: acquiring multiple input source signals, wherein the input source signals include: information of image data to be displayed, and the input source signals correspond one-to-one to the image data; determining a first target resolution according to the number of acquired input source signals; compressing the image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data; determining a second target resolution of a preview screen obtained by splicing the multiple image data based on the multiple first target resolutions and the number of channels, so as to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution.

[0006] Optionally, based on the number of input source signals collected, the first target resolution corresponding to the image data after compression is determined, including: when the number of input source signals collected is less than a preset threshold, determining the first target resolution after the image data is compressed as the first image resolution; when the number of input source signals collected is greater than the preset threshold, determining the second target resolution after the image data is compressed as the second image resolution, wherein the first image resolution is greater than the second image resolution.

[0007] Optionally, determining the second target resolution corresponding to the preview screen formed by splicing the image data based on the first target resolution includes: when it is determined that the first target resolution after the image data is compressed is the first image resolution, determining the second target resolution corresponding to the preview screen is the third image resolution; when it is determined that the first target resolution after the image data is compressed is the second image resolution, determining the second target resolution corresponding to the preview screen is the fourth image resolution, wherein the third image resolution is greater than the fourth image resolution.

[0008] Optionally, the input source signal also includes: the target position of the image data in the preview screen, and the image data corresponding to the first target resolution is displayed on the preview screen corresponding to the second target resolution, including: displaying the image data corresponding to the first target resolution at the target position of the preview screen, wherein the target position corresponds to the image data one-to-one.

[0009] Optionally, after determining the second target resolution of the preview screen obtained by splicing multiple image data based on multiple first target resolutions and numbers of paths, the method further includes: receiving a first operation instruction of the target object, selecting at least one first target image data in the preview screen; receiving a second operation instruction of the target object, wherein the second operation instruction is used to instruct the first target image data to be enlarged or reduced according to a predetermined ratio; and according to the second operation instruction, the first target image data corresponding to the first target resolution is enlarged or reduced according to the predetermined ratio.

[0010] Optionally, after determining the second target resolution of the preview screen obtained by splicing multiple image data based on multiple first target resolutions and paths, the method also includes: receiving a third operation instruction of the target object, selecting at least one second target image data in the preview screen; receiving a fourth operation instruction of the target object, setting a fifth image resolution of the second target screen, wherein the fifth image resolution is greater than the first target resolution, so as to display the second target image data corresponding to the fifth image resolution on the preview screen.

[0011] Optionally, before the preview screen displays the second target image data corresponding to the fifth image resolution, the method further includes: adjusting the first target resolution of other image data in the preview screen except the second target image data, so that the second target resolution of the preview screen remains unchanged.

[0012] According to another aspect of an embodiment of the present application, a system for displaying a preview screen is also provided, including: an input card for collecting multiple input source signals, determining a first target resolution based on the number of channels of the collected input source signals, and compressing image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data, wherein the input source signal includes: information of the image data to be displayed, and the input source signal corresponds one-to-one to the image data; an auxiliary card for determining a second target resolution of a preview screen obtained by splicing multiple image data based on multiple first target resolutions and the number of channels; a multi-screen preview card for sending a preview screen corresponding to the second target resolution to a target encoding chip, so as to display the image data corresponding to the first target resolution on the preview screen corresponding to the second target resolution.

[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, which includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any method of displaying a preview screen.

[0014] According to another aspect of the embodiment of the present application, a processor is further provided, the processor being used to run a program, wherein when the program is running, any one of the methods for displaying a preview screen is executed. Optionally,

[0015] In an embodiment of the present application, a method of dynamically adjusting the resolution of the image to be displayed and the resolution of the preview screen based on the number of input source channels is adopted. By collecting multiple input source signals and determining the first target resolution according to the number of channels of the collected input source signals; then compressing the image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data; finally, determining the second target resolution of the preview screen obtained by splicing the multiple image data based on the multiple first target resolutions and the number of channels, and displaying the preview screen according to the second target resolution, the purpose of dynamically adjusting the resolution of the image corresponding to the input source signal and the resolution of the preview screen formed by splicing the various input source signals based on the number of input source channels is achieved, thereby avoiding directly processing a large number of input source signals in the encoding chip, and achieving the technical effect that the preview screen can be displayed relatively smoothly and clearly, thereby solving the technical problem that the encoding chip is under too much pressure to process data due to the related technology processing a large number of input source signals in the encoding chip, which leads to freezes in the preview screen and reduced image quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 1 is a flow chart of a method for displaying a preview screen according to an embodiment of the present application;

[0018] Figure 2 This is a structural diagram of a system for displaying a preview screen according to the present application;

[0019] Figure 3 This is a hardware link block diagram of an input source pre-monitoring implementation in an optional embodiment of the present application;

[0020] Figure 4 It is a structural diagram of a device for displaying a preview screen according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings 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 in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] According to an embodiment of the present application, an embodiment of a method for displaying a preview screen is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] Figure 1 The method for displaying the preview screen according to the embodiment of the present application is as follows: Figure 1 As shown, the method includes the following steps:

[0025] Step S102, collecting multiple input source signals, wherein the input source signals include information of image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner;

[0026] Step S104, determining a first target resolution according to the number of channels of the collected input source signals;

[0027] Step S106, compressing the image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data;

[0028] Step S108, based on multiple first target resolutions and the number of paths, determining the second target resolution of the preview screen obtained by splicing multiple image data, so as to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution.

[0029] In the method for displaying a preview screen, first, multiple input source signals can be collected, wherein the input source signals include: information of image data to be displayed, and the input source signals correspond to the image data one-to-one; and a first target resolution is determined according to the number of channels of the collected input source signals, and then the image data corresponding to the multiple input source signals are compressed according to the first target resolution to obtain multiple image data; finally, a second target resolution of the preview screen obtained by splicing the multiple image data is determined based on the multiple first target resolutions and the number of channels, so as to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution, thereby achieving the purpose of dynamically adjusting the resolution of the image corresponding to the input source signal and the resolution of the preview screen formed by splicing the various input source signals based on the number of input source channels, thereby avoiding directly processing a large number of input source signals in the encoding chip, and achieving the technical effect that the preview screen can be displayed relatively smoothly and clearly, thereby solving the technical problem that the encoding chip is under excessive pressure to process data due to the related technology of processing a large number of input source signals, thereby causing the preview screen to freeze and the image quality to decline.

[0030] In some optional embodiments of the present application, the first target resolution includes: a first image resolution and a second image resolution. It should be noted that the first image resolution is greater than the second image resolution. It is easy to notice that the first target resolution corresponding to the image data after compression is determined according to the number of channels of the collected input source signals, including: when the number of channels of the collected input source signals is less than a preset threshold, the first target resolution after the image data is compressed is determined to be the first image resolution; when the number of channels of the collected input source signals is greater than the preset threshold, the second target resolution after the image data is compressed is determined to be the second image resolution. It should be noted that the above-mentioned preset threshold can be manually set by receiving the user's setting instructions, or it can be adjusted and set in real time by the system according to its own operating conditions.

[0031] In some optional embodiments of the present application, the second target resolution includes: a third image resolution and a fourth image resolution, wherein the third image resolution is greater than the fourth image resolution. The second target resolution corresponding to the preview screen formed by splicing the image data can be determined based on the first target resolution. Specifically, when it is determined that the first target resolution after the image data is compressed is the first image resolution, the second target resolution corresponding to the preview screen is determined to be the third image resolution; when it is determined that the first target resolution after the image data is compressed is the second image resolution, the second target resolution corresponding to the preview screen is determined to be the fourth image resolution.

[0032] In some embodiments of the present application, the input source signal also includes: the image data is at the target position in the preview screen, and the image data corresponding to the first target resolution is displayed on the preview screen corresponding to the second target resolution. The image data corresponding to the first target resolution can be displayed at the target position in the preview screen, wherein the target position corresponds to the image data one-to-one. For example, the image data corresponding to the first input source signal is A, and the position of the image data in the preview screen is the upper left, then the image data A is displayed at the upper left position of the preview screen. It should be noted that the above-mentioned image data includes but is not limited to: video and pictures.

[0033] In some embodiments of the present application, after determining the second target resolution of the preview screen obtained by splicing multiple image data based on multiple first target resolutions and the number of paths, a first operation instruction of the target object can be received, at least one first target image data in the preview screen can be selected, and then a second operation instruction of the target object can be received. It should be noted that the second operation instruction is used to instruct the first target image data to be enlarged or reduced according to a predetermined ratio. According to the second operation instruction, the first target image data corresponding to the first target resolution is enlarged or reduced according to the predetermined ratio. For example, if user A needs to focus on viewing the video data in image B in the preview screen, the first operation instruction of user A can be received, image B can be selected, and then the image B can be enlarged by a predetermined ratio for viewing. It can be understood that since the resolution of the first target image data is not changed during the process of enlarging or reducing the first target image, it will not affect the overall resolution of the preview screen. Therefore, there is no need to adjust the resolution of other image data other than the first target image data selected by the target object.

[0034] In some optional embodiments of the present application, after determining the second target resolution of the preview screen obtained by stitching multiple image data based on multiple first target resolutions and paths, a third operation instruction of the target object can be received to select at least one second target image data in the preview screen, and a fourth operation instruction of the target object can be received to set the fifth image resolution of the second target screen. It should be noted that the fifth image resolution is greater than the first target resolution, so as to be used to display the second target image data corresponding to the fifth image resolution on the preview screen. It can be understood that, when the resolution of the preview screen is constant, the greater the resolution of the image data, the greater the clarity of the corresponding image screen, and the clearer and more delicate the image observed by the human eye. For example, if user B needs to view certain details of image data C in the preview screen, the third operation instruction of user B can be received, image data C corresponding to the third operation instruction can be selected, and a fourth operation instruction of user B can be received. It should be noted that the fourth operation instruction is used to set the fifth image resolution of image data C, adjust the current resolution of image data C to the seventh resolution set by user B, and display image data C so that user B can view certain image details of image data C.

[0035] It can be understood that before the preview screen displays the second target image data corresponding to the fifth image resolution, the first target resolution of other image data in the preview screen except the second target image data can be adjusted so that the second target resolution of the preview screen remains unchanged, that is, in order to ensure the high clarity of the C image data, the resolution of other image data can be temporarily lowered.

[0036] It is easy to notice that since enlarging or reducing an image does not affect the resolution of the image, in order to observe the data of a certain image more clearly, the resolution of the image can be increased first, and then the image can be enlarged.

[0037] Figure 2 It is a system for displaying a preview screen according to the present application, such as Figure 2 As shown, the system includes:

[0038] Input card 01 is configured to acquire multiple input source signals, determine a first target resolution based on the number of acquired input source signals, and compress image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data, wherein the input source signals include information about the image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner;

[0039] Auxiliary card 02, used to determine a second target resolution of a preview image obtained by splicing multiple image data based on multiple first target resolutions and channel numbers;

[0040] The multi-screen preview card 03 is used to send a preview screen corresponding to the second target resolution to the target encoding chip, so as to display image data corresponding to the first target resolution on the preview screen corresponding to the second target resolution.

[0041] In the system, an input card 01 is used to collect multiple input source signals, determine a first target resolution based on the number of channels of the collected input source signals, and compress image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data, wherein the input source signals include information of the image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner; an auxiliary card 02 is used to determine a second target resolution of a preview screen obtained by splicing the multiple image data based on the multiple first target resolutions and the number of channels; and a multi-screen preview card 03 is used to send a preview screen corresponding to the second target resolution to a target encoding chip, so as to display the image data corresponding to the first target resolution on the preview screen corresponding to the second target resolution. This achieves the purpose of dynamically adjusting the resolution of the image corresponding to the input source signal and the resolution of the preview screen formed by splicing the various input source signals based on the number of input source channels, thereby avoiding directly processing a large number of input source signals in the encoding chip, achieving the technical effect of displaying the preview screen more smoothly and clearly, and thus solving the technical problem that the encoding chip is overloaded with data processing pressure due to the related art of processing a large number of input source signals, thereby causing the preview screen to freeze and degrade in image quality.

[0042] It should be noted that the first target resolution includes: the first image resolution and the second image resolution. It should be noted that the first image resolution is greater than the second image resolution. It is easy to notice that the first target resolution corresponding to the image data after compression is determined according to the number of input source signals collected, including: when the number of input source signals collected is less than the preset threshold, the first target resolution after the image data is compressed is determined to be the first image resolution; when the number of input source signals collected is greater than the preset threshold, the second target resolution after the image data is compressed is determined to be the second image resolution. It should be noted that the above-mentioned preset threshold can be manually set by receiving the user's setting instructions, or it can be adjusted in real time by the system according to its own operating conditions.

[0043] In some optional embodiments of the present application, the second target resolution includes: a third image resolution and a fourth image resolution, wherein the third image resolution is greater than the fourth image resolution. The second target resolution corresponding to the preview screen formed by splicing the image data can be determined based on the first target resolution. Specifically, when it is determined that the first target resolution after the image data is compressed is the first image resolution, the second target resolution corresponding to the preview screen is determined to be the third image resolution; when it is determined that the first target resolution after the image data is compressed is the second image resolution, the second target resolution corresponding to the preview screen is determined to be the fourth image resolution.

[0044] Figure 3 This is a hardware link diagram of an input source pre-monitoring implementation in an optional embodiment of the present application, such as Figure 3 As shown, the link diagram includes: input card 01 (Input card), auxiliary card 02 (Aux card, full name Auxiliary card) and multi-screen preview card 03 (Mvr card, full name Multi-screen-preview).

[0045] Specifically, each input card supports four input sources, with a total of 30 input cards and 120 input sources. In input preview clear mode, each input card can compress the four input sources to 480x270 pixels, and then send the compressed input source information to the auxiliary card via each card's 100M Ethernet link. The auxiliary card then stitches the input source content of each interface into a 4Kx4K frame in sequence in the auxiliary card's DDR memory.

[0046] The data is then read from the DDR memory and transmitted to the multi-screen preview card via Serdes (high-speed serial transmission link). It should be noted that due to the upper limit of the transmission rate of Serdes, if a 4Kx4K frame is transmitted, the video frame rate can only reach about 8 frames. The multi-screen preview card can transmit the received input preview frame to the encoding chip through the BT1120 video interface. After the encoding chip encodes and compresses the input preview frame, it can be transmitted to the switch network via the Gigabit network (Giga out).

[0047] However, if the number of input sources is large, for example, if 120 input sources need to be pre-monitored, the HiSilicon encoding chip will receive 120 480x270 input source images. However, due to its limited compression encoding capabilities, the image quality after encoding will be severely degraded and the frame rate will drop significantly, resulting in severe image freezes and mosaics.

[0048] If you switch to the input source smooth mode, that is, the input card first compresses the preview screen of each input source to a size of 240x135, and then transmits it to the auxiliary card in sequence, the auxiliary card will then receive the 120 input source preview screens and stitch them into a 4kx2k frame in the auxiliary card's DDR memory in sequence, and then read them from its memory and transmit them to the multi-screen preview card via SERDE (the frame rate can reach about 30 frames at this time). The multi-screen preview card will then transmit the received input preview screen to the HiSilicon encoding chip via the BT1120 interface. The encoding pressure on the HiSilicon chip will be much smaller at this time, and the encoded output image will be smooth and without obvious mosaics. It should be noted that the processor types of the above-mentioned input card, auxiliary card, and multi-screen preview card include but are not limited to: programmable logic array FPGA.

[0049] It can be understood that in this application, the two modes can be switched dynamically according to the number of input sources that need to be pre-monitored, that is, the clear mode is used when there are fewer input sources, and the smooth mode is used when there are more input sources, so as to maximize the display of a better input pre-monitoring effect.

[0050] Figure 4 A device for displaying a preview screen according to an embodiment of the present application is provided. Figure 4 As shown, the device includes:

[0051] The acquisition module 40 is used to acquire multiple input source signals, wherein the input source signals include information of image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner;

[0052] A determination module 42 is configured to determine a first target resolution according to the number of channels of the collected input source signals;

[0053] A compression module 44 is configured to compress the image data corresponding to the multiple input source signals according to a first target resolution to obtain a plurality of first image data;

[0054] The stitching module 46 is used to determine the second target resolution of the preview screen obtained by stitching multiple first image data based on multiple first target resolutions and the number of paths, so as to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution.

[0055] In the device, an acquisition module 40 is used to acquire multiple input source signals, wherein the input source signals include information about image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner. A determination module 42 is used to determine a first target resolution based on the number of input source signals acquired. A compression module 44 is used to compress the image data corresponding to the multiple input source signals according to the first target resolution to obtain a plurality of first image data. A splicing module 46 is used to determine a second target resolution of a preview screen obtained by splicing the plurality of first image data based on the plurality of first target resolutions and the number of channels, so as to display the preview screen according to the second target resolution. The resolution of each image data in each preview screen is the first target resolution, thereby achieving the purpose of dynamically adjusting the resolution of the image corresponding to the input source signal and the resolution of the preview screen formed by splicing the input source signals based on the number of input source channels. This avoids directly processing a large number of input source signals in the encoding chip, achieving the technical effect of displaying the preview screen more smoothly and clearly, and thus solving the technical problem that the encoding chip in the related art, which causes excessive data processing pressure on the encoding chip due to data processing of a large number of input source signals, thereby causing preview screen freezes and reduced image quality.

[0056] It should be noted that the first target resolution includes: the first image resolution and the second image resolution. It should be noted that the first image resolution is greater than the second image resolution. It is easy to notice that the first target resolution corresponding to the image data after compression is determined according to the number of input source signals collected, including: when the number of input source signals collected is less than the preset threshold, the first target resolution after the image data is compressed is determined to be the first image resolution; when the number of input source signals collected is greater than the preset threshold, the second target resolution after the image data is compressed is determined to be the second image resolution. It should be noted that the above-mentioned preset threshold can be manually set by receiving the user's setting instructions, or it can be adjusted in real time by the system according to its own operating conditions.

[0057] In some optional embodiments of the present application, the second target resolution includes: a third image resolution and a fourth image resolution, wherein the third image resolution is greater than the fourth image resolution. The second target resolution corresponding to the preview screen formed by splicing the image data can be determined based on the first target resolution. Specifically, when it is determined that the first target resolution after the image data is compressed is the first image resolution, the second target resolution corresponding to the preview screen is determined to be the third image resolution; when it is determined that the first target resolution after the image data is compressed is the second image resolution, the second target resolution corresponding to the preview screen is determined to be the fourth image resolution.

[0058] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, which includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any method of displaying a preview screen.

[0059] Specifically, the above-mentioned storage medium is used to store program instructions for executing the following functions to achieve the following functions:

[0060] Acquire multiple input source signals, wherein the input source signals include: information of image data to be displayed, and the input source signals correspond one-to-one to the image data; determine a first target resolution based on the number of acquired input source signals; compress the image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple first image data; determine a second target resolution of a preview screen obtained by splicing the multiple first image data based on the multiple first target resolutions and the number of channels, and display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution.

[0061] According to another aspect of an embodiment of the present application, a processor is further provided, which is used to run a program, wherein any one of the methods for displaying a preview screen is executed when the program is running.

[0062] Specifically, the processor is used to call program instructions in the memory to implement the following functions:

[0063] Acquire multiple input source signals, wherein the input source signals include: information of image data to be displayed, and the input source signals correspond one-to-one to the image data; determine a first target resolution based on the number of acquired input source signals; compress the image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple first image data; determine a second target resolution of a preview screen obtained by splicing the multiple first image data based on the multiple first target resolutions and the number of channels, and display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution.

[0064] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0065] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0066] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0067] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0068] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0069] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0070] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for displaying a preview screen, characterized in that: include: Collecting multiple input source signals, wherein the input source signals include information of image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner; Determining a first target resolution according to the number of channels of the collected input source signals; compressing the image data corresponding to the multiple input source signals according to a first target resolution to obtain a plurality of image data; Based on the multiple first target resolutions and the number of paths, a second target resolution of the preview screen obtained by splicing the multiple image data is determined to display the preview screen according to the second target resolution, wherein the resolution of each image data in each preview screen is the first target resolution, and the number of paths is used to dynamically adjust the first target resolution and the second target resolution.

2. The method according to claim 1, characterized in that Determining a first target resolution corresponding to the compressed image data according to the number of channels of the collected input source signals includes: In a case where the number of channels of the collected input source signals is less than a preset threshold, determining the first target resolution after the image data is compressed as the first image resolution; When the number of channels of the collected input source signals is greater than a preset threshold, the first target resolution after the image data is compressed is determined to be a second image resolution; wherein the first image resolution is greater than the second image resolution.

3. The method according to claim 2, characterized in that Determining a second target resolution corresponding to a preview screen formed by splicing the image data based on the first target resolution includes: When it is determined that the first target resolution after the image data is compressed is the first image resolution, the second target resolution corresponding to the preview screen is determined to be the third image resolution; When it is determined that the first target resolution after compression of the image data is the second image resolution, the second target resolution corresponding to the preview screen is determined to be the fourth image resolution; wherein the third image resolution is greater than the fourth image resolution.

4. The method according to claim 1, wherein The input source signal further includes: the image data at the target position in the preview screen, and the image data corresponding to the first target resolution is displayed on the preview screen corresponding to the second target resolution, including: The image data corresponding to the first target resolution is displayed at a target position on the preview screen, wherein the target position corresponds to the image data in a one-to-one manner.

5. The method according to claim 1, wherein After determining a second target resolution of the preview image obtained by splicing the plurality of image data based on the plurality of first target resolutions and the number of paths, the method further includes: receiving a first operation instruction of a target object and selecting at least one first target image data in the preview screen; receiving a second operation instruction of a target object, wherein the second operation instruction is used to instruct to enlarge or reduce the first target image data according to a predetermined ratio; According to the second operation instruction, the first target image data corresponding to the first target resolution is enlarged or reduced according to the predetermined ratio.

6. The method according to claim 1, wherein After determining a second target resolution of the preview image obtained by splicing the plurality of image data based on the plurality of first target resolutions and the number of paths, the method further includes: receiving a third operation instruction of the target object and selecting at least one second target image data in the preview screen; Receive a fourth operation instruction of the target object, set a fifth image resolution of the second target screen, wherein the fifth image resolution is greater than the first target resolution, so as to display the second target image data corresponding to the fifth image resolution on the preview screen.

7. The method according to claim 6, characterized in that Before the preview screen displays the second target image data corresponding to the fifth image resolution, the method further includes: The first target resolution of other image data in the preview screen except the second target image data is adjusted so that the second target resolution of the preview screen remains unchanged.

8. A system for displaying a preview screen, characterized in that: include: An input card is configured to collect multiple input source signals, determine a first target resolution based on the number of collected input source signals, and compress image data corresponding to the multiple input source signals according to the first target resolution to obtain multiple image data, wherein the input source signals include information of image data to be displayed, and the input source signals correspond to the image data in a one-to-one manner; An auxiliary card, configured to determine, based on the multiple first target resolutions and the number of channels, a second target resolution of a preview image obtained by splicing the multiple image data; A multi-screen preview card is used to send the preview screen corresponding to the second target resolution to the target encoding chip, so as to display the image data corresponding to the first target resolution on the preview screen corresponding to the second target resolution, and the number of channels is used to dynamically adjust the first target resolution and the second target resolution.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the method for displaying a preview screen according to any one of claims 1 to 7.

10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for displaying a preview screen according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Image pre-monitoring method, image pre-monitoring device and image pre-monitoring system

    CN103533300A

  • Video stream display method, video stream sending method, video stream display device, video stream sending device, terminal, server and medium

    CN112788276A