Display anomaly detection method, device, system and equipment and storage medium
By decrypting the HDCP video image and detecting whether the target area is a solid color image area, the problem of low efficiency of HDCP video image display abnormality detection in the existing technology is solved, automatic abnormality detection is realized, and detection efficiency is improved.
Patent Information
- Application Number
- CN202410544018.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, the display abnormality detection efficiency of HDCP encrypted video images is low, and the cause of the abnormality cannot be determined automatically, requiring manual detection, which takes a long time.
By receiving and decrypting the HDCP encrypted video image, it determines whether the target area is a solid color image area. If it is a solid color, it determines that the video image is abnormal, and determines the abnormal information based on the image data of the target area.
It realizes automated anomaly detection of HDCP video images, reduces detection time, improves efficiency, and avoids dependence on manual detection.
Smart Images

Figure CN118540461A
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a method, device, system, equipment and storage medium for display anomaly detection. Background Art
[0002] HDCP (High-Bandwidth Digital Content Protection) is a digital copyright protection technology designed to prevent unauthorized copying and distribution of high-bandwidth digital content, such as high-definition video and audio. HDCP functions are widely used in many electronic devices, including TVs, projectors, computers, tablets, and smart phones. Generally, when using HDCP technology to transmit video images, the sender of the video image and the receiver of the video image need to perform handshake negotiation first to ensure that both support HDCP technology. For example, during the negotiation process, the sender and the receiver of the video image need to exchange some key information and authentication information to ensure that both support HDCP technology. During the handshake negotiation process, the sender and the receiver of the video image share a shared key for encrypting and decrypting the video image. The sender of the video image encrypts the video image to be sent based on the shared key and transmits the encrypted data to the receiver. After receiving the encrypted data, the receiver can use the shared key to decrypt the encrypted data accordingly to obtain the video image and display the video image.
[0003] In some technologies, when applying HDCP technology to a device, it is necessary to test the stability of the device to which the HDCP technology is applied. That is, it is necessary to test whether the receiving end can decrypt and display the video image after the sending end uses HDCP technology to encrypt the video image. If the receiving end displays an abnormality, it is necessary to further determine the cause of the display abnormality. In related technologies, dump technology is usually used to obtain and parse abnormal video images. However, since the receiving end receives HDCP-encrypted data, dump technology cannot obtain the video image, and the cause of the abnormality can only be determined through manual detection. This results in a longer display abnormality detection time and lower detection efficiency. Summary of the invention
[0004] In view of this, the present application provides a method, apparatus, system, device and storage medium for display anomaly detection, so as to solve the problem of low efficiency of display anomaly detection in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a method for displaying abnormality detection, comprising:
[0006] Receiving a target video image sent by a video transmission device; the target video image is a video image obtained by the video transmission device after HDCP decrypting the obtained HDCP encrypted video image;
[0007] Determining a target area in the target video image; the target area includes an area in the target video image that has been HDCP encrypted and decrypted;
[0008] Detecting whether the target area is a pure color image area;
[0009] If the target area is a pure color image area, the target video image is determined to be abnormal, and abnormal information is determined based on the target area.
[0010] In a possible implementation manner of the first aspect, detecting whether the target area is a pure color image area includes:
[0011] Detecting whether the image data of the target area is the same within an error range;
[0012] If they are the same, determining that the target area is a pure color image area;
[0013] If different, it is determined that the target area is not a pure color image area.
[0014] In a possible implementation manner of the first aspect, the method further includes:
[0015] If the target area is not a pure color image area, it is determined that there is no abnormality in the target video image.
[0016] In a possible implementation manner of the first aspect, determining the abnormal information based on the target area includes:
[0017] Determining the image color of the target area based on the image data of the target area;
[0018] The type of anomaly is determined based on the image color of the target area.
[0019] In a possible implementation manner of the first aspect, determining the target area in the target video image includes:
[0020] Obtaining location information of a preset target area;
[0021] Based on the position information of the preset target area, a target area is determined in the target video image.
[0022] In a second aspect, an embodiment of the present application provides a method for displaying abnormality detection, including:
[0023] Get HDCP encrypted video images;
[0024] Performing HDCP decryption on the HDCP encrypted video image to obtain a target video image;
[0025] The target video image is sent to a display anomaly detection device.
[0026] In a possible implementation manner of the second aspect, before HDCP decrypting the HDCP encrypted video image to obtain the target video image, the method further includes:
[0027] Determine HDCP decryption key information;
[0028] The HDCP decrypting of the HDCP encrypted video image to obtain the target video image comprises:
[0029] The HDCP encrypted video image is HDCP decrypted using the HDCP decryption key information to obtain a target video image.
[0030] In a possible implementation manner of the second aspect, the method further includes:
[0031] The target video image is sent to a display device.
[0032] In a third aspect, an embodiment of the present application provides a display abnormality detection device, comprising:
[0033] A receiving unit, configured to receive a target video image sent by a video transmission device; the target video image is a video image obtained by the video transmission device after HDCP decrypting the obtained HDCP encrypted video image;
[0034] A processing unit, configured to determine a target area in the target video image; the target area is an HDCP-encrypted area in the target video image;
[0035] The processing unit is further used to detect whether the target area is a pure color image area;
[0036] The processing unit is further configured to determine that the target video image is abnormal if the target area is a pure color image area, and determine the abnormality type based on the target area.
[0037] In a fourth aspect, an embodiment of the present application provides a video transmission device, including:
[0038] An acquisition unit, used for acquiring HDCP encrypted video images;
[0039] A processing unit, configured to perform HDCP decryption on the HDCP encrypted video image to obtain a target video image;
[0040] The sending unit is used to send the target video image to the display abnormality detection device.
[0041] In a fifth aspect, an embodiment of the present application provides a display anomaly detection system, including a display anomaly detection device and a video transmission device; wherein:
[0042] The display abnormality detection device is the display abnormality detection device described in the third aspect above; the video transmission device is the video transmission device described in the fourth aspect above.
[0043] In a possible implementation manner of the fifth aspect, the device further includes: a video sending device;
[0044] The video sending device is used to perform HDCP encryption processing on the target video image, generate an HDCP encrypted video image, and send the HDCP encrypted video image to the video transmission device.
[0045] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute any one of the methods described in the first aspect above.
[0046] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any method described in the first aspect.
[0047] In an eighth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product comprises executable instructions, and when the executable instructions are executed on a computer, the computer executes any one of the methods described in the first aspect.
[0048] Using the solution provided in the embodiment of the present application, a target video image sent by a video transmission device is received; the target video image is a video image obtained after the video transmission device performs HDCP decryption on the acquired HDCP encrypted video image; a target area is determined in the target video image; it is detected whether the target area is a pure color image area; if the target area is a pure color image area, it is determined that the target video image is abnormal, and abnormal information is determined based on the target area. In the embodiment of the present application, the target video image after the video transmission device performs HDCP decryption can be obtained, so that it can be detected whether the target area in the target video image is a pure color image area. If it is, it indicates that the display data of the target area is abnormal, and the abnormal information can be determined based on the image data of the target area. In this way, the HDCP video image can be automatically detected for abnormalities and abnormal information can be determined, without the need to determine the abnormal information through manual detection, which greatly reduces the time for abnormal detection and improves detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 A flowchart of a method for displaying abnormality detection provided by an embodiment of the present application;
[0051] Figure 2 A schematic diagram of a scene showing anomaly detection provided in an embodiment of the present application;
[0052] Figure 3 A flowchart of another method for displaying abnormality detection provided by an embodiment of the present application;
[0053] Figure 4 A flowchart of another method for displaying abnormality detection provided by an embodiment of the present application;
[0054] Figure 5 A flowchart of another method for displaying abnormality detection provided by an embodiment of the present application;
[0055] Figure 6 A flowchart of another method for displaying abnormality detection provided by an embodiment of the present application;
[0056] Figure 7 A schematic diagram of another scenario showing abnormality detection provided in an embodiment of the present application;
[0057] Figure 8A schematic diagram of the structure of a display abnormality detection device provided in an embodiment of the present application;
[0058] Fig. 9 A schematic diagram of the structure of a video transmission device provided in an embodiment of the present application;
[0059] Fig.10 A schematic diagram of the structure of a display anomaly detection system provided in an embodiment of the present application;
[0060] Fig.11 A schematic diagram of the structure of another display abnormality detection system provided in an embodiment of the present application;
[0061] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0063] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0064] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0065] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0066] DRM (Digital Rights Management) refers to the technology of rights protection, use control and management of digital content, such as audio and video program content, documents, and e-books, during the production, dissemination, sales, and use. HDCP (High-bandwidth Digital Content Protection) is a protection technology for high-definition videos protected by DRM during transmission, which can reduce the possibility of illegal copying of video images during transmission. When the video image sender and the receiver transmit the video through the HDCP technology, the video image sender and the receiver can negotiate by handshake to determine whether both support the HDCP technology. During the handshake negotiation process, the video image sender and the receiver can share a shared key, so that the video image sender can use the shared key to perform HDCP encryption on the video image to obtain an HDCP encrypted video image. The video image sender can transmit the HDCP encrypted video image to the receiver. The receiver can use the shared key to decrypt the encrypted data accordingly to obtain the video image and display the video image.
[0067] When applying HDCP technology to a device, it is necessary to test the stability of the device to which the HDCP technology is applied. That is, it is necessary to test whether the receiving end can decrypt and display the video image after the sending end uses HDCP technology to encrypt the video image. If the receiving end displays abnormally, it is necessary to further determine the cause of the display abnormality. In the related art, dump technology is usually used to obtain and parse abnormal video images. However, since the receiving end receives HDCP-encrypted data, dump technology cannot obtain the video image, and the cause of the abnormality can only be determined through manual detection. This results in a longer display abnormality detection time and lower detection efficiency.
[0068] In response to the above problems, the embodiments of the present application provide a method, device, system, equipment and storage medium for display anomaly detection, and the method specifically comprises: receiving a target video image sent by a video transmission device; the target video image is a video image obtained after the video transmission device performs HDCP decryption on the acquired HDCP encrypted video image; determining a target area in the target video image; detecting whether the target area is a pure color image area; if the target area is a pure color image area, determining that the target video image is abnormal, and determining abnormal information based on the target area. In the embodiments of the present application, the target video image after the video transmission device performs HDCP decryption can be obtained, so that it can be detected whether the target area in the target video image is a pure color image area. If it is, it indicates that the display data of the target area is abnormal, and the abnormal information can be determined based on the image data of the target area. In this way, the HDCP video image can be automatically detected for abnormality and the abnormal information can be determined, without the need to determine the abnormal information through manual detection, which greatly reduces the time for abnormality detection and improves the detection efficiency. The following is a detailed description.
[0069] See also Figure 1 , is a flow chart of a method for displaying abnormality detection provided by an embodiment of the present application. Figure 1 As shown, the method includes:
[0070] Step S101: receiving a target video image sent by a video transmission device.
[0071] The target video image is a video image obtained by the video transmission device after HDCP decrypting the obtained HDCP encrypted video image.
[0072] In an embodiment of the present application, the video transmission device can obtain an HDCP encrypted video image and perform HDCP decryption on the HDCP encrypted video image. That is, the video transmission device and the video sending device can perform HDCP negotiation in advance to determine the shared key information. In this way, the video sending device can perform HDCP encryption on the target video image and transmit it to the video transmission device. After receiving the HDCP encrypted video image, the video transmission device can perform HDCP decryption to obtain the target video image. In order to detect whether there is an abnormality in the target video image, the video transmission device can send the target video to a display abnormality detection device, and the display abnormality detection device receives the target video image to perform abnormality detection on the target video image.
[0073] As a possible implementation method, the display abnormality detection device and the video transmission device can be connected by wireless connection. In this case, the video transmission device can transmit the decrypted target video image to the display abnormality detection device by wireless transmission.
[0074] In some embodiments, in order to improve the security of video image transmission between the video transmission device and the display abnormality detection device, the video transmission device and the display abnormality detection device can be connected by wire. At this time, the display abnormality detection device can receive the target video image through the wired connection with the video transmission device.
[0075] Step S102: determine a target area in the target video image.
[0076] The target area includes an area in the target video image that has been HDCP encrypted and decrypted.
[0077] In the embodiment of the present application, it is necessary to detect whether there is an abnormality in the video image encrypted by the HDCP technology. When the video sending device encrypts the target video image by the HDCP technology, it is not necessary to encrypt all areas in the target video image, but only encrypt at least part of the area in the target video image. When performing abnormality detection, it is necessary to at least detect whether there is an abnormality in the area of the target video image that has been encrypted and decrypted by HDCP. Based on this, it is necessary to determine the target area in the target video image, and the target area includes the area of the target video image that has been encrypted and decrypted by HDCP.
[0078] In some embodiments, in order to reduce the complexity of abnormality detection, the area in the target video image that has been HDCP encrypted and decrypted may be directly determined as the target area.
[0079] As a possible implementation manner, the above-mentioned determining the target area in the target video image includes:
[0080] Obtaining location information of a preset target area; and determining the target area in the target video image based on the location information of the preset target area.
[0081] In the embodiment of the present application, the area where the target video image is to be HDCP encrypted can be preset by the user. At this time, the display abnormality detection device can obtain the position information of the preset target area. In this way, the display abnormality detection device can determine the target area in the target video image according to the obtained position information of the preset target area.
[0082] In some embodiments, the location information of the target area can be directly preset in the display abnormality detection device, or the location information of the preset target area can be set in other devices or equipment, and the display abnormality detection device can obtain the location information from other devices. This application does not limit this.
[0083] In some embodiments, after receiving the target video image, the display abnormality detection device may enlarge the size of the target video image before performing abnormality detection. For example, the target video image sent by the video transmission device is an image of 10*10 size. After receiving the target video image, the display abnormality detection device may enlarge it to an image of 100*100 size. The position information of the preset target area obtained by the display abnormality detection device may be the position information before the image is enlarged. At this time, when the display abnormality detection device obtains the position information of the preset target area, it may determine the position information of the target area corresponding to the enlarged target video image according to the position information of the preset target area, and then determine the target area in the enlarged target video image according to the position information. For example, the position information of the preset target area is the first 10*1 pixels. The position information of the preset target area is the position information of the target video image before enlargement. In the display abnormality detection device, the video image of 10*10 size is enlarged to a video image of 00*100 size. When the display abnormality detection device obtains the position information of the preset target area as 10*1 pixels, it determines that the position information of the target area corresponding to the enlarged target video image is the first 100*10 pixels in the video image. At this time, the display abnormality detection device can determine the area where the first 100*10 pixels in the target video image are located as the target area.
[0084] In other embodiments, the position information of the preset target area obtained by the display abnormality detection device may be the position information after the image is enlarged. In this case, the display abnormality detection device may directly determine the target area in the enlarged target video image according to the obtained position information of the preset target area.
[0085] Step S103: Detect whether the target area is a pure color image area.
[0086] In the embodiment of the present application, after determining the target area, the display abnormality detection device needs to detect whether there is a display abnormality in the target area. When displaying a video, if a certain display area is a pure color image, it is considered that the area has a display abnormality. For example, when displaying a video, if a certain display area is a pure white image or a pure black image or an image of another color, it can be considered that there is a display abnormality in the area, such as Figure 2 Based on this, the display abnormality detection device can detect whether the target area is a pure color image area, so as to determine whether there is a display abnormality in the target area. In some embodiments, the display abnormality detection device can detect the color difference of each pixel in the target area. When the color difference of each pixel does not exceed the preset color difference threshold, it can be determined that the target area is a pure color image area.
[0087] The preset color difference threshold may be a preset threshold for determining the difference between the colors of two pixels. When the color difference between the two pixels is not greater than the preset color difference threshold, the colors of the two pixels may be considered to be the same. When the color difference between the two pixels is greater than the preset color difference threshold, the colors of the two pixels may be considered to be different.
[0088] Of course, the display abnormality detection device can detect whether the target area is a pure color image area by other methods. As a possible implementation method, the above detection of whether the target area is a pure color image area includes:
[0089] Detect whether the image data of the target area are the same within an error range; if they are the same, determine that the target area is a pure color image area; if they are different, determine that the target area is not a pure color image area.
[0090] That is, after determining the target area, the display abnormality detection device can detect whether the image data of the target area is the same within the error range. Since the display content of the pure color image is the same, the image data of the pure color image should also be the same. Therefore, the display abnormality detection device can detect whether the image data of each pixel in the target area is the same within the error range. If they are the same, it is determined that the target area is the same as the pure color image. If there is at least one pixel whose image data is different from the image data of other pixels, it can be determined that the target area is not a pure color image area.
[0091] It should be noted that the display abnormality detection device can also detect whether the target area is a pure color image area in other ways, and this application does not impose any restrictions on this.
[0092] Step S104: If the target area is a pure color image area, determine that the target video image is abnormal, and determine abnormal information based on the target area.
[0093] In an embodiment of the present application, when the display abnormality detection device determines that the target area is a pure color image area, it can determine that the display data of the target area is abnormal. At this time, the display abnormality detection device can determine that the target video image is an abnormal video image, and the display abnormality detection device can determine the abnormal information based on the abnormal image data of the target area. In some embodiments, the display abnormality detection device can directly use the image data of the target area as the abnormal information. In other embodiments, the display abnormality detection device can determine the display abnormality type based on the abnormal image data of the target area, and then determine the abnormal information.
[0094] As a possible implementation manner, the above-mentioned determining the abnormal information based on the target area includes: determining the image color of the target area based on the image data of the target area; and determining the abnormal type based on the image color of the target area.
[0095] That is, when the target area in the video image is a solid color image, different image data of the target area correspond to different abnormal types. Different image data of the target area have different corresponding image colors, so the abnormal type can be determined according to the image color of the target area. At this time, the display abnormality detection device can determine the image color of the target area according to the image data of the target area, and then determine the abnormal type according to the image color. In some embodiments, the abnormal types corresponding to different image colors can be pre-set. At this time, after detecting the image color of the target area, the display abnormality detection device can determine the abnormal type according to the correspondence between the image color and the abnormal type. For example, when the image color is black, the abnormal type can be determined to be a black screen; when the image color is white, the abnormal type can be determined to be a white screen; when the image color is green, the abnormal type can be determined to be a green screen; when the image color is blue, the abnormal type can be determined to be a blue screen. In this way, the display abnormality detection device can determine the abnormal type according to the image color corresponding to the image data of the target area.
[0096] In some embodiments, if the image color of the target area is not recorded in the correspondence relationship between the preset image color and the abnormality type, at this time, the display abnormality detection device can directly use the image color of the target area as the abnormality information.
[0097] As a possible implementation, when the display abnormality detection device detects whether the target area is a pure color image area, it may detect that the target area is not a pure color image area. Figure 3 As shown, the above method also includes:
[0098] Step S105: If the target area is not a pure color image area, it is determined that there is no abnormality in the target video image.
[0099] That is, when the display abnormality detection device determines that the target area is not a pure color image area, it can be directly determined that the image data of the target area has no abnormality. At this time, the display abnormality detection device can determine that the target video image has no abnormality.
[0100] In the embodiment of the present application, the target video image after HDCP decryption by the video transmission device can be obtained, so that it can be detected whether the target area in the target video image is a pure color image area. If it is, it means that the display data of the target area is abnormal, and the abnormal information can be determined based on the image data of the target area. In this way, the HDCP video image can be automatically detected for abnormalities and abnormal information can be determined, without the need to determine the abnormal information through manual detection, which greatly reduces the time for abnormal detection and improves the detection efficiency.
[0101] refer to Figure 4, is a flow chart of a method for displaying abnormality detection provided by an embodiment of the present application. Figure 4 As shown, the method includes:
[0102] Step S401: Obtain HDCP encrypted video image.
[0103] In an embodiment of the present application, when the target video needs to be displayed through other display devices, the video sending device can send the target video image to other display devices. In order to reduce the risk of the target video being leaked and improve the transmission security of the target video image, the video sending device can encrypt the target video image. At this time, in order to ensure the high-definition properties of the target video image and the security of data transmission, the video sending device can encrypt the target video image using HDCP technology. Since other display devices may not be compatible with HDCP technology, in order to enable other display devices to display the target video image, the video sending device can transmit the HDCP encrypted video image to a video transmission device that uses HDCP technology. At this time, the video transmission device needs to negotiate the HDCP technology with the video sending device in advance, and determine the shared key information during the negotiation process. The video sending device can encrypt the target video image using the shared key information, send the HDCP encrypted video image to the video transmission device, and the video transmission device can obtain the HDCP encrypted video image.
[0104] In some embodiments, the video transmission device may establish a communication connection with the video sending device, and the video transmission device may directly receive the HDCP encrypted video image sent by the video sending device.
[0105] In other embodiments, the video transmission device may also obtain the HDCP encrypted video image from other devices or storage devices. In this case, the HDCP encrypted video image needs to be pre-stored in the storage device or other device. Of course, the video transmission device may obtain the HDCP encrypted video image in other ways, and the embodiments of the present application are not limited to this.
[0106] In some embodiments, the video transmission device may also have a display function. In this case, the video transmission device may display the target video image. In other embodiments, the video transmission device does not have a display function. In this case, after decrypting the target video image, the video transmission device may send the target video image to other display devices for display.
[0107] Step S402: Perform HDCP decryption on the HDCP encrypted video image to obtain a target video image.
[0108] That is, after the video transmission device obtains the HDCP encrypted video image, it can perform HDCP decryption on the HDCP encrypted video image based on the shared key information between the video transmission device and the video sending device to obtain the decrypted target video image.
[0109] Step S403: Send the target video image to a display anomaly detection device.
[0110] That is, since the target video image may have anomalies, or may be destroyed or tampered with during transmission, in order to detect whether the target video image after transmission and decryption has display anomalies, the target video image can be sent to a display anomaly detection device for corresponding detection.
[0111] As a possible implementation, before the above step S402, as Figure 5 As shown, the method also includes:
[0112] Step S404: Determine the HDCP decryption key information.
[0113] In the embodiment of the present application, HDCP technology is used to ensure that digital image and sound data will not be illegally copied when transmitted through the transmission interface. Before HDCP technology performs video image transmission, the video sending device needs to first verify whether the data transmission device is authorized to receive encrypted data. At this time, the video sending device and the video transmission device exchange a key selection vector (Key Selection Vector, KSV) with each other. At this time, the video sending device and the video transmission device will start to calculate according to the obtained KSV, and the result of the calculation will be compared by the other party. If the calculated values match, the video sending device can confirm that the video transmission device is legal. After the video sending device determines that the video transmission device is legal, it can exchange shared key information. At this time, the video transmission device can determine the shared key information as the decryption key information of HDCP.
[0114] At this time, the above step S403, performing HDCP decryption on the HDCP encrypted video image to obtain the target video image includes: performing HDCP decryption on the HDCP encrypted video image using the HDCP decryption key information to obtain the target video image.
[0115] That is, after receiving the HDCP encrypted video image, the video transmission device needs to decrypt the HDCP encrypted video image. At this time, the HDCP decryption key information can be used to decrypt the HDCP encrypted video image to obtain the decrypted target video image.
[0116] As a possible implementation, Figure 6 As shown, the above method also includes:
[0117] Step S405: Send the target video image to a display device.
[0118] That is, after parsing the target video image, the video transmission device may send the target video image to the display device so that the display device displays the target video image.
[0119] In some embodiments, the display device may be integrated into the video transmission device, or may be a separate device from the video transmission device.
[0120] It should be noted that in the embodiment of the present application, the execution order between step S405 and step S403 is not limited. Step S403 may be executed first, and then step S405; or step S405 may be executed first, and then step S403; or step S403 and step S405 may be executed at the same time, and the embodiment of the present application does not limit this. The diagram is only an example, and does not limit the execution order of the steps.
[0121] For example, Figure 7 As shown, the video transmission device transmits the HDCP encrypted video image to the projection device by wireless transmission, and the video transmission device obtains the HDCP encrypted video image through the projection device. The video transmission device can perform corresponding HDCP decryption on the HDCP encrypted video image to obtain the target video image. The video transmission device can send the target video image to the display anomaly detection device. In some embodiments, the video transmission device can directly send the target video image to the display anomaly detection device, and can transmit the target video image to the display anomaly detection device through other devices. In this example, the target video image is transmitted to the acquisition device by the video transmission device, and the acquisition device sends it to the display anomaly detection device. The video transmission device can also transmit the target video image to the display device so that the display device displays the target video image.
[0122] refer to Figure 8 , is a schematic diagram of the structure of a display abnormality detection device provided in an embodiment of the present application. Figure 8 As shown, the device comprises:
[0123] The receiving unit 801 is used to receive a target video image sent by a video transmission device.
[0124] The target video image is a video image obtained by the video transmission device after HDCP decrypting the obtained HDCP encrypted video image.
[0125] The processing unit 802 is configured to determine a target area in a target video image.
[0126] The target area is an HDCP-encrypted area in the target video image.
[0127] The processing unit 802 is further configured to detect whether the target area is a pure color image area.
[0128] The processing unit 802 is further configured to determine that the target video image is abnormal if the target area is a pure color image area, and determine abnormal information based on the target area.
[0129] As a possible implementation method, the processing unit 802 is specifically used to detect whether the image data of the target area is the same within an error range; if the same, the target area is determined to be a pure color image area; if different, the target area is determined not to be a pure color image area.
[0130] As a possible implementation manner, the processing unit 802 is further configured to determine that there is no abnormality in the target video image if the target area is not a pure color image area.
[0131] As a possible implementation manner, the processing unit 802 is specifically configured to determine the image color of the target area based on the image data of the target area; and determine the abnormality type based on the image color of the target area.
[0132] As a possible implementation manner, the processing unit 802 is specifically configured to obtain position information of a preset target area; and determine the target area in the target video image based on the position information of the preset target area.
[0133] refer to Fig. 9 , is a schematic diagram of the structure of a video transmission device provided in an embodiment of the present application. Fig. 9 As shown, the device comprises:
[0134] The acquisition unit 901 is used to acquire the HDCP encrypted video image.
[0135] The processing unit 902 is used to perform HDCP decryption on the HDCP encrypted video image to obtain a target video image.
[0136] The sending unit 903 is used to send the target video image to the display abnormality detection device.
[0137] As a possible implementation manner, the processing unit 902 is further configured to determine decryption key information of HDCP.
[0138] The processing unit 902 is specifically configured to perform HDCP decryption on the HDCP encrypted video image using the HDCP decryption key information to obtain the target video image.
[0139] As a possible implementation manner, the sending unit 803 is further configured to send the target video image to a display device.
[0140] refer to Fig.10 , is a schematic diagram of the structure of a display anomaly detection system provided in an embodiment of the present application. Fig.10 As shown, the system includes: a display abnormality detection device 1001 and a video transmission device 1002.
[0141] The display abnormality detection device 1001 is the display abnormality detection device described in the above embodiment. The video transmission device 1002 is the video transmission device described in the above embodiment.
[0142] As a possible implementation, an anomaly detection system is shown, e.g. Fig.11 As shown, it also includes:
[0143] The video sending device 1003 is used to perform HDCP encryption processing on the target video image, generate an HDCP encrypted video image, and send the HDCP encrypted video image to the video transmission device 902.
[0144] As a possible implementation, the anomaly detection system is shown in Figure 2. Fig.11 As shown, it also includes:
[0145] The display device 1004 is used to display the target video image sent by the video transmission device 1002.
[0146] Corresponding to the above embodiments, the present application also provides an electronic device. Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device 1200 may include: a processor 1201, a memory 1202 and a communication unit 1203. These components communicate through one or more buses, and those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention, it can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0147] The communication unit 1203 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0148] The processor 1201 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 1202, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 1201 can include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0149] The memory 1202 is used to store the execution instructions of the processor 1201. The memory 1202 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0150] When the execution instructions in the memory 1202 are executed by the processor 1201, the electronic device 1200 can execute Figure 1-Figure 4 Some or all of the steps in the illustrated embodiments.
[0151] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the display anomaly detection method provided by the present invention. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0152] In a specific implementation, the present invention further provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the simulation scene generation method provided by the present invention.
[0153] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0154] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for displaying abnormality detection, characterized in that: include: Receiving a target video image sent by a video transmission device; The target video image is a video image obtained by the video transmission device after HDCP decrypting the acquired HDCP encrypted video image; Determining a target area in the target video image; the target area includes an area in the target video image that has been HDCP encrypted and decrypted; Detecting whether the target area is a pure color image area; If the target area is a pure color image area, the target video image is determined to be abnormal, and abnormal information is determined based on the target area.
2. The method according to claim 1, characterized in that The detecting whether the target area is a pure color image area comprises: Detecting whether the image data of the target area is the same within an error range; If they are the same, determining that the target area is a pure color image area; If different, it is determined that the target area is not a pure color image area.
3. The method according to claim 1, characterized in that Also includes: If the target area is not a pure color image area, it is determined that there is no abnormality in the target video image.
4. The method according to claim 1, characterized in that: The determining of abnormal information based on the target area includes: Determining the image color of the target area based on the image data of the target area; The type of anomaly is determined based on the image color of the target area.
5. The method according to claim 1, characterized in that Determining the target area in the target video image includes: Obtaining location information of a preset target area; Based on the position information of the preset target area, a target area is determined in the target video image.
6. A method for displaying abnormality detection, characterized in that: include: Get HDCP encrypted video images; Performing HDCP decryption on the HDCP encrypted video image to obtain a target video image; The target video image is sent to a display anomaly detection device.
7. The method according to claim 6, characterized in that Before performing HDCP decryption on the HDCP encrypted video image to obtain the target video image, the method further includes: Determine HDCP decryption key information; The HDCP decrypting of the HDCP encrypted video image to obtain the target video image comprises: The HDCP encrypted video image is HDCP decrypted using the HDCP decryption key information to obtain a target video image.
8. The method according to claim 6, characterized in that Also includes: The target video image is sent to a display device.
9. A display abnormality detection device, characterized in that: include: A receiving unit, used for receiving a target video image sent by a video transmission device; The target video image is a video image obtained by the video transmission device after HDCP decrypting the acquired HDCP encrypted video image; A processing unit, configured to determine a target area in the target video image; the target area is an HDCP-encrypted area in the target video image; The processing unit is further used to detect whether the target area is a pure color image area; The processing unit is further configured to determine that the target video image is abnormal if the target area is a pure color image area, and determine the abnormality type based on the target area.
10. A video transmission device, characterized in that: include: An acquisition unit, used for acquiring HDCP encrypted video images; A processing unit, configured to perform HDCP decryption on the HDCP encrypted video image to obtain a target video image; The sending unit is used to send the target video image to the display abnormality detection device.
11. A display anomaly detection system, characterized in that: include: Display abnormality detection device, video transmission device; wherein, The display abnormality detection device is the display abnormality detection device according to claim 9; The video transmission device is the video transmission device according to claim 10.
12. The system according to claim 11, characterized in that Also includes: Video sending device; The video sending device is used to perform HDCP encryption processing on the target video image, generate an HDCP encrypted video image, and send the HDCP encrypted video image to the video transmission device.
13. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device executes the method of any one of claims 1 to 5, or executes the method of any one of claims 6 to 8.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 5, or to execute the method according to any one of claims 6 to 8.
