[go: up one dir, main page]

CN1127240C - Security Method of Multimedia Data - Google Patents

Security Method of Multimedia Data Download PDF

Info

Publication number
CN1127240C
CN1127240C CN98118731A CN98118731A CN1127240C CN 1127240 C CN1127240 C CN 1127240C CN 98118731 A CN98118731 A CN 98118731A CN 98118731 A CN98118731 A CN 98118731A CN 1127240 C CN1127240 C CN 1127240C
Authority
CN
China
Prior art keywords
data
encryption
index value
encrypted
decryption
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.)
Expired - Fee Related
Application number
CN98118731A
Other languages
Chinese (zh)
Other versions
CN1246008A (en
Inventor
张景嵩
任真
温周斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN98118731A priority Critical patent/CN1127240C/en
Publication of CN1246008A publication Critical patent/CN1246008A/en
Application granted granted Critical
Publication of CN1127240C publication Critical patent/CN1127240C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

A method for securing multimedia data includes an encryption/decryption table, which is composed of an index value and encryption operation. Any index value corresponds to an encryption operation, key data in the multimedia data is encrypted/decrypted by using an encryption/decryption table, and the reliability of encryption is improved through one or more encryption operations in the table. During encryption/decryption, the encryption/decryption table, the key data position of the multimedia data and the index value of the encryption/decryption must be obtained at the same time to perform encryption/decryption, thereby improving the reliability and security of data security.

Description

多媒体数据的保密方法Security Method of Multimedia Data

技术领域technical field

本发明涉及一种多媒体数据的保密方法。The invention relates to a method for securing multimedia data.

背景技术Background technique

在现今信息通信领域中,利用多媒体数据作为一种通讯传输的方式,将促进信息通信业的发展。考虑到一般多媒体数据的版权、隐私性或安全性等特殊原因,常常会对其中各种数据进行加密,具体的方法是:(1)对所有数据进行加密;(2)采用非常复杂的算法以防止非法破密,而由于数据的数据量通常非常庞大,且声音需立即播放而无延迟,因此,若采用非常复杂的算法进行加密,将影响数据及声音播放的效果,倘若对所有数据进行加密,不仅将占用相当大的解密信息存储空间,同时,亦非常容易地遭到非法人士的破密,因此,现有的加密方法无法有效地达到对数据进行保密的目的,导致了不安全性,从而造成使用上的困扰。In today's information communication field, the use of multimedia data as a means of communication transmission will promote the development of the information communication industry. Considering special reasons such as copyright, privacy or security of general multimedia data, various data are often encrypted. The specific method is: (1) encrypt all data; (2) use very complex algorithms to Prevent illegal decryption, and because the data volume is usually very large, and the sound needs to be played immediately without delay, therefore, if a very complex algorithm is used for encryption, the effect of data and sound playback will be affected. If all data is encrypted , not only will occupy a considerable storage space for decrypted information, but also be easily cracked by illegal persons. Therefore, the existing encryption methods cannot effectively achieve the purpose of keeping data confidential, resulting in insecurity. Thereby causing troubles in use.

发明内容Contents of the invention

针对上述现有的各种缺点,本发明的一个目的是提供一种多媒体数据的保密方法,它是一种针对一多媒体数据的快速、有效且简便的加密方法,根据多媒体数据的固有特点仅对其中的关键数据而非所有数据进行加密,以减少计算量,从而能对大量多媒体数据进行快速加密/解密;并且利用加密/解密表中的一种或多种加密方法进行综合加密,从而增加对多媒体数据加密的安全性。For above-mentioned existing various shortcoming, an object of the present invention is to provide a kind of security method of multimedia data, it is a kind of fast, effective and easy encryption method for a multimedia data, according to the intrinsic characteristic of multimedia data only The key data but not all data are encrypted to reduce the amount of calculation, so that a large amount of multimedia data can be quickly encrypted/decrypted; and one or more encryption methods in the encryption/decryption table are used for comprehensive encryption, thereby increasing security Security of multimedia data encryption.

本发明的另一目的是提供一种多媒体数据的保密方法,其中,可自行设计加密运算,与加密/解密表内索引值相对应的加密运算随机重复出现,且索引值彼此间所对应的加密运算可以相同,亦可以各不相同,而且加密运算越多,安全性越高。Another object of the present invention is to provide a method for securing multimedia data, in which the encryption operation can be designed by itself, the encryption operation corresponding to the index value in the encryption/decryption table randomly repeats, and the encryption operation corresponding to each other index value The operations can be the same or different, and the more encryption operations, the higher the security.

为实现本发明的目的,提供了一种多媒体数据的保密方法,用于对多媒体数据进行加密及解密,该方法包含:For realizing the purpose of the present invention, a kind of security method of multimedia data is provided, is used for encrypting and decrypting multimedia data, and the method comprises:

一加密/解密表,该表分别由索引值(index)与加密运算所组成,并且该表中任一索引值与一种加密运算相对应,而且索引值不能重复出现;An encryption/decryption table, which is composed of an index value (index) and an encryption operation, and any index value in the table corresponds to an encryption operation, and the index value cannot appear repeatedly;

在对多媒体数据进行加密的过程中,通信双方预先约定在传送的一种多媒体数据中需要加密的关键数据,而且,所述多媒体数据由多个帧组成;其中所述加密过程包含如下步骤:In the process of encrypting multimedia data, the two parties in communication pre-agreed on the key data that needs to be encrypted in a kind of multimedia data to be transmitted, and the multimedia data is composed of multiple frames; wherein the encryption process includes the following steps:

(1)首先,找出所述数据中除第一个帧外的任一帧内欲加密的关键数据位置;(1) First, find out the key data positions to be encrypted in any frame except the first frame in the data;

(2)找出对应所述关键数据的可用来存放索引值的位置;(2) Find out the location corresponding to the key data that can be used to store the index value;

(3)选择是否对所述关键数据加密,若不加密,则进到步骤(6),若加密则继续;(3) Select whether to encrypt the key data, if not encrypt, then go to step (6), if encrypt then continue;

(4)从所述加密/解密表中随机选择一数据,作为加密的索引值,并根据所述加密/解密表内索引值所对应的加密运算,对所述关键数据进行加密;(4) Randomly select a piece of data from the encryption/decryption table as an encrypted index value, and encrypt the key data according to the encryption operation corresponding to the index value in the encryption/decryption table;

(5)再将所选的索引值存放在所述数据的多个帧中;(5) storing the selected index value in multiple frames of the data;

(6)判断是否还有未加密的关键数据,若是则回到步骤(2),若否则全部加密结束;(6) judge whether there is unencrypted key data, if so then get back to step (2), otherwise all encryption ends;

在对所述加密的多媒体数据解密的过程中,利用所述索引值,对照查出所述表中的加密运算,以进行解密;其中所述解密过程包含如下步骤:In the process of decrypting the encrypted multimedia data, use the index value to compare and find out the encryption operation in the table for decryption; wherein the decryption process includes the following steps:

(1)首先,找出所述数据中任一帧内待解密的关键数据位置;(1) First, find out the key data position to be decrypted in any frame in the data;

(2)找出对应该关键数据的索引值的存放位置;(2) Find out the storage location of the index value corresponding to the key data;

(3)再找出被加密覆盖后索引值位置上原先的原始数据,即第一个帧中的数据;(3) Find out the original original data at the position of the index value after being encrypted and covered, that is, the data in the first frame;

(4)将加密索引值与原始数据作比较,若相同,则表示所述关键数据并未加密,则到步骤(6),若不相同则继续;(4) compare the encrypted index value with the original data, if they are the same, it means that the key data is not encrypted, then go to step (6), if they are not the same, continue;

(5)根据该加密索引值存放在所述多个帧中的数据,对照加密/解密表查出所述关键数据所采用的加密运算,可得到加密前的原始关键数据,并藉此进行解密,还原被索引值所覆盖的原始数据;(5) According to the data stored in the plurality of frames according to the encryption index value, the encryption operation used to find out the key data is compared with the encryption/decryption table, and the original key data before encryption can be obtained, and decrypted accordingly , restore the original data covered by the index value;

(6)判断是否还有未加密的关键数据,若是,则回到步骤(1),若否,则全部解密结束。(6) Judging whether there is any unencrypted key data, if so, then return to step (1), if not, then all decryption ends.

由于上述方法的加密/解密索引值包含在数据中,而不必占用额外的存储空间储存加密/解密信息,因此,不会影响多媒体数据及声音播放效果,且在加密/解密时,必须同时取得加密/解密表、多媒体数据的关键数据位置及加密/解密的索引值才能加密/解密,从而提高加密/解密的可靠性,同时增加了安全性。Since the encryption/decryption index value of the above method is included in the data, it does not need to occupy additional storage space to store the encryption/decryption information, therefore, it will not affect the multimedia data and sound playback effect, and the encryption/decryption must be obtained at the same time. The encryption/decryption table, the key data position of multimedia data and the index value of encryption/decryption can be encrypted/decrypted, thereby improving the reliability of encryption/decryption and increasing the security.

附图说明Description of drawings

为了更进一步认识与了解本发明的目的、特点及功能,以下将参照附图对本发明的实施例进行详细说明。附图中:In order to further understand and understand the purpose, features and functions of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In the attached picture:

图1为本发明的基本加密/解密表:Fig. 1 is basic encryption/decryption table of the present invention:

图2为本发明的数据结构示意图;Fig. 2 is the data structure schematic diagram of the present invention;

图3为本发明实施例的MP3加密/解密表;Fig. 3 is the MP3 encryption/decryption table of the embodiment of the present invention;

图4为本发明的加密操作流程图;Fig. 4 is the encryption operation flowchart of the present invention;

图5为本发明的解密操作流程图。Fig. 5 is a flowchart of the decryption operation of the present invention.

具体实施方式Detailed ways

如图1、图2、图3、图4及图5所示。本发明的多媒体数据的保密方法具有一加密/解密表10,如图1所示。该加密/解密表10分别由一索引值与加密运算所组成。每个索引值的大小不能超出4比特所能表示的最大值,即15(十进制),并且每个索引值与一种加密运算相对应。同时,索引值不能重复出现。而且为了安全起见,该加密/解密表10不可包含在被加密(即关键数据)后的数据中。同时,在加密过程中,必须同时使用同一张加密/解密表10,而数据可利用该加密/解密表10来进行加密;反之,在解密过程中,利用该索引值来对照查出表中的加密运算,以进行解密。As shown in Figure 1, Figure 2, Figure 3, Figure 4 and Figure 5. The encryption method for multimedia data of the present invention has an encryption/decryption table 10, as shown in FIG. 1 . The encryption/decryption table 10 is composed of an index value and an encryption operation. The size of each index value cannot exceed the maximum value that can be represented by 4 bits, that is, 15 (decimal), and each index value corresponds to an encryption operation. At the same time, index values cannot appear repeatedly. And for the sake of security, the encryption/decryption table 10 cannot be included in the encrypted (ie key data) data. At the same time, in the encryption process, the same encryption/decryption table 10 must be used at the same time, and the data can be encrypted using the encryption/decryption table 10; Encryption operation for decryption.

在本发明的多媒体数据加密过程中,通信双方须先约定一种传送数据中必须被加密的关键数据。其中所采用的数据结构如图2所示,它具有多个帧,任一帧都有一个主数据起始部④(main data begin,9比特)。该部分数据④可指出当前帧中实际数据的存放位置。若改变该部分数据④足以影响整个数据。任一个帧中的主数据起始部④就是关键数据,并且是加密对象,而且,在加密/解密表10中选择一种加密运算及其对应的索引值存放位置。In the multimedia data encryption process of the present invention, the communication parties must first agree on a key data that must be encrypted in the transmitted data. The data structure adopted therein is shown in Fig. 2, it has multiple frames, any frame has a main data beginning part ④ (main data begin, 9 bits). This part of data ④ can point out the storage location of the actual data in the current frame. If this part of data ④ is changed, it is enough to affect the whole data. The starting part ④ of the main data in any frame is the key data, and is the object of encryption. Moreover, select an encryption operation and its corresponding index value storage location in the encryption/decryption table 10.

如图2所示,在任一帧中的主数据起始部④之前分别设有:①:ID(标识位,1比特);②:Lay(数据层号,2比特);③:Protect(保护位,1比特),一共四个比特的数据。在一个基本的欲加密的数据单元(如一首歌,一段话)中,每个帧中的这四个比特数据均相同。因此,约定用这些数据①、②、③来存放加密后的索引值(当然该索引值大小不能超过4比特所能表示的最大值,即15)。另外,在国际标准ISO/IEC 11172-3中有如何找出这些数据①、②、③、④位置的标准算法,由于不是本发明的发明点,所以在此并不赘述。As shown in Figure 2, before the main data start part ④ in any frame, respectively be provided with: ①: ID (identification bit, 1 bit); ②: Lay (data layer number, 2 bits); ③: Protect (protect bit, 1 bit), a total of four bits of data. In a basic data unit to be encrypted (such as a song, a paragraph), the four bits of data in each frame are the same. Therefore, it is agreed to use these data ①, ②, ③ to store the encrypted index value (of course, the size of the index value cannot exceed the maximum value that can be represented by 4 bits, that is, 15). In addition, in the international standard ISO/IEC 11172-3, there are standard algorithms for how to find the positions of these data ①, ②, ③, and ④. Since it is not the invention point of the present invention, it will not be described here.

按照国际标准ISO/IEC 11172-3,Layer 3所制作的数据属于多媒体数据的一种,以下简称为MP3数据。假定现在制作一首MP3格式的歌曲的多媒体数据。制作完以后会发现其数据形式为许多个帧组成。每个帧中的第12比特为ID(从0开始计数),第13,14比特为Lay,第15比特为Protecy。在所有的该首歌的帧中,这4个比特的数据都是一样的。因此,保留第一个帧中的这4个比特的数据,以后的每个帧中的ID,Lay,Protect这四个比特数据都可以从第一帧中获得。因此,除第一帧之外的其它帧的这4个比特的数据的位置,可利用来存放加密/解密所使用的索引值(index)。在解密时,从这4个比特中取出索引值,进行解密。而这4个比特原来的值就从第一帧中获得。According to the international standard ISO/IEC 11172-3, the data produced by Layer 3 is a kind of multimedia data, hereinafter referred to as MP3 data. Assume that multimedia data of a song in MP3 format is now produced. After making it, you will find that its data form is composed of many frames. The 12th bit in each frame is ID (counting from 0), the 13th and 14th bits are Lay, and the 15th bit is Protecy. These 4 bits of data are the same in all frames of the song. Therefore, the 4-bit data in the first frame is reserved, and the four-bit data of ID, Lay, and Protect in each subsequent frame can be obtained from the first frame. Therefore, the position of the 4-bit data in other frames except the first frame can be used to store the index value (index) used for encryption/decryption. When decrypting, take out the index value from these 4 bits and perform decryption. And the original value of these 4 bits is obtained from the first frame.

另外,每一帧中实际的声音数据存放在何处是没有规则的。根据ISO/IEC11172-3国际标准,可以在每一个帧中按照标准算法找到一个9比特的数据,称为main data begin。该数据的作用就是指出该帧中实际的声音数据起始于何处。该数据的错误将导致无法还原声音,因此仅对每一帧中该数据项加密就足以达到对整首歌加密的效果。Also, there are no rules about where the actual sound data is stored in each frame. According to the ISO/IEC11172-3 international standard, a 9-bit data can be found in each frame according to the standard algorithm, called main data begin. The purpose of this data is to indicate where the actual sound data in this frame starts. The error of this data will make it impossible to restore the sound, so only encrypting this data item in each frame is enough to achieve the effect of encrypting the entire song.

在此之前,通常对整首歌曲的所有数据采用一种加密方法进行加密。但在播放时因为要对所有数据进行解密,所以一旦解密算法太复杂,就会造成播放的速度跟不上实际声音的速度,造成声音有停顿;而如果采用简单的加密/解密算法,则非常容易被非法破解。因此本发明克服了以上的矛盾,在实际使用中取得了满意的效果。Prior to this, all data for the entire song was usually encrypted with one encryption method. However, because all the data needs to be decrypted during playback, once the decryption algorithm is too complicated, the playback speed cannot keep up with the actual sound speed, causing the sound to pause; and if a simple encryption/decryption algorithm is used, it is very difficult. It is easy to be cracked illegally. Therefore, the present invention overcomes the above contradictions and achieves satisfactory results in actual use.

下面参照图4对本发明一实施例的加密方法进行说明:The encryption method of an embodiment of the present invention is described below with reference to Fig. 4:

(1)首先,找出该MP3数据的除第一个帧外任一个帧中欲加密的关键数据,即主数据起始部④的位置;(1) First, find out the key data to be encrypted in any frame except the first frame of this MP3 data, i.e. the position of the main data starting part ④;

(2)找出对应该关键数据的可用来存放索引值的位置;(2) Find out the location that can be used to store the index value corresponding to the key data;

(3)选择是否对该关键数据进行加密,若不加密,则进到步骤(6),若加密则继续;(3) choose whether to encrypt this key data, if not encrypt, then go to step (6), if encrypt then continue;

(4)从如图3所示的MP3加密/解密表10′中随机选择一个不大于15且不等于原来4比特的数据,作为加密的索引值,并根据该MP3加密/解密表10'内索引值所对应的加密运算,对该关键数据进行加密;例如假设索引值是7,其对应的加密运算是将索引值与关键数据相加;(4) Randomly select a data not greater than 15 and not equal to the original 4 bits from the MP3 encryption/decryption table 10' as shown in Figure 3, as an encrypted index value, and according to the MP3 encryption/decryption table 10' The encryption operation corresponding to the index value encrypts the key data; for example, if the index value is 7, the corresponding encryption operation is to add the index value to the key data;

(5)再将该索引值7存放在该MP3数据的帧中的①:ID、②:Lay、③:Protect这四个比特中;(5) Store the index value 7 in the four bits of ①: ID, ②: Lay, ③: Protect in the frame of the MP3 data;

(6)判断是否还有未加密的关键数据,若是则回到步骤(2),若否则全部加密结束。(6) Judging whether there is any unencrypted key data, if so, return to step (2), otherwise all encryption ends.

反之,参照图5所示,在解密过程中,本发明实施例的解密方法如下:On the contrary, with reference to shown in Figure 5, in the decryption process, the decryption method of the embodiment of the present invention is as follows:

(1)首先,找出该MP3数据的任一个帧中待解密的关键数据,即主数据起始部④的位置;(1) First, find out the key data to be decrypted in any frame of this MP3 data, i.e. the position of the main data start part ④;

(2)找出对应该关键数据的存放索引值的位置,即该帧中的①:ID、②:Lay、③:Protect这四个比特;(2) Find out the position of storing the index value corresponding to the key data, that is, the four bits ①: ID, ②: Lay, ③: Protect in the frame;

(3)再找出被加密覆盖后索引值位置上原先的①:ID、②:Lay、③:Protect这四个比特的原始数据,在本实施例中,即为第一个帧中的①:ID、②:Lay、③:Protect的四个比特;(3) Find out the original data of the four bits of ①: ID, ②: Lay, ③: Protect on the position of the index value after being encrypted and covered. In this embodiment, it is ① in the first frame : ID, ②: Lay, ③: four bits of Protect;

(4)将该加密索引值与原始数据作比较,若相同,则表示该关键数据并未加密,则进到步骤(6),若不相同则继续;(4) compare the encrypted index value with the original data, if they are the same, it means that the key data is not encrypted, then go to step (6), if they are not the same, continue;

(5)根据该加密索引值所存放的四个比特数据,对照MP3加密/解密表10′,查出该关键数据所采用的加密运算;在本实施例中,其索引值是7,其对应的加密运算是将索引值与关键数据相加;因此,将该加密的关键数据减去索引值,即可得到加密前的原始关键数据,并据此进行解密;同时,还原被索引值所覆盖的原始数据,即为该帧中的①:ID、②:Lay、③:Protect这四个比特信息;(5) according to the stored four bit data of this encryption index value, contrast MP3 encryption/decryption table 10 ', find out the encryption operation that this key data adopts; In the present embodiment, its index value is 7, and its corresponding The encryption operation is to add the index value to the key data; therefore, subtract the index value from the encrypted key data to obtain the original key data before encryption, and decrypt it accordingly; at the same time, restore the key data covered by the index value The original data is the four bits of information in the frame: ①: ID, ②: Lay, ③: Protect;

(6)判断是否还有未解密的关键数据,若有,则回到步骤(1),若没有,则全部解密过程结束。(6) Judging whether there is any undecrypted key data, if there is, then return to step (1), if not, then all the decryption process ends.

在本发明中,所采用的加密运算可自行设计,如图1所示。该加密/解密表10内的索引值0、1、2所对应的加密运算可随机重复出现,例如索引值0与3所对应的加密运算可相同,亦可以各不相同。而且加密运算越多,安全性越高。另外,即使非法破密者得到该加密/解密表10,但如果不知道该任一种多媒体数据格式中,哪些数据是关键数据,及其索引值存放在何处,亦将无从下手。In the present invention, the encryption operation used can be designed by itself, as shown in FIG. 1 . The encryption operations corresponding to the index values 0, 1, and 2 in the encryption/decryption table 10 may repeat randomly, for example, the encryption operations corresponding to the index values 0 and 3 may be the same or different. And the more encryption operations, the higher the security. In addition, even if an illegal cracker obtains the encryption/decryption table 10, if he does not know which data is the key data in any multimedia data format and where the index value is stored, he will have no way of doing it.

此外,按国际标准ISO/IEC 13818-3,Layer 3所制作的数据,其帧中的主数据起始部④(11比特)亦适用于本发明的加密方法。In addition, according to the international standard ISO/IEC 13818-3, the data made by Layer 3, the main data start part ④ (11 bits) in the frame is also suitable for the encryption method of the present invention.

虽然在上面对本发明的一优选实施例进行了详细说明,但本领域的普通技术人员根据本发明所公开的内容进行的各种等效修饰与变化,均应包括在本发明权利要求书所限定的范围内。Although a preferred embodiment of the present invention has been described in detail above, various equivalent modifications and changes made by those skilled in the art according to the content disclosed in the present invention should be included in the claims defined in the present invention. In the range.

Claims (4)

1.一种多媒体数据的保密方法,用于对多媒体数据进行加密及解密,该方法包含:1. A method for securing multimedia data, used for encrypting and decrypting multimedia data, the method comprising: 一加密/解密表,该表分别由索引值与加密运算所组成,并且该表中任一索引值与一种加密运算相对应,而且索引值不能重复出现;An encryption/decryption table, which is composed of index values and encryption operations, and any index value in the table corresponds to an encryption operation, and the index value cannot appear repeatedly; 在对多媒体数据进行加密的过程中,通信双方预先约定在传送的一种多媒体数据中需要加密的关键数据,而且所述多媒体数据由多个帧组成;其中所述加密过程包含如下步骤:In the process of encrypting multimedia data, the two parties in communication pre-agreed on the key data that needs to be encrypted in a kind of multimedia data to be transmitted, and the multimedia data is composed of multiple frames; wherein the encryption process includes the following steps: (1)首先,找出所述数据中除第一个帧外的任一帧内欲加密的关键数据位置;(1) First, find out the key data positions to be encrypted in any frame except the first frame in the data; (2)找出对应所述关键数据的可用来存放索引值的位置;(2) Find out the location corresponding to the key data that can be used to store the index value; (3)选择是否对所述关键数据加密,若不加密,则进到步骤(6),若加密则继续;(3) Select whether to encrypt the key data, if not encrypt, then go to step (6), if encrypt then continue; (4)从所述加密/解密表中随机选择一数据,作为加密的索引值,并根据所述加密/解密表内索引值所对应的加密运算,对所述关键数据进行加密;(4) Randomly select a piece of data from the encryption/decryption table as an encrypted index value, and encrypt the key data according to the encryption operation corresponding to the index value in the encryption/decryption table; (5)再将所选的索引值存放在所述数据的多个帧中;(5) storing the selected index value in multiple frames of the data; (6)判断是否还有未加密的关键数据,若是则回到步骤(2),若否则全部加密结束;(6) judge whether there is unencrypted key data, if so then get back to step (2), otherwise all encryption ends; 在对所述加密的多媒体数据解密的过程中,利用所述索引值,对照查出所述表中的加密运算,以进行解密;其中所述解密过程包含如下步骤:In the process of decrypting the encrypted multimedia data, use the index value to compare and find out the encryption operation in the table for decryption; wherein the decryption process includes the following steps: (1)首先,找出所述数据中任一帧内待解密的关键数据位置;(1) First, find out the key data position to be decrypted in any frame in the data; (2)找出对应该关键数据的索引值的存放位置;(2) Find out the storage location of the index value corresponding to the key data; (3)再找出被加密覆盖后索引值位置上原先的原始数据,即第一个帧中的数据;(3) Find out the original original data at the position of the index value after being encrypted and covered, that is, the data in the first frame; (4)将加密索引值与原始数据作比较,若相同,则表示所述关键数据并未加密,则到步骤(6),若不相同则继续;(4) compare the encrypted index value with the original data, if they are the same, it means that the key data is not encrypted, then go to step (6), if they are not the same, continue; (5)根据该加密索引值存放在所述多个帧中的数据,对照加密/解密表查出所述关键数据所采用的加密运算,可得到加密前的原始关键数据,并藉此进行解密,还原被索引值所覆盖的原始数据;(5) According to the data stored in the plurality of frames according to the encryption index value, the encryption operation used to find out the key data is compared with the encryption/decryption table, and the original key data before encryption can be obtained, and decrypted accordingly , restore the original data covered by the index value; (6)判断是否还有未加密的关键数据,若是,则回到步骤(1),若否,则全部解密结束。(6) Judging whether there is any unencrypted key data, if so, then return to step (1), if not, then all decryption ends. 2.如权利要求1所述的多媒体数据保密方法,其中所述加密/解密表内的任一索引值的大小不能超过4比特所能表示的最大值,即15,且该加密/解密表不可包含在被加密后的关键数据中,同时,在加密过程中,使用同一张加密/解密表来对音频数据进行加密。2. The multimedia data security method as claimed in claim 1, wherein the size of any index value in the encryption/decryption table cannot exceed the maximum value that 4 bits can represent, i.e. 15, and the encryption/decryption table cannot Included in the encrypted key data, at the same time, during the encryption process, the same encryption/decryption table is used to encrypt the audio data. 3.如权利要求2所述的多媒体数据保密方法,其中所述音频数据构成的任一帧中都有一主数据起始部,作为被加密对象的关键数据,而在该主数据起始部之前,分别在一个欲加密的基本音频数据单元中设有多个比特数据,且设定用所述多个比特来存放加密后的索引值。3. The multimedia data security method as claimed in claim 2, wherein any frame formed by the audio data has a main data start portion, as the key data of the encrypted object, before the main data start portion , respectively setting a plurality of bit data in a basic audio data unit to be encrypted, and setting the plurality of bits to store the encrypted index value. 4.如权利要求3所述的多媒体数据保密方法,其中所述主数据起始部之前的多个比特数据分别为一个比特的标识符,两个比特的数据层号,一个比特的保护位,一共四个比特的数据。4. The multimedia data security method as claimed in claim 3, wherein a plurality of bit data before the main data start portion are respectively an identifier of a bit, a data layer number of two bits, a protection bit of a bit, A total of four bits of data.
CN98118731A 1998-08-26 1998-08-26 Security Method of Multimedia Data Expired - Fee Related CN1127240C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN98118731A CN1127240C (en) 1998-08-26 1998-08-26 Security Method of Multimedia Data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN98118731A CN1127240C (en) 1998-08-26 1998-08-26 Security Method of Multimedia Data

Publications (2)

Publication Number Publication Date
CN1246008A CN1246008A (en) 2000-03-01
CN1127240C true CN1127240C (en) 2003-11-05

Family

ID=5226081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN98118731A Expired - Fee Related CN1127240C (en) 1998-08-26 1998-08-26 Security Method of Multimedia Data

Country Status (1)

Country Link
CN (1) CN1127240C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60317242T2 (en) * 2002-08-01 2008-02-14 Matsushita Electric Industrial Co., Ltd., Kadoma Apparatus and methods for decrypting encrypted data blocks and for locating the encrypted data blocks in the memory area used for execution
CN100431295C (en) * 2002-11-26 2008-11-05 松下电器产业株式会社 Method and device for data encipher/deciphering
CN100481933C (en) * 2006-12-20 2009-04-22 四川长虹电器股份有限公司 A method for encryption of MP4 multi-media data content
CN101692636B (en) * 2009-10-27 2011-10-05 中山爱科数字科技有限公司 Data element and coordinate algorithm-based method and device for encrypting mixed data
CN105844166B (en) * 2015-01-12 2018-11-02 中国移动通信集团江苏有限公司 A kind of sensitive data recognition methods and device
CN105757878B (en) * 2016-02-19 2018-07-27 广东美的暖通设备有限公司 The encoding and decoding method, apparatus and air conditioner of communication data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0492486A2 (en) * 1990-12-21 1992-07-01 ALCATEL ITALIA S.p.A. Systems and devices for the cryptography of digital signals
EP0696141A2 (en) * 1994-08-01 1996-02-07 NOKIA TECHNOLOGY GmbH System for controlling different conditional access systems sending video, audio and data services and a receiver to be used in the system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0492486A2 (en) * 1990-12-21 1992-07-01 ALCATEL ITALIA S.p.A. Systems and devices for the cryptography of digital signals
EP0696141A2 (en) * 1994-08-01 1996-02-07 NOKIA TECHNOLOGY GmbH System for controlling different conditional access systems sending video, audio and data services and a receiver to be used in the system

Also Published As

Publication number Publication date
CN1246008A (en) 2000-03-01

Similar Documents

Publication Publication Date Title
Wu et al. Separable reversible data hiding for encrypted palette images with color partitioning and flipping verification
US6976162B1 (en) Platform and method for establishing provable identities while maintaining privacy
US9240883B2 (en) Multi-key cryptography for encrypting file system acceleration
CN1118162C (en) Method for protecting information term transferred from secret unit to decoder
CN1207682C (en) Content transmission system, identifying machine, content processing device and data transmission method
US20120134491A1 (en) Cloud Storage Data Encryption Method, Apparatus and System
US9436815B2 (en) Block management unification system and method
US20120134490A1 (en) Selective Data Encryption and Decryption Method and Apparatus
JP2001274786A (en) Contents information transmission method, contents information recording method, contents information transmitter, contents information recorder, transmission medium and recording medium
JP2002244929A5 (en) Digital content generation method and related apparatus
US10095635B2 (en) Securing information relating to data compression and encryption in a storage device
CN1581957A (en) Access control for digital video stream data
CN1567255A (en) Method for controlling storage and access of security file system
Coatrieux et al. Lossless watermarking of categorical attributes for verifying medical data base integrity
CN1716219A (en) The equipment and/or the method that are used for the encryption and/or the deciphering of multi-medium data
CN1127240C (en) Security Method of Multimedia Data
CN1748209A (en) Method and equipment thereof that the numerical data of encrypting is duplicated and deciphered
CN1639789A (en) Apparatus and method for reading or writing user data
US20060106721A1 (en) Method for retransmitting or restoring contents key for decrypting encrypted contents data
CN110489978A (en) A kind of file encryption-decryption method
US20200366461A1 (en) Encryption method and apparatus of video and audio signal stream
CN1226691C (en) A method for simultaneously sealing/unsealing files with multiple encryption
CN115955310A (en) Information source encrypted multimedia data export security protection method, device and equipment
CN1722052A (en) Digital data file scrambler and its method
CN1777934A (en) Method for managing copy protection information of recording medium

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20031105

Termination date: 20100826