Data transmission method and device based on digital interface key, equipment and medium

By detecting the display timing and policy changes of the receiving device, adjusting the display timing of video frames and using multiple content keys to process the video frames, the problem of content flow interruption caused by changes in interface protection policies in cross-terminal audio and video content transmission is solved and improved Transmission smoothness and security.

CN118590600APending Publication Date: 2024-09-03SHENZHEN NAT ENG LAB OF DIGITAL TELEVISION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410603052.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, when audio and video content is transmitted across terminals, changes in interface protection policies cause content flow to be interrupted, causing problems such as freeze frames, freezes, and black screens in the display, affecting user experience.

Method used

By obtaining the protection policy requirements and the display timestamp of the video content, detect the supported display timing of the receiving device, adjust the display timing of the video frame, and use multiple content keys to encrypt and decrypt video frames when the policy changes to ensure smooth transmission. and security.

Benefits of technology

It achieves non-interruption of video content transmission when the interface protection policy changes, reduces the risk of display timing adjustment, and improves the smoothness and security of content streaming transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590600A
    Figure CN118590600A
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method and device based on a digital interface key, equipment and a medium, and relates to the technical field of data transmission. The method comprises the following steps: acquiring a protection strategy requirement and a first display timestamp of video content; if it is detected that the protection strategy requirement changes, a low display time sequence is determined based on the display time sequences of the multiple receiving devices, the video frames after the first display timestamp are adjusted to be the low display time sequence, and the video frames are encrypted through a first content secret key and output to the receiving devices; in response to the change of the protection strategy requirement, changing the first content key into a second content key, recording a second display timestamp, and sending the second content key to a receiving device meeting the protection strategy requirement; and adjusting the video frame after the second display timestamp to be an optimal display time sequence, encrypting the video frame with a second content key, and outputting the encrypted video frame to the receiving equipment. According to the method and the device, the fluency of content stream transmission can be improved on the basis of ensuring the transmission security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a data transmission method and apparatus, device, and medium based on a digital interface key. Background Art

[0002] At present, the main interface protection standard is HDCP, and the main DRM / CA copyright protection solutions include Wi-Fi neDRM, PlayerReady, Marin DRM, DVB-CI+, etc. DRM / CA mainly protects the transmission from the server to the terminal and the display of content on the terminal, while interface protection is used for transmission protection across terminals. When audio and video content involves cross-terminal content presentation, DRM / CA and interface protection technology are often required to work together, and DRM / CA is required to specify the interface content transmission protection policy, such as specifying a specific HDCP version in the content copyright policy. After receiving the specified requirements, the terminal HDCP module will adapt and implement type0 and type1 policies within HDCP. The type1 policy means that the content stream received from DRM / CA is not allowed to be transmitted to HDCP devices with versions below HDCP2.2, and the type0 policy means that the content stream received from DRM / CA is allowed to be transmitted to HDCP devices with versions below HDCP2.2.

[0003] Furthermore, before transmitting content to the HDCP module, the DRM / CA client will first set the type0 or type1 policy to the HDCP module, and will periodically collect and detect the device version information on the HDCP link. When it is found that there is an HDCP receiving device that does not meet the requirements on the link, the DRM / CA client will stop outputting content to the VPUs, and then terminate the transmission of protected content on the HDCP link.

[0004] The disadvantage of the above solution is that when there is a device on the link that does not comply with the interface content protection policy, the content will not be transmitted to the downstream components (such as VPUs) for security reasons. Furthermore, when the policy changes, for security reasons, the content flow needs to be reset, and the content on the internal flow link (VPUs, Display controller) needs to be cleared to ensure that the new policy is set successfully before the new content is transmitted to the content downstream. Doing so will cause the content flow of the downstream component to be interrupted, resulting in static frames, freezes, black screens, etc. on the display screen of the receiving device, resulting in a poor experience. Summary of the invention

[0005] The main purpose of the embodiments of the present application is to propose a data transmission method and apparatus, device, and medium based on a digital interface key, which can improve the smoothness of content stream transmission while ensuring transmission security.

[0006] To achieve the above object, a first aspect of an embodiment of the present application proposes a data transmission method based on a digital interface key, the method being applied to a terminal, the method comprising:

[0007] Obtaining a protection policy requirement and a first display timestamp of video content, and detecting the protection policy requirement;

[0008] Acquire information of multiple receiving devices; wherein the information of each receiving device includes multiple supported display timings, and the multiple display timings include an optimal display timing;

[0009] If it is detected that the protection policy requirement changes, a low display timing is determined based on the display timings of the plurality of receiving devices, the video frames after the first display timestamp in the video content are adjusted to the low display timing, and the video frames are encrypted with the first content key and output to the receiving device, and the receiving device decrypts the video frames using the first content key; wherein the low display timing is less than the optimal display timing;

[0010] In response to a change in the protection policy requirement, changing the first content key to a second content key, recording a second display timestamp, and sending the second content key to the receiving device that complies with the protection policy requirement;

[0011] The video frames of the video content after the second display timestamp are adjusted to the optimal display timing, and are encrypted with the second content key and then output to the receiving device, and the receiving device decrypts the video frames using the second content key.

[0012] Optionally, the terminal includes a client, a video processing unit and a policy detector;

[0013] The obtaining of the protection policy requirement and the first display timestamp of the video content, and detecting the protection policy requirement, includes:

[0014] Acquiring the protection policy requirement and the video content through the client, transmitting the video frame of the video content to the video processing unit, and transmitting the protection policy requirement and the first display timestamp of the video frame to the policy detector;

[0015] The protection policy requirement is detected by the policy detector.

[0016] Optionally, the terminal further includes a display controller and an interface controller;

[0017] If it is detected that the protection policy requirement has changed, a low display timing is determined based on the display timings of the plurality of receiving devices, a video frame after the first display timestamp in the video content is adjusted to the low display timing, and the video frame is encrypted with the first content key and output to the receiving device, comprising:

[0018] By means of the policy detector, if it is detected that the protection policy requirement has changed, a low display timing is determined based on the display timings of a plurality of the receiving devices, and the low display timing and the first display timestamp are transmitted to the display controller;

[0019] The video processing unit analyzes the video frame and transmits the analyzed video frame to the display controller;

[0020] By means of the display controller, adjusting the video frames after the first display timestamp in the video content to the low display timing, and transmitting the adjusted video frames to the interface controller;

[0021] The interface controller encrypts the adjusted video frame with the first content key and outputs it to the receiving device.

[0022] Optionally, the method further comprises:

[0023] The receiving device is detected by the policy detector, and if a receiving device that does not meet the policy protection requirement information is detected, a second key change request is transmitted to the interface controller;

[0024] generating, by the interface controller, a third content key based on the second key change request, and sending the third content key to a receiving device that complies with the policy requirements for protecting information;

[0025] The interface controller encrypts the video frame with the third content key and transmits it to the receiving device, and the receiving device decrypts the video frame with the third content key.

[0026] Optionally, in response to a change in the protection policy requirement, changing the first content key to a second content key, recording a second display timestamp, and sending the second content key to the receiving device that meets the protection policy requirement comprises:

[0027] transmitting, by the policy detector, a first key change request to the interface controller in response to a change in the protection policy requirement;

[0028] By means of the interface controller, based on the first key change request, the first content key is changed to a second content key, a change success notification message is generated and transmitted to the policy detector, and the second content key is sent to the receiving device that meets the protection policy requirements;

[0029] By the policy detector, in response to receiving the change success notification message, a second display timestamp is recorded.

[0030] Optionally, in response to receiving the change success notification message, recording a second display timestamp includes:

[0031] Determine the timestamp of receiving the change success notification message to obtain a first candidate timestamp;

[0032] Acquire the transmission time of the video frame of the video content from the client to the display controller, and add the transmission time to the first display timestamp to obtain a second candidate timestamp;

[0033] The latest one of the first candidate timestamp and the second candidate timestamp is determined as the second display timestamp.

[0034] Optionally, obtaining the transmission time of the video content from the client to the display controller includes:

[0035] Acquire a cache of the video processing unit, wherein the cache indicates the stored video frame;

[0036] Obtaining a processing speed of the video processing unit;

[0037] The transfer time is obtained according to the ratio between the cache and the processing speed.

[0038] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a data transmission device based on a digital interface key, characterized in that the device is applied to a terminal, and the device includes:

[0039] A first acquisition unit, configured to acquire a protection policy requirement and a first display timestamp of the video content, and detect the protection policy requirement;

[0040] A second acquisition unit is used to acquire information of multiple receiving devices; wherein the information of each receiving device includes multiple supported display timings, and the multiple display timings include an optimal display timing;

[0041] a first adjustment unit, for determining a low display timing based on the display timings of the plurality of receiving devices if it is detected that the protection policy requirement has changed, adjusting the video frames after the first display timestamp in the video content to the low display timing, and encrypting and outputting the video frames to the receiving device with the first content key, so that the receiving device decrypts the video frames using the first content key; wherein the low display timing is less than the optimal display timing

[0042] a changing unit, configured to change the first content key into a second content key, record a second display timestamp, and send the second content key to the receiving device that meets the requirements of the protection policy;

[0043] The second adjustment unit is used to adjust the video frames of the video content after the second display timestamp to the optimal display timing, and output them to the receiving device after encrypting them with the second content key, and the receiving device decrypts the video frames using the second content key.

[0044] To achieve the above objectives, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0045] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium, and the storage medium stores a computer program. When the computer program is executed by a processor, the method described in the first aspect is implemented.

[0046] The data transmission method, device, equipment, and medium based on the digital interface key proposed in the present application obtain the protection policy requirements while recording the first display timestamp, and then when the protection policy requirements are detected to change, the video frame after the first display timestamp of the video content is adjusted to a low display timing, and is encrypted with the first content key and transmitted to the receiving device. Then, after the first content key is changed to the second content key, the second display timestamp is recorded. The second display timestamp indicates that the protection policy requirements have taken effect, and the video frame after the second display timestamp can be adjusted to the optimal display timing, and is encrypted with the second content key and output to the receiving device, and the receiving device uses the second content key to decrypt the video frame. It can be seen that even if the protection policy requirements change, the transmission of video frames will not be stopped, and the display timing of the video frames after the first display timestamp has been reduced, and the video frames with high display timing will not be sent to the receiving device that does not support the high display timing, reducing the risk of leaking the video frames with high display timing; the video frames after the second display timestamp restore the optimal display timing. This is because after the second display timestamp, the terminal can use the second content key to encrypt the video content, and only the receiving device that meets the protection policy requirements can use the second content key for decryption. The receiving device that does not meet the protection policy requirements cannot decrypt, ensuring security. In summary, this embodiment can improve the fluency of content stream transmission on the basis of ensuring transmission security.

[0047] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a flow chart of a data transmission method based on a digital interface key provided in an embodiment of the present application;

[0049] Figure 2 is an architecture diagram of a system to which the data transmission method based on a digital interface key provided in an embodiment of the present application is applied;

[0050] Figure 3 yes Figure 1 Flow chart of step 101 in;

[0051] Figure 4 yes Figure 1 Flow chart of step 103 in;

[0052] Figure 5 is a schematic diagram of reducing the display timing within a specific period provided by an embodiment of the present application;

[0053] Figure 6 yes Figure 1 Flowchart of step 104 in;

[0054] Figure 7 is a flow chart of a data transmission method based on a digital interface key provided by another embodiment of the present application;

[0055] Figure 8 It is a module structure block diagram of a data transmission device based on a digital interface key provided in an embodiment of the present application;

[0056] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0060] First, some nouns involved in this application are analyzed:

[0061] Digital content: digitized books, music, movies, etc., collectively referred to as digital content

[0062] Digital interface: USB, HDMI, etc. on electronic devices are all digital interfaces, compared to analog interfaces such as VGA; currently analog interfaces have basically been replaced by digital interfaces.

[0063] Video Process Units (VPUs): also known as terminal video processing units, including terminal decoding devices, terminal decryption devices, terminal rendering devices, etc.

[0064] Video format: The transmission requirements followed by the interface when transmitting uncompressed audio and video, including field-line synchronization timing, line-field frequency, scanning mode, effective pixel line-field, etc. When the interface transmits uncompressed audio and video, it transmits in video frame format.

[0065] Video frame: The data of all lines scanned within the field synchronization signal interval is called a frame. The display picture is carried in the video frame.

[0066] Video timing: The waveform representation of the video format, usually expressed as H*V@F, where H and V represent the number of valid rows and columns in a frame, and F represents the field frequency or frame rate.

[0067] HDCP (High Definition Content Protection): A digital interface content protection standard developed by Intel and has been widely used on HDMI and Displayport interfaces.

[0068] HDCP Transmitter: The content stream sender defined in the HDCP standard text.

[0069] HDCP Receiver: Content stream receiver defined in the HDCP standard text.

[0070] HDCP Repeater: Content stream relay defined in the HDCP standard text.

[0071] Extended display identification data (EDID): Display device data transmitted in the DDC channel to enable image output devices to better identify display properties, including vendor information, supported video timings, optimal display timings, color settings, manufacturer presets, frequency range limitations, and strings of display names and serial numbers.

[0072] Digital interface content protection: Digital content transmitted on a digital interface can be easily intercepted, resulting in piracy, and is usually protected by encrypting the digital content.

[0073] At present, the main interface protection standard is HDCP, and the main DRM / CA copyright protection solutions include WidevineDRM, PlayerReady, MarinDRM, DVB CI+, etc. DRM / CA mainly protects the transmission from the server to the terminal and the display of content on the terminal, while interface protection is used for transmission protection across terminals. When audio and video content involves cross-terminal content presentation, DRM / CA and interface protection technology are often required to work together, and DRM / CA is required to specify the interface content transmission protection policy, such as specifying a specific HDCP version in the content copyright policy. After receiving the specified requirements, the terminal HDCP module will adapt and implement type0 policy and type1 policy within HDCP. Type1 policy means that the content stream received from DRM / CA is not allowed to be transmitted to HDCP devices with versions below HDCP2.2, and type0 policy means that the content stream received from DRM / CA is allowed to be transmitted to HDCP devices with versions below HDCP2.2.

[0074] In specific implementation, before transmitting content to the HDCP module, the DRM / CA client will first set the type0 or type1 policy to the HDCP module, and will periodically collect and detect the device version information on the HDCP link. When it is found that there is an HDCP receiving device that does not meet the requirements on the link, the DRM / CA client stops outputting content to the VPUs, and then terminates the transmission of protected content on the HDCP link. For example, the content flow path in the terminal starts from the DRM / CA client and passes through various video processing units (VPUs) and display controllers to reach the HDCP Tx (i.e., interface controller / HDCP module). The stream sent by the display controller to the HDCP Tx is the video frame, and the timing of the video frame is sent according to the optimal display timing supported by the device where the HDCP Rx is located. The display controller obtains the video timing information and optimal display timing information supported by the Rx through the HDCP Tx interface, such as USB / HDMI, through the EDID message.

[0075] In the above implementation method, when there are devices on the link that do not comply with the interface content protection policy, for example, assuming that there are devices Rx1 and Rx2, and Rx1 is not a type 1 device (devices below HDCP2.2), the device Rx2 (HDCP2.2 and HDCP2.3 devices, which are type 1 devices) that originally complies with the policy will not be able to receive the content stream. This is because when the DRM / CA client detects the presence of a type 0 device on the link, it will not transmit the content to downstream components (i.e., VPUs) for security reasons. Furthermore, when the policy changes, the content stream needs to be reset for security reasons, and the content on the internal stream link (VPUs, Display controller) needs to be cleared to ensure that the new policy is set successfully before the new content is transmitted to the content downstream. These factors will cause the content stream of the downstream component to be interrupted, and the Rx display will experience static frames, freezes, black screens, and other phenomena, resulting in a poor experience.

[0076] The present application provides a new policy execution method, the main core of which is to ensure that policy execution and changes do not affect the normal reception of content streams by devices that meet policy requirements.

[0077] The data transmission method based on the digital interface key provided in the embodiment of the present application is applied in a terminal, and can also be software running in the terminal. The software can be an application for implementing the data transmission method based on the digital interface key, but is not limited to the above forms.

[0078] The embodiments of the present application provide a data transmission method and apparatus, device, and medium based on a digital interface key, which are specifically illustrated by the following embodiments. First, the data transmission method based on a digital interface key in the embodiments of the present application is described.

[0079] Figure 1 is an optional flow chart of a data transmission method based on a digital interface key provided in an embodiment of the present application. Figure 1 The method in is applied to the terminal. Figure 2 As shown, the terminal includes a client, a policy detector, a video processing unit, a display controller and an interface controller. The interface controller of the terminal is connected to an intermediate distribution device, and the intermediate distribution device is connected to multiple receiving devices. The video content is generated by the client and then transmitted to the video processing unit, the display controller, and the interface controller in sequence. The intermediate distribution device is used to distribute the video content to the receiving device again after receiving the video content from the interface controller.

[0080] The client refers to the application of the data content provider (such as video streaming service, music service, etc.). For example, users can access and watch restricted digital content through the DRM / CA client, while being subject to copyright protection and access rights control. The embodiment of the present application mainly uses the client to obtain protection policy requirements and video content.

[0081] The policy detector refers to a module that interacts with other modules in the terminal. The policy detector can interact with the client, the display controller, and the interface controller. The embodiment of the present application mainly uses the policy detector to detect whether the protection policy has changed and whether the receiving device complies with the policy.

[0082] The video processing unit (hereinafter referred to as VPUs) refers to a unit that parses and processes video content. The display controller refers to a module that controls the display timing of video content. The interface controller refers to a module that manages content keys and encrypts video content, and transmits the encrypted video content to the receiving device. For example, the client transmits the video content to the video processing unit, the video processing unit parses and processes the video content and transmits it to the display controller, the display controller adjusts the display timing of the video content and transmits it to the interface controller, the interface controller encrypts the video content with the content key and transmits it to multiple receiving devices connected to the transmission link. The receiving device that complies with the policy has the content key and can use the content key to decrypt the encrypted video content and then display it.

[0083] like Figure 1 As shown, according to one embodiment of the present disclosure, a data transmission method based on a digital interface key includes:

[0084] Step 101, obtaining a protection policy requirement and a first display timestamp of video content, and detecting the protection policy requirement;

[0085] Step 102, obtaining information of multiple receiving devices; wherein the information of each receiving device includes multiple display timings supported, and the multiple display timings include an optimal display timing;

[0086] Step 103, if it is detected that the protection policy requirement has changed, a low display timing is determined based on the display timings of multiple receiving devices, the video frames after the first display timestamp in the video content are adjusted to the low display timing, and encrypted with the first content key and output to the receiving device, and the receiving device decrypts the video frame using the first content key; wherein the low display timing is less than the optimal display timing;

[0087] Step 104, in response to a change in the protection policy requirement, the first content key is changed to a second content key, a second display timestamp is recorded, and the second content key is sent to a receiving device that meets the protection policy requirement;

[0088] Step 105: The video frames of the video content after the second display timestamp are adjusted to the optimal display timing, and are encrypted with the second content key and then output to the receiving device, and the receiving device decrypts the video frames using the second content key.

[0089] Steps 101 to 105 shown in the embodiment of the present application are to achieve content protection when the policy changes. Since it often takes a certain amount of time for the protection policy requirements to change and take effect, if the content stream is stopped when the policy change is detected, the content stream transmission will be interrupted, and then the display screen of the receiving device will be black. In view of this, this embodiment records the first display timestamp while obtaining the protection policy requirements. Then, when the protection policy requirements are detected to change, the video frames after the first display timestamp of the video content are adjusted to a low display timing, and are transmitted to the receiving device after being encrypted with the first content key. Then, after the first content key is changed to the second content key, the second display timestamp is recorded. The second display timestamp indicates that the protection policy requirements have taken effect. Then, the video frames after the second display timestamp can be adjusted to the optimal display timing, and encrypted with the second content key and output to the receiving device, and the receiving device uses the second content key to decrypt the video frames. It can be seen that even if the protection policy requirements change, the transmission of video frames will not be stopped, and the display timing of the video frames after the first display timestamp has been reduced, and the video frames with high display timing will not be sent to the receiving device that does not support the high display timing, reducing the risk of leaking the video frames with high display timing; the video frames after the second display timestamp restore the best display timing, because after the second display timestamp, the terminal can use the second content key to encrypt the video content, and only the receiving device that meets the protection policy requirements can use the second content key for decryption, and the receiving device that does not meet the protection policy requirements cannot decrypt, ensuring security. This embodiment can improve the fluency of content stream transmission on the basis of ensuring transmission security.

[0090] In step 101 of some embodiments, the protection policy requirement indicates the device version required for content protection. For example, the protection policy requirement includes a first protection policy (type 1 policy) and a second protection policy (type 0 policy). The type 1 policy means that the content stream received from the DRM / CA client is not allowed to be transmitted to HDCP devices with versions lower than HDCP 2.2. The type 0 policy means that the content stream received from the DRM / CA client is allowed to be transmitted to HDCP devices with versions lower than HDCP 2.2.

[0091] The first display timestamp indicates the display timestamp of the video frame of the video content when obtaining the protection policy requirement. For example, the DRM client sets type0 to the policy detector before sending type0 content, and sends the first display timestamp (referred to as t1) of the video frame currently to be sent to the VPUs to the policy detector.

[0092] See also Figure 3 In one embodiment, step 101 may include but is not limited to steps 301 to 302:

[0093] Step 301, obtaining protection policy requirements and video content through the client, transmitting video frames of the video content to the video processing unit, and transmitting the protection policy requirements and the first display timestamp of the video frame to the policy detector;

[0094] Step 302: Detect the protection policy requirements through a policy detector.

[0095] For example, the original protection policy requirement is type1 policy. When the type1 policy is changed to type0 policy: the DRM client sets the type0 policy to the policy detector before sending the video content of type0 policy, and sends the first display timestamp (denoted as t1) of the video frame currently to be transmitted to VPUs to the policy detector. The DRM client continuously transmits the video content of type0 policy to VPUs, so that the display content of type1 policy and type0 policy is not interrupted. The policy detector can detect the protection policy requirements, specifically, whether the protection policy requirements currently received are consistent with the original protection policy requirements. If they are inconsistent, it means that the protection policy requirements have changed. For example, the original protection policy requirement is type1 policy, and the currently received protection policy requirement is type0 policy, which means that the protection policy requirements have changed.

[0096] The advantage of the embodiment of steps 301-302 is that a policy detector is introduced, and the policy detector interacts with the client, so that it can detect whether the protection policy requirements have changed in a timely manner, thereby improving the detection efficiency.

[0097] In step 102 of some embodiments, information of multiple receiving devices is obtained, such as based on ED ID messages. Specifically, the interface controller communicates with the multiple receiving devices, the policy detector obtains the ED ID message from the interface controller, and parses the EDID message to obtain information of the multiple receiving devices. The information of each receiving device includes multiple display timings supported, and the multiple display timings include the optimal display timing.

[0098] In an example, assume that there are two receiving devices, specifically Rx1 and Rx2. Rx1 is an HDCP2.3 device, compliant with Type1 policy, and supports 640*480p@59.94 / 60Hz and 1920*1280p@60Hz, with the best display timing of 1920*1280p@60Hz. Rx2 is an HDCP2.0 device, compliant with Type0 policy, and supports 640*480p@59.94 / 60Hz and 1920*1280p@60Hz, with the best display timing of 1920*1280p@60Hz.

[0099] See also Figure 4 In one embodiment, step 103 may include but is not limited to steps 401 to 404:

[0100] Step 401, if a change in the protection policy requirement is detected by the policy detector, a low display timing is determined based on the display timings of multiple receiving devices, and the low display timing and a first display timestamp are transmitted to a display controller;

[0101] Step 402, parsing the video frame through the video processing unit, and transmitting the parsed video frame to the display controller;

[0102] Step 403, adjusting the video frames after the first display timestamp in the video content to a low display timing through the display controller, and transmitting the adjusted video frames to the interface controller;

[0103] Step 404: Encrypt the adjusted video frame with the first content key through the interface controller and output it to the receiving device.

[0104] The change in the protection policy requirement may be from a high protection policy requirement to a low protection policy requirement, such as from a type 1 policy to a type 0. The change in the protection policy requirement may also be from a low protection policy requirement to a high protection policy requirement, such as from a type 0 policy to a type 1 policy.

[0105] The process of determining a low display timing based on the display timings of multiple receiving devices includes: determining multiple candidate display timings supported by all receiving devices based on the display timings of multiple receiving devices; and determining the smallest one of the multiple candidate display timings as the low display timing.

[0106] For example, a display device that accepts 60Hz display timing should support 640*480p@59.94 / 60Hz and 720*480p@59.94 / 60Hz display timing, and a receiver that accepts 50Hz video format should support 640*480p@59.94 / 60Hz and 720*576p@50Hz display timing. For example, both Rx1 and Rx2 support 640*480p@59.94 / 60Hz, so the low display timing is determined to be 640*480p@59.94 / 60Hz.

[0107] The display controller adjusts the video frame after the first display timestamp in the video content to a low display timing, and transmits the adjusted video frame to the interface controller. Figure 5 The video content includes multiple video frames, and the multiple video frames are continuously transmitted to the display controller in display time. After receiving the video frames of the video content, the display controller does not need to adjust the video frames before the first display timestamp, but needs to adjust the video frames after the first display timestamp to a low display timing, and transmits the adjusted video frames to the interface controller, and the interface controller encrypts the adjusted video frames with the first content key and outputs them to the receiving device, and the receiving device decrypts the video frames using the first content key.

[0108] The advantage of the embodiment of steps 401-404 is that, by interacting with the display controller and the interface controller respectively through the policy detector, the video frame can be encrypted with the first content key and transmitted to the receiving device before the changed protection policy takes effect, and the display controller has adjusted the video frame to a low display timing, which can greatly reduce the risk of leakage of video frames with a high display timing.

[0109] See also Figure 6 In one embodiment, step 104 may include but is not limited to steps 601 to 603:

[0110] Step 601, transmitting a first key change request to an interface controller via a policy detector in response to a change in a protection policy requirement;

[0111] Step 602: through the interface controller, based on the first key change request, the first content key is changed to the second content key, a change success notification message is generated and transmitted to the policy detector, and the second content key is sent to the receiving device that meets the protection policy requirements;

[0112] Step 603: Record the second display timestamp via the policy detector in response to receiving the change success notification message.

[0113] For example, the policy detector transmits a first key change request to an interface controller (such as a USB interface controller). After receiving the first key change request from the policy controller, the USB interface controller uses the second content key of HDCP to encrypt and decrypt the video content, and can determine whether Rx1 and Rx2 comply with the protection policy requirements (such as type0 policy), and encrypts and transmits the second content key to Rx1 and Rx2 that comply with the type0 policy. After the determination and connection establishment, a successful change notification message is fed back to the policy detector, which is used to notify the policy detector that the key change request is successful. After receiving the successful change notification message, the policy detector records the second display timestamp (recorded as t2). The policy detector can pass t2 to the display controller and feedback that the type0 policy is set successfully.

[0114] The advantage of the embodiment of steps 601-603 is that, by utilizing the data interaction between the policy detector and the interface controller, while utilizing the first key change request to implement the key change, the accuracy of recording the second display timestamp is improved by utilizing the change success notification message.

[0115] In one embodiment, in response to receiving a change success notification message, a process of recording a second display timestamp includes:

[0116] Determine the timestamp of receiving the change success notification message to obtain a first candidate timestamp;

[0117] Acquire the transmission time of the video frame of the video content from the client to the display controller, and add the transmission time to the first display timestamp to obtain a second candidate timestamp;

[0118] The latest one of the first candidate timestamp and the second candidate timestamp is determined as the second display timestamp.

[0119] For example, the time from when the DRM / CA client outputs the video content to the VPUs to when the content reaches the display controller (Disp l ay controller) and the time when the policy detector receives the change success notification message ends at the later time point. If the first candidate timestamp is later than the second candidate timestamp, the first candidate timestamp is determined as the second display timestamp; if the second candidate timestamp is later than the first candidate timestamp, the second candidate timestamp is determined as the second display time.

[0120] For example, refer to Figure 5 , the period is from the first display timestamp to the second display timestamp (in Figure 5The second candidate timestamp is the second display timestamp). Referring to the foregoing, the display controller has adjusted the video frames after the first display timestamp to a low display timing. Then, after obtaining the second display timestamp (the latest one of the first candidate timestamp and the second candidate timestamp), the display controller restores the video frames after the second display timestamp to the optimal display timing.

[0121] In one embodiment, the display controller generates and transmits a successful reception message to the policy detector in response to receiving a video frame from the video processing unit; the policy detector records a reception timestamp based on the successful reception information received, and obtains the transmission time based on the difference between the first display timestamp and the reception timestamp. This embodiment can determine the transmission time by using the message transmission between the display controller and the policy detector, with high accuracy.

[0122] In one embodiment, the process of obtaining the transmission time of the video content from the client to the display controller includes:

[0123] Obtaining a cache of a video processing unit, the cache indicating stored video frames;

[0124] Get the processing speed of the video processing unit;

[0125] Based on the ratio between cache and processing speed, the transfer time is obtained.

[0126] For example, VPUs processing will have a certain cache, such as 1 to 2 frames, calculated at a processing speed of 30 frames / s, and the transmission time is about 1 / 30s to 2 / 30s, then the second candidate timestamp is the first display timestamp plus 1 / 30s to 2 / 30s. If the first candidate timestamp is faster than the first display timestamp plus 1 / 30s to 2 / 30s, the display timing is reduced within this 1 / 30s to 2 / 30s, and then the display timing is restored; if the first candidate timestamp is slower than the first display timestamp plus 1 / 30s to 2 / 30s, the display timing must be restored after the first candidate timestamp arrives, so as to avoid the interface controller still using the key used by the previous policy to send high policy requirements content.

[0127] It should be noted that the transmission time is calculated based on the cache and processing speed of the video processing unit without introducing additional time tags or feedback information, which simplifies the complexity of determining the transmission time and improves the determination efficiency.

[0128] See also Figure 7 According to one embodiment of the present disclosure, the data transmission method based on the digital interface key further includes:

[0129] Step 701, a receiving device is detected by a policy detector, and if a receiving device that does not meet the policy protection requirement information is detected, a second key change request is transmitted to an interface controller;

[0130] Step 702: Generate a third content key based on the second key change request through the interface controller, and send the third content key to a receiving device that meets the policy requirements for protecting information;

[0131] Step 703: The interface controller encrypts the video frame with the third content key and transmits the encrypted video frame to the receiving device, and the receiving device decrypts the video frame with the third content key.

[0132] For example, if the current policy is type1, and the Rx2 device that complies with type1 policy was previously connected, and then the Rx1 device that complies with type0 policy was connected is described as follows: 1) The policy detector finds that the current device Rx2 attribute {type1} is changed to Rx1, Rx2 {type0, type1}, and the policy has changed, and sends the type1 policy (that is, the protection policy requirements have not changed) and the third key change request to the USB interface controller. 2) After receiving the third key change request from the policy detector, the USB interface controller determines whether Rx1 and Rx2 comply with type1 policy, uses the new content key of HDCP (that is, the third content key) to encrypt and decrypt the content, and encrypts and transmits the new content key to Rx1 that complies with type1 policy. After the determination and connection establishment, the interface controller can also feedback the key change request success (that is, the change success notification message) to the policy detector. Because the protection policy requirements have not changed, there is no need to adjust the display timing through the display controller.

[0133] The advantage of the embodiment of step 701 to step 703 is that even if a device that does not comply with the policy is connected, the policy detector can promptly allow the interface controller to generate and distribute new content keys to devices that comply with the policy, thereby ensuring transmission security without interrupting content stream transmission.

[0134] In one example, the data transmission method based on the digital interface key includes the following implementation details:

[0135] First, assume that there are two receiving devices, Rx1 HDCP2.3 device (Type1, display supports 640x480p@59.94 / 60Hz and 1920*1280p@60Hz, the best display timing is 1920*1280p@60Hz) and Rx2 HDCP2.0 device (Type0, display supports 640x480p@59.94 / 60Hz and 1920*1280p@60Hz, the best display timing is 1920*1280p@60Hz), and the interface controller is USB Control.

[0136] Then assume that the initial protection policy of the initial interface controller is set to type 1 policy (that is, only Rx1 reception is allowed):

[0137] 1) The DRM client sets the type 1 policy to the policy detector.

[0138] 2) The policy detector sets the type 1 policy and the first key change request to the USB interface controller.

[0139] 3) The USB interface controller enables HDCP and establishes HDCP connections with Rx1 and Rx2, determines whether Rx1 and Rx2 comply with the type 1 policy, generates HDCP content keys for encrypting and decrypting content, and encrypts and transmits the content keys to Rx1 that complies with the type 1 requirements. After the determination and connection establishment, the key change request is successfully fed back to the policy detector.

[0140] 4) After the policy detector receives the key change request successfully, it feedbacks to the DRM client that type 1 is set successfully.

[0141] 5) After the DRM client receives the type1 setting successfully, it inputs the content to the VPUs.

[0142] 6) VPUs output content to the display controller.

[0143] 7) The display controller is configured to output the optimal display timing of Rx1 1920*1280p@60Hz.

[0144] 8) The USB interface controller uses the content key to encrypt the video frame content stream, and Rx1 uses the content key to decrypt the video frame content stream.

[0145] When the policy is changed from type1 to type0:

[0146] 1) Before sending type0 content, the DRM client sets type0 to the policy detector and sends the first presentation timestamp PTS (denoted as t1) of the video frame currently to be sent to the VPUs to the policy detector.

[0147] 2) The DRM client continuously transmits type0 content to VPUs so that the display content of type1 and type0 is not interrupted.

[0148] 3) The policy detector sets the type0 policy and the first key change request to the USB interface controller. At the same time, because the policy type0 requirement is lower than type1, t1 and the timing information to be adjusted need to be passed to the display controller. The adjusted timing information comes from the ED ID message of the interface controller. Generally, the commonly supported low-bitrate timing information, the display device that accepts the 60Hz video format should support 640x480p@59.94 / 60Hz and 720x480p@59.94 / 60Hz video formats, and the receiver that accepts the 50Hz video format should support 640x480p@59.94 / 60Hz and 720x576p@50Hz video formats. Here, Rx1 and Rx2 both support 640x480p@59.94 / 60Hz, so the adjusted timing is 640x480p@59.94 / 60Hz.

[0149] 4) After receiving the t1 value, the display controller outputs the adjusted timing video stream to the interface controller according to the timing information to be adjusted, such as 640x480p@59.94 / 60Hz.

[0150] 5) After receiving the first key change request from the policy controller, the USB interface controller determines whether Rx1 and Rx2 comply with the type 0 policy, uses the new content key of HDCP to encrypt and decrypt the content, and encrypts and transmits the new content key to Rx1 and Rx2 that comply with the type 0 requirements. After the determination and connection establishment, the key change request is successfully fed back to the policy detector.

[0151] 6) After the policy detector receives the key change request successfully, it records the second display timestamp (denoted as t2), passes t2 to the display controller, and feedbacks that the setting of type0 is successful.

[0152] 7) The display controller checks the display timestamp of the video frame frame by frame. When the display timestamp reaches t1, it checks whether t2 is received. If t2 is not received, it waits until t2 is received. After t2 is received, the timing information of step 4) is restored to 1920*1280p@60Hz. If t2 has been received, the timing information of step 4) is immediately restored to 1920*1280p@60Hz.

[0153] The advantage of the present application is that, whether it is a newly connected receiving device that does not comply with the policy or a receiving device that does not comply with the policy exists in the link after the policy changes, the content flow does not need to be interrupted, because the display timing switching cycle is very small, so it does not affect the continuity of content received by the receiving device that complies with the policy and the user experience. For a newly connected receiving device that does not comply with the policy and a receiving device that does not comply with the policy after the policy changes, because they do not comply with the policy, they will not obtain a new content key when the key is changed, but the receiving device that complies with the policy will obtain the content key.

[0154] See also Figure 8 The embodiment of the present application also provides a data transmission device based on a digital interface key applied to a terminal, which can implement the above-mentioned data transmission method based on a digital interface key. Figure 8 A block diagram of the module structure of a data transmission device based on a digital interface key provided in an embodiment of the present application, the device comprising:

[0155] A first acquisition unit 801 is used to acquire a protection policy requirement and a first display timestamp of the video content, and to detect the protection policy requirement;

[0156] A second acquisition unit 802 is used to acquire information of multiple receiving devices; wherein the information of each receiving device includes multiple display timings supported, and the multiple display timings include an optimal display timing;

[0157] The first adjustment unit 803 is used to determine a low display timing based on the display timings of multiple receiving devices if a change in the protection policy requirement is detected, adjust the video frame after the first display timestamp in the video content to the low display timing, and encrypt and output it to the receiving device with the first content key, and the receiving device decrypts the video frame using the first content key; wherein the low display timing is less than the optimal display timing

[0158] A changing unit 804, configured to change the first content key to a second content key, record a second display timestamp, and send the second content key to a receiving device that complies with the protection policy requirements;

[0159] The second adjustment unit 805 is used to adjust the video frames of the video content after the second display timestamp to the optimal display timing, and encrypt them with the second content key and output them to the receiving device, and the receiving device decrypts the video frames using the second content key.

[0160] In one embodiment, the data transmission device based on the digital interface key also includes a third adjustment unit, which is used to: detect the receiving device through a policy detector, and if a receiving device that does not comply with the policy protection requirement information is detected, transmit a second key change request to the interface controller; generate a third content key based on the second key change request through the interface controller, and send the third content key to the receiving device that complies with the policy protection requirement information; encrypt the video frame with the third content key through the interface controller and transmit it to the receiving device, and the receiving device decrypts the video frame using the third content key.

[0161] It should be noted that the specific implementation of the data transmission device based on the digital interface key is basically the same as the specific implementation example of the data transmission method based on the digital interface key, and will not be repeated here.

[0162] The embodiment of the present application also provides an electronic device, which includes: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and when the program is executed by the processor, the above-mentioned data transmission method based on the digital interface key is realized. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0163] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0164] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0165] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the data transmission method based on the digital interface key of the embodiment of the present application;

[0166] Input / output interface 903, used to implement information input and output;

[0167] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);

[0168] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0169] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0170] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned data transmission method based on the digital interface key.

[0171] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0172] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0173] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0174] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0175] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0176] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0177] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0178] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0179] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0180] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0181] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0182] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A data transmission method based on a digital interface key, characterized in that: The method is applied to a terminal, and the method includes: Obtaining a protection policy requirement and a first display timestamp of video content, and detecting the protection policy requirement; Acquire information of multiple receiving devices; wherein the information of each receiving device includes multiple display timings supported, and the multiple display timings include an optimal display timing; If it is detected that the protection policy requirement changes, a low display timing is determined based on the display timings of the plurality of receiving devices, the video frames after the first display timestamp in the video content are adjusted to the low display timing, and the video frames are encrypted with the first content key and output to the receiving device, and the receiving device decrypts the video frames using the first content key; wherein the low display timing is less than the optimal display timing; In response to a change in the protection policy requirement, changing the first content key to a second content key, recording a second display timestamp, and sending the second content key to the receiving device that complies with the protection policy requirement; The video frames of the video content after the second display timestamp are adjusted to the optimal display timing, and are encrypted with the second content key and then output to the receiving device, and the receiving device decrypts the video frames using the second content key.

2. The method according to claim 1, characterized in that The terminal includes a client, a video processing unit and a policy detector; The obtaining of the protection policy requirement and the first display timestamp of the video content, and detecting the protection policy requirement, includes: Acquiring the protection policy requirement and the video content through the client, transmitting the video frame of the video content to the video processing unit, and transmitting the protection policy requirement and the first display timestamp of the video frame to the policy detector; The protection policy requirement is detected by the policy detector.

3. The method according to claim 2, characterized in that The terminal also includes a display controller and an interface controller; If it is detected that the protection policy requirement has changed, a low display timing is determined based on the display timings of the plurality of receiving devices, a video frame after the first display timestamp in the video content is adjusted to the low display timing, and the video frame is encrypted with the first content key and output to the receiving device, comprising: By means of the policy detector, if it is detected that the protection policy requirement has changed, a low display timing is determined based on the display timings of a plurality of the receiving devices, and the low display timing and the first display timestamp are transmitted to the display controller; The video processing unit analyzes the video frame and transmits the analyzed video frame to the display controller; By means of the display controller, adjusting the video frames after the first display timestamp in the video content to the low display timing, and transmitting the adjusted video frames to the interface controller; The interface controller encrypts the adjusted video frame with the first content key and outputs it to the receiving device.

4. The method according to claim 3, characterized in that The method further comprises: The receiving device is detected by the policy detector, and if a receiving device that does not meet the policy protection requirement information is detected, a second key change request is transmitted to the interface controller; generating, by the interface controller, a third content key based on the second key change request, and sending the third content key to a receiving device that complies with the policy requirements for protecting information; The interface controller encrypts the video frame with the third content key and transmits it to the receiving device, and the receiving device decrypts the video frame with the third content key.

5. The method according to claim 3, characterized in that: In response to the change in the protection policy requirement, changing the first content key to a second content key, recording a second display timestamp, and sending the second content key to the receiving device that meets the protection policy requirement, comprises: transmitting, by the policy detector, a first key change request to the interface controller in response to a change in the protection policy requirement; By means of the interface controller, based on the first key change request, the first content key is changed to a second content key, a change success notification message is generated and transmitted to the policy detector, and the second content key is sent to the receiving device that meets the protection policy requirements; By the policy detector, in response to receiving the change success notification message, a second display timestamp is recorded.

6. The method according to claim 5, characterized in that The step of recording a second display timestamp in response to receiving the change success notification message comprises: Determine the timestamp of receiving the change success notification message to obtain a first candidate timestamp; Acquire the transmission time of the video frame of the video content from the client to the display controller, and add the transmission time to the first display timestamp to obtain a second candidate timestamp; The latest one of the first candidate timestamp and the second candidate timestamp is determined as the second display timestamp.

7. The method according to claim 6, characterized in that The obtaining of the transmission time of the video content from the client to the display controller includes: Acquire a cache of the video processing unit, wherein the cache indicates the stored video frame; Obtaining a processing speed of the video processing unit; The transfer time is obtained according to the ratio between the cache and the processing speed.

8. A data transmission device based on a digital interface key, characterized in that: The device is applied to a terminal, and the device includes: A first acquisition unit, configured to acquire a protection policy requirement and a first display timestamp of the video content, and detect the protection policy requirement; A second acquisition unit is used to acquire information of multiple receiving devices; wherein the information of each receiving device includes multiple supported display timings, and the multiple display timings include an optimal display timing; a first adjustment unit, for determining a low display timing based on the display timings of the plurality of receiving devices if it is detected that the protection policy requirement has changed, adjusting the video frames after the first display timestamp in the video content to the low display timing, and encrypting and outputting the video frames to the receiving device with the first content key, so that the receiving device decrypts the video frames using the first content key; wherein the low display timing is less than the optimal display timing a changing unit, configured to change the first content key into a second content key, record a second display timestamp, and send the second content key to the receiving device that meets the requirements of the protection policy; The second adjustment unit is used to adjust the video frames of the video content after the second display timestamp to the optimal display timing, and output them to the receiving device after encrypting them with the second content key, and the receiving device decrypts the video frames using the second content key.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the data transmission method based on the digital interface key as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data transmission method based on a digital interface key according to any one of claims 1 to 7 is implemented.