CN114640855A - Data processing method and system - Google Patents
Data processing method and system Download PDFInfo
- Publication number
- CN114640855A CN114640855A CN202210281222.XA CN202210281222A CN114640855A CN 114640855 A CN114640855 A CN 114640855A CN 202210281222 A CN202210281222 A CN 202210281222A CN 114640855 A CN114640855 A CN 114640855A
- Authority
- CN
- China
- Prior art keywords
- frame
- image
- encrypted
- sequence
- encryption
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000005540 biological transmission Effects 0.000 abstract description 17
- 230000000694 effects Effects 0.000 abstract description 8
- 239000007787 solid Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本申请是申请日为2019年04月09日提交中国专利局、申请号为2019102794840、申请名称为“数据传输方法及系统”的中国专利的分案申请。This application is a divisional application of a Chinese patent with the application date of April 9, 2019, and the application number is 2019102794840 and the application name is "Data Transmission Method and System".
技术领域technical field
本公开涉及电子信息技术领域,尤其涉及数据处理方法及系统。The present disclosure relates to the field of electronic information technology, and in particular, to a data processing method and system.
背景技术Background technique
为了保证数据的安全,在数据处理过程中会采用加密的方式进行传输。In order to ensure the security of data, encryption is used for transmission during data processing.
现有技术中,数据加密传输方案为:数据处理系统对每一份源数据加密处理后,通过数据加密装置的发送端向数据解密装置的接收端发送,数据解密装置对已加密的源数据进行解密。在此过程中,因为在数据加密装置需要对每一份数据进行加密处理,而相应的,数据解密装置也需要对每一份已加密数据进行解密,因此,数据加密装置和数据解密装置的数据处理的资源消耗非常大。尤其是对于传输实时画面的应用来说,会进一步增加两端进行加密或者解密的资源消耗、增大图像传输的时延。In the prior art, the data encryption transmission scheme is as follows: after the data processing system encrypts each piece of source data, it is sent to the receiving end of the data decryption device through the sending end of the data encryption device, and the data decryption device performs encryption on the encrypted source data. decrypt. In this process, because the data encryption device needs to encrypt each piece of data, and correspondingly, the data decryption device also needs to decrypt each encrypted data, therefore, the data encryption device and the data decryption device The resource consumption of processing is very high. Especially for applications that transmit real-time images, it will further increase the resource consumption of encryption or decryption at both ends and increase the delay of image transmission.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供一种数据处理方法及系统,能够解决传输加密数据时造成的资源消耗的问题。所述技术方案如下:Embodiments of the present disclosure provide a data processing method and system, which can solve the problem of resource consumption caused by transmitting encrypted data. The technical solution is as follows:
根据本公开实施例的第一方面,提供一种数据处理方法,应用于数据加密装置,该方法包括:According to a first aspect of the embodiments of the present disclosure, a data processing method is provided, which is applied to a data encryption device, and the method includes:
获取图像帧序列,并查找到图像帧序列中的至少一个I帧;Obtain a sequence of image frames, and find at least one I frame in the sequence of image frames;
根据预设加密算法,对至少一个I帧进行加密;Encrypt at least one I frame according to a preset encryption algorithm;
根据已加密的至少一个I帧和图像帧序列中未加密的其他图像帧,生成已加密图像帧序列。An encrypted sequence of image frames is generated from the encrypted at least one I-frame and other unencrypted image frames in the sequence of image frames.
在一个实施例中,该方法中根据预设加密算法,对至少一个I帧进行加密,包括:In one embodiment, the method encrypts at least one I frame according to a preset encryption algorithm, including:
识别目标帧图像中的至少一个宏块,根据识别结果,确定I帧中至少一个宏块对应的类型,类型包括:文字类型或者图像类型;Identify at least one macroblock in the target frame image, and determine the type corresponding to at least one macroblock in the I frame according to the identification result, and the type includes: text type or image type;
根据I帧中至少一个宏块对应的类型,对至少一个I帧进行加密。At least one I frame is encrypted according to the type corresponding to at least one macroblock in the I frame.
在一个实施例中,该方法中根据预设加密算法,对至少一个I帧进行加密,包括:In one embodiment, the method encrypts at least one I frame according to a preset encryption algorithm, including:
当帧中至少一个宏块对应的类型为图像类型时,获取至少一个图像类型宏块对应的目标像素值;When the type corresponding to at least one macroblock in the frame is an image type, obtain the target pixel value corresponding to the at least one image type macroblock;
根据至少一个图像类型宏块对应的目标像素值和预设像素值的对比结果,确定至少一个图像类型宏块是有效宏块或无效宏块;According to the comparison result between the target pixel value corresponding to the at least one image type macroblock and the preset pixel value, it is determined that the at least one image type macroblock is a valid macroblock or an invalid macroblock;
通过加密至少一个有效宏块和文字类型对应的宏块、不加密至少一个无效宏块,对至少一个I帧进行加密。At least one I-frame is encrypted by encrypting at least one valid macroblock and a macroblock corresponding to a literal type, and not encrypting at least one invalid macroblock.
在一个实施例中,该方法中根据预设加密算法,对至少一个I帧进行加密,包括:In one embodiment, the method encrypts at least one I frame according to a preset encryption algorithm, including:
通过加密文字类型对应的宏块和不加密图像类型对应的宏块,对至少一个I帧进行加密。At least one I-frame is encrypted by encrypting the macroblock corresponding to the text type and the macroblock corresponding to the unencrypted image type.
在一个实施例中,该方法中生成已加密图像帧序列,包括:In one embodiment, generating a sequence of encrypted image frames in the method includes:
根据图像帧序列中至少一个图像帧对应的加密算法和加密状态,生成图像帧序列中至少一个图像帧对应的加密信息;generating encryption information corresponding to at least one image frame in the image frame sequence according to the encryption algorithm and encryption state corresponding to at least one image frame in the image frame sequence;
根据加密信息标记图像帧序列中至少一个图像帧后,生成已加密图像帧序列。After marking at least one image frame in the image frame sequence according to the encryption information, an encrypted image frame sequence is generated.
本公开实施例提供的数据处理方法,应用于数据加密装置,通过获取图像帧序列,并查找到图像帧序列中的至少一个I帧;根据预设加密算法,对至少一个I帧进行加密,并根据已加密的至少一个目标帧图像和图像帧序列中未加密的其他帧图像,生成已加密图像帧序列。本公开在对图像帧序列进行加密时,是根据帧图像的内容进选择性行加密,从而,降低了数据加密设备的数据处理资源消耗,尤其在实时传输图像帧序列时,加密数据量的减少,能够有效的减少传输延时,提高实时传输的显示效果。The data processing method provided by the embodiment of the present disclosure is applied to a data encryption device, by acquiring an image frame sequence, and finding at least one I frame in the image frame sequence; encrypting at least one I frame according to a preset encryption algorithm, and An encrypted image frame sequence is generated according to the encrypted at least one target frame image and other unencrypted frame images in the image frame sequence. When encrypting the image frame sequence, the present disclosure selectively encrypts according to the content of the frame image, thereby reducing the data processing resource consumption of the data encryption device, especially when the image frame sequence is transmitted in real time, the amount of encrypted data is reduced , which can effectively reduce the transmission delay and improve the display effect of real-time transmission.
根据本公开实施例的第二方面,提供一种数据处理方法,应用于数据解密装置,该方法包括:According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, which is applied to a data decryption device, and the method includes:
获取图像帧序列,并查找到图像帧序列中的至少一个I帧;Obtain a sequence of image frames, and find at least one I frame in the sequence of image frames;
根据预设解密算法,对至少一个I帧进行解密;Decrypt at least one I frame according to a preset decryption algorithm;
根据已解密的至少一个I帧和图像帧序列中未解密的其他帧图像,生成已解密图像帧序列。A sequence of decrypted image frames is generated from the decrypted at least one I-frame and other undecrypted frame images in the sequence of image frames.
在一个实施例中,该方法中根据预设解密算法,对至少一个I帧图像进行解密,包括:In one embodiment, the method decrypts at least one I-frame image according to a preset decryption algorithm, including:
获取至少一个I帧对应的码流结构信息,该码流结构信息,包括I帧中至少一个宏块对应的参数信息和加密信息;Acquire code stream structure information corresponding to at least one I frame, where the code stream structure information includes parameter information and encryption information corresponding to at least one macroblock in the I frame;
根据码流结构信息,确定I帧中至少一个宏块对应的解密顺序。According to the code stream structure information, the decryption sequence corresponding to at least one macroblock in the I frame is determined.
在一个实施例中,该方法中根据预设解密算法,对至少一个I帧进行解密,还包括:In one embodiment, the method decrypts at least one I frame according to a preset decryption algorithm, further comprising:
根据至少一个I帧对应的加密信息,确定至少一个I帧中至少一个加密宏块,加密信息用于指示至少一个I帧中至少一个宏块是否被加密;Determine at least one encrypted macroblock in the at least one I frame according to encryption information corresponding to the at least one I frame, where the encryption information is used to indicate whether the at least one macroblock in the at least one I frame is encrypted;
通过解密至少一个加密宏块和不解密至少一个I帧中不加密的其余宏块,对至少一个I帧进行解密。The at least one I-frame is decrypted by decrypting the at least one encrypted macroblock and not decrypting the remaining macroblocks in the at least one I-frame that are not encrypted.
本公开实施例提供的数据处理方法,应用于数据解密装置,通过获取图像帧序列,并查找到图像帧序列中的至少一个I帧;根据预设解密算法,对至少一个I帧进行解密,并根据已解密的至少一个I帧和图像帧序列中未解密的其他帧图像,生成已解密图像帧序列。本公开在对图像帧序列进行解密时,是根据帧图像的内容进选择性行解密,从而,降低了数据解密过程中的数据处理资源消耗,尤其在实时传输图像帧序列时,解密数据量的减少,能够有效的减少传输延时,提高实时传输的显示效果。The data processing method provided by the embodiment of the present disclosure is applied to a data decryption device. By acquiring an image frame sequence, at least one I frame in the image frame sequence is found; according to a preset decryption algorithm, the at least one I frame is decrypted, and A sequence of decrypted image frames is generated from the decrypted at least one I-frame and other undecrypted frame images in the sequence of image frames. In the present disclosure, when the image frame sequence is decrypted, it is selectively decrypted according to the content of the frame image, thereby reducing the consumption of data processing resources in the data decryption process, especially when the image frame sequence is transmitted in real time, the amount of decrypted data is reduced. It can effectively reduce the transmission delay and improve the display effect of real-time transmission.
根据本公开实施例的第三方面,提供一种数据处理系统,该系统包括:数据加密装置和数据解密装置;数据加密装置和数据解密装置相连接;According to a third aspect of the embodiments of the present disclosure, a data processing system is provided, the system comprising: a data encryption device and a data decryption device; the data encryption device and the data decryption device are connected;
所述数据加密装置,用于获取图像帧序列,并查找到所述图像帧序列中的至少一个I帧;The data encryption device is used to obtain an image frame sequence, and find at least one I frame in the image frame sequence;
根据预设加密算法,对所述至少一个I帧进行加密;encrypting the at least one I frame according to a preset encryption algorithm;
根据所述已加密的至少一个I帧和所述图像帧序列中未加密的其他图像帧,生成已加密图像帧序列并向所述数据解密装置发送;generating an encrypted image frame sequence according to the encrypted at least one I frame and other unencrypted image frames in the image frame sequence and sending it to the data decryption device;
所述数据解密装置,用于获取所述已加密图像帧序列,并查找到所述目标视频中的至少一个I帧;The data decryption device is used to obtain the encrypted image frame sequence, and find at least one I frame in the target video;
根据预设解密算法,对所述至少一个I帧进行解密;Decrypt the at least one I frame according to a preset decryption algorithm;
根据所述已解密的至少一个I帧和所述目标视频中未解密的其他图像帧,生成已解密图像帧序列。A sequence of decrypted image frames is generated from the decrypted at least one I-frame and other undecrypted image frames in the target video.
在一个实施例中,该系统中的数据加密装置,还用于,In one embodiment, the data encryption device in the system is further configured to:
识别所述目标帧图像中的至少一个宏块,根据所述识别结果,确定所述I帧中至少一个宏块对应的类型,类型包括:文字类型或者图像类型;Identify at least one macroblock in the target frame image, and determine the type corresponding to at least one macroblock in the I frame according to the identification result, and the type includes: text type or image type;
根据I帧中至少一个宏块对应的类型,对至少一个I帧进行加密。At least one I frame is encrypted according to the type corresponding to at least one macroblock in the I frame.
在一个实施例中,该系统中的数据解密装置,还用于,In one embodiment, the data decryption device in the system is also used to:
根据所述至少一个I帧对应的加密信息,确定所述至少一个I帧中至少一个加密宏块,所述加密信息用于指示所述至少一个I帧中至少一个宏块是否被加密;determining at least one encrypted macroblock in the at least one I frame according to encryption information corresponding to the at least one I frame, where the encryption information is used to indicate whether at least one macroblock in the at least one I frame is encrypted;
通过解密所述至少一个加密宏块和不解密所述至少一个I帧中不加密的其余宏块,对所述至少一个I帧进行解密。The at least one I-frame is decrypted by decrypting the at least one encrypted macroblock and not decrypting the remaining macroblocks in the at least one I-frame that are not encrypted.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开实施例提供的一种数据处理方法的流程图;1 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种数据处理方法的流程图1;FIG. 2 is a flowchart 1 of a data processing method provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种数据处理系统的结构图。FIG. 3 is a structural diagram of a data processing system provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开实施例提供一种数据处理方法,用于数据加密装置,如图1所示,该数据处理方法包括以下步骤:An embodiment of the present disclosure provides a data processing method for a data encryption device. As shown in FIG. 1 , the data processing method includes the following steps:
101、获取图像帧序列,并查找到图像帧序列中的至少一个I帧。101. Acquire a sequence of image frames, and find at least one I frame in the sequence of image frames.
在可选实施例中,图像帧序列可以根据目标视频数据生成。In an alternative embodiment, the sequence of image frames may be generated from the target video data.
根据高度压缩数字视频编解码器标准H.264/AVC(Advanced视频Coding,高级视频编码)将图像帧序列分类为:I帧图像数据、P帧图像数据、B帧图像数据后进行编解码处理;I帧是指完整编码帧图像,即为编码处理的参考帧;P帧是指参考之前的I帧生成的只包含差异部分编码的帧图像;B帧是指参考前后的帧编码的帧图像。According to the highly compressed digital video codec standard H.264/AVC (Advanced Video Coding, Advanced Video Coding), the image frame sequence is classified into: I frame image data, P frame image data, B frame image data and then encoding and decoding processing; The I frame refers to the complete coded frame image, which is the reference frame for the coding process; the P frame refers to the frame image generated by referring to the previous I frame and only contains the coding of the difference part; the B frame refers to the frame image coded by the frames before and after the reference.
因此,本公开在加密图像帧序列时,先筛选出图像帧序列中的至少一个I帧,既能够保证数据处理的质量,又能够保证数据的安全性。Therefore, in the present disclosure, when encrypting a sequence of image frames, at least one I frame in the sequence of image frames is first screened, which can not only ensure the quality of data processing, but also ensure the security of data.
102、根据预设加密算法,对至少一个I帧进行加密。102. Encrypt at least one I frame according to a preset encryption algorithm.
在可选实施例中,根据预设加密算法,对至少一个I帧进行加密,包括:In an optional embodiment, encrypting at least one I frame according to a preset encryption algorithm, including:
识别目标帧图像中的至少一个宏块,根据识别结果,确定I帧中对应的至少一个宏块为文字类型宏块或图像类型宏块;Identify at least one macroblock in the target frame image, and according to the identification result, determine that at least one macroblock corresponding to the I frame is a text type macroblock or an image type macroblock;
根据I帧中至少一个宏块对应的类型,对至少一个I帧进行加密。At least one I frame is encrypted according to the type corresponding to at least one macroblock in the I frame.
在具体的加密处理中,根据I帧中至少一个宏块对应的类型,对至少一个I帧进行加密,包括,根据预设加密算法,对I帧中的至少一个图像类型对应的宏块或至少一个文字类型对应的宏块进行加密。下面列举两个具体实施例分别阐释:In a specific encryption process, encrypting at least one I-frame according to a type corresponding to at least one macroblock in the I-frame, including, according to a preset encryption algorithm, encrypting a macroblock or at least one image type corresponding to at least one image type in the I-frame. A macroblock corresponding to a literal type is encrypted. Two specific embodiments are listed below to illustrate respectively:
在第一示例中,通过加密文字类型对应的全部宏块和加密图像类型对应的部分宏块,对至少一个I帧进行加密,其中,加密图像类型对应的有效宏块,包括:In the first example, at least one I-frame is encrypted by encrypting all macroblocks corresponding to the text type and some macroblocks corresponding to the encrypted image type, wherein the valid macroblocks corresponding to the encrypted image type include:
当帧中至少一个宏块对应的类型为图像类型时,获取至少一个图像宏块对应的目标像素值;When the type corresponding to at least one macroblock in the frame is an image type, obtain the target pixel value corresponding to at least one image macroblock;
根据至少一个图像宏块对应的目标像素值和预设像素值的对比结果,确定至少一个图像宏块是有效宏块或无效宏块;According to the comparison result between the target pixel value corresponding to the at least one image macroblock and the preset pixel value, it is determined that the at least one image macroblock is a valid macroblock or an invalid macroblock;
通过加密至少一个有效宏块、文字类型对应的宏块和不加密至少一个无效宏块,对至少一个I帧进行加密。At least one I-frame is encrypted by encrypting at least one valid macroblock, a macroblock corresponding to a literal type, and not encrypting at least one invalid macroblock.
此处列举具体示例阐述,如何将宏块划分为有效图像宏块或者无效图像宏块:包括:Here are specific examples to illustrate how to divide macroblocks into valid image macroblocks or invalid image macroblocks: including:
首先,确定预设像素值,在当前宏块中,选择一个目标像素点的像素值作为预设像素值;该目标像素点可以是当前宏块中的任意位置的像素点或为指定位置的像素点。First, the preset pixel value is determined, and in the current macroblock, the pixel value of a target pixel is selected as the preset pixel value; the target pixel can be a pixel at any position in the current macroblock or a pixel at a specified position point.
其次,计算至少一个图像类型宏块对应的目标像素值和预设像素值之间的差值;Second, calculating the difference between the target pixel value corresponding to the at least one image type macroblock and the preset pixel value;
最后,当图像类型宏块对应的目标像素值和预设像素值的差值在预设值内时,确定图像宏块为无效宏块,否则,认为当前图像块为有效图像块。比如,预设像素值对应的色彩数值为200,如果其余宏块对应的像素值与200的差值在0~3的范围内,则任务该图像宏块对应的目标像素值和预设像素值的差值在预设值内,即可以认为是纯色块,不加密处理。Finally, when the difference between the target pixel value corresponding to the image type macroblock and the preset pixel value is within the preset value, the image macroblock is determined to be an invalid macroblock, otherwise, the current image block is considered to be a valid image block. For example, the color value corresponding to the preset pixel value is 200. If the difference between the pixel values corresponding to the remaining macroblocks and 200 is in the range of 0 to 3, the target pixel value corresponding to the image macroblock and the preset pixel value are assigned. The difference is within the preset value, that is, it can be considered as a pure color block without encryption processing.
本示例中,因为在图像数据处理过程中,针对纯色的宏块,即全部像素值都是相同的色彩数值,可以认为没有包含有效内容的图像块;在此基础上,再把判断条件进行扩大,比如,当一个宏块中所有像素颜色值的差值均在预设值内,例如,8bit色深有256个颜色值,差值在1~2个时肉眼无法识别出时,也可以判断为纯色块。针对有效图像块直接进行加密,针对无效图像块,无需进行加密,直接传输;能够节省加密处理的资源。In this example, because in the process of image data processing, for a macroblock of solid color, that is, all pixel values are the same color value, it can be considered that there is no image block containing valid content; on this basis, the judgment condition is expanded. , for example, when the difference between the color values of all pixels in a macroblock is within the preset value, for example, there are 256 color values in 8-bit color depth, and when the difference is 1 to 2, it can also be judged It is a solid color block. Directly encrypts valid image blocks, and directly transmits without encrypting invalid image blocks, which can save encryption processing resources.
在第二示例中,通过仅加密文字类型对应的全部宏块和不加密图像类型对应的宏块,对至少一个I帧进行加密。具体步骤包括:In the second example, at least one I-frame is encrypted by encrypting only all macroblocks corresponding to text types and not encrypting macroblocks corresponding to picture types. Specific steps include:
首先,获取一个I帧,将其分成M×N的宏块,其中,M不小于1,N不小于1;First, obtain an I frame and divide it into M×N macroblocks, where M is not less than 1 and N is not less than 1;
其次,识别每个宏块,并根据识别结果,将每个宏块分为文字类型宏块或者图像类型宏块;Second, identify each macroblock, and classify each macroblock into a text type macroblock or an image type macroblock according to the recognition result;
最后,仅对文字类型宏块进行加密,对图像类型宏块不进行加密。Finally, only text-type macroblocks are encrypted, and picture-type macroblocks are not encrypted.
该步骤中,对所有文字类型对应的宏块直接进行加密,得到加密后的文字对应的类型宏块;对图像类型对应的宏块不进行加密而直接传输。In this step, the macroblocks corresponding to all character types are directly encrypted to obtain the typed macroblocks corresponding to the encrypted characters; the macroblocks corresponding to the image types are directly transmitted without being encrypted.
本示例中,将每个宏块分为图像类型或者文字类型之后,只对所有的文字类型对应的宏块进行加密,不对图像类型对应的宏块进行加密,而直接进行发送。该方案比较适用于办公场合,其特点是:所传输的图像中文字信息多且涉及较多重要的关键信息,而图像信息不需要加密的场景。In this example, after each macroblock is classified into an image type or a text type, only the macroblocks corresponding to all text types are encrypted, and the macroblocks corresponding to the image type are not encrypted, but are directly sent. This scheme is more suitable for office situations, and its characteristics are: the transmitted image contains a lot of text information and involves more important key information, and the image information does not need to be encrypted.
在可选实施例中本公开根据预设加密算法,对至少一个I帧进行加密,其中预设加密算法包括多种加密算法。In an optional embodiment, the present disclosure encrypts at least one I-frame according to a preset encryption algorithm, wherein the preset encryption algorithm includes multiple encryption algorithms.
可选方案一:预设加密算法,可以包括对称加密算法和非对称加密算法。Option 1: preset encryption algorithms, which may include symmetric encryption algorithms and asymmetric encryption algorithms.
可选方案二:预设加密算法的选取,可以通过预先设置加密算法池并通过加密算法池确定预设加密算法;其中加密算法池中包括预设数量种加密算法,在对待加密的宏块进行加密时,按照顺序依次选择加密算法,或者,每一次加密时,随机从加密算法池中选择一种用于对当前宏块进行加密。Option 2: The selection of the preset encryption algorithm can be performed by presetting the encryption algorithm pool and determining the preset encryption algorithm through the encryption algorithm pool; wherein the encryption algorithm pool includes a preset number of encryption algorithms, and is performed on the macroblock to be encrypted. During encryption, the encryption algorithms are selected in sequence, or, during each encryption, an encryption algorithm pool is randomly selected for encrypting the current macroblock.
进一步的,列举具体事例阐述如何通过加密算法池确定预设加密算法。包括通过预设顺序选择加密算法,或随机顺序选择加密算法。Further, specific examples are given to illustrate how to determine the preset encryption algorithm through the encryption algorithm pool. This includes selecting encryption algorithms in a preset order, or selecting encryption algorithms in random order.
示例一,根据预设顺序选择预设加密算法,包括:加密算法池中包括8种加密算法,并对这8种加密算法设置预设顺序,比如,按照1-8进行编号,则在每一次加密时,按照顺序轮询加密算法池中的加密算法,确定出当前所使用的加密算法,来对当前待加密宏块进行加密,在下一次加密时,选择下一个加密算法,如,上一次加密使用3算法,则当前加密使用4算法,下一次加密使用5算法,依次类推,当采用最后一种即,第8种加密算法加密之后,再次进行加密时,则再从第一种加密算法开始,依次选择。Example 1, selecting a preset encryption algorithm according to a preset order, including: the encryption algorithm pool includes 8 encryption algorithms, and the preset order is set for these 8 encryption algorithms. During encryption, poll the encryption algorithms in the encryption algorithm pool in order to determine the currently used encryption algorithm to encrypt the current macroblock to be encrypted. In the next encryption, select the next encryption algorithm, such as the last encryption. If algorithm 3 is used, the current encryption uses algorithm 4, the next encryption uses algorithm 5, and so on. , and then select.
示例二,根据随机顺序选择预设加密算法,即:预设加密算法的选取也可以在每一次对待加密宏块进行加密时,随机从加密算法池中选择一种加密算法,对当前待加密宏块进行加密。预先设置取值范围从1-8的随机数生成器,每一次加密时,由随机数生成器随机生成一个数字,并将该数字对应的加密算法确认为当次所使用的加密算法,比如,生成数字为7时,则选择第7种加密算法。Example 2: The preset encryption algorithm is selected according to random order, that is, the selection of the preset encryption algorithm can also randomly select an encryption algorithm from the encryption algorithm pool each time the macroblock to be encrypted is encrypted, and the current macroblock to be encrypted is selected. Blocks are encrypted. A random number generator with a value range of 1-8 is preset in advance. When encrypting each time, the random number generator randomly generates a number, and confirms the encryption algorithm corresponding to the number as the encryption algorithm used at that time. For example, When the generated number is 7, the seventh encryption algorithm is selected.
本公开在对I帧中至少一个宏块加密时采用多种加密算法进行加密,从而大幅提升了数据被破解的难度,提高数据加密的安全性。The present disclosure adopts multiple encryption algorithms for encryption when encrypting at least one macroblock in an I frame, thereby greatly improving the difficulty of data being cracked and improving the security of data encryption.
103、根据已加密的至少一个I帧和图像帧序列中未加密的其他图像帧,生成已加密图像帧序列。103. Generate an encrypted image frame sequence according to the encrypted at least one I frame and other unencrypted image frames in the image frame sequence.
在可选实施例中,生成已加密图像帧序列,包括:In an alternative embodiment, generating a sequence of encrypted image frames includes:
根据图像帧序列中至少一个图像帧对应的加密算法和加密状态,生成图像帧序列中至少一个图像帧对应的加密信息;generating encryption information corresponding to at least one image frame in the image frame sequence according to the encryption algorithm and encryption state corresponding to at least one image frame in the image frame sequence;
根据加密信息标记图像帧序列中至少一个图像帧后,生成已加密图像帧序列。After marking at least one image frame in the image frame sequence according to the encryption information, an encrypted image frame sequence is generated.
具体的,在加密处理图像帧的过程中,获取图像帧中至少一个宏块对应包头信息,该包头信息用于指示宏块的加密信息,该包头信息,包括两个数据位,其中一个数据位用于指示加密状态,即,当前宏块是否被加密,另一个数据位用于指示加密算法,即当前宏块的加密算法信息。Specifically, in the process of encrypting the image frame, the packet header information corresponding to at least one macroblock in the image frame is obtained, and the packet header information is used to indicate the encryption information of the macroblock. The packet header information includes two data bits, one of which is a data bit. It is used to indicate the encryption state, that is, whether the current macroblock is encrypted, and another data bit is used to indicate the encryption algorithm, that is, the encryption algorithm information of the current macroblock.
此处列举具体示例阐述:该宏块的包头信息中两个数据位的生成,其中该宏块的包头信息中用于指示当前宏块加密状态的数据位对应的长度可以为1bit(binary digit,比特),即,通过0或者1来指示宏块是否被加密,比如,当宏块为被加密时,将该数据位的bit值置为0,当宏块被加密时,将该数据位的bit值置为1。该宏块的包头信息中用于指示当前宏块的加密算法的数据位对应的的长度,则取决于加密算法池中加密算法的种类,比如,当加密算法为8种时,可以将该数据位设置为至少3bit。Here is a specific example to illustrate: the generation of two data bits in the header information of the macroblock, wherein the length corresponding to the data bits used to indicate the encryption state of the current macroblock in the header information of the macroblock can be 1 bit (binary digit, bit), that is, whether the macroblock is encrypted is indicated by 0 or 1, for example, when the macroblock is encrypted, the bit value of the data bit is set to 0, and when the macroblock is encrypted, the bit value of the data bit is set to 0. bit value is set to 1. The length corresponding to the data bits used to indicate the encryption algorithm of the current macroblock in the header information of the macroblock depends on the type of encryption algorithm in the encryption algorithm pool. For example, when there are 8 encryption algorithms, the data Bits are set to at least 3bit.
在可选实施例中,本公开在生成已加密图像帧序列后,向图像帧序列的接收装置发送。In an optional embodiment, the present disclosure sends the encrypted image frame sequence to a receiving apparatus of the image frame sequence after generating the encrypted image frame sequence.
本公开实施例提供的数据处理方法,应用于数据加密装置,通过获取图像帧序列,并查找到图像帧序列中的至少一个I帧;根据预设加密算法,对至少一个I帧进行加密,并根据已加密的至少一个目标帧图像和图像帧序列中未加密的其他帧图像,生成已加密图像帧序列。本公开在对图像帧序列进行加密时,是根据帧图像的内容进选择性行加密,从而,降低了数据加密设备的数据处理资源消耗,尤其在实时传输图像帧序列时,加密数据量的减少,能够有效的减少传输延时,提高实时传输的显示效果。The data processing method provided by the embodiment of the present disclosure is applied to a data encryption device, by acquiring an image frame sequence, and finding at least one I frame in the image frame sequence; encrypting at least one I frame according to a preset encryption algorithm, and An encrypted image frame sequence is generated according to the encrypted at least one target frame image and other unencrypted frame images in the image frame sequence. When encrypting the image frame sequence, the present disclosure selectively encrypts according to the content of the frame image, thereby reducing the data processing resource consumption of the data encryption device, especially when the image frame sequence is transmitted in real time, the amount of encrypted data is reduced , which can effectively reduce the transmission delay and improve the display effect of real-time transmission.
实施例二Embodiment 2
基于上述图1对应的实施例提供的数据处理方法,本公开另一实施例提供一种数据处理方法,该方法可以应用于数据解密装置,例如,数据解密装置可以是终端设备或网络服务器等,并不代表本公开局限于此。参照图2所示,本实施例提供的数据处理方法包括以下步骤:Based on the data processing method provided by the above-mentioned embodiment corresponding to FIG. 1 , another embodiment of the present disclosure provides a data processing method, which can be applied to a data decryption apparatus. For example, the data decryption apparatus may be a terminal device or a network server, etc., It is not intended that the present disclosure be limited thereto. 2, the data processing method provided by this embodiment includes the following steps:
201、获取图像帧序列,并查找到图像帧序列中的至少一个I帧。201. Acquire a sequence of image frames, and find at least one I frame in the sequence of image frames.
在可选实施例,根据预设解密算法,对至少一个I帧图像进行解密,包括:In an optional embodiment, decrypting at least one I-frame image according to a preset decryption algorithm includes:
获取至少一个I帧对应的码流结构信息,该码流结构信息,包括I帧中至少一个宏块对应的参数信息和加密信息;Acquire code stream structure information corresponding to at least one I frame, where the code stream structure information includes parameter information and encryption information corresponding to at least one macroblock in the I frame;
根据码流结构信息,确定I帧中至少一个宏块对应的解密顺序。According to the code stream structure information, the decryption sequence corresponding to at least one macroblock in the I frame is determined.
进一步的,I帧对应的码流结构信息,是本公开在获取图像帧序列时,是通过读取编码后的图像帧序列对应码流数据中获取至少一个宏块的数据包头信息,该包头信息用于标识相应宏块的类型、长度,还用于标识当前宏块是否被加密及对应的加密算法。根据I帧中所有宏块对应的包头,生成I帧的码流结构信息。Further, the code stream structure information corresponding to the I frame is the data packet header information of at least one macroblock obtained by reading the code stream data corresponding to the encoded image frame sequence when the image frame sequence is obtained in the present disclosure. Used to identify the type and length of the corresponding macroblock, and also used to identify whether the current macroblock is encrypted and the corresponding encryption algorithm. According to the packet headers corresponding to all macroblocks in the I frame, the code stream structure information of the I frame is generated.
因此,至少一个I帧对应的码流结构信息,包括,I帧中至少一个宏块对应的参数信息和加密信息;Therefore, the code stream structure information corresponding to at least one I frame includes parameter information and encryption information corresponding to at least one macroblock in the I frame;
其中的参数信息,包括,宏块的类型、宏块与对应帧的设置;The parameter information, including the type of the macroblock, the setting of the macroblock and the corresponding frame;
其中的加密信息,包括,宏块是否被加密及对应的加密算法The encryption information, including whether the macroblock is encrypted and the corresponding encryption algorithm
在具体实施例中,根据码流结构信息,确认当前I帧中各个宏块的顺序,按照顺序组合为完整的一帧画面,包括In a specific embodiment, according to the code stream structure information, the order of each macroblock in the current I frame is confirmed, and combined into a complete frame of pictures in sequence, including
在传输过程中,图像帧序列中的帧图像被编码成至少一个宏块,例如,I帧中包含四个宏块,依次为:A宏块、B宏块、C宏块、D宏块,其对应的预设顺序为:A宏块、B宏块、C宏块、D宏块,根据预设顺序依次对四个宏块进行传输;但因为网络资源的影响,数据解密装置获取到的帧图像中的宏块顺序可能被打乱,例如是A宏块、B宏块、D宏块、C宏块;如果按照错误的宏块顺序进行解码解密后的图像可能与源图像发生较大偏差,影响显示效果。During the transmission process, the frame images in the image frame sequence are encoded into at least one macroblock. For example, an I frame contains four macroblocks, which are: A macroblock, B macroblock, C macroblock, D macroblock, The corresponding preset order is: A macroblock, B macroblock, C macroblock, D macroblock, and the four macroblocks are transmitted in sequence according to the preset order; The sequence of macroblocks in a frame image may be disrupted, such as A macroblock, B macroblock, D macroblock, and C macroblock; if the decoded image is decoded in the wrong macroblock sequence, it may be larger than the source image. Deviation, affecting the display effect.
因此,本公开在获取图像帧序列时,先根据预设顺序,调整接收到帧图像中至少一个宏块的处理顺序,然后再进行解密和解码,从而进一步提高了解密的质量和效率。Therefore, when obtaining the image frame sequence, the present disclosure adjusts the processing sequence of at least one macroblock in the received frame image according to the preset sequence, and then performs decryption and decoding, thereby further improving the quality and efficiency of decryption.
202、根据预设解密算法,对至少一个I帧图像进行解密。202. Decrypt at least one I-frame image according to a preset decryption algorithm.
在可选实施例中,进行解密至少一个I帧图像数据,方法还包括:In an optional embodiment, decrypting at least one I frame of image data, the method further includes:
根据至少一个I帧对应的加密信息,确定至少一个I帧中至少一个加密宏块,加密信息用于指示I帧中至少一个宏块是否被加密;Determine at least one encrypted macroblock in the at least one I frame according to encryption information corresponding to the at least one I frame, where the encryption information is used to indicate whether the at least one macroblock in the I frame is encrypted;
通过解密至少一个加密宏块并不解密至少一个I帧中不加密的其余宏块,对至少一个I帧进行解密。The at least one I-frame is decrypted by decrypting the at least one encrypted macroblock and not decrypting the remaining macroblocks in the at least one I-frame that are not encrypted.
在具体实施例中,针对I帧对应码流结构信息中的加密标识信息,可以查找到I帧中被加密的宏块。In a specific embodiment, according to the encrypted identification information in the code stream structure information corresponding to the I frame, the encrypted macroblock in the I frame can be found.
进一步,在解密该加密宏块时,可以进一步解析被加密宏块的加密信息,Further, when decrypting the encrypted macroblock, the encrypted information of the encrypted macroblock can be further parsed,
若该加密信息包括该加密宏块对应的加密算法,则根据该宏块对应的加密算法,选择对应的解密算法对当前宏块进行解密;If the encrypted information includes an encryption algorithm corresponding to the encrypted macroblock, select a corresponding decryption algorithm to decrypt the current macroblock according to the encryption algorithm corresponding to the macroblock;
若该加密信息不包括该加密宏块对应的加密算法,则可以采用默认解密算法进行解密。If the encrypted information does not include the encryption algorithm corresponding to the encrypted macroblock, the default decryption algorithm can be used for decryption.
本公开通过至少一个I帧对应的加密信息,确定I帧中被加密的至少一个宏块,并仅解密至少一个被加密的宏块,减少了进行解密的数据量,实现了提高数据解密效率的技术效果。The present disclosure determines at least one encrypted macroblock in the I frame by using the encryption information corresponding to at least one I frame, and decrypts only at least one encrypted macroblock, thereby reducing the amount of data to be decrypted, and realizing the improvement of data decryption efficiency. technical effect.
203、根据已解密的至少一个I帧和图像帧序列中未解密的其他图像帧,生成已解密图像帧序列。203. Generate a decrypted image frame sequence according to the decrypted at least one I frame and other undecrypted image frames in the image frame sequence.
针对加密算法中,仅加密I帧,因此在解密时仅解密I帧,提高了解密的效率。For the encryption algorithm, only the I frame is encrypted, so only the I frame is decrypted during decryption, which improves the decryption efficiency.
本公开实施例提供的数据处理方法,应用于数据解密装置,通过获取图像帧序列,并查找到图像帧序列中的至少一个I帧;根据预设解密算法,对至少一个I帧进行解密,并根据已解密的至少一个I帧和图像帧序列中未解密的其他帧图像,生成已解密图像帧序列。本公开在对图像帧序列进行解密时,是根据帧图像的内容进选择性行解密,从而,降低了数据解密过程中的数据处理资源消耗,尤其在实时传输图像帧序列时,解密数据量的减少,能够有效的减少传输延时,提高实时传输的显示效果。The data processing method provided by the embodiment of the present disclosure is applied to a data decryption device. By acquiring an image frame sequence, at least one I frame in the image frame sequence is found; according to a preset decryption algorithm, the at least one I frame is decrypted, and A sequence of decrypted image frames is generated from the decrypted at least one I-frame and other undecrypted frame images in the sequence of image frames. In the present disclosure, when the image frame sequence is decrypted, it is selectively decrypted according to the content of the frame image, thereby reducing the consumption of data processing resources in the data decryption process, especially when the image frame sequence is transmitted in real time, the amount of decrypted data is reduced. It can effectively reduce the transmission delay and improve the display effect of real-time transmission.
实施例三Embodiment 3
基于上述图1和图2对应的实施例中所描述的数据处理方法,下述为本公开系统实施例,可以用于执行本公开方法实施例。Based on the data processing methods described in the embodiments corresponding to FIG. 1 and FIG. 2 , the following system embodiments of the present disclosure can be used to execute the method embodiments of the present disclosure.
本公开实施例提供一种数据处理系统,如图3所示,该数据处理装置30包括:数据加密装置301和数据解密装置302;An embodiment of the present disclosure provides a data processing system. As shown in FIG. 3 , the
数据加密装置和数据解密装置相连接;The data encryption device is connected with the data decryption device;
数据加密装置,用于获取图像帧序列,并查找到图像帧序列中的至少一个I帧;A data encryption device, used for acquiring an image frame sequence, and finding at least one I frame in the image frame sequence;
根据预设加密算法,对至少一个I帧进行加密;Encrypt at least one I frame according to a preset encryption algorithm;
根据已加密的至少一个I帧和图像帧序列中未加密的其他图像帧,生成已加密图像帧序列并向数据解密装置发送;According to the encrypted at least one I frame and other unencrypted image frames in the image frame sequence, generate an encrypted image frame sequence and send it to the data decryption device;
数据解密装置,用于获取已加密图像帧序列,并查找到目标视频中的至少一个I帧;A data decryption device for obtaining an encrypted image frame sequence and finding at least one I frame in the target video;
根据预设解密算法,对至少一个I帧进行解密;Decrypt at least one I frame according to a preset decryption algorithm;
根据已解密的至少一个I帧和目标视频中未解密的其他图像帧,生成已解密图像帧序列。A sequence of decrypted image frames is generated from the decrypted at least one I-frame and other undecrypted image frames in the target video.
在可选实施例中,该数据加密装置301,还用于,In an optional embodiment, the
识别目标帧图像中的至少一个宏块,根据识别结果,确定I帧中至少一个宏块对应的类型,类型包括:文字或者图像;Identify at least one macroblock in the target frame image, and determine the type corresponding to at least one macroblock in the I frame according to the identification result, and the type includes: text or image;
根据I帧中至少一个宏块对应的类型,对至少一个I帧进行加密。At least one I frame is encrypted according to the type corresponding to at least one macroblock in the I frame.
在可选实施例中,该数据加密装置301,还包括:接收器、处理器和发送器,In an optional embodiment, the
该接收器,用于接收图像帧序列;the receiver, for receiving the sequence of image frames;
该处理器,用于根据预设加密算法,对至少一个I帧进行加密;The processor is configured to encrypt at least one I frame according to a preset encryption algorithm;
根据已加密的至少一个I帧和图像帧序列中未加密的其他图像帧,生成已加密图像帧序列;generating a sequence of encrypted image frames according to the encrypted at least one I frame and other unencrypted image frames in the sequence of image frames;
该发送器,用于将已加密图像帧序列向数据解密装置发送。The transmitter is used for sending the encrypted image frame sequence to the data decryption device.
在可选实施例中,数据解密装置302,还用于,In an optional embodiment, the
根据至少一个I帧对应的加密信息,确定至少一个I帧中至少一个加密宏块,该加密信息用于指示至少一个I帧中至少一个宏块是否被加密;Determine at least one encrypted macroblock in the at least one I frame according to encryption information corresponding to the at least one I frame, where the encryption information is used to indicate whether the at least one macroblock in the at least one I frame is encrypted;
通过解密至少一个加密宏块和不解密至少一个I帧中不加密的其余宏块,对至少一个I帧进行解密。The at least one I-frame is decrypted by decrypting the at least one encrypted macroblock and not decrypting the remaining macroblocks in the at least one I-frame that are not encrypted.
在可选实施例中,该数据解密装置302,还包括:接收器、处理器和发送器,In an optional embodiment, the
该接收器,用于接收已加密图像帧序列;The receiver is used to receive the sequence of encrypted image frames;
该处理器,用于根据预设加密算法,对至少一个I帧进行解密;The processor is configured to decrypt at least one I frame according to a preset encryption algorithm;
根据已解密的至少一个I帧和图像帧序列中未解密的其他图像帧,生成已解密图像帧序列;generating a sequence of decrypted image frames according to the decrypted at least one I frame and other undecrypted image frames in the sequence of image frames;
该发送器,用于将已解密图像帧序列向数据显示装置发送。The transmitter is used for sending the decrypted image frame sequence to the data display device.
本公开实施例提供的数据处理系统,该系统包括数据加密装置和数据解密装置,该系统在处理数据的过程中,通过获取图像帧序列,并查找到图像帧序列中的至少一个I帧;根据预设加密、解密算法,对至少一个I帧进行加密、解密,并根据已加密的至少一个I帧和图像帧序列中未加密的其他帧图像,生成已加密图像帧序列;或根据已加密的至少一个I帧和图像帧序列中未加密的其他帧图像,生成已加密图像帧序列;本公开在对图像帧序列进行加密、解密时,是根据帧图像的内容进选择性行加密、解密,从而,降低了数据处理系统的数据处理资源消耗,尤其在实时传输图像帧序列时,加密数据量的减少,能够有效的减少传输延时,提高实时传输的显示效果。In the data processing system provided by the embodiment of the present disclosure, the system includes a data encryption device and a data decryption device, and in the process of processing data, the system obtains an image frame sequence and finds at least one I frame in the image frame sequence; Preset encryption and decryption algorithms, encrypt and decrypt at least one I frame, and generate an encrypted image frame sequence according to the encrypted at least one I frame and other unencrypted frame images in the image frame sequence; or At least one I frame and other unencrypted frame images in the image frame sequence generate an encrypted image frame sequence; when the present disclosure encrypts and decrypts the image frame sequence, selectively encrypts and decrypts according to the content of the frame image, Therefore, the data processing resource consumption of the data processing system is reduced, especially when the image frame sequence is transmitted in real time, the amount of encrypted data is reduced, the transmission delay can be effectively reduced, and the display effect of real-time transmission can be improved.
基于上述图1和图2对应的实施例中所描述的数据处理方法,本公开实施例还提供一种计算机可读存储介质,例如,非临时性计算机可读存储介质可以是只读存储器(英文:Read Only Memory,ROM)、随机存取存储器(英文:Random Access Memory,RAM)、CD-ROM、磁带、软盘和光数据存储装置等。该存储介质上存储有计算机指令,用于执行上述图1和图2对应的实施例中所描述的数据处理方法,此处不再赘述。Based on the data processing methods described in the embodiments corresponding to FIG. 1 and FIG. 2 , an embodiment of the present disclosure further provides a computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (English). : Read Only Memory, ROM), random access memory (English: Random Access Memory, RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc. The storage medium stores computer instructions for executing the data processing methods described in the embodiments corresponding to FIG. 1 and FIG. 2 , and details are not repeated here.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210281222.XA CN114640855A (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210281222.XA CN114640855A (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
CN201910279484.0A CN110149521B (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910279484.0A Division CN110149521B (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114640855A true CN114640855A (en) | 2022-06-17 |
Family
ID=67588281
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210281222.XA Pending CN114640855A (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
CN201910279484.0A Active CN110149521B (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910279484.0A Active CN110149521B (en) | 2019-04-09 | 2019-04-09 | Data processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN114640855A (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111683271B (en) * | 2020-04-27 | 2022-05-06 | 中国科学院微电子研究所 | Video encryption method, terminal equipment and computer storage medium |
CN118338004A (en) * | 2020-06-30 | 2024-07-12 | 西安万像电子科技有限公司 | Image processing method and device, image transmitting device and storage medium |
CN115278311A (en) * | 2022-07-26 | 2022-11-01 | 中国工商银行股份有限公司 | Macroblock-based video encryption method and device |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5621794A (en) * | 1994-12-06 | 1997-04-15 | Fujitsu Limited | Moving-picture encipherment method and system, and enciphered moving-picture decipherment method and system |
US20030067474A1 (en) * | 2001-09-04 | 2003-04-10 | Simon Fenney | Texturing system |
JP2005175641A (en) * | 2003-12-08 | 2005-06-30 | Fuji Xerox Co Ltd | Image processor |
JP2008033665A (en) * | 2006-07-28 | 2008-02-14 | Fuji Xerox Co Ltd | Image processor, image processing method, and program |
CN102176759A (en) * | 2011-02-15 | 2011-09-07 | 天津理工大学 | Method for encrypting video streaming information based on hyper-chaotic sequence |
WO2011125188A1 (en) * | 2010-04-07 | 2011-10-13 | 三菱電機株式会社 | Video encryption device, video decoding device, video encryption program, and video encryption method |
CN103235946A (en) * | 2013-04-08 | 2013-08-07 | 上海合合信息科技发展有限公司 | Divulgence-preventive processing method for artificially identifying information of business cards |
CN103716637A (en) * | 2014-01-15 | 2014-04-09 | 北京工业大学 | H.264 compressed domain layered video encryption method based on content analysis |
CN103747261A (en) * | 2013-12-31 | 2014-04-23 | 北京工业大学 | Layered perceptual encryption method of H.264 compressed domain based on motion reference structure |
CN104036447A (en) * | 2014-03-12 | 2014-09-10 | 西南交通大学 | PNG electronic invoice image watermark embedding and authentication method based on block sorting |
CN104301727A (en) * | 2014-09-22 | 2015-01-21 | 中国人民解放军重庆通信学院 | H.264 video perception encryption algorithm with controllable quality on basis of CABAC |
CN104581201A (en) * | 2014-12-31 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Video encryption method and device |
CN104735457A (en) * | 2015-03-27 | 2015-06-24 | 南京中新赛克科技有限责任公司 | Video encryption and decryption method based on H.264 code |
CN105049877A (en) * | 2015-06-02 | 2015-11-11 | 阔地教育科技有限公司 | Encryption method and device for live and recorded broadcast interaction system |
CN105472392A (en) * | 2015-12-11 | 2016-04-06 | 钟炎培 | Screen video encoding and decoding method based on progressive character block compression and encoding and decoding device |
CN105959708A (en) * | 2016-06-07 | 2016-09-21 | 浪潮软件股份有限公司 | Video data encryption method |
KR20160118117A (en) * | 2015-04-01 | 2016-10-11 | 세종대학교산학협력단 | Apparatus and method for secure transmission of video data |
CN106203131A (en) * | 2016-06-24 | 2016-12-07 | 维沃移动通信有限公司 | A kind of image encryption method and mobile terminal |
CN106850515A (en) * | 2015-12-07 | 2017-06-13 | 中国移动通信集团公司 | A kind of data processing method and video acquisition device, decoding apparatus |
CN107172433A (en) * | 2017-04-28 | 2017-09-15 | 安徽四创电子股份有限公司 | A kind of video encryption method |
CN107426172A (en) * | 2017-06-05 | 2017-12-01 | 国政通科技股份有限公司 | The matching method for pushing and device of a kind of identity information |
CN108900849A (en) * | 2018-07-26 | 2018-11-27 | 苏州科达科技股份有限公司 | Video data encryption method, system, equipment and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SE513356C2 (en) * | 1998-11-20 | 2000-08-28 | Ericsson Telefon Ab L M | Method and apparatus for encrypting images |
CN1290328C (en) * | 2004-12-06 | 2006-12-13 | 武汉大学 | Dynamic random mess correction and enciphering-deenciphering method for video frequency information |
CN100574282C (en) * | 2007-07-31 | 2009-12-23 | 中国联合网络通信集团有限公司 | Point-to-point information transferring method, system and gateway unit |
CN102281261A (en) * | 2010-06-10 | 2011-12-14 | 杭州华三通信技术有限公司 | Data transmission method, system and apparatus |
JP5908419B2 (en) * | 2013-02-08 | 2016-04-26 | 日本電信電話株式会社 | Remote video distribution method and remote video distribution system |
CN103747258B (en) * | 2014-01-27 | 2015-02-04 | 中国科学技术大学 | Encryption processing method for high-performance video coding standard |
CN106470345B (en) * | 2015-08-21 | 2020-02-14 | 阿里巴巴集团控股有限公司 | Video encryption transmission method, video decryption method, video encryption transmission device, video decryption device and video encryption transmission system |
CN105471860A (en) * | 2015-11-19 | 2016-04-06 | 浙江宇视科技有限公司 | Video data transmission method and apparatus |
-
2019
- 2019-04-09 CN CN202210281222.XA patent/CN114640855A/en active Pending
- 2019-04-09 CN CN201910279484.0A patent/CN110149521B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5621794A (en) * | 1994-12-06 | 1997-04-15 | Fujitsu Limited | Moving-picture encipherment method and system, and enciphered moving-picture decipherment method and system |
US20030067474A1 (en) * | 2001-09-04 | 2003-04-10 | Simon Fenney | Texturing system |
JP2005175641A (en) * | 2003-12-08 | 2005-06-30 | Fuji Xerox Co Ltd | Image processor |
JP2008033665A (en) * | 2006-07-28 | 2008-02-14 | Fuji Xerox Co Ltd | Image processor, image processing method, and program |
WO2011125188A1 (en) * | 2010-04-07 | 2011-10-13 | 三菱電機株式会社 | Video encryption device, video decoding device, video encryption program, and video encryption method |
CN102176759A (en) * | 2011-02-15 | 2011-09-07 | 天津理工大学 | Method for encrypting video streaming information based on hyper-chaotic sequence |
CN103235946A (en) * | 2013-04-08 | 2013-08-07 | 上海合合信息科技发展有限公司 | Divulgence-preventive processing method for artificially identifying information of business cards |
CN103747261A (en) * | 2013-12-31 | 2014-04-23 | 北京工业大学 | Layered perceptual encryption method of H.264 compressed domain based on motion reference structure |
CN103716637A (en) * | 2014-01-15 | 2014-04-09 | 北京工业大学 | H.264 compressed domain layered video encryption method based on content analysis |
CN104036447A (en) * | 2014-03-12 | 2014-09-10 | 西南交通大学 | PNG electronic invoice image watermark embedding and authentication method based on block sorting |
CN104301727A (en) * | 2014-09-22 | 2015-01-21 | 中国人民解放军重庆通信学院 | H.264 video perception encryption algorithm with controllable quality on basis of CABAC |
CN104581201A (en) * | 2014-12-31 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Video encryption method and device |
CN104735457A (en) * | 2015-03-27 | 2015-06-24 | 南京中新赛克科技有限责任公司 | Video encryption and decryption method based on H.264 code |
KR20160118117A (en) * | 2015-04-01 | 2016-10-11 | 세종대학교산학협력단 | Apparatus and method for secure transmission of video data |
CN105049877A (en) * | 2015-06-02 | 2015-11-11 | 阔地教育科技有限公司 | Encryption method and device for live and recorded broadcast interaction system |
CN106850515A (en) * | 2015-12-07 | 2017-06-13 | 中国移动通信集团公司 | A kind of data processing method and video acquisition device, decoding apparatus |
CN105472392A (en) * | 2015-12-11 | 2016-04-06 | 钟炎培 | Screen video encoding and decoding method based on progressive character block compression and encoding and decoding device |
CN105959708A (en) * | 2016-06-07 | 2016-09-21 | 浪潮软件股份有限公司 | Video data encryption method |
CN106203131A (en) * | 2016-06-24 | 2016-12-07 | 维沃移动通信有限公司 | A kind of image encryption method and mobile terminal |
CN107172433A (en) * | 2017-04-28 | 2017-09-15 | 安徽四创电子股份有限公司 | A kind of video encryption method |
CN107426172A (en) * | 2017-06-05 | 2017-12-01 | 国政通科技股份有限公司 | The matching method for pushing and device of a kind of identity information |
CN108900849A (en) * | 2018-07-26 | 2018-11-27 | 苏州科达科技股份有限公司 | Video data encryption method, system, equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
GUOCHAO ZHANG,ET AL: "An improved image compression scheme with an adaptive parameters set in encrypted domain", 《IEEE》 * |
谭芳芳等: "改进的置乱扩散同步实现的图像加密算法", 《湖南科技大学学报(自然科学版)》 * |
郭继东: "基于H.264编码标准的视频加密算法研究", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, 15 June 2017 (2017-06-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN110149521B (en) | 2022-03-22 |
CN110149521A (en) | 2019-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4907450B2 (en) | Apparatus and method for providing a video stream that ensures integrity | |
JP5615273B2 (en) | Method and apparatus for selective data encryption | |
CN108566500B (en) | Adaptive Image Encryption Domain Reversible Hiding Method Based on Hybrid Encryption Mechanism | |
US10320557B2 (en) | Encoder, decoder and methods employing partial data encryption | |
US20020129243A1 (en) | System for selective encryption of data packets | |
Wu et al. | High-capacity reversible data hiding in encrypted images by bit plane partition and MSB prediction | |
CN110149521B (en) | Data processing method and system | |
CN106254382B (en) | Method and device for processing media data | |
CN105812816A (en) | Compression encryption authentication joint coding method | |
Manupriya et al. | V⊕ SEE: Video secret sharing encryption technique | |
CN107155113B (en) | A method and server for protecting bullet screen information | |
WO2021196960A1 (en) | Encrypted video call method and apparatus, and device and storage medium | |
JP4188958B2 (en) | ENCRYPTION METHOD, DATA DISTRIBUTION SYSTEM, ENCRYPTION DEVICE, AND DATA STORAGE / DISTRIBUTION DEVICE | |
CN108322750B (en) | Encrypted domain HEVC video data hiding method based on residual coefficient modulation | |
CN111131270B (en) | Data encryption and decryption method and device, electronic equipment and storage medium | |
KR102038217B1 (en) | Information security system through encrypting and decrypting personal data and contents in smart device based on Lightweight Encryption Algorithm, method thereof and computer recordable medium storing program to perform the method | |
CN112104874B (en) | Data transmission method and system | |
US10489559B2 (en) | Method for providing protected multimedia content | |
WO2009117924A1 (en) | Method and device for processing transcoding of streaming media | |
CN112468677B (en) | Data encryption and decryption method and device and electronic equipment | |
CN104202601B (en) | The coding method of positional information and device | |
Veličković et al. | „CB-SVD Watermarking Algorithm for Video Protection with Reduced Cyclic Insertion Scheme “ | |
Yan et al. | A new steganography algorithm based on spatial domain | |
Velickovic et al. | A New Watermarking Algorithm for Securing Video Images. | |
Bushra | A Novel Scheme for Separable and Reversible Data Hiding in Encrypted JPEG Image using Forward Correction Code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220617 |
|
RJ01 | Rejection of invention patent application after publication |