Video processing method, system, terminal and storage medium based on assembly technology
By obtaining and verifying the feedback information of the display device, automatically distributing video data solves the efficiency of manual verification and distribution of splicing displays, and realizes efficient display of video data.
Patent Information
- Application Number
- CN202410337541.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-23
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-03-23
AI Technical Summary
When connecting different splicing monitors, manual verification of video output interfaces and distribution processing tasks one by one is time-consuming and labor-intensive, and lacks efficient automation solutions.
By obtaining feedback information from the display device, including quantity, splicing relationship and resolution, checking the matching with the video processing task, and recalling the video data according to the index number, processing it and sending it to each display device to realize automated video Data distribution.
It realizes efficient and automatic distribution of video data, reduces manual verification and processing time, and improves the display efficiency of splicing displays.
Smart Images

Figure CN118138697B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video processing technology, and in particular to a video processing method, system, terminal and storage medium based on assembly technology. Background Art
[0002] With the development of electronic technology, traditional large-screen displays have gradually been replaced by more flexible spliced displays.
[0003] In many scenarios, the display device used to play videos is not an independent device, but a combination of multiple small displays. The connection methods of these displays are also varied, and the number and layout of connections are not exactly the same. It is time-consuming and laborious to manually check the display corresponding to each video output interface one by one, and then assign the corresponding processing tasks to each display. Summary of the invention
[0004] In order to solve the problem of time-consuming and labor-intensive manual verification of the layout and quantity of spliced displays when connecting different spliced displays, the present application provides a video processing method, system, terminal and storage medium based on splicing technology.
[0005] In a first aspect of the present application, a video processing method based on assembling technology is provided, comprising:
[0006] Obtaining video processing tasks, video data and feedback information of connected display devices; the feedback information of the display devices includes the number of display devices, splicing relationship and resolution; the video processing tasks include the number of display devices, layout and index number of corresponding video data;
[0007] Verifying whether the number and splicing relationship of display devices in the feedback information of the display device match the number and layout of devices in the video processing task;
[0008] After the verification is passed, the corresponding video data is retrieved according to the index number;
[0009] Processing the video data according to the number, splicing relationship and resolution of the display devices to obtain a processed result video;
[0010] The result videos are sent to corresponding display devices respectively.
[0011] By adopting the above technical solution, the feedback information of the display device is first obtained to obtain the splicing relationship between the display devices, and then it is determined whether the video processing task matches the current splicing display device. Finally, the video data is processed and sent to each display device under the splicing display device respectively, so as to realize the display of video data.
[0012] In a possible implementation, obtaining the video processing task, the video data, and the feedback information of the connected display device includes:
[0013] Sending a verification request to the connected display device so that the connected display device returns feedback information;
[0014] Parse the feedback information to obtain the number, splicing relationship and resolution of display devices; or,
[0015] The image returned by the display device is obtained, and the splicing relationship of the display device is determined according to the image returned by the display device.
[0016] In a possible implementation, the feedback information is parsed to obtain the number, splicing relationship, and resolution of display devices, including:
[0017] Extracting the feedback time of each display device in the feedback information;
[0018] Determining a connection order of the feedback devices according to the feedback times of the feedback devices;
[0019] When the feedback times of the display devices differ by the same time interval, it is determined that the corresponding display devices are connected in series;
[0020] Then, according to the preset arrangement rules corresponding to the series connection, the splicing relationship of the display devices is obtained.
[0021] In a possible implementation, obtaining an image returned by a display device and determining a splicing relationship of the display devices according to the image returned by the display device include:
[0022] sending a verification request to the display devices so that each display device displays a digital identification;
[0023] The image returned by the display device is obtained, and the splicing relationship of the display device is determined according to the digital identifier displayed by the display device.
[0024] In a possible implementation, checking whether the number and splicing relationship of display devices in the feedback information of the display device matches the number and layout of devices in the video processing task includes:
[0025] First, according to the number and splicing relationship of the display devices, a simulated image after the display devices are spliced is obtained;
[0026] determining an actual layout of the display device according to the simulated image;
[0027] It is determined whether the actual layout and quantity of the display devices match the layout and quantity in the video processing task.
[0028] In a possible implementation, generating a simulated image of the display device according to the number and splicing relationship of the display devices includes:
[0029] According to the number of the display devices, drawing a plurality of display device images in the modeling software;
[0030] The images of the display devices are spliced according to the splicing relationship of the display devices to obtain a simulated image of the display devices.
[0031] In a possible implementation, the video data is processed respectively according to the number, splicing relationship and resolution of the display devices to obtain a processed result video, including:
[0032] Scaling the video data according to the resolution of the display device;
[0033] According to the distribution of display devices in the simulated image, the video data is cut to obtain a plurality of sub-video data, each of which corresponds to a display device.
[0034] In a second aspect of the present application, a video processing system based on assembling technology is provided, comprising:
[0035] An acquisition module, used to acquire video processing tasks, video data and feedback information of connected display devices; the feedback information of the display devices includes the number of display devices, splicing relationship and resolution; the video processing tasks include the number of display devices, layout and index number of corresponding video data;
[0036] A verification module, used to verify whether the number and splicing relationship of display devices in the feedback information of the display device match the number and layout of devices in the video processing task;
[0037] A matching module, used to retrieve corresponding video data according to the index number after verification;
[0038] The processing module is used to process the video data according to the number, splicing relationship and resolution of the display devices to obtain the processed result video; and send the result video to the corresponding display devices respectively.
[0039] In a third aspect of the present application, a terminal is provided, having the feature of video processing.
[0040] The third application objective of this application is achieved through the following technical solutions:
[0041] A terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned video processing method based on splicing technology.
[0042] In a fourth aspect of the present application, a computer storage medium is provided, which can store corresponding programs and has the characteristic of facilitating video processing.
[0043] The fourth application objective of this application is achieved through the following technical solutions:
[0044] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned video processing methods based on splicing technology.
[0045] To summarize, the present application includes the following beneficial technical effects: first, by obtaining feedback information from the display device, the splicing relationship between the display devices is obtained, then it is determined whether the video processing task matches the current splicing display device, and finally the video data is processed and sent to each display device under the splicing display device respectively, thereby realizing the display of the video data. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flowchart of a video processing method based on assembly technology according to one embodiment of the present application.
[0047] Figure 2 It is a schematic diagram of a video processing system based on assembly technology according to one embodiment of the present application.
[0048] Figure 3 It is a structural diagram of a terminal according to an embodiment of the present application.
[0049] Explanation of the accompanying drawings: 201, acquisition module; 202, verification module; 203, matching module; 204, processing module; 301, CPU; 302, ROM; 303, RAM; 304, bus; 305, I / O interface; 306, input part; 307, output part; 308, storage part; 309, communication part; 310, drive; 311, removable medium. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0052] The following is combined with Figures 1 to 3 This application is described in further detail.
[0053] In order to accurately distribute video data to each display when connecting spliced displays, the present application provides a video processing method based on splicing technology.
[0054] Reference Figure 1 , a video processing method based on assembling technology, comprising the following steps:
[0055] S101: Obtaining video processing tasks, video data, and feedback information of a connected display device.
[0056] The feedback information of the display device includes the number of display devices, the splicing relationship and the resolution. The splicing relationship is the actual splicing status of the display device. For example, a display device is a spliced display screen, which is composed of 16 small display screens to form a large display screen of 4×4 scale. When these display screens play a video together, the video data to be played at different positions needs to be allocated to each small display screen respectively. In this case, multiple small display screens often need to be connected to the video processing device via a bus, or there is a connection relationship between these small display screens, or each small display screen is directly connected to the video processing device. Different processing solutions are required for different connection situations.
[0057] The video processing task is directly input by the user into the video processing device in the embodiment of the present application. The video processing task is to send one or more video data to one or more designated display devices for playback. The designated display device mentioned above can be a display device or a whole device spliced into multiple display devices. The video processing task includes the number and layout of the required display devices and the index number of the corresponding video data.
[0058] First, it is necessary to obtain the connected display device. When the display device is connected to the video processing device, a verification request is sent to the connected display device to obtain the device information of the connected display device. And according to the device model in the device information, the resolution of the corresponding device model is retrieved.
[0059] There are two ways to obtain the splicing relationship of display devices. The first is to determine whether a set of feedback information contains multiple device information. If there are multiple device information in a set of feedback information, the corresponding display devices have a splicing relationship. At this time, the feedback information may contain the splicing relationship of the display devices. For example, in a set of spliced display devices, multiple display devices are connected to a hub in sequence or multiple display devices are connected in series. In the scenario where multiple display devices are connected in series, the splicing relationship of the display devices can be obtained through a preset identification method. In one implementation scenario,
[0060] In the second case, there is only one display device in a set of feedback information, and there are multiple sets of feedback information. When using a hub and in the second case, it is necessary to obtain additional images returned by the display device, and the display device returns images that require other cameras to aim at the display device to shoot. When obtaining feedback information, a digital identifier is added to the verification instruction. The display that receives the corresponding digital identifier will display the corresponding digital identifier, and then the camera device will collect the data and process it to obtain the splicing relationship between the displays.
[0061] S102: Check whether the feedback information of the display device matches the video processing task.
[0062] After obtaining the feedback information of the display devices, a simulated image of the display devices after splicing is obtained according to the number of display devices and the splicing relationship. The simulated image is a plane model that simulates the actual splicing state of the display devices. The actual splicing state of the display devices, that is, the actual layout of the display devices, can be intuitively analyzed through the simulated image.
[0063] The layout and quantity of display devices also exist in the video processing task. By comparing the actual layout and quantity of display devices, it is determined whether the two are consistent. If they are consistent, the verification passes and the next step of video processing and allocation is carried out.
[0064] S103: Process the video data respectively according to the number, splicing relationship and resolution of the display devices to obtain a processed result video.
[0065] The video data to be played is scaled according to the resolution of the display device, so that the video data can fit the size of the spliced display screen and the video data is displayed clearly. Then, according to the distribution and number of display devices in the simulated image, the video data to be played is cut to obtain multiple sub-video data, where each sub-video data corresponds to a small display.
[0066] The present application provides a video processing system based on assembly technology, which adopts the following technical solutions:
[0067] Reference Figure 2 , a video processing system based on assembling technology, comprising:
[0068] The acquisition module 201 is used to acquire video processing tasks, video data and feedback information of connected display devices. The feedback information of the display devices includes the number, splicing relationship and resolution of the display devices. The video processing tasks include the number, layout and index number of the corresponding video data of the display devices.
[0069] The verification module 202 is used to verify whether the number and splicing relationship of display devices in the feedback information of the display devices match the number and layout of devices in the video processing task.
[0070] The matching module 203 is used to retrieve the corresponding video data according to the index number after the verification is passed.
[0071] The processing module 204 is used to process the video data according to the number of display devices, the splicing relationship and the resolution to obtain the processed result video, and finally send the result video to the corresponding display device.
[0072] The video processing system based on the assembly technology in this application is concentrated in a video processing device, which is a motorized box. When the front cover is opened, there is an embedded screen, a control keyboard is set on the cover, and a communication interface and a power button are at the back. A back panel is fixed inside the motorized box, and various functional modules are connected to the back panel, and each functional module can be installed separately.
[0073] Figure 3 A schematic diagram of the structure of a terminal suitable for implementing an embodiment of the present application is shown.
[0074] like Figure 3 As shown, the terminal includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part to the random access memory (RAM) 303. Various programs and data required for system operation are also stored in the RAM 303. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through a bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.
[0075] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0076] In particular, according to the embodiments of the present application, the above reference process Figure 1 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0077] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, register file (RF), etc., or any suitable combination of the above.
[0078] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module 201, a verification module 202, a matching module 203 and a processing module 204. The names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0080] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the terminal described in the above embodiment; or may exist independently and not be assembled into the terminal. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the video processing method based on the splicing technology described in the present application.
[0081] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present application (but not limited to) by each other to form a technical solution.
Claims
1. A video processing method based on assembly technology, characterized in that: include: Obtaining video processing tasks, video data and feedback information of connected display devices; the feedback information of the display devices includes the number, splicing relationship and resolution of the display devices; the video processing tasks include the number, layout and index number of the corresponding video data of the display devices; Verifying whether the number and splicing relationship of display devices in the feedback information of the display device match the number and layout of devices in the video processing task; After the verification is passed, the corresponding video data is retrieved according to the index number; Processing the video data according to the number, splicing relationship and resolution of the display devices to obtain a processed result video; Sending the result videos to corresponding display devices respectively; Get feedback about video processing tasks, video data, and connected display devices, including: Sending a verification request to the connected display device so that the connected display device returns feedback information; Parse the feedback information to obtain the number, splicing relationship and resolution of display devices; Parse the feedback information to obtain the number, splicing relationship and resolution of display devices, including: Extracting the feedback time of each display device in the feedback information; Determining a connection order of the display devices according to feedback times of the display devices; When the feedback times of the display devices differ by the same time interval, it is determined that the corresponding display devices are connected in series; Then, according to the preset arrangement rules corresponding to the series connection, the splicing relationship of the display devices is obtained; Verifying whether the number and splicing relationship of display devices in the feedback information of the display device matches the number and layout of devices in the video processing task includes: First, according to the number and splicing relationship of the display devices, a simulated image after the display devices are spliced is obtained; determining an actual layout of the display device according to the simulated image; It is determined whether the actual layout and quantity of the display devices match the layout and quantity in the video processing task.
2. The video processing method based on assembling technology according to claim 1, characterized in that: Generating a simulated image of the display device according to the number and splicing relationship of the display devices, including: According to the number of the display devices, drawing a plurality of display device images in the modeling software; The images of the display devices are spliced according to the splicing relationship of the display devices to obtain a simulated image of the display devices.
3. The video processing method based on assembling technology according to claim 2 is characterized in that: According to the number, splicing relationship and resolution of the display devices, the video data are processed respectively to obtain a processed result video, including: Scaling the video data according to the resolution of the display device; According to the distribution and number of display devices in the simulated image, the video data is cut to obtain a plurality of sub-video data, each of which corresponds to a display device.
4. A video processing system based on assembly technology, characterized in that: include: An acquisition module (201) is used to acquire video processing tasks, video data and feedback information of connected display devices; the feedback information of the display devices includes the number of display devices, splicing relationship and resolution; the video processing tasks include the number of display devices, layout and index number of corresponding video data; Get feedback about video processing tasks, video data, and connected display devices, including: Sending a verification request to the connected display device so that the connected display device returns feedback information; Parse the feedback information to obtain the number, splicing relationship and resolution of display devices; Parse the feedback information to obtain the number, splicing relationship and resolution of display devices, including: Extracting the feedback time of each display device in the feedback information; Determining a connection order of the display devices according to feedback times of the display devices; When the feedback times of the display devices differ by the same time interval, it is determined that the corresponding display devices are connected in series; Then, according to the preset arrangement rules corresponding to the series connection, the splicing relationship of the display devices is obtained; The verification module (202) is used to verify whether the number and splicing relationship of the display devices in the feedback information of the display device matches the number and layout of the devices in the video processing task, specifically including: First, according to the number and splicing relationship of the display devices, a simulated image after the display devices are spliced is obtained; determining an actual layout of the display device according to the simulated image; Determining whether the actual layout and quantity of the display devices match the layout and quantity in the video processing task; A matching module (203) is used to retrieve corresponding video data according to the index number after verification; The processing module (204) is used to process the video data according to the number, splicing relationship and resolution of the display devices to obtain a processed result video; and send the result video to the corresponding display device respectively.
5. A terminal comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
