Video transmission method, device, electronic device and medium based on video communication

By generating and embedding watermarks in video communications, and combining encryption and anomaly detection models, the integrity and security issues in video communication data transmission are solved, and real-time data protection and security assurance are achieved.

CN117998096BActive Publication Date: 2024-09-13GUANGZHOU BLUE PEN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311826512.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-09-13
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

Existing video communication technology has integrity and security challenges during the data transmission process, including the risk of data tampering and information leakage. Unauthorized tampering and attacks may lead to data distortion or sensitive information leakage.

Method used

During the video communication process, the sending end generates and embeds the watermark identification of the video frame, and dynamically adjusts the embedding depth of the watermark identification by monitoring the communication quality and network bandwidth in real time. The receiving end verifies the watermark identification to ensure data integrity and security, while using the transmission Layer encryption protocols and abnormal communication behavior detection models prevent tampering and attacks.

Benefits of technology

Real-time protection of communication data is achieved through watermark technology, ensuring the legality and integrity of the data, reducing the risk of information leakage and tampering, and providing more comprehensive security and integrity guarantees for video communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117998096B
    Figure CN117998096B
Patent Text Reader

Abstract

The present invention provides a video transmission method, device, electronic device and medium based on video communication, the method comprising: during the video communication process, a transmitting end generates a watermark mark for each video frame of a video, embeds the watermark mark for each video frame into a corresponding video frame, compresses the video with the embedded watermark mark and transmits the compressed video data to a receiving end, and the receiving end extracts the information of the watermark mark from the received video data and verifies the information of the watermark mark. The present invention realizes real-time protection of communication data by adding a watermark during the video communication process. This watermark technology can not only identify the legitimacy of the communication, but also effectively resist the risks of data tampering and information leakage, providing a more comprehensive solution for the security and integrity of video communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video communication data security technology, and in particular to a video transmission method based on video communication, a video transmission device based on video communication, an electronic device and a computer-readable medium. Background Art

[0002] Today, the booming development of video communication technology has brought great convenience to our lives and work. However, the security and integrity risks that come with it cannot be ignored. Existing video communication technologies mainly include various real-time transport protocols (RTP), video encoding and decoding technologies, encrypted communications, etc. While these technologies realize video communication, they also face some security and integrity challenges.

[0003] First, the integrity of data is threatened. During the transmission process, information may be tampered with without authorization, resulting in data distortion or damage. Second, with the widespread use of video communications, the risk of information leakage is becoming increasingly prominent. Unprotected communications may be subject to malicious attacks, resulting in the leakage of sensitive information, bringing serious privacy and security risks to users and enterprises.

[0004] Therefore, a more innovative and reliable solution is needed to make up for the shortcomings of current video communication technology and ensure the integrity and security of communications. Summary of the invention

[0005] In view of the above problems, the present invention is proposed to provide a video transmission method based on video communication and a corresponding video transmission device based on video communication, an electronic device and a computer-readable medium that overcome the above problems or at least partially solve the above problems.

[0006] The present invention discloses a video transmission method based on video communication, the method comprising:

[0007] During the video communication process, the sender generates a watermark for each video frame;

[0008] The sending end embeds the watermark identifier of each video frame into the corresponding video frame;

[0009] The sending end compresses the video with the embedded watermark and transmits the compressed video data to the receiving end;

[0010] The receiving end extracts watermark information from the received video data and verifies the watermark information.

[0011] Optionally, during the video communication process, the step of generating a watermark mark for each video frame at the sending end includes:

[0012] S1, using a random number generation algorithm to generate a random seed for the current video frame;

[0013] S2, using the random seed of the current video frame and the encryption algorithm to generate a digital sequence of the current video frame;

[0014] S3, using the digital sequence of the current video frame, the timestamp of the current video frame, the device identifier, and the digital sequence of the previous video frame of the current video frame to generate a watermark identifier of the current video frame;

[0015] S4, repeatedly executing S1-S3, generating a watermark identifier for each video frame of the video, and recording and storing a digital sequence, a timestamp, and a device identifier of the watermark identifier for each video frame.

[0016] Optionally, the step of embedding the watermark identifier of each video frame into the corresponding video frame at the sending end includes:

[0017] Divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image;

[0018] Encoding a watermark identifier for each video frame;

[0019] Determine the target small block where the watermark mark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features;

[0020] Monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth;

[0021] The encoded watermark is embedded into a target small block of the corresponding video frame according to the adjusted watermark embedding depth.

[0022] Optionally, the step of monitoring the communication quality and network bandwidth in real time and dynamically adjusting the watermark embedding depth according to the real-time communication quality and network bandwidth includes:

[0023] Determine whether the real-time communication quality and network bandwidth meet the preset conditions;

[0024] If the real-time communication quality and network bandwidth meet the preset conditions, the watermark embedding depth is determined according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth.

[0025] Optionally, the method further comprises:

[0026] Monitor and capture transmitted communication traffic in real time;

[0027] An abnormal communication behavior detection model is used to detect whether the captured communication traffic has abnormal communication behavior;

[0028] If abnormal communication behavior is detected from the captured communication traffic, an alarm is triggered and the communication is automatically blocked or isolated.

[0029] Optionally, the step of extracting watermark information from the received video data and verifying the watermark information at the receiving end includes:

[0030] The receiving end extracts the digital sequence, time stamp and device identification of the watermark mark of each video frame from the received video data;

[0031] The digital sequence, timestamp and device identification of the watermark of each video frame extracted are respectively compared with the digital sequence, timestamp and device identification of the watermark of the corresponding video frame stored;

[0032] If at least one of the digital sequence, timestamp, and device identification of the watermark of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has been tampered with or damaged;

[0033] If the digital sequence, timestamp, and device identification of the watermark of each video frame extracted are consistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has not been tampered with or damaged.

[0034] Optionally, the step of the sending end compressing the video in which the watermark has been embedded and transmitting the compressed video data to the receiving end includes:

[0035] The sending end compresses the video with the embedded watermark and transmits the compressed video data to the receiving end by using the transport layer encryption protocol TLS / SSL.

[0036] The present invention also discloses a video transmission device based on video communication, the device comprising:

[0037] A watermark generation module is used to generate a watermark for each video frame at the sending end during the video communication process;

[0038] A watermark embedding module, used for the sending end to embed the watermark of each video frame into the corresponding video frame;

[0039] A video transmission module, used for the sending end to compress the video with the embedded watermark identifier and transmit the compressed video data to the receiving end;

[0040] The verification module is used for the receiving end to extract the watermark information from the received video data and verify the watermark information.

[0041] Optionally, the watermark identification generating module includes:

[0042] A random seed generation submodule is used to generate a random seed for the current video frame using a random number generation algorithm;

[0043] A digital sequence generation submodule is used to generate a digital sequence of the current video frame using a random seed of the current video frame and an encryption algorithm;

[0044] The watermark generation submodule is used to generate a watermark of the current video frame by using the digital sequence of the current video frame, the timestamp of the current video frame, the device identification, and the digital sequence of the previous video frame of the current video frame;

[0045] The repeatedly executing and recording storage submodule is used to repeatedly execute S1-S3, generate a watermark mark for each video frame of the video, and record and store the digital sequence, timestamp, and device identifier of the watermark mark for each video frame.

[0046] Optionally, the watermark embedding module includes:

[0047] A division submodule, used to divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image;

[0048] The encoding submodule is used to encode the watermark identifier of each video frame;

[0049] A block selection submodule, used to determine the target small block where the watermark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features;

[0050] The embedding depth determination submodule is used to monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth;

[0051] The embedding submodule is used to embed the encoded watermark into the target small block of the corresponding video frame according to the adjusted watermark embedding depth.

[0052] Optionally, the embedding depth determination submodule includes:

[0053] A judging unit, used to judge whether the real-time communication quality and network bandwidth meet preset conditions;

[0054] The embedding depth determination unit is used to determine the watermark embedding depth according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth if the real-time communication quality and network bandwidth meet the preset conditions.

[0055] Optionally, the device further comprises:

[0056] Communication traffic monitoring module, used to monitor and capture the transmitted communication traffic in real time;

[0057] An abnormal communication behavior detection module is used to detect whether the captured communication traffic has abnormal communication behavior using an abnormal communication behavior detection model;

[0058] The alarm module is used to trigger an alarm and automatically block or isolate the communication if abnormal communication behavior is detected from the captured communication traffic.

[0059] Optionally, the verification module includes:

[0060] An extraction submodule, used for the receiving end to extract a digital sequence, a timestamp, and a device identifier of a watermark of each video frame from the received video data;

[0061] A comparison submodule, for comparing the digital sequence, timestamp, and device identification of the watermark of each video frame extracted with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored;

[0062] The abnormal communication behavior determination submodule is used to determine that the video data has been tampered with or damaged if at least one of the digital sequence, timestamp, and device identification of the watermark identification of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the watermark identification of the corresponding video frame stored;

[0063] The normal communication behavior determination submodule is used to determine that the video data has not been tampered with or damaged if the digital sequence, timestamp, and device identification of the watermark identifier of each video frame extracted are consistent with the digital sequence, timestamp, and device identification of the watermark identifier of the corresponding video frame stored.

[0064] Optionally, the video transmission module includes:

[0065] The encrypted transmission submodule is used for the sending end to compress the video with the embedded watermark and transmit the compressed video data to the receiving end by using the transport layer encryption protocol TLS / SSL.

[0066] The present invention also discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0067] The memory is used to store computer programs;

[0068] The processor is used to implement the video transmission method based on video communication as described in the present invention when executing the program stored in the memory.

[0069] The present invention also discloses one or more computer-readable media, on which instructions are stored. When executed by one or more processors, the processors execute the video transmission method based on video communication as described in the present invention.

[0070] The present invention includes the following advantages:

[0071] The video transmission method based on video communication of the present invention, during the video communication process, the sending end generates a watermark mark for each video frame of the video, embeds the watermark mark of each video frame into the corresponding video frame, compresses the video with the embedded watermark mark and transmits the compressed video data to the receiving end, and the receiving end extracts the information of the watermark mark from the received video data and verifies the information of the watermark mark. The present invention realizes real-time protection of communication data by adding a watermark during the video communication process. This watermark technology can not only identify the legitimacy of the communication, but also effectively resist the risks of data tampering and information leakage, providing a more comprehensive solution for the security and integrity of video communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 is a flowchart of a video transmission method based on video communication provided by an embodiment of the present invention;

[0073] Figure 2 It is a schematic diagram of embedding a watermark mark in the video communication process provided by the present invention;

[0074] Figure 3 It is a structural block diagram of a video transmission device based on video communication provided by an embodiment of the present invention;

[0075] Figure 4 is a block diagram of an electronic device provided by an embodiment of the present invention;

[0076] Figure 5 It is a schematic diagram of a computer-readable medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0077] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0078] Reference Figure 1 , shows a flow chart of the steps of a video transmission method based on video communication provided in an embodiment of the present invention, which may specifically include the following steps:

[0079] Step 101, during the video communication process, the sending end generates a watermark mark for each video frame of the video;

[0080] Aiming at the problems of integrity and security of video data that may exist in the process of video communication, the present invention provides an intelligent watermark management system, through which watermark technology is introduced into the video data of video communication, and the introduction of watermark technology provides a new idea for the traceability and tamper-proof of communication data. And due to the real-time nature of video communication data, the present invention embeds a unique watermark identifier in each frame of the communication, making any illegal modification detectable.

[0081] Specifically, during the video communication process, the sender will add a unique watermark to each video frame through the intelligent watermark management system. This means that in each frame of the video, there is a watermark, which can contain information about the source of the video, creation time, creator, etc. For the receiving end, the source and integrity of the video can be confirmed by detecting the watermark in the video frame. If the watermark is found to be inconsistent with expectations, it can be determined that the video may have been tampered with or forged during the transmission process. By adding watermark technology to video communication, not only the security of the video is improved, unauthorized copying and dissemination is prevented, but also the tracking and identification of the video is possible.

[0082] In one embodiment of the present invention, during the video communication process, the step of generating a watermark mark for each video frame at the transmitting end includes:

[0083] S1, using a random number generation algorithm to generate a random seed for the current video frame;

[0084] S2, using the random seed of the current video frame and the encryption algorithm to generate a digital sequence of the current video frame;

[0085] S3, using the digital sequence of the current video frame, the timestamp of the current video frame, the device identifier, and the digital sequence of the previous video frame of the current video frame to generate a watermark identifier of the current video frame;

[0086] S4, repeatedly executing S1-S3, generating a watermark identifier for each video frame of the video, and recording and storing a digital sequence, a timestamp, and a device identifier of the watermark identifier for each video frame.

[0087] In the process of video communication, the transmitting end of the present invention generates a watermark for each video frame using a watermark generation algorithm. The watermark generation algorithm of the present invention utilizes the principle of hash chain to generate a new watermark through the previous watermark, which increases the difficulty for attackers to crack. In addition, the generation of watermarks not only considers randomness, but also combines the timing of communication to ensure uniqueness and prevent attacks.

[0088] Specifically, the sender uses a secure random number generation algorithm to generate a random seed. By introducing a random seed, it is ensured that the subsequently generated watermark has sufficient randomness. Then, the random seed and encryption algorithm are used to generate a digital sequence with high randomness. The random number generation algorithm is used to generate a random digital sequence, making it unpredictable in different scenarios and time points. Then, the digital sequence generated by the random number generation algorithm is combined with other information, such as timestamps, device identification, etc., to generate a unique watermark, ensuring the uniqueness of the watermark in the entire system and increasing the tamper-proofness of the watermark. In addition, by regularly updating the random seed, updating the random seed within a certain time interval, and regenerating a new watermark sequence, it is prevented from attacking by analyzing the generation mode of the watermark, thereby increasing the security of the watermark. In addition, in the process of generating the watermark, the digital sequence, timestamp, and device identification of each video frame can be recorded and stored for subsequent verification.

[0089] Step 102, the sending end embeds the watermark identifier of each video frame into the corresponding video frame;

[0090] After generating the watermark identifier of each video frame respectively, the sender can embed the watermark identifier of each video frame into the corresponding video frame. Specifically, the sender can first determine the embedding position and embedding depth of the watermark identifier in the video frame, and then embed the watermark identifier into the video frame according to the determined embedding position and embedding depth.

[0091] In one embodiment of the present invention, the step of embedding the watermark identifier of each video frame into the corresponding video frame at the transmitting end includes:

[0092] Divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image;

[0093] Encoding a watermark identifier for each video frame;

[0094] Determine the target small block where the watermark mark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features;

[0095] Monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth;

[0096] The encoded watermark is embedded into a target small block of the corresponding video frame according to the adjusted watermark embedding depth.

[0097] Since adding watermarks in real time during video communication may cause transmission delays and performance problems, dynamic watermarks in video communication may also be more vulnerable to unauthorized access and malicious tampering, and videos may have different resolutions and codec formats, watermark identification needs to be able to adapt to various situations, and real-time addition and removal of watermarks may affect video quality. The present invention utilizes real-time stream processing technology to reduce the impact on video transmission performance through efficient algorithms, data processing technology and data parallel processing, and uses advanced encryption and digital signature technology to protect the security of watermarks and ensure that they are not tampered with without authorization. In addition, an intelligent algorithm that can adaptively adjust the addition and removal of watermarks according to the characteristics of videos in different coding formats is developed.

[0098] Specifically, the sender can divide the video frame into multiple small blocks, which are usually continuous areas of the image. By dividing, the watermark identifier can be dispersedly embedded in different parts of the video frame, increasing the robustness and security of the watermark. The sender can then encode the watermark identifier to be embedded for use in block embedding. By encoding the watermark identifier, it can be embedded between different blocks and can be correctly decoded at the receiving end.

[0099] For different video communication situations, embedding parameters such as embedding position and embedding depth can be adjusted. For example, embedding parameters can be adjusted according to the characteristics of image content and watermark information, and embedding algorithms can be optimized to adapt to different types of videos and watermark information to improve the embedding effect. For the embedding position, the sender can select a specific block for embedding the watermark. The selection of a specific block for embedding the watermark can be based on predefined rules, such as uniform selection, selection based on image features, etc. By selecting a specific block for embedding the watermark, the embedding position of the watermark can be controlled to ensure the robustness of the watermark and not affect the image quality. The sender can adjust the embedding depth according to the communication environment. Specifically, the communication quality and network bandwidth can be monitored in real time, and the embedding depth of the watermark can be dynamically adjusted according to the real-time communication quality and network bandwidth. The encoded watermark is embedded in the selected block according to the determined embedding depth. This can be achieved by modifying the pixel value of the block or adding a specific embedding mode in the block. In this way, the watermark is embedded without causing obvious visual changes, ensuring that the watermark is not easily perceived visually.

[0100] Introducing a timestamp in watermark generation to record the exact time of watermark generation increases the temporal nature of the watermark, making it temporally ordered and helpful for subsequent temporal analysis. In addition, the temporal information can be encrypted to prevent attackers from destroying the temporal nature of the watermark by modifying the time information.

[0101] A timing update mechanism is introduced into the intelligent watermark processing system to ensure that the timing of the watermark is continuous and uninterrupted, preventing attackers from destroying the timing of the watermark by pausing or modifying the system time, etc. The timing information in the watermark is dynamically adjusted according to the system's operating status and needs.

[0102] In one embodiment of the present invention, the steps of monitoring the communication quality and network bandwidth in real time and dynamically adjusting the watermark embedding depth according to the real-time communication quality and network bandwidth include:

[0103] Determine whether the real-time communication quality and network bandwidth meet the preset conditions;

[0104] If the real-time communication quality and network bandwidth meet the preset conditions, the watermark embedding depth is determined according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth.

[0105] The intelligent watermark management system of the present invention can dynamically adjust the embedding depth of the watermark according to the real-time changes of the communication quality and network bandwidth to ensure the best user experience. Specifically, the embedding depth adjustment strategy can be predefined, and the watermark embedding depth adjustment strategy can be to formulate the corresponding relationship between the communication quality and the embedding depth under the conditions of different network bandwidths. In addition, the triggering conditions for adjusting the embedding depth of the watermark can be set, such as defining thresholds such as network bandwidth reduction and communication quality deterioration, and the parameters characterizing the communication quality can be signal-to-noise ratio, data transmission rate, etc.

[0106] Therefore, during the video communication process, the sender can monitor the changes in communication quality and network bandwidth in real time through the intelligent watermark management system to obtain real-time communication quality and network bandwidth data. Then, it can be determined whether the real-time communication quality and network bandwidth meet the preset conditions. If the real-time communication quality and network bandwidth meet the preset conditions, the watermark embedding depth is automatically adjusted according to the previously defined strategy, that is, the watermark embedding depth is determined according to the corresponding relationship between communication quality and watermark embedding depth under different network bandwidth conditions, as well as the real-time communication quality and network bandwidth.

[0107] In addition, during the dynamic adjustment process, the intelligent watermark management system can collect feedback data in real time, that is, monitor the visibility of watermarks and video transmission performance. The data collected in this process is used for statistical analysis to provide support for the subsequent optimization of strategy accuracy and effectiveness.

[0108] In addition, in order to better meet the personalized needs of users, the intelligent watermark management system provides the option of user-defined settings, allowing users to manually adjust watermark embedding parameters according to specific situations.

[0109] Step 103, the sending end compresses the video with the embedded watermark identifier and transmits the compressed video data to the receiving end;

[0110] After the watermark is embedded in the video frame, the video can be compressed to ensure more efficient data transmission during the transmission process. When it is transmitted to the receiving end, the authenticity and credibility of the video can be ensured by ensuring the integrity of the watermarked video during the transmission process and the stability of the watermark information.

[0111] In one embodiment of the present invention, the step of the sending end compressing the video in which the watermark has been embedded and transmitting the compressed video data to the receiving end includes:

[0112] The sending end compresses the video with the embedded watermark and transmits the compressed video data to the receiving end by using the transport layer encryption protocol TLS / SSL.

[0113] In the embodiment of the present invention, the sending end can use advanced transport layer encryption protocols, such as TLS / SSL, to ensure that the communication data is additionally protected during the transmission process. Watermark technology and encrypted transmission communication technology complement each other to form a double-layer encryption protection system, which improves the system's ability to resist various network attacks.

[0114] Step 104: the receiving end extracts watermark information from the received video data and verifies the watermark information.

[0115] After receiving the video data transmitted from the sending end, the receiving end can perform a watermark extraction operation on the video data, that is, the reverse process, restore the watermark from the video frame, and extract the watermark information from the video. After extracting the watermark information, the receiving end can verify the extracted watermark information to determine whether the video frame has been tampered with or damaged, so as to ensure the authenticity and integrity of the video.

[0116] In one embodiment of the present invention, the step of extracting watermark information from received video data and verifying the watermark information at the receiving end includes:

[0117] The receiving end extracts the digital sequence, time stamp and device identification of the watermark mark of each video frame from the received video data;

[0118] The digital sequence, timestamp and device identification of the watermark of each video frame extracted are respectively compared with the digital sequence, timestamp and device identification of the watermark of the corresponding video frame stored;

[0119] If at least one of the digital sequence, timestamp, and device identification of the watermark of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has been tampered with or damaged;

[0120] If the digital sequence, timestamp, and device identification of the watermark of each video frame extracted are consistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has not been tampered with or damaged.

[0121] The information that can be extracted from the watermark may include a digital sequence, a timestamp, and a device identification. After the receiving end extracts the digital sequence, timestamp, and device identification of the watermark of each video frame from the video data, the extracted information can be compared with the previously stored digital sequence, timestamp, and device identification. If at least one of the digital sequence, timestamp, and device identification of the watermark of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the stored watermark of the corresponding video frame, it can be determined that the video data has been tampered with or damaged during transmission. If the digital sequence, timestamp, and device identification of the watermark of each video frame extracted is consistent with the digital sequence, timestamp, and device identification of the stored watermark of the corresponding video frame, it can be determined that the video data has not been tampered with or damaged during transmission and is safe and complete.

[0122] In one embodiment of the present invention, the method further comprises:

[0123] Monitor and capture transmitted communication traffic in real time;

[0124] An abnormal communication behavior detection model is used to detect whether the captured communication traffic has abnormal communication behavior;

[0125] If abnormal communication behavior is detected from the captured communication traffic, an alarm is triggered and the communication is automatically blocked or isolated.

[0126] The intelligent watermark management system of the present invention can monitor communication traffic in real time, learn legal communication patterns, and perform real-time response and processing when abnormal behavior is detected.

[0127] Specifically, the intelligent watermark management system can include a dedicated traffic monitoring module that can capture incoming and outgoing communication traffic in real time. Continuously monitor the communication activities of the system to ensure real-time tracking of all data transmissions. Furthermore, the captured communication traffic can be parsed and deeply analyzed to understand the structure and content of each data packet, which is helpful for subsequent learning of legitimate communication patterns and detection of abnormal behaviors. In addition, the intelligent watermark management system can also count and record relevant information of communication traffic, including frequency, source, destination, data volume, etc. Provide system administrators and security analysts with a comprehensive communication traffic data to facilitate the aggregation and analysis of monitoring data.

[0128] In an embodiment of the present invention, machine learning algorithms such as clustering algorithms and anomaly detection algorithms can be used to model and learn normal communication modes and abnormal communication events, and establish an abnormal communication behavior detection model, so that the intelligent watermark management system can dynamically adapt to normal communication modes in different environments and reduce the false alarm rate. Specifically, the characteristics of the communication traffic can be extracted and analyzed so that the machine learning model can better understand the communication mode and ensure more accurate detection of abnormal behavior. And the model can be continuously optimized, that is, the communication traffic and events monitored in real time are used to continuously optimize the abnormal communication behavior detection model so that the system can continuously adapt to changes in communication modes.

[0129] The intelligent watermark management system can immediately trigger an alarm when abnormal communication behavior is detected, notify relevant personnel to take safety measures, and achieve rapid response. And after detecting abnormal communication behavior, it can automatically block or isolate related communications to reduce potential risks. Furthermore, it can record detailed information of abnormal events, including trigger time, trigger reason, and communication traffic involved, for subsequent analysis and optimization.

[0130] Reference Figure 2 , showing a schematic diagram of embedding a watermark in a video communication process provided by the present invention;

[0131] Figure 2 ① is the process flow of embedding watermarks; ② is the intelligent watermark management system; ③ is the process flow of restoring watermarks from video frames.

[0132] The following are application examples of the present invention in some practical scenarios:

[0133] 1. Video conference scenario:

[0134] 1. Problem description: When conducting sensitive business meetings, there is a risk of information leakage and communication content being tampered with.

[0135] 2. Application of technical solution: The watermark technology in the video transmission method based on video communication of the present invention can ensure that each video frame carries a unique watermark mark to verify the integrity of the communication. The intelligent watermark management system monitors abnormal behavior in real time, dynamically adjusts watermark parameters to adapt to network fluctuations, and encrypts communication to ensure the secure transmission of data.

[0136] 2. Online Education Applications:

[0137] 1. Problem description: In the process of online education, there is a risk of teaching resources being stolen or content being tampered with.

[0138] 2. Application of technical solutions: The watermark generated by the video transmission method based on video communication can be embedded in the teaching video to protect the integrity of the teaching content. The intelligent watermark management system can detect unauthorized downloading or copying in time, dynamically adjust the watermark parameters to adapt to different network environments, and encrypt communication to ensure the privacy of students and teachers.

[0139] 3. Video surveillance system:

[0140] 1. Problem description: During the transmission process of surveillance cameras, video data may be tampered with or accessed without authorization.

[0141] 2. Application of technical solutions: The watermark generated by the video transmission method based on video communication can be embedded in the surveillance video to ensure the integrity of the video. The intelligent watermark management system monitors the video stream, responds in real time to any attempt to tamper with or unauthorized access, and dynamically adjusts the watermark parameters to adapt to changes in the surveillance scene.

[0142] 4. Telemedicine Services:

[0143] 1. Problem description: In telemedicine communications, patient privacy leakage and communication data tampering may have serious consequences.

[0144] 2. Application of technical solutions: The video transmission method based on video communication can protect the privacy of patients. The intelligent watermark management system monitors abnormal conditions during the communication process and dynamically adjusts the watermark parameters to meet the special requirements of medical communication. At the same time, encrypted communication technology ensures the secure transmission of medical data.

[0145] Through these application examples, it can be demonstrated that the video transmission method based on video communication and the intelligent watermark management system can provide comprehensive protection in various application scenarios, ensure the security and integrity of communications, and adapt to the special needs of different fields.

[0146] The video transmission method based on video communication of the present invention can achieve the following technical effects:

[0147] First, the integrity of video data is effectively guaranteed. The application of watermark technology makes it extremely difficult to tamper with communication data, because the unique identification of the watermark is difficult to imitate or modify during the communication process. This provides a strong guarantee for the data transmitted by users and eliminates the possibility of data distortion or damage.

[0148] Secondly, the risk of information leakage is greatly reduced. The introduction of watermark technology not only ensures the integrity of communication data, but also the watermark logo embedded in each frame plays the role of identity authentication. This means that unauthorized access and information leakage will be more strictly restricted, and user privacy will be more comprehensively protected.

[0149] The present invention uses advanced video processing algorithms to ensure that the embedding of watermarks not only does not affect the video quality, but also maintains stable recognizability under different resolutions and encoding formats. This technology ensures the imperceptibility of watermarks, and users do not need to worry about quality degradation or impact on viewing experience during video communications.

[0150] Furthermore, the present invention can dynamically adjust the watermark identifier to adapt to different communication scenarios and requirements, which means that in different communication environments, the parameters and characteristics of the watermark can be adjusted to achieve optimal security and stability.

[0151] In addition, the intelligent watermark management system of the present invention has the ability of real-time monitoring, verification and response. Through real-time monitoring of watermarks, any abnormal operation or tampering attempt can be detected in time, and corresponding measures can be taken quickly to ensure the security of communication.

[0152] In summary, through the present invention, video communication will no longer be just a tool for efficiently transmitting information, but will also become a safe and reliable communication platform, creating a better user experience for users.

[0153] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0154] Reference Figure 3 , shows a structural block diagram of a video transmission device based on video communication provided in an embodiment of the present invention, which may specifically include the following modules:

[0155] A watermark generation module is used to generate a watermark for each video frame at the sending end during the video communication process;

[0156] A watermark embedding module, used for the sending end to embed the watermark of each video frame into the corresponding video frame;

[0157] A video transmission module, used for the sending end to compress the video with the embedded watermark identifier and transmit the compressed video data to the receiving end;

[0158] The verification module is used for the receiving end to extract the watermark information from the received video data and verify the watermark information.

[0159] Optionally, the watermark identification generating module includes:

[0160] A random seed generation submodule is used to generate a random seed for the current video frame using a random number generation algorithm;

[0161] A digital sequence generation submodule is used to generate a digital sequence of the current video frame using a random seed of the current video frame and an encryption algorithm;

[0162] The watermark generation submodule is used to generate a watermark of the current video frame by using the digital sequence of the current video frame, the timestamp of the current video frame, the device identification, and the digital sequence of the previous video frame of the current video frame;

[0163] The repeatedly executing and recording storage submodule is used to repeatedly execute S1-S3, generate a watermark mark for each video frame of the video, and record and store the digital sequence, timestamp, and device identifier of the watermark mark for each video frame.

[0164] Optionally, the watermark embedding module includes:

[0165] A division submodule, used to divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image;

[0166] The encoding submodule is used to encode the watermark identifier of each video frame;

[0167] A block selection submodule, used to determine the target small block where the watermark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features;

[0168] The embedding depth determination submodule is used to monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth;

[0169] The embedding submodule is used to embed the encoded watermark into the target small block of the corresponding video frame according to the adjusted watermark embedding depth.

[0170] Optionally, the embedding depth determination submodule includes:

[0171] A judging unit, used to judge whether the real-time communication quality and network bandwidth meet preset conditions;

[0172] The embedding depth determination unit is used to determine the watermark embedding depth according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth if the real-time communication quality and network bandwidth meet the preset conditions.

[0173] Optionally, the device further comprises:

[0174] Communication traffic monitoring module, used to monitor and capture the transmitted communication traffic in real time;

[0175] An abnormal communication behavior detection module is used to detect whether the captured communication traffic has abnormal communication behavior using an abnormal communication behavior detection model;

[0176] The alarm module is used to trigger an alarm and automatically block or isolate the communication if abnormal communication behavior is detected from the captured communication traffic.

[0177] Optionally, the verification module includes:

[0178] An extraction submodule, used for the receiving end to extract a digital sequence, a timestamp, and a device identifier of a watermark of each video frame from the received video data;

[0179] A comparison submodule, for comparing the digital sequence, timestamp, and device identification of the watermark of each video frame extracted with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored;

[0180] The abnormal communication behavior determination submodule is used to determine that the video data has been tampered with or damaged if at least one of the digital sequence, timestamp, and device identification of the watermark identification of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the watermark identification of the corresponding video frame stored;

[0181] The normal communication behavior determination submodule is used to determine that the video data has not been tampered with or damaged if the digital sequence, timestamp, and device identification of the watermark identifier of each video frame extracted are consistent with the digital sequence, timestamp, and device identification of the watermark identifier of the corresponding video frame stored.

[0182] Optionally, the video transmission module includes:

[0183] The encrypted transmission submodule is used for the sending end to compress the video with the embedded watermark and transmit the compressed video data to the receiving end by using the transport layer encryption protocol TLS / SSL.

[0184] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0185] In addition, an embodiment of the present invention further provides an electronic device, such as Figure 4 As shown, it includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404.

[0186] Memory 403, used for storing computer programs;

[0187] The processor 401 is used to implement the video transmission method based on video communication as described in the above embodiment when executing the program stored in the memory 403.

[0188] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0189] The communication interface is used for communication between the above terminal and other devices.

[0190] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0191] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0192] like Figure 5 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 501 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the video transmission method based on video communication described in the above embodiment.

[0193] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the video transmission method based on video communication described in the above embodiment.

[0194] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0195] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0196] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0197] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A video transmission method based on video communication, characterized in that: The method comprises: During the video communication process, the sender generates a watermark for each video frame; The sending end embeds the watermark identifier of each video frame into the corresponding video frame; The sending end compresses the video with the embedded watermark and transmits the compressed video data to the receiving end; The receiving end extracts watermark information from the received video data and verifies the watermark information; The step of embedding the watermark identifier of each video frame into the corresponding video frame at the transmitting end includes: Divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image; Encoding a watermark identifier for each video frame; Determine the target small block where the watermark mark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features; Monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth; Embed the encoded watermark into a target small block of the corresponding video frame according to the adjusted watermark embedding depth; The steps of monitoring the communication quality and network bandwidth in real time and dynamically adjusting the watermark embedding depth according to the real-time communication quality and network bandwidth include: Determine whether the real-time communication quality and network bandwidth meet the preset conditions; If the real-time communication quality and network bandwidth meet the preset conditions, the watermark embedding depth is determined according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth.

2. The method according to claim 1, characterized in that During the video communication process, the sending end generates a watermark for each video frame, including: S1, using a random number generation algorithm to generate a random seed for the current video frame; S2, using the random seed of the current video frame and the encryption algorithm to generate a digital sequence of the current video frame; S3, using the digital sequence of the current video frame, the timestamp of the current video frame, the device identifier, and the digital sequence of the previous video frame of the current video frame to generate a watermark identifier of the current video frame; S4, repeatedly executing S1-S3, generating a watermark identifier for each video frame of the video, and recording and storing a digital sequence, a timestamp, and a device identifier of the watermark identifier for each video frame.

3. The method according to claim 1, characterized in that The method further comprises: Monitor and capture transmitted communication traffic in real time; An abnormal communication behavior detection model is used to detect whether the captured communication traffic has abnormal communication behavior; If abnormal communication behavior is detected from the captured communication traffic, an alarm is triggered and the communication is automatically blocked or isolated.

4. The method according to claim 2, characterized in that: The step of extracting watermark information from the received video data and verifying the watermark information at the receiving end includes: The receiving end extracts the digital sequence, time stamp and device identification of the watermark mark of each video frame from the received video data; The digital sequence, timestamp and device identification of the watermark of each video frame extracted are respectively compared with the digital sequence, timestamp and device identification of the watermark of the corresponding video frame stored; If at least one of the digital sequence, timestamp, and device identification of the watermark of each video frame extracted is inconsistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has been tampered with or damaged; If the digital sequence, timestamp, and device identification of the watermark of each video frame extracted are consistent with the digital sequence, timestamp, and device identification of the watermark of the corresponding video frame stored, it is determined that the video data has not been tampered with or damaged.

5. The method according to claim 1, characterized in that The step of the sending end compressing the video with the embedded watermark identifier and transmitting the compressed video data to the receiving end comprises: The sending end compresses the video with the embedded watermark and transmits the compressed video data to the receiving end by using the transport layer encryption protocol TLS / SSL.

6. A video transmission device based on video communication, characterized in that: The device comprises: A watermark generation module is used to generate a watermark for each video frame at the sending end during the video communication process; A watermark embedding module, used for the sending end to embed the watermark of each video frame into the corresponding video frame; A video transmission module, used for the sending end to compress the video with the embedded watermark identifier and transmit the compressed video data to the receiving end; A verification module, used for the receiving end to extract watermark information from the received video data and verify the watermark information; The watermark embedding module includes: A division submodule, used to divide each video frame into a plurality of small blocks; the plurality of small blocks are continuous areas of the image; The encoding submodule is used to encode the watermark identifier of each video frame; A block selection submodule, used to determine the target small block where the watermark of each video frame will be embedded based on a predefined rule; the predefined rule is uniform selection or selection based on image features; The embedding depth determination submodule is used to monitor the communication quality and network bandwidth in real time, and dynamically adjust the watermark embedding depth according to the real-time communication quality and network bandwidth; An embedding submodule, used for embedding the encoded watermark into a target small block of the corresponding video frame according to the adjusted watermark embedding depth; The embedding depth determination submodule comprises: A judging unit, used to judge whether the real-time communication quality and network bandwidth meet preset conditions; The embedding depth determination unit is used to determine the watermark embedding depth according to the corresponding relationship between the communication quality and the watermark embedding depth under different network bandwidth conditions, and the real-time communication quality and network bandwidth if the real-time communication quality and network bandwidth meet the preset conditions.

7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the video transmission method based on video communication as described in any one of claims 1 to 5 when executing the program stored in the memory.

8. A computer-readable medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the video transmission method based on video communication according to any one of claims 1 to 5.