Video transmission and video acquisition method and device based on SVAC coding, equipment and medium

By using SVAC encoding and pre-trained video analysis algorithms to generate index files and perform decryption processing at the sending end and target transmission platform, the problem of high resource consumption in video transmission and acquisition is solved, and the efficiency of video file retrieval is improved.

CN120639939APending Publication Date: 2025-09-12HONGHU WANLIAN (JIANGSU) TECH DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511001639.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

Existing video transmission and acquisition methods have the problems of large resource consumption in video transmission and acquisition operations and low efficiency in video file retrieval and acquisition.

Method used

The target video, target transmission platform type, and pre-set label pool are obtained through the sending end, and the target video is processed using a pre-trained video analysis algorithm to generate a target index file, which is then processed based on SVAC encoding. The target transmission platform responds to user operations, uses the decryption key for decryption and retrieval, and obtains video frames that meet the conditions.

Benefits of technology

The resource consumption of video transmission and acquisition operations is reduced, and the efficiency of video file retrieval and acquisition is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120639939A_ABST
    Figure CN120639939A_ABST
Patent Text Reader

Abstract

The invention discloses a video transmission and video acquisition method and device based on SVAC coding, equipment and a medium. The video transmission method based on SVAC coding comprises the following steps: acquiring a target video, a target transmission platform type and a preset label pool; processing the target video based on the label pool by using a video analysis algorithm to obtain at least one target label matched with the target video and video frame information matched with the target label; generating a target index file matched with the target video according to the video name of the target video, each target tag and the video frame information matched with each target tag; and processing the target video and the target index file based on SVAC coding and the type of the target transmission platform to obtain a coded video file, and sending the coded video file to the target transmission platform. Through the technical scheme of the invention, the transmission and acquisition of the video file can be realized, the resource consumption of video transmission and acquisition operation is reduced, and the retrieval and acquisition efficiency of the video file is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a video transmission and video acquisition method, device, equipment and medium based on SVAC coding. Background Art

[0002] In the field of public security video surveillance, mandatory standards for public security video surveillance network information security technology have been implemented, driving the standardized development of video surveillance systems. As surveillance coverage expands, the amount of video data is growing exponentially. Achieving efficient, accurate, and secure video retrieval has become a core demand of the industry.

[0003] Existing projects have problems with difficult modifications and high expansion costs due to the rigid system architecture. In terms of video security protection, the industry generally uses SVAC coding to process video streams, and combines it with the national secret level 2 security chip to complete encryption, signing and session initialization protocol integrity protection. SVAC coding is widely used in video storage, remote transmission and playback due to its adaptability to multiple scenarios and multiple parameters. However, current video retrieval and playback mainly rely on the platform side to perform real-time decryption through a high-speed serial computer expansion bus standard interface card or a high-performance cryptographic machine, which has the defects of low efficiency, high hardware performance requirements and high cost; at the same time, when reusing or expanding monitoring equipment in existing projects, it is mandatory for new equipment to be compatible with all platform protocols, resulting in a surge in development workload and out-of-control costs, which seriously restricts the upgrade, iteration and flexible expansion of public security video surveillance systems.

[0004] In summary, existing video transmission and video acquisition methods have the problems of large resource consumption of video transmission and acquisition operations and low efficiency in retrieval and acquisition of video files. Summary of the Invention

[0005] The present invention provides a video transmission and video acquisition method, device, equipment and medium based on SVAC encoding, which can solve the problems of large resource consumption of video transmission and acquisition operations and low retrieval efficiency of video files in existing video transmission and video acquisition methods.

[0006] In a first aspect, an embodiment of the present invention provides a video transmission method based on SVAC encoding, which is performed by a transmitting end, and the method includes:

[0007] Obtain the target video, target transmission platform type, and pre-set tag pool;

[0008] Processing the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag;

[0009] Generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag;

[0010] The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform.

[0011] In a second aspect, an embodiment of the present invention provides a video acquisition method based on SVAC encoding, which is executed by a target transmission platform, and the method includes:

[0012] In response to a setting operation by a user, obtaining a video retrieval condition, wherein the video retrieval condition includes at least one of a name condition, a tag condition, and a video frame condition;

[0013] Decrypt each encoded file to be retrieved using a pre-configured decryption key to obtain a video index file that matches each file to be decoded;

[0014] Searching each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition;

[0015] Acquire a to-be-retrieved encoded file that matches the target video index as a target encoded file;

[0016] The target coded file is decrypted based on the pre-configured second-class decryption key, SVAC code and the target video index to obtain a result video frame that matches the video retrieval condition.

[0017] In a third aspect, an embodiment of the present invention provides a video transmission device based on SVAC encoding, the device comprising:

[0018] Video data acquisition module, used to obtain target video, target transmission platform type and pre-set tag pool;

[0019] a video analysis module, configured to process the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag;

[0020] An index file generating module, configured to generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag;

[0021] The video transmission module is used to process the target video and the target index file based on SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission.

[0022] In a fourth aspect, an embodiment of the present invention provides a video acquisition device based on SVAC encoding, which is executed by a target transmission platform, and includes:

[0023] A retrieval condition acquisition module, configured to acquire a video retrieval condition in response to a user's setting operation, wherein the video retrieval condition includes at least one of a name condition, a tag condition, and a video frame condition;

[0024] An index decryption module is used to decrypt each encoded file to be retrieved using a pre-configured type of decryption key to obtain a video index file that matches each file to be decoded;

[0025] A retrieval module, configured to search each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition;

[0026] A file confirmation module, configured to obtain a to-be-retrieved encoded file that matches the target video index as a target encoded file;

[0027] The video acquisition module is used to decrypt the target coded file based on the pre-configured second-class decryption key, SVAC code and the target video index to obtain a result video frame that matches the video retrieval condition.

[0028] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising:

[0029] at least one processor; and

[0030] a memory communicatively connected to the at least one processor; wherein,

[0031] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a video transmission method based on SVAC encoding as described in any embodiment of the present invention, or execute a video acquisition method based on SVAC encoding as described in any embodiment of the present invention.

[0032] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a video transmission method based on SVAC encoding as described in any embodiment of the present invention when executed, or to implement a video acquisition method based on SVAC encoding as described in any embodiment of the present invention.

[0033] The technical solution of the embodiment of the present invention first obtains the target video, the target transmission platform type and a pre-set label pool through the sending end, and uses a pre-trained video analysis algorithm to process the target video based on the label pool to obtain at least one target label matching the target video and video frame information matching the target label. Then, a target index file matching the target video is generated according to the video name of the target video, each target label and the video frame information matching each target label, and the target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform. Then, the target transmission platform responds to the user's setting operation to obtain the video retrieval condition, and uses a pre-configured class of decryption keys Each encoded file to be retrieved is decrypted to obtain a video index file that matches each file to be decoded. Then, each video index file is retrieved based on a video retrieval condition to obtain a target video index that meets the video retrieval condition, and the encoded file to be retrieved that matches the target video index is obtained as the target encoded file. Finally, the target encoded file is decrypted based on a pre-configured second-class decryption key, SVAC code and target video index to obtain a result video frame that matches the video retrieval condition. This solves the problems of large resource consumption of video transmission and acquisition operations and low retrieval and acquisition efficiency of video files in existing video transmission and video acquisition methods, realizes the transmission and acquisition of video files, reduces the resource consumption of video transmission and acquisition operations, and improves the retrieval and acquisition efficiency of video files.

[0034] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1a Flowchart of a video transmission method based on SVAC coding provided according to embodiment 1 of the present invention;

[0037] Figure 1b This is a flowchart of a process for generating an index for a target index file according to the first embodiment of the present invention;

[0038] Figure 2 Flowchart of a video acquisition method based on SVAC encoding provided according to the second embodiment of the present invention;

[0039] Figure 3 2 is a schematic structural diagram of a video transmission device based on SVAC coding according to a third embodiment of the present invention;

[0040] Figure 4 2 is a schematic structural diagram of a video acquisition device based on SVAC coding according to a fourth embodiment of the present invention;

[0041] Figure 5 It is a structural diagram of an electronic device for implementing the video transmission method based on SVAC coding or the video acquisition method based on SVAC coding according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0043] It should be noted that the terms "first," "second," and the like in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, any variations of the terms "including" and "having" are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.

[0044] Example 1

[0045] Figure 1a A flowchart of a video transmission method based on SVAC encoding is provided in Example 1 of the present invention. This embodiment is applicable to the situation where video files are transmitted using SVAC encoding. The method can be executed by a video transmission device based on SVAC encoding. The video transmission device based on SVAC encoding can be implemented in the form of hardware and / or software. The video transmission device based on SVAC encoding can be configured in a sending end having a video transmission function based on SVAC encoding.

[0046] like Figure 1a As shown, the method includes:

[0047] S110: Obtain target video, target transmission platform type, and pre-set tag pool.

[0048] The target transmission platform type includes at least one of a public video network information platform, a web platform, and a large-scale video information platform. Furthermore, the target video refers to specific surveillance video content that needs to be transmitted, processed, or retrieved, such as real-time surveillance footage of a certain intersection or historical footage of a certain period of time. In this embodiment, the target video can be sourced from front-end equipment in an existing public security surveillance system, such as historical or real-time video recorded by fixed road cameras, community security cameras, and high-definition surveillance terminals in public places; footage captured by newly added surveillance equipment, such as smart spherical cameras, mobile law enforcement recorders, and vehicle-mounted surveillance terminals; and cross-platform video resources, such as surveillance footage from other units connected to the public video network information platform.

[0049] Furthermore, the pre-set tag pool is a set of structured tags that are pre-designed, configured and stored according to the needs of specific application scenarios. These tags are used to describe various features of video content, covering multiple dimensions such as scenes, events, objects, and environments. They aim to provide standardized feature identification basis for video analysis, retrieval, classification and other processing links, so that the system can efficiently match video content with corresponding tags and realize accurate management and application of video data.

[0050] For example, if the target video in the current scenario is known to be a general surveillance video, the tag pool can be pre-configured with general surveillance search conditions as tags, such as faces, human figures, motor vehicles, non-motor vehicle elements, intrusion, wandering, wrong-way behavior, fire, reflective clothing, helmets, etc. It should be noted that the tags in the tag pool can be set by relevant personnel based on actual application scenarios, and this embodiment does not limit the specific content of each tag.

[0051] Furthermore, the public video network information platform refers to a video-related platform that adopts the public security video surveillance network information security technical requirements, which can be specifically a GB35114 platform in this embodiment. The public security video surveillance network information security technical requirements focus on information security communication protocols and require the use of encryption algorithms and security protocols that comply with national password management policies to ensure the confidentiality and integrity of video data during transmission; the web page platform refers to a video transmission interactive platform that can be accessed through a browser, and the large-scale video information platform refers to a large-scale video surveillance system that adopts GB / T28181 (Public Security Video Surveillance Network System Information Transmission, Exchange, and Control Technical Requirements). For example, the large-scale video information platform can be a city security platform or a traffic monitoring platform.

[0052] S120: Use a pre-trained video analysis algorithm to process the target video based on the tag pool to obtain at least one target tag matching the target video and video frame information matching the target tag.

[0053] Among them, the pre-trained video analysis algorithm refers to an artificial intelligence algorithm trained through a large amount of labeled video data, which can automatically identify scenes, objects or events in the video. In this embodiment, the pre-trained video analysis algorithm can be a target detection algorithm based on deep learning; further, the target label refers to a label that is screened from a label pool and matches the target video content; further, the video frame information that matches the target label refers to the specific picture frame in the target video corresponding to the label, such as the specific video frame corresponding to the label marked as "people gathering".

[0054] Specifically, in this embodiment, the video analysis algorithm will match the extracted features with a pre-set label pool (through models such as cosine similarity and word vector similarity) to obtain a target label that matches the video content (such as matching the "regional invasion" label); the video frame information that matches the target label refers to the specific video frame details corresponding to the label, including the time of the frame (such as the start time and end time of the event), the position of the frame in the bitstream, and the corresponding storage file name, etc. For example, the video frame corresponding to the "regional invasion" label may be the 100th-150th frame in a certain time period, with a start time of 16:00:00 and an end time of 16:00:10.

[0055] S130 , generating a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag.

[0056] The video name refers to the identification file name when the target video is stored. Each target tag is a feature identifier matched from the tag pool, covering types such as subjects, events, and alarms. The video frame information matching each target tag includes the event type corresponding to the tag, the start time, and the end time of the video frame.

[0057] Furthermore, the target index file is a structured file formed by integrating the above information. In this embodiment, the target index file may include a playback file retrieval index, a feature tag index file, and a time retrieval index. Specifically, Figure 1b As shown, the playback file retrieval index summarizes all target tags and corresponding video frame times under the same video file according to the video name. For example, the time frame information 1719900000000-1719900010000 corresponding to the tag "motor vehicle congestion" in the video name "20250704_road123.mp4" is stored, and the time frame information 173000000000-1714000010000 corresponding to the tag "license plate recognition" is also stored in the playback file retrieval index matching the target video; further The feature label index is the video frame information of the target video related to the same target label, for example, the video frame information labeled "retrograde detection" is summarized and the feature label index file of the target video is generated based on the summary result; further, the time retrieval index is the summary of all target labels and corresponding video frame information of the target video in the time period every minute, for example, the time retrieval index of the target video in the 08:00 time period contains all target labels of the target video in the minute and the target video frame information matching each target label.

[0058] In summary, the index generation process of the target index file is as follows Figure 1b As shown in FIG, by integrating the video name, target label, and time and type of the video frame, structured data that can be directly used for retrieval is formed, providing a basis for subsequent rapid matching of retrieval conditions.

[0059] S140 , processing the target video and the target index file based on the SVAC encoding and the target transmission platform type to obtain an encoded video file, and sending the encoded video file to the target transmission platform.

[0060] Among them, the SVAC encoding is a technical requirement for digital audio and video encoding and decoding of public security video surveillance. It encapsulates video data through a network abstraction unit, and contains information such as a security parameter set and a monitoring extended data unit. It is suitable for video encryption, transmission and storage, and generates a main stream, a sub-stream and an AI / alarm detection stream through SVAC encoding.

[0061] Among them, the target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, including: if the target transmission platform is a public video network information platform, then in response to the user's transmission command, the first symmetric key generated by the public video network information platform is obtained; the first symmetric key is encrypted using a pre-configured public video encryption certificate to obtain a first encryption key; the target index file is encrypted with a national secret group ciphertext block using the first symmetric key to obtain an encrypted index matching the target video; the target video is encrypted with a national secret output feedback based on the first symmetric key and SVAC encoding to obtain an encrypted video; the encrypted video and the encrypted index are bound and stored to obtain an encoded video file.

[0062] Specifically, if the target transmission platform is a public video network information platform (i.e., the GB35114 platform), then in response to the user's transmission command, a first symmetric key generated by the public video network information platform is obtained. The first symmetric key is a 16-byte symmetric key generated by the GB35114 platform. Furthermore, in this embodiment, the update period of the first symmetric key can be set to a preset duration, such as six hours or thirty frames. When the first symmetric key needs to be updated, a new first symmetric key is generated by the symmetric key management system and distributed and bound according to the corresponding version. During each authentication, the device obtains the latest first symmetric key and the corresponding first symmetric key version number from the target transmission platform via an authentication message. During decryption, the platform obtains the corresponding first symmetric key based on the first symmetric key version number to complete the subsequent process. The first symmetric key is then encrypted using a pre-configured public video encryption certificate to obtain a first encryption key. The public video encryption certificate refers to the public key certificate of the GB35114 platform, which can be pre-stored in the security encryption chip of the target video capture device. The first symmetric key is encrypted using the public key of the certificate to obtain the first encryption key. The target index file is then encrypted with the national secret block ciphertext using the first symmetric key to obtain an encrypted index that matches the target video. The national secret block ciphertext uses the SN of the security encryption chip of the acquisition device as the IV vector, and the target index file is encrypted with the first encryption key to ensure the security of the index file. The security chip then randomly generates a video ciphertext, encrypts the video ciphertext with the first encryption key using the national secret output feedback encryption algorithm to obtain a video encryption key ciphertext, and then uses the video ciphertext to encrypt the SVAC-encoded video stream NAL unit with the national secret block ciphertext to generate an encrypted video. It should be noted that relevant personnel in this field should understand that the operation of encrypting video data using a known key and SVAC encoding is a mature existing technology. This embodiment only describes the process here, and does not elaborate on its principles and details.

[0063] Furthermore, the target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, and also includes: if the target transmission platform is a web platform, then in response to the user's transmission command, a second symmetric key generated by the public video network information platform is obtained; the second symmetric key is encrypted using a pre-configured web platform encryption certificate to obtain a second encryption key; the target index file is encrypted with the national secret group ciphertext block using the second symmetric key to obtain an encrypted index matching the target video; the target video is encrypted with the national secret output feedback based on the second symmetric key and SVAC encoding to obtain an encrypted video; the encrypted video and the encrypted index are bound and stored to obtain an encoded video file.

[0064] Among them, the second symmetric key corresponds to the 16-byte symmetric key in the web platform scenario, and is generated by taking the first 16 bytes after calculating the serial number of the hardware password module of the security chip of the target video acquisition device and the time character string of the day through the SM3 algorithm; further, the web platform encryption certificate is stored in the security encryption chip of the target video acquisition device, and the second symmetric key is encrypted by the public key of the above certificate to obtain the second encryption key; further, the national secret block ciphertext encryption uses the security chip SN as the IV vector, and encrypts the target index file through the second symmetric key to generate an encrypted index; further, the national secret output feedback encryption algorithm randomly generates a video ciphertext, encrypts the video ciphertext with the national secret output feedback encryption algorithm through the second encryption key to obtain a video encryption key ciphertext, and then uses the video ciphertext to perform national secret block ciphertext encryption on the SVAC-encoded video stream NAL unit to generate an encrypted video, which is finally sent to the web platform.

[0065] Furthermore, the target video and the target index file are processed based on SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, and it also includes: if the target transmission platform is a large-scale video information platform, the target video and the target index file are encoded based on SVAC encoding to obtain an encoded video file.

[0066] Specifically, since the large-scale video information platform has no encryption requirements, the target video and target index file are not encrypted in NAL units after encoding.

[0067] The technical solution of the embodiment of the present invention first obtains the target video, the target transmission platform type and a pre-set label pool through the sending end, and uses a pre-trained video analysis algorithm to process the target video based on the label pool to obtain at least one target label matching the target video and video frame information matching the target label. Then, a target index file matching the target video is generated according to the video name of the target video, each target label and the video frame information matching each target label. Finally, the target video and the target index file are processed based on SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform, thereby realizing the transmission of the video file and reducing the resource consumption of the video transmission operation.

[0068] Example 2

[0069] Figure 2 A flowchart of a video acquisition method based on SVAC encoding is provided in the second embodiment of the present invention. This embodiment is applicable to the situation where SVAC encoding is used to retrieve and acquire video files. The method can be executed by a video acquisition device based on SVAC encoding. The video acquisition device based on SVAC encoding can be implemented in the form of hardware and / or software. The video acquisition device based on SVAC encoding can be configured in a target transmission platform with a video acquisition function based on SVAC encoding.

[0070] like Figure 2 As shown, the method includes:

[0071] S210: Acquire video retrieval conditions in response to a user's setting operation.

[0072] The video retrieval condition includes at least one of a name condition, a tag condition, and a video frame condition.

[0073] Furthermore, the name condition refers to the retrieval condition corresponding to the storage file name of the target video, for example, retrieving videos whose file names contain "20250704_road123"; the tag condition refers to retrieval based on tags in a pre-set tag pool, for example, retrieving videos containing the tag "area invasion"; the video frame condition refers to retrieval based on the time information of the video frame, including the start time and end time of the event, for example, retrieving video frames within the time period of 8:00-8:30 on July 4, 2025.

[0074] S220: Decrypt each encoded file to be retrieved using a pre-configured decryption key to obtain a video index file that matches each file to be decoded.

[0075] Based on the above steps, the first type of decryption key is used to decrypt the index file encrypted by the first symmetric key or the second symmetric key, the encoded file to be retrieved refers to the encoded video file stored in the target transmission platform, and the video index file refers to the target index file obtained after decryption that matches the encoded video file.

[0076] S230: Search each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition.

[0077] Exemplarily, during the retrieval process, the target transmission platform will match the video retrieval conditions with the content in the index file. For example, according to the tag condition "motor vehicle congestion", the entries containing the tag are matched in event_retrieval_index.dat; according to the name condition "20250704_road123", the corresponding file entry is located in file_retrieval_index.dat; according to the video frame condition "8:00-8:30", the entries of this time period are filtered in date_retrieval_index_******.dat. The entries that meet the conditions are integrated to form the target video index, which contains the corresponding file name, tag, time and other key information.

[0078] S240: Acquire a to-be-retrieved encoded file that matches the target video index as a target encoded file.

[0079] S250 , performing a decryption operation on the target coded file based on the pre-configured second-category decryption key, the SVAC code, and the target video index to obtain a result video frame that matches the video retrieval condition.

[0080] Based on the above steps, the second type of decryption key is used to decrypt video files encrypted using SVAC encoding and the first encryption key or the second encryption key. It should be noted that those skilled in the art will appreciate that decrypting video data using known keys and SVAC encoding is a mature prior art technique. This embodiment only describes the process without going into further detail regarding its principles and details.

[0081] The technical solution of the embodiment of the present invention first obtains video retrieval conditions in response to the user's set operation through the target transmission platform, and uses a pre-configured first-class decryption key to decrypt each encoded file to be retrieved, and obtains a video index file that matches each file to be decoded. Then, based on the video retrieval conditions, each video index file is retrieved to obtain a target video index that meets the video retrieval conditions, and the encoded file to be retrieved that matches the target video index is obtained as the target encoded file. Finally, based on the pre-configured second-class decryption key, SVAC code and the target video index, the target encoded file is decrypted to obtain a result video frame that matches the video retrieval conditions, thereby realizing the retrieval and acquisition of video files, reducing the resource consumption of the video acquisition operation, and improving the retrieval and acquisition efficiency of video files.

[0082] Example 3

[0083] Figure 3 This is a structural diagram of a video transmission device based on SVAC coding provided in Example 3 of the present invention.

[0084] like Figure 3 As shown, the device includes:

[0085] The video data acquisition module 310 is used to obtain the target video, the target transmission platform type, and a pre-set tag pool;

[0086] A video analysis module 320 is configured to process the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag;

[0087] An index file generating module 330 is configured to generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag;

[0088] The video transmission module 340 is used to process the target video and the target index file based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission.

[0089] The technical solution of the embodiment of the present invention first obtains the target video, the target transmission platform type and a pre-set label pool through the sending end, and uses a pre-trained video analysis algorithm to process the target video based on the label pool to obtain at least one target label matching the target video and video frame information matching the target label. Then, a target index file matching the target video is generated according to the video name of the target video, each target label and the video frame information matching each target label. Finally, the target video and the target index file are processed based on SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform, thereby realizing the transmission of the video file and reducing the resource consumption of the video transmission operation.

[0090] Based on the above embodiment, the video transmission module 340 includes:

[0091] a first symmetric key generating unit configured to obtain a first symmetric key generated by the public video networking information platform in response to a user's transmission command if the target transmission platform is the public video networking information platform;

[0092] a first key encryption unit, configured to encrypt the first symmetric key using a pre-configured public video encryption certificate to obtain a first encryption key;

[0093] A first file encryption unit is configured to use the first symmetric key to perform national secret block encryption on the target index file to obtain an encrypted index matching the target video;

[0094] A first feedback encryption unit is configured to perform national secret output feedback encryption on the target video based on the first symmetric key and SVAC code to obtain an encrypted video;

[0095] The first binding storage unit is used to bind and store the encrypted video and the encrypted index to obtain an encoded video file.

[0096] Based on the above embodiment, the video transmission module 340 further includes:

[0097] a second symmetric key generating unit configured to obtain a second symmetric key generated by the public video network information platform in response to a user's transmission command if the target transmission platform is a web platform;

[0098] a second key encryption unit, configured to encrypt the second symmetric key using a pre-configured web platform encryption certificate to obtain a second encryption key;

[0099] A second file encryption unit is configured to use the second symmetric key to perform national secret block encryption on the target index file to obtain an encrypted index matching the target video;

[0100] A second feedback encryption unit is configured to perform national secret output feedback encryption on the target video based on the second symmetric key and SVAC code to obtain an encrypted video;

[0101] The second binding storage unit is used to bind and store the encrypted video and the encrypted index to obtain an encoded video file.

[0102] On the basis of the above embodiment, the video transmission module 340 is further used for: if the target transmission platform is a large-scale video information platform, encoding the target video and target index file based on SVAC encoding to obtain an encoded video file.

[0103] The SVAC coding-based video acquisition device provided in the embodiment of the present invention can execute the SVAC coding-based video acquisition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0104] Example 4

[0105] Figure 4 This is a structural diagram of a video acquisition device based on SVAC coding provided in Example 4 of the present invention.

[0106] like Figure 4 As shown, the device includes:

[0107] A search condition acquisition module 410 is configured to acquire a video search condition in response to a user's setting operation, wherein the video search condition includes at least one of a name condition, a tag condition, and a video frame condition;

[0108] The index decryption module 420 is used to decrypt each encoded file to be retrieved using a pre-configured type of decryption key to obtain a video index file that matches each file to be decoded;

[0109] A retrieval module 430 is configured to search each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition;

[0110] A file confirmation module 440 is used to obtain a to-be-retrieved encoded file that matches the target video index as a target encoded file;

[0111] The video acquisition module 450 is used to perform a decryption operation on the target encoded file based on the pre-configured second-class decryption key, SVAC code and the target video index to obtain a result video frame that matches the video retrieval condition.

[0112] The technical solution of the embodiment of the present invention first obtains video retrieval conditions in response to the user's set operation through the target transmission platform, and uses a pre-configured first-class decryption key to decrypt each encoded file to be retrieved, and obtains a video index file that matches each file to be decoded. Then, based on the video retrieval conditions, each video index file is retrieved to obtain a target video index that meets the video retrieval conditions, and the encoded file to be retrieved that matches the target video index is obtained as the target encoded file. Finally, based on the pre-configured second-class decryption key, SVAC code and the target video index, the target encoded file is decrypted to obtain a result video frame that matches the video retrieval conditions, thereby realizing the retrieval and acquisition of video files, reducing the resource consumption of the video acquisition operation, and improving the retrieval and acquisition efficiency of video files.

[0113] The SVAC coding-based video acquisition device provided in the embodiment of the present invention can execute the SVAC coding-based video acquisition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0114] Example 5

[0115] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0116] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12 and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0117] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0118] The processor 11 can be various general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a video transmission method based on SVAC encoding or a video acquisition method based on SVAC encoding.

[0119] Accordingly, a video transmission method based on SVAC coding includes:

[0120] Obtain the target video, target transmission platform type, and pre-set tag pool;

[0121] Processing the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag;

[0122] Generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag;

[0123] The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform.

[0124] In some embodiments, a video transmission method based on SVAC encoding or a video acquisition method based on SVAC encoding may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the video transmission method based on SVAC encoding or the video acquisition method based on SVAC encoding described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a video transmission method based on SVAC encoding or a video acquisition method based on SVAC encoding by any other appropriate means (for example, by means of firmware).

[0125] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0127] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0130] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0131] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

Claims

1. A video transmission method based on SVAC coding, performed by a transmitting end, characterized in that: include: Obtain the target video, target transmission platform type, and pre-set tag pool; Processing the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag; Generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag; The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file, and the encoded video file is sent to the target transmission platform.

2. The method according to claim 1, characterized in that The target transmission platform type includes: at least one of a public video network information platform, a web page platform, and a large-scale video information platform.

3. The method according to claim 1-2, characterized in that The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, including: If the target transmission platform is a public video network information platform, then in response to the user's transmission command, obtaining a first symmetric key generated by the public video network information platform; Encrypting the first symmetric key using a pre-configured public video encryption certificate to obtain a first encryption key; Using the first symmetric key to encrypt the target index file using the national secret block ciphertext to obtain an encrypted index matching the target video; Performing national secret output feedback encryption on the target video based on the first symmetric key and SVAC encoding to obtain an encrypted video; The encrypted video and the encrypted index are bound and stored to obtain an encoded video file.

4. The method according to claim 1-2, characterized in that The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, further comprising: If the target transmission platform is a web platform, then in response to the user's transmission command, obtaining a second symmetric key generated by the public video network information platform; Encrypting the second symmetric key using a pre-configured web platform encryption certificate to obtain a second encryption key; Using the second symmetric key to encrypt the target index file using the national secret block ciphertext to obtain an encrypted index matching the target video; Performing national secret output feedback encryption on the target video based on the second symmetric key and SVAC encoding to obtain an encrypted video; The encrypted video and the encrypted index are bound and stored to obtain an encoded video file.

5. The method according to claim 1-2, characterized in that The target video and the target index file are processed based on the SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission, further comprising: If the target transmission platform is a large-scale video information platform, the target video and the target index file are encoded based on SVAC encoding to obtain an encoded video file.

6. A video acquisition method based on SVAC encoding, executed by a target transmission platform, characterized in that: include: In response to a setting operation by a user, obtaining a video retrieval condition, wherein the video retrieval condition includes at least one of a name condition, a tag condition, and a video frame condition; Decrypt each encoded file to be retrieved using a pre-configured decryption key to obtain a video index file that matches each file to be decoded; Searching each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition; Acquire a to-be-retrieved encoded file that matches the target video index as a target encoded file; The target coded file is decrypted based on the pre-configured second-class decryption key, SVAC code and the target video index to obtain a result video frame that matches the video retrieval condition.

7. A video transmission device based on SVAC coding, executed by a transmitting end, characterized in that: include: Video data acquisition module, used to obtain target video, target transmission platform type and pre-set tag pool; a video analysis module, configured to process the target video based on the tag pool using a pre-trained video analysis algorithm to obtain at least one target tag matching the target video and video frame information matching the target tag; An index file generating module, configured to generate a target index file matching the target video according to the video name of the target video, each target tag, and video frame information respectively matching each target tag; The video transmission module is used to process the target video and the target index file based on SVAC encoding and the target transmission platform type to obtain an encoded video file for video transmission.

8. A video acquisition device based on SVAC encoding, executed by a target transmission platform, characterized in that: include: A retrieval condition acquisition module, configured to acquire a video retrieval condition in response to a user's setting operation, wherein the video retrieval condition includes at least one of a name condition, a tag condition, and a video frame condition; An index decryption module is used to decrypt each encoded file to be retrieved using a pre-configured type of decryption key to obtain a video index file that matches each file to be decoded; A retrieval module, configured to search each video index file based on the video retrieval condition to obtain a target video index that meets the video retrieval condition; A file confirmation module, configured to obtain a to-be-retrieved encoded file that matches the target video index as a target encoded file; The video acquisition module is used to decrypt the target coded file based on the pre-configured second-class decryption key, SVAC code and the target video index to obtain a result video frame that matches the video retrieval condition.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a video transmission method based on SVAC encoding as described in any one of claims 1-5, or execute a video acquisition method based on SVAC encoding as described in claim 6.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which are used to enable a processor to implement a video transmission method based on SVAC coding as described in any one of claims 1 to 5, or to implement a video acquisition method based on SVAC coding as described in claim 6.