Multi-channel video processing method and device

By segmenting and storing multi-channel video streams and generating storage indexes, the problems of complexity and insufficient quality of multi-channel video recording are solved, and efficient and stable video file processing is achieved.

CN120692385APending Publication Date: 2025-09-23SIEMENS HEALTHINEERS DIGITAL TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510979201.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

Existing multi-channel video recording methods have problems such as high recording complexity, low quality and insufficient flexibility when processing multiple video sources, making it difficult to efficiently generate high-quality video files.

Method used

Multiple video streams are processed in a segmented storage manner to generate a video storage index indicating the correspondence between the video streams and the segmented storage results, and a target video is generated based on this.

Benefits of technology

It improves the stability and flexibility of the video recording process, reduces the risk of data loss, simplifies the subsequent processing process, and realizes efficient video file management and retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120692385A_ABST
    Figure CN120692385A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-channel video processing method and device, and belongs to the technical field of video processing. The multi-channel video processing method comprises the steps that any one of a plurality of video streams is stored in a segmented mode in a predetermined segmentation mode to obtain a plurality of segmented storage results corresponding to the video stream, the plurality of video streams are respectively from a plurality of video acquisition channels, and the plurality of video acquisition channels are used for generating and / or transmitting the plurality of video streams; generating a video storage index according to a plurality of segmented storage results respectively corresponding to the plurality of video streams, the video storage index being used for indicating a corresponding relationship between the plurality of video streams and the plurality of segmented storage results; and generating a target video based on the plurality of segmented storage results and the video storage index corresponding to the plurality of video streams. According to the method, the reliability and flexibility of video recording and subsequent processing processes can be improved, and finally a video file with higher quality is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video processing, and in particular to a multi-channel video processing method and device. Background Art

[0002] Currently, multi-channel video is used in more and more scenarios. Although there are many methods in the prior art to achieve multi-channel video recording and post-recording processing, these methods still have certain limitations.

[0003] With the increasing use of multi-channel videos, the complexity of video recording and storage has also increased. Especially when there are multiple video sources, how to efficiently record high-quality video files faces great challenges. Summary of the Invention

[0004] In view of this, according to the first aspect of the present disclosure, a multi-channel video processing method is proposed, including: segmenting and storing any one of a plurality of video streams in a predetermined segmentation manner to obtain a plurality of segmentation storage results corresponding to the video stream, the plurality of video streams respectively coming from a plurality of video acquisition channels, and the plurality of video acquisition channels being used to generate and / or transmit a plurality of video streams; generating a video storage index according to the plurality of segmentation storage results respectively corresponding to the plurality of video streams, the video storage index being used to indicate the correspondence between the plurality of video streams and the plurality of segmentation storage results; and generating a target video based on the plurality of segmentation storage results and the video storage index respectively corresponding to the plurality of video streams.

[0005] According to a second aspect of the present disclosure, a multi-channel video processing device is proposed, including: a first module, used to segment and store any one of a plurality of video streams in a predetermined segmentation manner to obtain a plurality of segmentation storage results corresponding to the video stream, wherein the plurality of video streams come from a plurality of video acquisition channels, respectively, and the plurality of video acquisition channels are used to generate and / or transmit a plurality of video streams; a second module, used to generate a video storage index based on the plurality of segmentation storage results respectively corresponding to the plurality of video streams, the video storage index being used to indicate a correspondence between the plurality of video streams and the plurality of segmentation storage results; and a third module, used to generate a target video based on the plurality of segmentation storage results and the video storage index respectively corresponding to the plurality of video streams.

[0006] According to one or more embodiments of the present disclosure, during the multi-channel video recording process, the video streams from different acquisition channels are segmented and stored into multiple segmented storage results, and storage indexes are established for these segmented storage results. This can improve the reliability and flexibility of the video recording and subsequent processing processes, and ultimately obtain higher quality video files. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that those skilled in the art can better understand the above and other features and advantages of the present invention. In the accompanying drawings:

[0008] Figure 1 4 is a flowchart of a multi-channel video processing method according to some embodiments of the present disclosure.

[0009] Figure 2 It is a schematic diagram of multiple segmented storage results according to some embodiments of the present disclosure.

[0010] Figure 3 The figure is a flowchart of obtaining multiple segmented storage results according to some embodiments of the present disclosure.

[0011] Figure 4 The figure is a flowchart of stopping video stream storage according to some embodiments of the present disclosure.

[0012] Figure 5 The present invention is a flowchart of generating a video storage index according to some embodiments of the present disclosure.

[0013] Figure 6 The figure is a flowchart of determining a video acquisition channel according to some embodiments of the present disclosure.

[0014] Figure 7 Schematic diagram of a video storage index according to some embodiments of the present disclosure.

[0015] Figure 8 The figure is a flowchart of encrypting and storing a target video according to some embodiments of the present disclosure.

[0016] Figure 9 is a schematic block diagram of a multi-channel video processing device according to some embodiments of the present disclosure.

[0017] Figure 10 is a schematic block diagram of a computing device according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings, in which the same reference numerals represent the same parts.

[0019] In this document, “illustrative” means “serving as an example, instance or illustration”, and any diagram or implementation described in this document as “illustrative” should not be interpreted as a more preferred or more advantageous technical solution.

[0020] To simplify the drawings, only the parts relevant to the present invention are schematically shown in each figure. They do not represent the actual structure of the product. In addition, to simplify the drawings and facilitate understanding, in some figures, only one of the components with the same structure or function is schematically shown or labeled.

[0021] In this article, "one" not only means "only one" but also "more than one". In this article, "first", "second", etc. are only used to distinguish one from another, and do not indicate their importance or order, or the premise of each other.

[0022] Currently, multi-channel video is used in more and more scenarios. Although there are many methods in the prior art to achieve multi-channel video recording and post-recording processing, these methods still have certain limitations.

[0023] For recording multi-channel videos, single-stream synthesis or separate independent recording methods are currently commonly used. Among them, single-stream synthesis combines multiple video streams from different video acquisition channels into a single video stream for recording, and records it as a single video file. However, this method cannot record each video stream independently, which limits the flexibility of post-processing or editing of individual video streams. The quality of the synthesized video file and the flexibility of subsequent modifications will also be limited. Separate independent recording uses independent recording for multiple video streams from different video acquisition channels, and records each video stream into a video file and stores it separately. These video files will be merged during post-processing. Although this method provides greater flexibility, it increases the complexity of the recording and processing stages.

[0024] With the increasing use of multi-channel videos, the complexity of video recording and storage has also increased. Especially when there are multiple video sources, how to efficiently record high-quality video files faces great challenges.

[0025] Therefore, the multi-channel video processing method disclosed herein can be used to segment and store each video stream from different video acquisition channels and generate corresponding video storage indexes, thereby increasing the stability of the video recording process and reducing the risk of data loss or corruption during recording. The target video obtained using this method can achieve efficient management and retrieval of video files, simplifying subsequent post-processing processes such as video processing.

[0026] Exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0027] The present disclosure provides a multi-channel video processing method. Figure 1The multi-channel video processing method 100 includes steps 110 to 130 .

[0028] Step 110 segments and stores any one of the multiple video streams in a predetermined segmentation manner to obtain multiple segmentation storage results corresponding to the video stream. The multiple video streams are respectively from multiple video acquisition channels. The multiple video acquisition channels are used to generate and / or transmit the multiple video streams.

[0029] Step 120: Generate a video storage index based on the multiple segment storage results corresponding to the multiple video streams. The video storage index is used to indicate the corresponding relationship between the multiple video streams and the multiple segment storage results.

[0030] Step 130: Generate a target video based on the multiple segment storage results and video storage indexes corresponding to the multiple video streams.

[0031] In embodiments of the present application, a video capture channel includes a device for generating and / or transmitting a video stream. Each video capture channel may include a video source, and video streams from different video capture channels correspond to different video sources. Multiple video streams may originate from different video capture channels, for example, video streams captured by different cameras, video streams displayed on different display devices, and so on. It should be understood that a video stream may include video images with a picture, or may only contain audio information, and this disclosure is not limited to this.

[0032] In step 110, for the recording process of each video stream, a segmented storage method is predetermined to store the video stream in segments. After the segmented storage, the video stream will obtain multiple segmented storage results, for example, multiple segmented storage video files can be obtained. Compared to continuously storing the video stream, that is, continuously recording the video stream and treating it as a continuous video file, storing the video stream in segments can increase the stability of the video recording process. Even if there is a problem in some time periods during the video recording process and it cannot be recorded normally, it will only affect one of the segmented storage results, and will not cause the entire video file to be unusable. This will reduce the risk of data loss or damage and improve reliability during long or complex multi-channel recording processes.

[0033] Figure 2 An example of multiple segment storage results corresponding to each video stream is shown in FIG. Figure 2As shown, video stream 1 and video stream 2 are video streams from different video capture channels. Video stream 1 is segmented and stored during the recording process, resulting in segmented storage results 11, 12, and 13. Video stream 2 is segmented and stored during the recording process, resulting in segmented storage results 21, 22, and 23. The specific process for obtaining these segmented storage results will be described in detail below.

[0034] In step 120, a video storage index is generated based on the segmented storage results of each video stream. The video storage index provides a correspondence between the video stream and the segmented storage results, ensuring that each segmented storage result is correctly associated with the video stream. Furthermore, the video storage index allows for rapid location of each segmented storage result during subsequent video processing, enabling encryption and packaging of specific segmented storage results, simplifying subsequent processing.

[0035] After obtaining the corresponding segmented storage results and video storage indexes for each video stream, the target video is generated, which is the composite video consisting of multiple video streams that is ultimately displayed to the user. By segmenting each video stream and establishing video storage indexes, the processing of multi-channel video can be simplified, efficiently handling the recording process involving a large number of video streams, and making the multi-channel video processing method applicable to a variety of video recording scenarios, with greater scalability.

[0036] In some embodiments, reference Figure 3 , step 110 includes steps 210 to 240.

[0037] For any of the multiple video streams:

[0038] Step 210 : Start storing the video stream at a first moment to obtain a segmented storage result corresponding to the first moment.

[0039] Step 220 : In response to the segment storage result corresponding to the first moment reaching a preset storage threshold, stop storing the video stream.

[0040] Step 230: Determine a second time according to the time when storage of the video stream stops.

[0041] Step 240 : Start storing the video stream at the second moment to obtain a segmented storage result corresponding to the second moment.

[0042] For segmented storage of each video stream, the video stream can be segmented based on the recording time. In one example, for a particular video stream, the moment when the user clicks "Start Recording" can be used as the first first moment of the video stream. Recording and storage of the video stream begins at this moment, resulting in a first segmented storage result. When the segmented storage result reaches a preset storage threshold, storage ceases, meaning that the video recording and storage process corresponding to the first first moment ends, resulting in a complete first segmented storage result. Based on the moment when storage ceases, a second moment is determined, i.e., the storage start time for the next segmented storage moment. For example, the moment when storage of the video stream ceases can be determined as the second moment. Recording and storage of the video stream resumes at the second moment, generating the next segmented storage result. This process continues until the segmented storage result reaches the preset storage threshold, at which point storage ceases, resulting in a segmented storage result corresponding to the second moment. This second moment is then used as the first moment in step 210, and the next second moment is determined. Recording and storage of the video stream continues, and steps 210 to 240 are repeated continuously, resulting in multiple segmented storage results starting at different moments until recording is complete.

[0043] Different storage thresholds can be set for different video streams. The storage thresholds corresponding to each video stream can be the same or different. In other words, for different video streams, the recording durations of the corresponding segmented storage results (e.g., the time difference between the second moment and the first moment) can be the same or different, and this disclosure does not limit this.

[0044] In some embodiments, reference Figure 4 , step 220 includes step 310 or step 320.

[0045] Step 310 : In response to the storage duration of the segmented storage result corresponding to the first moment reaching a preset duration threshold, stop storing the video stream.

[0046] Step 320 : In response to the storage resource usage of the segmented storage result corresponding to the first moment reaching a preset resource threshold, stop storing the video stream.

[0047] The storage threshold can be set flexibly according to the usage scenario. In one example, it can be determined based on the length of the recording time. For example, when the storage duration of the segmented storage result, that is, the video duration of the obtained video file, reaches a preset duration threshold (for example, 30 seconds, 1 minute, etc.), the video stream is stopped from being stored, and a complete segmented storage result is obtained. In another example, it can also be determined based on the size of the resources occupied when recording the video. For example, when the processing resources used by the processor of the recording device to store the video stream reach a preset resource threshold, that is, when the recording processing of the video stream reaches a certain processing volume, the video stream is stopped from being stored, and a complete segmented storage result is obtained. By reasonably setting the storage threshold, flexible storage of each video stream can be achieved, thereby improving the flexibility and reliability of the storage process.

[0048] In some embodiments, reference Figure 5 , step 120 includes steps 410 to 430.

[0049] For any of the multiple video streams:

[0050] Step 410: Generate an index relationship between the video stream and the corresponding multiple segment storage results according to the multiple segment storage results corresponding to the video stream.

[0051] Step 420: Determine the video capture channel corresponding to the video stream.

[0052] Step 430: Generate an index relationship between the video stream and the corresponding video acquisition channel.

[0053] As described above, each video stream is stored as a plurality of segmented storage results. In step 410, an index relationship is established between each video stream and the segmented storage results, that is, it is determined which segmented storage results each video stream corresponds to.

[0054] In steps 420 and 430, the video capture channels corresponding to the respective video streams are determined, and index relationships are established between the respective video streams and the video capture channels. Since different video capture channels correspond to different video sources, a corresponding relationship between the respective video streams and the corresponding video sources can be obtained.

[0055] In some embodiments, reference Figure 6 , step 420 includes steps 510 to 520.

[0056] Step 510: Determine user information corresponding to the video stream. The user information is used to indicate the user who generated the video stream.

[0057] Step 520: Determine recording information corresponding to the user information. The recording information is used to indicate the recording device that generates the video stream.

[0058] Since the video capture channel may also involve information about the user generating the video stream and the recording device, when determining the correspondence between the video stream and the video capture channel, the correspondence between the video stream and the user and the recording device can be further determined.

[0059] In step 510, the user information corresponding to each video stream is determined, that is, the user generating the video stream is determined. In some embodiments, a user may correspond to one video stream or multiple video streams. By establishing a video storage index, it is possible to determine which user each video stream corresponds to, and it is also possible to determine which video streams a particular user corresponds to.

[0060] In step 520, the recording information corresponding to each user is determined, namely, each video stream and the corresponding recording segment of each user, including the recording device used by the user to generate the video stream. In some embodiments, a recording segment or recording device may correspond to one user or multiple users. By establishing a video storage index, it is possible to determine which recording segment or recording device corresponds to each user, and it is also possible to determine which users a recording segment or recording device corresponds to.

[0061] Figure 7 An example of a video storage index is shown in FIG. Figure 7 As shown, there are a total of 8 video streams from different video acquisition channels (including video stream 1, video stream 2, video stream 3, video stream 4, video stream 5, video stream 6, video stream 7, and video stream 8). Video stream 1 is stored as segmented storage results 11 and 12, video stream 2 is stored as segmented storage results 21 and 22, and video stream 3 is stored as segmented storage results 31, 32, and 33. Video streams 4 to 8 are each stored as a corresponding segmented storage result (not shown). It should be understood that some of the video streams may not be stored. For example, video stream 5 may not be stored, that is, there is no segmented storage result corresponding to video stream 5.

[0062] like Figure 7As shown, the user corresponding to video streams 1, 2, and 3 is user 10, the user corresponding to video streams 4, 5, and 6 is user 20, and the user corresponding to video streams 7 and 8 is user 30. Recording information 1000, which can also be understood as a recording segment or recording device, includes video streams 1, 2, and 3 generated by user 10. Recording information 2000 includes video streams 4, 5, and 6 generated by user 20, and video streams 7 and 8 generated by user 30.

[0063] In the video storage index, the index relationship between the recording information of the generated video stream - user - video stream - segmented storage results can be obtained. Therefore, in the subsequent processing of the video, each segmented storage result can be quickly located, and encryption, packaging and other processes for specific segmented storage results can be realized, simplifying the subsequent processing flow.

[0064] In some embodiments, step 120 further includes: determining a first starting time of any one of the multiple video streams. The first starting time indicates a time when the segmented storage of the video stream begins.

[0065] In this example, the first starting time may be the time at which the segmented storage of the video stream begins when the user clicks "Start Recording." Because each video stream may experience a certain delay during transmission, even though the time at which the user clicks "Start Recording" is determined, different video streams may begin storing at different times. This means that different video streams may correspond to different first starting times.

[0066] In another example, some video streams may be generated some time after the user clicks to start recording. For example, in a multi-person conference, some users may join the conference after the recording starts. For these video streams, the corresponding first starting time is the time when the segmented storage begins.

[0067] In some embodiments, step 130 includes generating a target video according to a predetermined second starting time and a first starting time of any one of the plurality of video streams, wherein the second starting time indicates a time when the plurality of video streams are started to be stored.

[0068] Different from each video stream corresponding to a first starting time, multiple video streams all correspond to the same second starting time. The second starting time is the time when multi-channel video recording starts, for example, it can be the time when the user clicks to start recording.

[0069] As mentioned above, due to latency and the fact that the video stream may be generated after recording has begun, the time of each video stream may be out of sync. Therefore, when generating the target video, it is necessary to eliminate the time difference between the video streams so that the time of each video stream remains synchronized.

[0070] In some embodiments, the video storage index will include the second starting moment and / or the first starting moment corresponding to each video stream. When generating the target video, it can be generated according to the second starting moment in the video storage index and / or the first starting moment corresponding to each video stream.

[0071] In some embodiments, generating a target video based on a predetermined second starting moment and a first starting moment of any one of a plurality of video streams includes generating a target video based on a time difference between the second starting moment and the first starting moment of any one of a plurality of video streams.

[0072] For a particular video stream, the delay between the first start time and the second start time corresponding to that video stream can be determined, using the second start time as a reference. This time difference allows the time frames of the different video streams to be aligned when synthesizing the target video, minimizing the impact of time asynchrony caused by delays in the individual video streams. In the resulting target video, the time of the video streams from different acquisition channels will be synchronized with respect to the second start time, thus achieving time synchronization of the multi-channel video streams.

[0073] In some embodiments, the multi-channel video processing method 100 further includes a first process 600. Figure 8 , the first process 600 includes steps 610 to 630.

[0074] Step 610: compress the target video to obtain a compressed target video.

[0075] Step 620: encrypt the compressed target video to obtain an encrypted target video.

[0076] Step 630: Store the compressed target video or the encrypted target video according to a predetermined storage format.

[0077] After the video is recorded, the encryption and packaging of the video files will also be involved.

[0078] In step 610, the video file is compressed to reduce a large amount of redundant information in the video file and to represent it with a smaller amount of data, thereby reducing the file size.

[0079] In step 620, the compressed video may be encrypted to improve security during transmission. An encryption algorithm (such as the Advanced Encryption Standard (AES)) may be used to protect the security of the video file.

[0080] In step 630, the compressed or encrypted target video can be stored in a predetermined video format. Specifically, the target video is encapsulated into a specific format, such as MP4 (MPEG-4 Part 14) or MKV (Matroska). Encapsulating the target video facilitates storage and transmission.

[0081] As mentioned above, since the target video is derived from the video storage index and the corresponding segmented storage results for each video stream, during the compression, encryption, and packaging process of the target video, the corresponding segmented storage results can be found based on the video storage index and the corresponding operations can be performed on them. Since only the smaller segmented storage results need to be operated on, rather than the large and unnecessary complete video files, this makes the video encryption and packaging process more efficient, greatly improving the overall efficiency when processing multi-channel videos.

[0082] By using indexed and segmented storage files, the video encryption and packaging process can be optimized, and each segmented storage result can be quickly located and operated on, thereby reducing the time and computing resources required to process the target video, making the video processing process more efficient. In particular, for multiple video streams or large video files, the improvement in processing performance will be more significant.

[0083] Based on the same technical concept, the embodiment of the present application provides a multi-channel video processing device. The embodiment of the multi-channel video processing device can refer to the embodiment of the multi-channel video processing method, and the repeated parts will not be repeated. Figure 9 The multi-channel video processing device 700 includes a first module 710 , a second module 720 and a third module 730 .

[0084] The first module 710 is configured to segment and store any one of the multiple video streams in a predetermined segmentation manner to obtain multiple segmentation storage results corresponding to the video stream. The multiple video streams are respectively from multiple video acquisition channels. The multiple video acquisition channels are used to generate and / or transmit the multiple video streams.

[0085] The second module 720 is configured to generate a video storage index based on the multiple segment storage results corresponding to the multiple video streams. The video storage index is configured to indicate a corresponding relationship between the multiple video streams and the multiple segment storage results.

[0086] The third module 730 is configured to generate a target video based on the multiple segment storage results and video storage indexes corresponding to the multiple video streams.

[0087] The first module 710, the second module 720, and the third module 730 in the multi-channel video processing apparatus 700 may correspond to steps 110 to 130 in the multi-channel video processing method 100. For the sake of brevity, they are not described here in detail. It should be understood that, corresponding to the embodiment of the multi-channel video processing method 100, the embodiment of the multi-channel video processing apparatus 700 may further include more modules.

[0088] It should be noted that the functionality of the various modules discussed herein can be divided into multiple modules, and / or at least some functionality of multiple modules can be combined into a single module. A specific module discussed herein performing an action includes the specific module itself performing the action, or alternatively, the specific module calling or otherwise accessing another component or module that performs the action (or performs the action in conjunction with the specific module). Therefore, a specific module performing an action can include the specific module itself performing the action and / or another module that the specific module calls or otherwise accesses to perform the action.

[0089] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Figure 9 The various modules described can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these modules can be implemented as computer program code / instructions that are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these modules can be implemented as hardware logic / circuits. The hardware logic / circuit can include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and can optionally execute received program code and / or include embedded firmware to perform functions.

[0090] The present application embodiment provides a computing device 800, such as Figure 10 shown. Figure 10 FIG2 shows an example configuration of a computing device 800 that can be used to implement the multi-channel video processing method 100 described herein. For example, the multi-channel video processing apparatus 700 described above can be fully or at least partially implemented by the computing device 800 or a similar device or system.

[0091] The computing device 800 may include at least one processor 805, memory 807, communication interface(s) 802, a display device 801, other input / output (I / O) devices 803, and one or more mass storage devices 806, all of which can communicate with each other, such as via a bus 804 or other appropriate connections. The memory 807 stores instructions that, when executed by the processor 805, cause the processor 805 to perform the multi-channel video processing method described in the above-described embodiments.

[0092] Computing device 800 can be a variety of different types of devices. Examples of computing device 800 include, but are not limited to, a desktop computer, a server computer, a laptop or netbook computer, a mobile device (e.g., a tablet computer, a cellular or other wireless phone (e.g., a smartphone), a notepad computer, a mobile station), a wearable device (e.g., eyeglasses, a watch), an entertainment device (e.g., an entertainment appliance, a set-top box communicatively coupled to a display device, a game console), a television or other display device, an automobile computer, and the like.

[0093] The processor 805 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 805 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operational instructions. Among other capabilities, the processor 805 may be configured to retrieve and execute computer-readable instructions stored in the memory 807, mass storage device 806, or other computer-readable media, such as program code for an operating system 808, program code for application programs 809, program code for other programs 810, and the like.

[0094] Memory 807 and mass storage device 806 are examples of computer-readable storage media for storing instructions that are executed by processor 805 to implement the various functions described above. For example, memory 807 may generally include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, mass storage device 806 may generally include a hard drive, a solid-state drive, removable media, including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network attached storage, storage area networks, etc. Memory 807 and mass storage device 806 may be collectively referred to herein as memory or computer-readable storage media and may be non-transitory media capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by processor 805 as a specific machine configured to implement the operations and functions described in the examples herein.

[0095] A plurality of programs may be stored on the mass storage device 806. These programs include an operating system 808, one or more application programs 809, other programs 810, and program data 811, and they may be loaded into the memory 807 for execution. Examples of such application programs or program modules may include, for example, computer program logic (e.g., computer program code or instructions) for implementing the following components / functions: the multi-channel video processing apparatus 700 (including the first module 710, the second module 720, and the third module 730), the multi-channel video processing method 100 (including any suitable steps of the multi-channel video processing method 100), and / or other embodiments described herein.

[0096] Although Figure 10 800 , but operating system 808 , application programs 809 , other programs 810 , and program data 811 , or portions thereof, may be implemented using any form of computer-readable media accessible by computing device 800 .

[0097] One or more communication interfaces 802 are used to exchange data with other devices, such as via a network, direct connection, or the like. Such communication interfaces may be one or more of the following: any type of network interface (e.g., a network interface card (NIC)), a wired or wireless wireless interface (such as an IEEE 802.11 wireless LAN (WLAN)), a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth™ interface, a Near Field Communication (NFC) interface, or the like. The communication interface 802 may facilitate communication within a variety of network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, or the like. The communication interface 802 may also provide for communication with external storage devices (not shown), such as storage arrays, network attached storage, storage area networks, or the like.

[0098] In some examples, a display device 801 such as a monitor may be included for displaying information and images to the user. Other I / O devices 803 may be devices that receive various inputs from the user and provide various outputs to the user, and may include a touch input device, a gesture input device, a camera, a keyboard, a remote control, a mouse, a printer, an audio input / output device, and the like.

[0099] The techniques described herein can be supported by these various configurations of computing device 800 and are not limited to the specific examples of the techniques described herein. For example, the functionality can also be implemented in whole or in part in a "cloud" using a distributed system. The cloud includes and / or represents a platform for resources. The platform abstracts the underlying functionality of the cloud's hardware (e.g., servers) and software resources. Resources can include applications and / or data that can be used when performing computing processing on servers remote from computing device 800. Resources can also include services provided over the Internet and / or through subscriber networks such as cellular or Wi-Fi networks. The platform can abstract resources and functionality to connect computing device 800 with other computer devices. Therefore, the implementation of the functionality described herein can be distributed throughout the cloud. For example, the functionality can be implemented partially on computing device 800 and partially through a platform that abstracts the functionality of the cloud.

[0100] An embodiment of the present application also provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed individually or collectively by one or more processors of a computing device, the computing device executes a method as described in any of the above embodiments.

[0101] Computer-readable storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules, or other data. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVDs), or other optical storage devices, magnetic cassettes, magnetic tape, magnetic disk storage devices or other magnetic storage devices, or any other non-transmission media that can be used to store information for access by a computer device.

[0102] An embodiment of the present application also provides a computer program product, including instructions, which, when executed individually or collectively by one or more processors of a computing device, enable the computing device to perform a method as described in any of the above embodiments.

[0103] The above descriptions are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A multi-channel video processing method, comprising: Segmenting and storing any one of a plurality of video streams in a predetermined segmentation manner to obtain a plurality of segmentation storage results corresponding to the video stream, wherein the plurality of video streams are respectively from a plurality of video acquisition channels, and the plurality of video acquisition channels are used to generate and / or transmit the plurality of video streams; Generate a video storage index according to the multiple segment storage results respectively corresponding to the multiple video streams, where the video storage index is used to indicate a corresponding relationship between the multiple video streams and the multiple segment storage results; as well as A target video is generated based on the multiple segment storage results and the video storage index corresponding to the multiple video streams respectively.

2. The multi-channel video processing method according to claim 1, wherein: The step of segmenting and storing any one of the plurality of video streams in a predetermined segmentation manner to obtain a plurality of segment storage results corresponding to the video stream includes: For any one of the multiple video streams: Starting to store the video stream at a first moment to obtain a segmented storage result corresponding to the first moment; In response to the segment storage result corresponding to the first moment reaching a preset storage threshold, stopping storage of the video stream; determining a second time according to the time at which the storage of the video stream is stopped; and The video stream begins to be stored at the second moment to obtain a segmented storage result corresponding to the second moment.

3. The multi-channel video processing method according to claim 2, wherein: In response to the segment storage result corresponding to the first moment reaching a preset storage threshold, stopping storing the video stream includes: In response to the storage duration of the segmented storage result corresponding to the first moment reaching a preset duration threshold, stopping storage of the video stream; or In response to the storage resource occupancy of the segmented storage result corresponding to the first moment reaching a preset resource threshold, storage of the video stream is stopped.

4. The multi-channel video processing method according to claim 1, wherein: Generating a video storage index according to the plurality of segment storage results respectively corresponding to the plurality of video streams includes: For any one of the multiple video streams: generating, according to the plurality of segment storage results corresponding to the video stream, an index relationship between the video stream and the corresponding plurality of segment storage results; Determining a video capture channel corresponding to the video stream; and Generate an index relationship between the video stream and the corresponding video acquisition channel.

5. The multi-channel video processing method according to claim 4, wherein: Determining the video acquisition channel corresponding to the video stream includes: Determining user information corresponding to the video stream, where the user information is used to indicate a user who generated the video stream; and Recording information corresponding to the user information is determined, where the recording information is used to indicate a recording device that generates the video stream.

6. The multi-channel video processing method according to any one of claims 1 to 5, wherein: Generating a video storage index according to the plurality of segment storage results respectively corresponding to the plurality of video streams further comprises: A first starting time of any one of the multiple video streams is determined, where the first starting time indicates a time when segmented storage of the video stream begins.

7. The multi-channel video processing method according to claim 6, wherein: Generating a target video based on the multiple segment storage results and the video storage index respectively corresponding to the multiple video streams includes: The target video is generated according to a predetermined second starting time and the first starting time of any one of the multiple video streams, where the second starting time indicates a time to start storing the multiple video streams.

8. The multi-channel video processing method according to claim 7, wherein: Generating the target video according to the predetermined second starting time and the first starting time of any one of the multiple video streams includes: The target video is generated according to a time difference between the second starting time and the first starting time of any one of the multiple video streams.

9. The multi-channel video processing method according to any one of claims 1 to 5, further comprising: compressing the target video to obtain a compressed target video; Encrypting the compressed target video to obtain an encrypted target video; as well as The compressed target video or the encrypted target video is stored according to a predetermined storage form.

10. A multi-channel video processing device, comprising: A first module is configured to segment and store any one of a plurality of video streams in a predetermined segmentation manner to obtain a plurality of segmentation storage results corresponding to the video stream, wherein the plurality of video streams are respectively from a plurality of video acquisition channels, and the plurality of video acquisition channels are configured to generate and / or transmit the plurality of video streams; A second module is configured to generate a video storage index according to the multiple segmentation storage results respectively corresponding to the multiple video streams, wherein the video storage index is used to indicate a correspondence between the multiple video streams and the multiple segmentation storage results; as well as The third module is configured to generate a target video based on the multiple segment storage results and the video storage index corresponding to the multiple video streams.