An adaptive multi-layer intelligent video desensitization method and system based on a national secret algorithm
By adopting a three-layer architecture and multi-level recognition mechanism based on national cryptographic algorithms, the problems of data security and rigid de-identification strategies in video surveillance systems are solved, enabling real-time and accurate de-identification of video data and fine-grained access control, thereby improving the security and reliability of the system.
Patent Information
- Application Number
- CN202611038044.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-11-27
AI Technical Summary
Existing video surveillance systems lack end-to-end password protection throughout the entire data lifecycle, making it difficult to effectively deal with the diverse and sensitive information that dynamically appears in the video. Furthermore, the rigid desensitization strategies cannot achieve fine-grained and dynamic access control, resulting in information leakage and security risks.
It adopts a three-layer architecture based on national cryptographic algorithms, including a front-end layer, an edge layer, and a cloud layer. It establishes a secure channel through asymmetric cryptography and combines a lightweight model and a multi-level identification mechanism to achieve real-time and accurate de-identification of video data.
It achieves security compliance and business availability throughout the entire lifecycle of video data, dynamically generates encryption keys, provides fine-grained access control, resists man-in-the-middle attacks, and ensures identification accuracy and system robustness.
Smart Images

Figure CN123185388A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of video information security technology, specifically to an adaptive multi-layer intelligent video desensitization method and system based on national cryptographic algorithms. Background Technology
[0002] In the field of cryptographic security applications, the need for physical environment security is becoming increasingly prominent, with the security protection of video surveillance data becoming a focus of industry attention. Currently, video data in physical security scenarios is generally stored in plaintext or ciphertext with only basic encryption, lacking a systematic, end-to-end cryptographic protection mechanism for the entire lifecycle of video data, including acquisition, transmission, processing, storage, and access.
[0003] At the video access level, existing systems typically access raw video streams directly in plaintext via network devices or terminal clients, employing simple desensitization strategies based on static rules (such as fixed-area occlusion and global blurring). Such methods are ill-suited to effectively handle the diverse and dynamic sensitive information appearing in videos, such as faces, ID cards, QR codes, and employee badges—key privacy elements—posing a significant risk of information leakage.
[0004] The core algorithms of existing intelligent de-identification technologies largely rely on foreign open-source computer vision frameworks, resulting in strong technological dependence and supply chain security risks in model training, inference, and deployment. In the event of a technology supply disruption, exploitation of underlying vulnerabilities, or backdoor implantation, the system's security and controllability will be directly weakened, failing to meet national requirements for the independent and trustworthy development of critical information infrastructure.
[0005] In addition, current desensitization systems generally have the following shortcomings: (1) The desensitization process lacks the support of high-strength national cryptographic algorithms. The data is not encrypted end-to-end in the preprocessing, AI inference and result output stages, making it vulnerable to man-in-the-middle attacks or data tampering. (2) The desensitization strategy is rigid and cannot achieve fine-grained and dynamic access control based on data security level, application scenario, user role or physical area security level; (3) Lacking lightweight and high-precision edge-side sensitive target recognition capabilities, it is difficult to achieve real-time and accurate dynamic desensitization on low-computing-power terminals. Summary of the Invention
[0006] To address the aforementioned issues, this invention proposes an adaptive multi-layer intelligent video desensitization method and system based on national cryptographic algorithms, to achieve effective and coordinated unification of security compliance and business availability assurance across the entire video data link.
[0007] In a first aspect, the present invention provides an adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms, applied to a three-layer architecture system. The three-layer architecture includes a front-end layer running on a video acquisition device, an edge layer running on an edge server, and a cloud layer running on a cloud server. The method includes the following steps: S1. The video capture device, edge server, and cloud server establish secure channels with the management platform based on asymmetric cryptographic algorithms. According to the attributes of the video capture device, the management platform sends the corresponding AI recognition model to each layer through the corresponding secure channel, and sends the initial desensitization strategy to the edge server. The AI recognition model includes a sensitive area detection model sent to the video capture device, a sensitive information recognition model sent to the edge server, and a verification model sent to the cloud server. S2. The front-end layer runs a sensitive area detection model to locate video frame blocks containing sensitive information and uploads them to the edge layer; the edge layer runs a sensitive information recognition model to classify and label the video frame blocks and generate recognition results; the recognition results include sensitive information categories; the cloud layer uses a verification model to verify recognition results with confidence levels below a threshold; S3. Generate a corresponding encryption key based on the sensitive information category in the identification result; the edge layer generates a desensitization instruction in real time based on the initial desensitization strategy, combined with the identification result, video stream context and user attributes; in response to the desensitization instruction, obtain the encryption key to perform desensitization operation on the sensitive area.
[0008] As a preferred embodiment of the technical solution of the present invention, in S1, the steps of establishing secure channels based on asymmetric cryptographic algorithms between the video acquisition device, the edge server, the cloud server, and the management platform respectively include: The video capture device sends an access request to the management platform. The access request carries the device's digital certificate and a signature generated based on an asymmetric cryptographic algorithm. After verifying the validity of the device certificate and the correctness of the signature, the management platform returns a response message to the video acquisition device. The response message carries the management platform's digital certificate and a signature generated based on an asymmetric cryptographic algorithm. Verify the validity of the certificate and the correctness of the signature of the video acquisition equipment management platform to complete two-way authentication; After successful two-way authentication, the video capture device and the management platform exchange keys based on asymmetric cryptography algorithms and negotiate to generate the first session key. Subsequent communications are encrypted using the first session key combined with a symmetric cryptographic algorithm, and integrity is verified using a hash algorithm to form the first secure channel; The edge server and the management platform use the same establishment steps as the first secure channel to negotiate and generate a second session key, thus forming a second secure channel. The cloud server and the management platform use the same establishment steps as the first secure channel to negotiate and generate a third session key, thus forming a third secure channel.
[0009] By mutually verifying digital certificates and signatures between devices and the management platform, it is ensured that all devices accessing the system are legitimate, preventing counterfeit devices from accessing the system and guaranteeing system security from the source. After successful two-way authentication, key exchange is performed based on asymmetric cryptography algorithms to negotiate and generate a unique session key. Subsequent communications use this key in conjunction with symmetric cryptography algorithms for encryption, effectively preventing network eavesdropping and data leakage. Integrity verification is performed using hash algorithms to ensure that data has not been tampered with during communication, resisting man-in-the-middle attacks. The same establishment steps are used to establish independent secure channels for the front-end layer, edge layer, and cloud layer, resulting in a clear architecture that is easy to manage and maintain.
[0010] As a preferred embodiment of the technical solution of the present invention, the steps in S1, in which the management platform sends the corresponding AI recognition model to each layer through a secure channel and sends the initial de-identification strategy to the edge server, include: The management platform obtains the attribute information of the video acquisition device and queries the model library for a matching sensitive area detection model based on the attribute information; the attribute information includes at least one of the following: physical area identifier of the device deployment, preset data security level, and device type identifier; The model file is encrypted using a symmetric cryptography algorithm to generate ciphertext of the model file; A hash algorithm is used to calculate the ciphertext of the encrypted model file to generate a checksum; The encrypted model file ciphertext, checksum, and model version identifier are encapsulated into a data packet for distribution. The data packet is sent to the video acquisition device through the first secure channel; After receiving the video, the video capture device recalculates and compares the checksum using the same hash algorithm. If they match, it uses the same symmetric cryptography algorithm and the first session key to decrypt and load the sensitive area detection model; otherwise, it requests a retransmission. The management platform sends the initial de-identification strategy and sensitive information identification model to the edge server through a second secure channel; Using the same steps as the sensitive area detection model distribution, the management platform distributes the verification model to the cloud server through the third security channel.
[0011] As a preferred embodiment of the technical solution of the present invention, the step of the management platform sending the initial de-identification strategy and sensitive information identification model to the edge server through the second secure channel includes: The management platform obtains the attribute information of the video capture devices; Based on the attribute information, the management platform queries the policy library for matching initial de-identification policies and sensitive information identification models. If multiple matching policies exist, the management platform selects the policy based on the matching degree of the security level from high to low. If the matching degree is the same, the policy with the latest version number is selected. If the matching degree is the same, the policy with the latest version number is selected. The initial desensitization strategy and sensitive information identification model file are encrypted using a symmetric cryptography algorithm to generate encrypted policy file ciphertext and model file ciphertext. A hash algorithm is used to calculate the corresponding checksums for the encrypted policy file ciphertext and model file ciphertext. The encrypted policy file ciphertext, model file ciphertext, checksum, and policy version identifier are encapsulated into a data packet for distribution; and the data packet is sent to the edge server through a second secure channel. After receiving the data packet, the edge server recalculates the checksum using the same hash algorithm and compares it with the received checksum. If they match, the verification passes; otherwise, it requests a retransmission from the management platform. After verification, the edge server uses the same symmetric cryptography algorithm and the second session key as during encryption to decrypt the ciphertext of the policy file and the ciphertext of the model file, restores the initial desensitization policy and sensitive information identification model, and loads the application.
[0012] The management platform dynamically selects and distributes matching AI recognition models and de-identification strategies based on attributes such as the physical area identifier, data security level, and device type of the video acquisition equipment, achieving personalized security configuration for each device. Symmetric cryptography is used to encrypt the model and strategy files, combined with a hash algorithm to generate checksums, ensuring confidentiality and integrity during distribution and preventing model theft or tampering. When multiple matching strategies exist, they are intelligently sorted and selected based on the security level matching degree and strategy version number, ensuring the edge layer receives the optimal de-identification strategy, demonstrating the system's intelligent decision-making capabilities. Through receiver checksum comparison and retransmission request mechanisms, the system ensures that the model and strategy reach the target device intact and error-free, improving system robustness.
[0013] As a preferred embodiment of the technical solution of the present invention, step S2 includes: S21. The front-end layer acquires video streams in real time and quickly scans each frame using a sensitive area detection model to detect candidate areas that may contain sensitive information, and outputs the confidence score and location information of each candidate area. S22. The candidate regions with confidence scores higher than the preset detection threshold are cropped out from the video frames as video frame blocks of suspected sensitive information, and the video frame blocks are uploaded to the edge layer through the first security channel. S23. The edge layer receives video frame blocks uploaded by the front-end layer, runs the sensitive information identification model to perform refined identification of the video frame blocks, and identifies the sensitive information categories contained in the video frame blocks and their precise locations in the video frame blocks. S24. Based on the refined identification results, generate preliminary identification results containing sensitive information categories, locations, and confidence values; S25. Determine whether the confidence value of the preliminary identification result is lower than the preset confidence threshold; S26. If the confidence value is lower than the preset confidence threshold, the edge layer uploads the preliminary identification result and the corresponding video frame block to the cloud layer. S27. The cloud layer receives the preliminary identification results and video frame blocks uploaded by the edge layer, calls the verification model to perform secondary identification on the video frame blocks, and generates verification results. S28. The cloud layer combines the preliminary identification results of the edge layer and the verification results of the cloud layer, and generates the final adjudication identification result through preset fusion rules, and returns the final adjudication identification result to the edge layer.
[0014] As a preferred embodiment of the technical solution of the present invention, the preset fusion rules in S28 include: If the confidence level of the cloud-based verification result is higher than that of the edge layer recognition result, and the difference between the two is greater than the preset first threshold, then the cloud-based verification result will be used as the final recognition result. If the confidence level of the cloud-based verification result is similar to that of the edge layer recognition result, and the difference between the two is less than or equal to a preset first threshold, then the two are weighted and averaged according to preset weights, and the weighted average result is used as the final recognition result; the weights are dynamically determined based on the historical recognition accuracy of the edge layer and the cloud layer. If the sensitive information categories of the cloud review results and the edge layer recognition results are inconsistent, a manual review process will be triggered, or the current recognition result will be marked as pending confirmation and will be used as the final decision recognition result after manual review and confirmation.
[0015] The front-end layer runs an ultra-lightweight sensitive area detection model, uploading only video frame blocks suspected of containing sensitive information to the edge layer, rather than the entire video stream, significantly reducing network transmission bandwidth and edge layer processing load. The edge layer performs refined identification of the blocks uploaded from the front-end, accurately identifying the category and precise location of sensitive information, generating preliminary identification results including confidence values, balancing real-time performance and accuracy. For identification results from the edge layer with confidence scores below a threshold, the cloud layer calls a high-performance verification model for secondary identification. This multi-level confirmation mechanism significantly improves identification accuracy and reduces the risk of false negatives and missed positives. A multi-level fusion rule integrates the identification results from the edge layer and the cloud layer, ensuring the reliability and accuracy of the final decision, demonstrating the system's intelligent decision-making capabilities.
[0016] As a preferred embodiment of the technical solution of the present invention, step S3 includes: S31. The edge layer dynamically generates a corresponding encryption key for each identified sensitive information category based on the key generation rules in the initial desensitization strategy, according to the sensitive information category in the identification result, and distributes the encryption key to the desensitization execution terminal. S32. The dynamic strategy decision engine of the edge layer obtains the input information required for decision-making, including: the recognition result, video stream context information, and user attributes that initiate the access request. S33. The dynamic strategy decision engine matches the input information with the rule conditions in the strategy rule set based on the desensitization rules in the initial desensitization strategy to determine the applicable desensitization rules. S34. Based on the matched desensitization rules, generate desensitization instructions for the current video frame and the current user. The desensitization instructions include the location of the sensitive area to be desensitized, the desensitization method to be used, and the encryption key identifier to be used. S35. The dynamic strategy decision engine sends the de-identification instruction to the de-identification execution terminal; S36. The desensitization execution terminal receives the desensitization instruction, obtains the corresponding encryption key according to the encryption key identifier in the desensitization instruction, and performs desensitization operation on the sensitive area according to the desensitization method specified in the desensitization instruction. S37. The de-identification execution end feeds back the execution result of the de-identification operation to the audit unit. The execution result includes the de-identification time, de-identification area, de-identification method used, and operation status.
[0017] Based on the real-time identification of sensitive information categories, an encryption key bound to that category is dynamically generated, enabling content-adaptive desensitization. Different sensitive information is protected with different keys, enhancing security. The dynamic policy decision engine comprehensively considers the identification results, video stream context (time, location, scene), and user attributes (role, permissions) to make real-time decisions, achieving fine-grained access control that varies according to the scene.
[0018] As a preferred embodiment of the technical solution of the present invention, the desensitization method in S34 includes at least one of the following: Format preservation encryption based on symmetric cryptography algorithm, pixel blurring processing, color block overlay processing, and virtual background replacement; The desensitization method is selected according to the following rules: Rule 1: If the sensitive information category in the identification result belongs to the preset high-value category, including ID cards, bank cards, and QR codes, then the format based on symmetric cryptography algorithm will be preferred for preservation and encryption. Rule 2: If the sensitive information category in the recognition result belongs to the biometric category, including face and gait, the desensitization intensity shall be determined according to the user's permission level: low-permission users shall be pixel-blurred, and high-permission users shall not be desensitized or shall be lightly blurred. Rule 3: If the scene type in the video stream context is a dynamic scene, then virtual background replacement should be selected first. Rule 4: For the remaining cases, select the desensitization method according to the preset rules in the initial desensitization strategy, including color block coverage processing.
[0019] For high-value, sensitive information, format-preserving encryption is prioritized to provide strong cryptographic protection while maintaining video visual continuity, balancing security and usability. For biometric information, the desensitization strength is determined based on user access levels; low-privilege users are completely blurred, while high-privilege users can see it or it is slightly blurred, enabling flexible access management. For dynamic scenarios such as video conferencing and live streaming, virtual background replacement is prioritized to protect privacy while maintaining a natural visual appearance, reflecting intelligent scene awareness. Multiple desensitization methods are provided, including format-preserving encryption, pixel blurring, color block overlay, and virtual background replacement, allowing for flexible selection based on different needs and meeting diverse application scenarios.
[0020] As a preferred embodiment of the technical solution of the present invention, the method further includes: During the execution of S1 to S3, audit events are generated in real time for each policy invocation, model inference, de-identification execution, and data access operation; Each audit event, after being hashed by a hash algorithm, is signed together with the digital certificate of the device that generated the event using an asymmetric cryptographic algorithm to form an immutable audit log chain.
[0021] Audit events are generated in real time for all critical operations, including policy invocation, model inference, de-identification execution, and data access, enabling traceability throughout the entire lifecycle of video data. Each audit event is hashed using a hash algorithm and then signed together with the device certificate using an asymmetric cryptographic algorithm, forming a cryptographically protected audit log chain. Any tampering will be detected immediately. Data users can verify the signature to confirm whether the videos they receive have been de-identified by the system according to the prescribed policies, providing solid evidence for compliant data use.
[0022] Secondly, the technical solution of the present invention also provides an adaptive multi-layer intelligent video desensitization system based on national cryptographic algorithms, applied to a three-layer architecture system. The three-layer architecture includes a front-end layer running on the video acquisition device, an edge layer running on the edge server, and a cloud layer running on the cloud server. The system includes: The management platform is used to establish secure channels with video capture devices, edge servers, and cloud servers, and to distribute corresponding AI recognition models to each layer according to the attributes of the video capture devices, as well as to distribute initial desensitization strategies to the edge servers. The video capture device has a front-end layer and a built-in sensitive area detection model, which is used to detect sensitive areas in video frames and upload suspected blocks to the edge layer. The edge server is deployed with an edge layer and has a built-in sensitive information identification model and dynamic policy decision engine. It is used to perform fine-grained identification of uploaded blocks, generate preliminary identification results, and generate de-identification instructions in real time based on the identification results, context and user attributes. The cloud server is deployed with a cloud layer and has a built-in verification model to verify the low-confidence identification results uploaded from the edge layer and generate the final adjudication result. The desensitization execution end is deployed in the front-end layer or edge layer and is used to perform desensitization operations on sensitive areas according to desensitization instructions; The audit unit is used to generate audit events for policy calls, model reasoning, de-identification execution, and data access operations during system operation, and form an immutable audit log chain.
[0023] As can be seen from the above technical solutions, this application has the following advantages: By establishing a secure channel based on asymmetric cryptography, secure communication between video acquisition devices, edge servers, cloud servers, and the management platform is achieved, solving the problem of lacking end-to-end cryptographic protection in traditional solutions. A three-layer architecture of rapid detection at the front-end layer, refined recognition at the edge layer, and verification at the cloud layer is adopted, achieving an optimized balance between recognition accuracy and computing resources. The lightweight front-end model ensures real-time performance, the edge model ensures accuracy, and the cloud model provides verification capabilities; the three work together to effectively handle diverse sensitive information dynamically appearing in the video. Encryption keys are dynamically generated based on real-time recognition results, and real-time decisions are made in conjunction with the video stream context and user attributes, achieving fine-grained desensitization control that varies according to the scenario, overcoming the rigidity of traditional static rule-based desensitization strategies. Attached Figure Description
[0024] To more clearly illustrate the technical solution of this application, the accompanying drawings used in the description will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a flowchart illustrating the method provided in an embodiment of the present invention.
[0026] Figure 2 This is a flowchart illustrating the real-time perception and recognition process of multi-layer collaboration in an embodiment of the present invention.
[0027] Figure 3 This is a flowchart illustrating the dynamic strategy decision-making and adaptive desensitization execution process in an embodiment of the present invention.
[0028] Figure 4 A block diagram of a system provided in an embodiment of the present invention. Detailed Implementation
[0029] To make the purpose, features, and advantages of this application more apparent and understandable, specific embodiments and accompanying drawings will be used to clearly and completely describe the technical solution protected by this application. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this application and in the specification of this invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
[0031] To more clearly describe the present invention, the following terms are defined: Suspected sensitive information: refers to video regions output by the front-end sensitive area detection model that have a confidence score higher than the preset detection threshold but have not yet been refined and confirmed by the edge layer. These regions may contain sensitive information such as faces, ID cards, work badges, and QR codes.
[0032] Fast scanning: refers to the front-end model processing time for each frame of video not exceeding 33ms.
[0033] Key generation rules: These are the set of rules that define how to generate encryption keys based on the category of sensitive information. They include key length (e.g., 128 bits), algorithm mode (e.g., SM4-CBC, SM4-FF1), key-category binding method (one-to-one binding), and key validity period (e.g., 24 hours or 1000 uses).
[0034] like Figure 1 As shown, this embodiment of the invention provides an adaptive multi-layer intelligent video de-identification method based on national cryptographic algorithms, applied to a three-layer architecture system. The three-layer architecture includes a front-end layer running on the video acquisition device, an edge layer running on the edge server, and a cloud layer running on the cloud server. The method includes the following steps: S1. The video capture device, edge server, and cloud server establish secure channels with the management platform based on asymmetric cryptographic algorithms. According to the attributes of the video capture device, the management platform sends the corresponding AI recognition model to each layer through the corresponding secure channel, and sends the initial desensitization strategy to the edge server. The AI recognition model includes a sensitive area detection model sent to the video capture device, a sensitive information recognition model sent to the edge server, and a verification model sent to the cloud server. In this step, the steps for establishing a secure channel between the video acquisition device and the management platform include: The video capture device sends an access request to the management platform, the access request carrying the device's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; after verifying the validity of the device certificate and the correctness of the signature, the management platform returns a response message to the video capture device, the response message carrying the management platform's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; the video capture device verifies the validity of the management platform's certificate and the correctness of the signature, completing two-way authentication; after successful two-way authentication, the video capture device and the management platform exchange keys based on an asymmetric cryptographic algorithm, negotiating and generating a first session key; subsequent communication uses the first session key combined with a symmetric cryptographic algorithm for encryption, and combines it with a hash algorithm for integrity verification, forming a first secure channel; The steps for establishing a secure channel between the edge server and the management platform include: The edge server sends an access request to the management platform, the access request carrying the edge server's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; after verifying the validity of the edge server's certificate and the correctness of the signature, the management platform returns a response message to the edge server, the response message carrying the management platform's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; the edge server verifies the validity of the management platform's certificate and the correctness of the signature, completing two-way authentication; after successful two-way authentication, the edge server and the management platform exchange keys based on an asymmetric cryptographic algorithm and negotiate to generate a second session key; subsequent communication uses the second session key combined with a symmetric cryptographic algorithm for encryption, and combines it with a hash algorithm for integrity verification, forming a second secure channel.
[0035] The steps for establishing a secure channel between the cloud server and the management platform include: The cloud server sends an access request to the management platform, the access request carrying the cloud server's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; after verifying the validity of the cloud server's certificate and the correctness of the signature, the management platform returns a response message to the cloud server, the response message carrying the management platform's digital certificate and a signature generated based on an asymmetric cryptographic algorithm; the cloud server verifies the validity of the management platform's certificate and the correctness of the signature, completing two-way authentication; after successful two-way authentication, the cloud server and the management platform exchange keys based on an asymmetric cryptographic algorithm and negotiate to generate a third session key; subsequent communication uses the third session key combined with a symmetric cryptographic algorithm for encryption, and combines it with a hash algorithm for integrity verification, forming a third secure channel.
[0036] In this embodiment of the invention, a fourth secure channel is established between the edge server and the cloud server: the edge server and the cloud server perform bidirectional authentication based on an asymmetric cryptographic algorithm, negotiate to generate a fourth session key, and form a fourth secure channel for direct communication between the edge layer and the cloud layer.
[0037] It should be further explained that the steps by which the management platform distributes the corresponding AI recognition models to each layer through a secure channel and distributes the initial de-identification strategy to the edge server include: (1) The management platform sends the sensitive area detection model to the video acquisition device through the first security channel; specifically including: The management platform obtains the attribute information of the video acquisition device and queries the model library for a matching sensitive area detection model based on the attribute information. The attribute information includes at least one of the following: physical area identifier of the device deployment, preset data security level, and device type identifier. The model file is encrypted using a symmetric cryptographic algorithm to generate ciphertext. A hash algorithm is used to calculate the checksum of the encrypted model file ciphertext. The encrypted model file ciphertext, checksum, and model version identifier are encapsulated into a data packet for distribution. The data packet is sent to the video acquisition device through the first secure channel. After receiving the data packet, the video acquisition device recalculates the checksum using the same hash algorithm and compares it. If they match, the sensitive area detection model is decrypted and loaded using the same symmetric cryptographic algorithm and the first session key; otherwise, a retransmission is requested. (2) The management platform sends the initial de-identification strategy and sensitive information identification model to the edge server through the second secure channel; specifically including: The management platform acquires the attribute information of the video acquisition device; based on the attribute information, it queries the policy library for matching initial de-identification policies and sensitive information identification models; if multiple matching policies exist, the management platform selects them from high to low according to the matching degree of the security level, and selects the policy with the latest version number when the matching degree is the same; if the matching degree is the same, the policy with the latest version number is selected; the initial de-identification policy and sensitive information identification model files are encrypted using a symmetric cryptography algorithm to generate encrypted policy file ciphertext and model file ciphertext; a hash algorithm is used to calculate the corresponding checksum for the encrypted policy file ciphertext and model file ciphertext. The encrypted policy file ciphertext, model file ciphertext, checksum, and policy version identifier are encapsulated into a data packet for distribution. This data packet is then sent to the edge server via a second secure channel. Upon receiving the data packet, the edge server recalculates the checksum using the same hash algorithm and compares it with the received checksum. If they match, the verification is successful; otherwise, a retransmission is requested from the management platform. After successful verification, the edge server decrypts the policy file ciphertext and model file ciphertext using the same symmetric cryptographic algorithm and the second session key as during encryption, restoring the initial desensitization policy and sensitive information identification model, and then loads the application.
[0038] (3) Using the same steps as the sensitive area detection model distribution, the management platform distributes the verification model to the cloud server through the third security channel.
[0039] S2. The front-end layer runs a sensitive area detection model to locate video frame blocks containing sensitive information and uploads them to the edge layer; the edge layer runs a sensitive information recognition model to classify and label the video frame blocks and generate recognition results; the recognition results include sensitive information categories; the cloud layer uses a verification model to verify recognition results with confidence levels below a threshold; such as Figure 2 As shown, this step specifically includes: S21. The front-end layer acquires video streams in real time and performs rapid scanning of each frame using a sensitive region detection model to detect candidate regions that may contain sensitive information, and outputs the confidence score and location information of each candidate region. In this embodiment, the sensitive region detection model adopts MobileNet, ShuffleNet or SqueezeNet architecture, with a model parameter size of less than 1M and an inference frame rate of not less than 30fps.
[0040] S22. Candidate regions with confidence scores higher than a preset detection threshold are cropped from the video frames and designated as video frame blocks containing suspected sensitive information. These video frame blocks are then uploaded to the edge layer via the first security channel. Here, the cropped video frame blocks must meet the following requirements: they contain only localized areas containing suspected sensitive information; the size of the block is less than 1 / 4 of the original video frame size; and the number of blocks accounts for a proportion of the total number of video frames that is less than a preset proportion threshold. The preset detection threshold is set to 0.7, meaning that only candidate regions with confidence scores ≥ 0.7 are uploaded as suspected sensitive information. This threshold can be adjusted within the range of 0.5-0.9 depending on the actual scenario.
[0041] S23. The edge layer receives video frame blocks uploaded by the front-end layer and runs the sensitive information recognition model to perform refined recognition of the video frame blocks, identifying the categories of sensitive information contained in the video frame blocks and their precise locations within the video frame blocks. The sensitive information recognition model adopts a YOLO, SSD, or Faster R-CNN architecture and can recognize at least four categories of sensitive information, including faces, ID cards, employee badges, and QR codes. The model is trained using conventional methods.
[0042] S24. Based on the refined identification results, generate preliminary identification results containing sensitive information categories, locations, and confidence values; S25. Determine whether the confidence value of the preliminary identification result is lower than a preset confidence threshold. The preset confidence threshold is dynamically adjustable, and the edge layer dynamically adjusts the confidence threshold based on the historical identification accuracy statistics. In a specific embodiment, the preset confidence threshold is initially set to 0.8. After the edge layer processes 1000 blocks, it calculates the identification accuracy. If the accuracy is higher than 95%, the threshold is increased by 0.05; if the accuracy is lower than 85%, the threshold is decreased by 0.05. The adjustment range is controlled between 0.6 and 0.95.
[0043] S26. If the confidence value is lower than the preset confidence threshold, the edge layer uploads the preliminary identification result and the corresponding video frame block to the cloud layer. S27. The cloud layer receives the preliminary identification results and video frame blocks uploaded by the edge layer, calls the verification model to perform secondary identification on the video frame blocks, and generates verification results. S28. The cloud layer combines the preliminary identification results from the edge layer and the verification results from the cloud layer, and generates a final adjudication identification result through preset fusion rules. This final adjudication identification result is then returned to the edge layer. Here, the preset fusion rules include: If the confidence level of the cloud-based verification result is higher than that of the edge layer recognition result, and the difference between the two is greater than the preset first threshold, then the cloud-based verification result will be used as the final recognition result. If the confidence level of the cloud-based verification result is similar to that of the edge layer recognition result, and the difference between the two is less than or equal to a preset first threshold, then the two results are weighted and averaged according to preset weights, and the weighted average result is used as the final recognition result. The weights are dynamically determined based on the historical recognition accuracy of the edge layer and the cloud layer. Here, the preset first threshold is set to 0.2, meaning that when the difference between the cloud confidence level and the edge confidence level is >0.2, the cloud result is used; when the difference is ≤0.2, a weighted average is used. The initial weight value is edge:cloud = 0.4:0.6, and it is dynamically adjusted every 24 hours based on the historical accuracy.
[0044] If the sensitive information categories of the cloud review results and the edge layer recognition results are inconsistent, a manual review process will be triggered, or the current recognition result will be marked as pending confirmation and will be used as the final decision recognition result after manual review and confirmation.
[0045] In some embodiments, the cloud layer feeds back the final decision identification result to the edge layer. The edge layer compares the final decision identification result with its own preliminary identification result. If the two are inconsistent, the edge layer records the case for subsequent model training and optimization. Specifically, the edge layer periodically packages the accumulated inconsistent cases and uploads them to the management platform through the second secure channel. The management platform receives the inconsistent cases, uses them as training data, and generates an updated sensitive information identification model using incremental learning or knowledge distillation techniques. The management platform distributes the updated sensitive information identification model to the edge layer through the second secure channel. The edge layer receives and loads the updated model to replace the original edge multi-category sensitive information identification model.
[0046] S3. Generate a corresponding encryption key based on the sensitive information category in the identification result; the edge layer, based on the initial desensitization strategy, combines the identification result, video stream context, and user attributes to generate a desensitization instruction in real time; in response to the desensitization instruction, obtain the encryption key to perform desensitization operation on the sensitive area. Figure 3 As shown, it specifically includes: S31. The edge layer dynamically generates a corresponding encryption key for each identified sensitive information category based on the sensitive information category in the identification result and the key generation rule in the initial desensitization strategy, and distributes the encryption key to the desensitization execution terminal; in this embodiment of the invention, the key generation rule includes: The encryption key's length, algorithm mode, binding method with the sensitive information category, and key validity period; different sensitive information categories correspond to different encryption keys, and the same sensitive information category may correspond to different encryption keys at different times or in different scenarios.
[0047] S32. The dynamic strategy decision engine of the edge layer obtains the input information required for decision-making. The input information includes: the recognition result, video stream context information, and user attributes that initiate the access request. In this embodiment of the invention, the video stream context information includes at least one of the following: the timestamp of the video frame, the physical area identifier of the video acquisition device, the scene type obtained through video content analysis, and real-time event status information linked with the external security system.
[0048] User attributes include at least one of the following: user role identifier, permission level, department, access time, and access purpose.
[0049] S33. The dynamic strategy decision engine matches the input information with the rule conditions in the strategy rule set based on the desensitization rules in the initial desensitization strategy to determine the applicable desensitization rules. In this embodiment of the invention, the strategy rule set is initialized based on the desensitization rules in the initial desensitization strategy and is dynamically updated according to historical decision feedback during operation.
[0050] S34. Based on the matched desensitization rules, generate a desensitization instruction for the current video frame and the current user. The desensitization instruction includes the location of the sensitive area to be desensitized, the desensitization method to be used, and the encryption key identifier to be used. The desensitization method includes at least one of the following: The system employs a symmetric cryptography algorithm, which includes format preservation encryption, pixel blurring, color block overlay, and virtual background replacement. The format preservation encryption uses the FF1 or FF3 mode based on the SM4 algorithm to encrypt each pixel value in the sensitive area. The encrypted pixel values remain within the range of 0-255, forming visually unrecognizable ciphertext pixel areas. The pixel blurring uses a Gaussian blur algorithm or a mean blur algorithm to smooth the pixel values in the sensitive area. The color block overlay replaces the pixel values in the sensitive area with a preset single color value or a preset texture pattern. The virtual background replacement replaces the sensitive area with a preset background image or video clip.
[0051] In a specific embodiment of the present invention, the format-preserving encryption based on the SM4 algorithm adopts the FF1 mode, and its encryption process can be represented as follows: Input: Array of pixel values for the sensitive region Each of them ; Key: SM4 key K, which is bound to the sensitive information category; Tweak: Video frame number Location coordinates of sensitive areas The combination T; Encryption process: Convert the pixel value array Consider it as a numerical sequence of length n, where each value is an integer between 0 and 255; use the SM4 algorithm to construct the round function for the FF1 mode. Perform 10 rounds of iterative calculations following the standard steps of FF1 mode; output the encrypted pixel value array. Each of them .
[0052] The decryption process is the reverse of the encryption process, using the same key K and Tweak value T to decrypt the ciphertext pixel value array. Restore to the original pixel value array .
[0053] The desensitization method is selected according to the following rules: Rule 1: If the sensitive information category in the identification result belongs to the preset high-value category, including ID cards, bank cards, and QR codes, then the format based on symmetric cryptography algorithm will be preferred for preservation and encryption. Rule 2: If the sensitive information category in the recognition result belongs to the biometric category, including face and gait, the desensitization intensity shall be determined according to the user's permission level: low-permission users shall be pixel-blurred, and high-permission users shall not be desensitized or shall be lightly blurred. Rule 3: If the scene type in the video stream context is a dynamic scene, then virtual background replacement should be selected first. Rule 4: For the remaining cases, select the desensitization method according to the preset rules in the initial desensitization strategy, including color block coverage processing.
[0054] S35. The dynamic strategy decision engine sends the de-identification instruction to the de-identification execution terminal; S36. The de-identification execution terminal receives the de-identification instruction, obtains the corresponding encryption key according to the encryption key identifier in the de-identification instruction, and performs de-identification operation on the sensitive area according to the de-identification method specified in the de-identification instruction. The de-identification execution terminal is selectively deployed in the front-end layer or the edge layer according to processing requirements: if the de-identification instruction requires low-latency processing, the de-identification execution terminal is deployed in the front-end layer and the video acquisition device directly performs the de-identification; if the de-identification instruction requires complex processing or needs to be combined with context information, the de-identification execution terminal is deployed in the edge layer and the edge server performs the de-identification.
[0055] S37. The de-identification execution end feeds back the execution result of the de-identification operation to the audit unit. The execution result includes the de-identification time, de-identification area, de-identification method used, and operation status.
[0056] In some embodiments, the method further includes: Audit events are generated for policy invocation, model inference, de-identification execution, and data access operations. Each event is hashed using a hash algorithm and then signed together with the device certificate using an asymmetric cryptographic algorithm to form an audit log chain.
[0057] The audit log chain is further constructed into a blockchain data structure: Each audit event is recorded as a block. The block body contains the audit event data hashed by a hash algorithm, and the block header contains the hash value of the previous block and a timestamp. The entire block is signed by the device that generated the event using its private key of an asymmetric cryptographic algorithm, forming a decentralized, immutable, and multi-party verifiable audit blockchain.
[0058] In some embodiments, the method includes: The front-end layer collects the recognition accuracy data fed back by the edge layer and monitors its own current computing power load status. When the recognition accuracy fed back by the edge layer is higher than the preset accuracy threshold and the computing power load of the front-end layer itself exceeds the preset load limit, the front-end layer dynamically prunes the currently running sensitive area detection model, trims redundant network structures, and generates a lightweight version of the model for subsequent recognition.
[0059] In some embodiments, the method further includes: The edge layer periodically collects the identification results of the blocks uploaded by the front-end layer, statistically analyzes the identification accuracy and confidence distribution, and feeds back the statistical results to the management platform through the second secure channel. Based on the received feedback data, the management platform uses knowledge distillation technology, with the cloud review model as the teacher model and the edge layer sensitive information identification model as the student model, to generate an updated edge layer sensitive information identification model. The management platform then sends the updated edge layer sensitive information identification model to the edge layer through the second secure channel after encrypting it with a symmetric cryptographic algorithm and verifying it with a hash algorithm. After receiving and verifying it, the edge layer loads the new sensitive information identification model to replace the original model.
[0060] like Figure 4 As shown, this embodiment of the invention provides an adaptive multi-layer intelligent video desensitization system based on national cryptographic algorithms, comprising: The management platform is used to establish secure channels with video capture devices, edge servers, and cloud servers, and to distribute corresponding AI recognition models to each layer according to the attributes of the video capture devices, as well as to distribute initial desensitization strategies to the edge servers. The video capture device has a front-end layer and a built-in sensitive area detection model, which is used to detect sensitive areas in video frames and upload suspected blocks to the edge layer. The edge server is deployed with an edge layer and has a built-in sensitive information identification model and dynamic policy decision engine. It is used to perform fine-grained identification of uploaded blocks, generate preliminary identification results, and generate de-identification instructions in real time based on the identification results, context and user attributes. The cloud server is deployed with a cloud layer and has a built-in verification model to verify the low-confidence identification results uploaded from the edge layer and generate the final adjudication result. The desensitization execution end is deployed in the front-end layer or edge layer and is used to perform desensitization operations on sensitive areas according to desensitization instructions; The auditing unit is used to generate audit events for policy calls, model inference, de-identification execution, and data access operations during system operation, and to form an immutable audit log chain. The system described in this embodiment executes the methods described in the above embodiments.
[0061] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as a USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, or other media capable of storing program code. It includes several instructions to cause a computer terminal (which may be a personal computer, server, or a second terminal, network terminal, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0062] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0063] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0064] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0065] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms, characterized in that, Applied to a three-tier architecture system, the three-tier architecture includes a front-end layer running on a video capture device, an edge layer running on an edge server, and a cloud layer running on a cloud server. The method includes the following steps: S1. The video capture device, edge server, and cloud server establish secure channels with the management platform based on asymmetric cryptographic algorithms. According to the attributes of the video capture device, the management platform sends the corresponding AI recognition model to each layer through the corresponding secure channel, and sends the initial desensitization strategy to the edge server. The AI recognition model includes a sensitive area detection model sent to the video capture device, a sensitive information recognition model sent to the edge server, and a verification model sent to the cloud server. S2. The front-end layer runs a sensitive area detection model to locate video frame blocks containing sensitive information and uploads them to the edge layer; the edge layer runs a sensitive information recognition model to classify and label the video frame blocks and generate recognition results; the recognition results include sensitive information categories; the cloud layer uses a verification model to verify recognition results with confidence levels below a threshold; S3. Generate a corresponding encryption key based on the sensitive information category in the identification result; the edge layer generates a desensitization instruction in real time based on the initial desensitization strategy, combined with the identification result, video stream context and user attributes; in response to the desensitization instruction, obtain the encryption key to perform desensitization operation on the sensitive area.
2. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 1, characterized in that, In S1, the steps for the video capture device, edge server, cloud server, and management platform to establish secure channels based on asymmetric cryptography algorithms include: The video capture device sends an access request to the management platform. The access request carries the device's digital certificate and a signature generated based on an asymmetric cryptographic algorithm. After verifying the validity of the device certificate and the correctness of the signature, the management platform returns a response message to the video acquisition device. The response message carries the management platform's digital certificate and a signature generated based on an asymmetric cryptographic algorithm. Verify the validity of the certificate and the correctness of the signature of the video acquisition equipment management platform to complete two-way authentication; After successful two-way authentication, the video capture device and the management platform exchange keys based on asymmetric cryptography algorithms and negotiate to generate the first session key. Subsequent communications are encrypted using the first session key combined with a symmetric cryptographic algorithm, and integrity is verified using a hash algorithm to form the first secure channel; The edge server and the management platform use the same establishment steps as the first secure channel to negotiate and generate a second session key, thus forming a second secure channel. The cloud server and the management platform use the same establishment steps as the first secure channel to negotiate and generate a third session key, thus forming a third secure channel.
3. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 2, characterized in that, The steps of the S1 management platform in sending the corresponding AI recognition models to each layer through a secure channel and sending the initial de-identification strategy to the edge server include: The management platform obtains the attribute information of the video acquisition device and queries the model library for a matching sensitive area detection model based on the attribute information; the attribute information includes at least one of the following: physical area identifier of the device deployment, preset data security level, and device type identifier; The model file is encrypted using a symmetric cryptography algorithm to generate ciphertext of the model file; A hash algorithm is used to calculate the checksum of the encrypted model file ciphertext. The encrypted model file ciphertext, checksum, and model version identifier are encapsulated into a data packet for distribution. The data packet is sent to the video acquisition device through the first secure channel; After receiving the video, the video capture device recalculates and compares the checksum using the same hash algorithm. If they match, it uses the same symmetric cryptography algorithm and the first session key to decrypt and load the sensitive area detection model; otherwise, it requests a retransmission. The management platform sends the initial de-identification strategy and sensitive information identification model to the edge server through a second secure channel; Using the same steps as the sensitive area detection model distribution, the management platform distributes the verification model to the cloud server through the third security channel.
4. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 3, characterized in that, The steps by which the management platform sends the initial de-identification strategy and sensitive information identification model to the edge server through the second secure channel include: The management platform obtains the attribute information of the video capture devices; Based on the attribute information, the management platform queries the policy library for matching initial de-identification policies and sensitive information identification models. If multiple matching policies exist, the management platform selects the policy based on the matching degree of the security level from high to low. If the matching degree is the same, the policy with the latest version number is selected. If the matching degree is the same, the policy with the latest version number is selected. The initial desensitization strategy and sensitive information identification model file are encrypted using a symmetric cryptography algorithm to generate encrypted policy file ciphertext and model file ciphertext. A hash algorithm is used to calculate the corresponding checksums for the encrypted policy file ciphertext and model file ciphertext. The encrypted policy file ciphertext, model file ciphertext, checksum, and policy version identifier are encapsulated into a data packet for distribution; and the data packet is sent to the edge server through a second secure channel. After receiving the data packet, the edge server recalculates the checksum using the same hash algorithm and compares it with the received checksum. If they match, the verification passes; otherwise, it requests a retransmission from the management platform. After verification, the edge server uses the same symmetric cryptography algorithm and the second session key as during encryption to decrypt the ciphertext of the policy file and the ciphertext of the model file, restores the initial desensitization policy and sensitive information identification model, and loads the application.
5. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 3, characterized in that, The steps in S2 include: S21. The front-end layer acquires video streams in real time and quickly scans each frame using a sensitive area detection model to detect candidate areas that may contain sensitive information, and outputs the confidence score and location information of each candidate area. S22. The candidate regions with confidence scores higher than the preset detection threshold are cropped out from the video frames as video frame blocks of suspected sensitive information, and the video frame blocks are uploaded to the edge layer through the first security channel. S23. The edge layer receives video frame blocks uploaded by the front-end layer, runs the sensitive information identification model to perform refined identification of the video frame blocks, and identifies the sensitive information categories contained in the video frame blocks and their precise locations in the video frame blocks. S24. Based on the refined identification results, generate preliminary identification results containing sensitive information categories, locations, and confidence values; S25. Determine whether the confidence value of the preliminary identification result is lower than the preset confidence threshold; S26. If the confidence value is lower than the preset confidence threshold, the edge layer uploads the preliminary identification result and the corresponding video frame block to the cloud layer. S27. The cloud layer receives the preliminary identification results and video frame blocks uploaded by the edge layer, calls the verification model to perform secondary identification on the video frame blocks, and generates verification results. S28. The cloud layer combines the preliminary identification results of the edge layer and the verification results of the cloud layer, and generates the final adjudication identification result through preset fusion rules, and returns the final adjudication identification result to the edge layer.
6. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 5, characterized in that, The preset fusion rules in S28 include: If the confidence level of the cloud review result is higher than that of the edge layer recognition result, and the difference between the two is greater than the preset first threshold, then the cloud review result will be used as the final recognition result. If the confidence level of the cloud-based verification result is similar to that of the edge layer recognition result, and the difference between the two is less than or equal to a preset first threshold, then the two are weighted and averaged according to preset weights, and the weighted average result is used as the final recognition result; the weights are dynamically determined based on the historical recognition accuracy of the edge layer and the cloud layer. If the sensitive information categories of the cloud review results and the edge layer recognition results are inconsistent, a manual review process will be triggered, or the current recognition result will be marked as pending confirmation and will be used as the final decision recognition result after manual review and confirmation.
7. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 5, characterized in that, The steps in S3 include: S31. The edge layer dynamically generates a corresponding encryption key for each identified sensitive information category based on the key generation rules in the initial desensitization strategy, according to the sensitive information category in the identification result, and distributes the encryption key to the desensitization execution terminal. S32. The dynamic strategy decision engine of the edge layer obtains the input information required for decision-making, including: the recognition result, video stream context information, and user attributes that initiate the access request; S33. The dynamic strategy decision engine matches the input information with the rule conditions in the strategy rule set based on the desensitization rules in the initial desensitization strategy to determine the applicable desensitization rules. S34. Based on the matched desensitization rules, generate desensitization instructions for the current video frame and the current user. The desensitization instructions include the location of the sensitive area to be desensitized, the desensitization method to be used, and the encryption key identifier to be used. S35. The dynamic strategy decision engine sends the de-identification instruction to the de-identification execution terminal; S36. The desensitization execution terminal receives the desensitization instruction, obtains the corresponding encryption key according to the encryption key identifier in the desensitization instruction, and performs desensitization operation on the sensitive area according to the desensitization method specified in the desensitization instruction. S37. The de-identification execution end feeds back the execution result of the de-identification operation to the audit unit. The execution result includes the de-identification time, de-identification area, de-identification method used, and operation status.
8. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 7, characterized in that, The desensitization method in S34 includes at least one of the following: Format preservation encryption based on symmetric cryptography algorithm, pixel blurring processing, color block overlay processing, and virtual background replacement; The desensitization method is selected according to the following rules: Rule 1: If the sensitive information category in the identification result belongs to the preset high-value category, including ID cards, bank cards, and QR codes, then the format based on symmetric cryptography algorithm will be preferred for preservation and encryption. Rule 2: If the sensitive information category in the recognition result belongs to the biometric category, including face and gait, the desensitization intensity shall be determined according to the user's permission level: low-permission users shall be pixel-blurred, and high-permission users shall not be desensitized or shall be lightly blurred. Rule 3: If the scene type in the video stream context is a dynamic scene, then virtual background replacement should be preferred. Rule 4: For the remaining cases, select the desensitization method according to the preset rules in the initial desensitization strategy, including color block coverage.
9. The adaptive multi-layer intelligent video desensitization method based on national cryptographic algorithms according to claim 1, characterized in that, The method further includes: During the execution of S1 to S3, audit events are generated in real time for each policy invocation, model inference, de-identification execution, and data access operation. Each audit event, after being hashed by a hash algorithm, is signed together with the digital certificate of the device that generated the event using an asymmetric cryptographic algorithm to form an immutable audit log chain.
10. An adaptive multi-layer intelligent video desensitization system based on national cryptographic algorithms, characterized in that, Applied to a three-tier architecture system, the three-tier architecture includes a front-end layer running on the video capture device, an edge layer running on the edge server, and a cloud layer running on the cloud server. The system includes: The management platform is used to establish secure channels with video capture devices, edge servers, and cloud servers, and to distribute corresponding AI recognition models to each layer according to the attributes of the video capture devices, as well as to distribute initial desensitization strategies to the edge servers. The video capture device has a front-end layer and a built-in sensitive area detection model, which is used to detect sensitive areas in video frames and upload suspected blocks to the edge layer. The edge server is deployed with an edge layer and has a built-in sensitive information identification model and dynamic policy decision engine. It is used to perform fine-grained identification of uploaded blocks, generate preliminary identification results, and generate de-identification instructions in real time based on the identification results, context and user attributes. The cloud server is deployed with a cloud layer and has a built-in verification model to verify the low-confidence identification results uploaded from the edge layer and generate the final adjudication result. The desensitization execution end is deployed in the front-end layer or edge layer and is used to perform desensitization operations on sensitive areas according to desensitization instructions; The audit unit is used to generate audit events for policy calls, model reasoning, de-identification execution, and data access operations during system operation, and form an immutable audit log chain.
