WO2013167087A2 - Encryption method, server, decryption method, terminal and encryption/decryption system - Google Patents

Encryption method, server, decryption method, terminal and encryption/decryption system Download PDF

Info

Publication number
WO2013167087A2
WO2013167087A2 PCT/CN2013/080305 CN2013080305W WO2013167087A2 WO 2013167087 A2 WO2013167087 A2 WO 2013167087A2 CN 2013080305 W CN2013080305 W CN 2013080305W WO 2013167087 A2 WO2013167087 A2 WO 2013167087A2
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
dimensional array
generate
board number
dimensional
Prior art date
Application number
PCT/CN2013/080305
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013167087A3 (en
Inventor
李�昊
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013167087A2 publication Critical patent/WO2013167087A2/en
Publication of WO2013167087A3 publication Critical patent/WO2013167087A3/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09CCIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
    • G09C5/00Ciphering apparatus or methods not provided for in the preceding groups, e.g. involving the concealment or deformation of graphic data such as designs, written or printed messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals

Definitions

  • Encryption method and server decryption method and terminal, and encryption and decryption system
  • the present invention relates to the field of images, and more particularly to an encryption method and server, a decryption method and terminal, and an encryption and decryption system. Background technique
  • the main purpose of the embodiments of the present invention is to provide an easy-to-use encryption method, a server, a decryption method, a terminal, and an encryption and decryption system, which can perform anti-counterfeiting authentication, low-cost application, and low cost on digital images of terminal products. And safe and reliable.
  • An embodiment of the present invention provides an encryption method, where the method includes:
  • the second one-dimensional array is generated in an encrypted image in a coordinate order.
  • the encrypting the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array includes:
  • the binary sequence is XORed with the first one-dimensional array to generate a second one-dimensional array.
  • the generating a one-dimensional chaotic sequence according to the board number of the terminal including: generating an initial value according to a board number of the terminal;
  • the generating an initial value according to the board number of the terminal including: acquiring a number on the predetermined number of digits N in the board number, and combining to generate a first value;
  • the key value M is a natural number greater than or equal to 0 and less than or equal to 2 N ;
  • the two-dimensional chaotic sequence is binarized according to the board number of the terminal, and a binary sequence is generated, including:
  • the formula is calculated: I 0 if x(k) ⁇ r ;
  • L ( k ) is a binary sequence; x(k) is a one-dimensional chaotic sequence.
  • An embodiment of the present invention further provides a decryption method, where the method includes:
  • the original image is displayed.
  • the decrypting process is performed on the first-dimensional group according to the branching parameter and the threshold, to generate a second one-dimensional array, including:
  • the generating a one-dimensional chaotic sequence according to the branching parameter includes: generating an initial value according to a board number of the terminal;
  • is the branching parameter, 0 ⁇ ⁇ ⁇ 4 ; k is the number of iterations; is the element of the one-dimensional chaotic sequence; ' ⁇ is the serial number of the element; ' ⁇ . , 1 , 2 ...; x . Is the initial value.
  • the generating an initial value according to the board number of the terminal includes: Obtaining a number on the predetermined number of digits in the board number, combining to generate a first value; obtaining a key value M corresponding to the board number from the server;
  • the key value is a natural number greater than or equal to 0 and less than or equal to 2 N ;
  • performing the binarization processing on the one-dimensional chaotic sequence according to the threshold to generate a binary sequence including:
  • L ( k ) is a 0-1 sequence; x(k) is a one-dimensional chaotic sequence; ⁇ is a threshold, 0 ⁇ ⁇ ⁇ 1.
  • the embodiment of the present invention further provides a server, where the server includes: a first acquiring unit, a first generating unit, a second acquiring unit, a second generating unit, and a third generating unit; wherein, the first acquiring unit, Configured to obtain a binary image as the original image;
  • the first generating unit is configured to arrange the original images in a coordinate order to generate a first
  • the second acquiring unit is configured to acquire a board number of the terminal corresponding to the original image, and the second generating unit is configured to perform encryption processing on the first-dimensional array according to a board number of the terminal, and generate The second one-dimensional array;
  • the third generating unit is configured to generate the encrypted image in the coordinate order of the second one-dimensional array.
  • the embodiment of the present invention further provides a terminal, where the terminal includes: an extracting unit, a first generating unit, an obtaining unit, a second generating unit, a third generating unit, and a display unit; wherein the extracting unit is configured to extract Encrypted image;
  • the first generating unit is configured to arrange the encrypted images in a coordinate order to generate a first-dimensional array
  • the obtaining unit is configured to: according to the board number of the terminal corresponding to the encrypted image, from the server Obtaining a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal; the second generating unit is configured to: according to the branching parameter and the threshold,
  • the dimension array is decrypted to generate a second one-dimensional array
  • the third generating unit is configured to generate the original image in the coordinate order of the second one-dimensional array.
  • the terminal includes: a display unit configured to display the original image.
  • An embodiment of the present invention further provides an encryption and decryption system, where the system includes: a terminal and a server;
  • the server is configured to acquire a binary image as an original image; arrange the original images in a coordinate order to generate a first-dimensional array; and obtain a board number of the terminal corresponding to the original image; according to the board number of the terminal, Encrypting the first-dimensional array to generate a second one-dimensional array; and generating the encrypted image by the second one-dimensional array according to a coordinate order;
  • the terminal is configured to extract an encrypted image; the encrypted image is arranged in a coordinate order to generate a first-dimensional array; and the branch corresponding to the board number of the terminal is obtained from the server according to the board number of the terminal a parameter and a threshold corresponding to the board number of the terminal; decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array; and the second one-dimensional array
  • the original image is generated in the order of the coordinates.
  • the encryption method and the server, the decryption method, the terminal, and the encryption and decryption system provided by the embodiments of the present invention generate an encrypted image by using an encryption technology, and then place the encrypted image in the terminal product.
  • the encrypted image can be decrypted according to the user instruction, and the decrypted image is displayed, so that the user can perform anti-counterfeiting authentication on the terminal product by viewing the decrypted image.
  • FIG. 1 is a schematic flowchart of an encryption method according to an embodiment of the present invention.
  • 2 is a schematic flowchart of a decryption method according to an embodiment of the present invention
  • 3 is a schematic structural diagram of a server according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a structure of an encryption and decryption system according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of an application scenario according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an original image according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing an effect of an encrypted image encrypted by the original image according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an information table of a database of a server according to an embodiment of the present invention.
  • the embodiment of the invention provides an encryption method and a server, and a decryption method and a terminal.
  • the server generates an encrypted image by using an encryption technology, and then places the encrypted image in the terminal product.
  • the terminal performs the encrypted image according to the user instruction.
  • the decrypted image is displayed, and the decrypted image is displayed, so that the user can perform anti-counterfeiting authentication on the terminal product by viewing the decrypted image.
  • the key for decrypting the encrypted image is obtained by the terminal and the server during the interaction process.
  • an encryption method is performed according to an embodiment of the present invention, where the method includes: Step 11: acquiring a binary image as an original image;
  • Step 12 Arranging the original images in a coordinate order to generate a first one-dimensional array;
  • Step 13 acquiring a board number of the corresponding terminal of the original image;
  • Step 14 according to the board number of the terminal, encrypting the first-dimensional array to generate a second one-dimensional array;
  • Step 15 Generate the encrypted image in the coordinate order of the second one-dimensional array.
  • the step 14 of performing encryption processing on the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array includes:
  • Step 141 Generate a one-dimensional chaotic sequence according to the board number of the terminal.
  • Step 142 Perform binarization processing on the one-dimensional chaotic sequence according to the board number of the terminal, to generate a binary sequence.
  • Step 143 XOR the binary sequence with the first-dimensional array to generate a second one-dimensional array.
  • the step 141 of generating a one-dimensional chaotic sequence according to the board number of the terminal includes: Step 1411: Generate an initial value according to the board number of the terminal;
  • the step 1411 of generating an initial value according to the board number of the terminal includes: Step 14111: Acquire a number on the predetermined number of bits in the board number, and combine to generate a first value. For example, get the last six digits of the board number to form the first value.
  • Step 14112 the corresponding key on the number plate with 10 ⁇ ⁇ value are summed to obtain a second value; ⁇ the key value is greater than or equal to and less than or equal to a natural number of 02 v;
  • Step 14113 dividing the first value by the second value to obtain the initial value.
  • the step of performing a binarization process on the one-dimensional chaotic sequence according to the board number of the terminal, and generating a binary sequence includes:
  • Step 1421 Obtain a threshold value ⁇ corresponding to the board number of the terminal, where 0 ⁇ 1; Il if x(k) ⁇ r
  • Step 1422 calculate a formula: L 0 if x(k ) ⁇ r ;
  • L ( k ) is a binary sequence; x(k) is a one-dimensional chaotic sequence.
  • a decryption method is performed according to an embodiment of the present invention, where the method includes: Step 21: extract an encrypted image;
  • Step 22 Arranging the encrypted images in a coordinate order to generate a first one-dimensional array.
  • Step 23 Obtain, according to the board number of the terminal corresponding to the encrypted image, a branch parameter corresponding to a board number of the terminal, and a location The threshold corresponding to the board number of the terminal;
  • Step 24 Perform decryption processing on the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
  • Step 25 Generate the original image according to the coordinate order of the second one-dimensional array
  • Step 26 displaying the original image.
  • the board number of the encrypted image corresponding terminal may be the same as the board number of the terminal corresponding to the original image involved in the foregoing encryption method.
  • the step 24 of decrypting the first-dimensional array according to the branching parameter and the threshold, and generating a second one-dimensional array includes:
  • Step 241 Generate a one-dimensional chaotic sequence according to the branching parameter.
  • Step 242 Perform binarization processing on the one-dimensional chaotic sequence according to the threshold, to generate a binary sequence.
  • Step 243 XOR the binary sequence with the first-dimensional array to generate a second one-dimensional array.
  • the step 241 of generating a one-dimensional chaotic sequence according to the branching parameter includes: Step 2411: Generate an initial value according to a board number of the terminal;
  • x (k) is the branching parameter, 0 ⁇ ⁇ ⁇ 4 ;
  • k is the sequence number of the iteration number; is the element of the one-dimensional chaotic sequence;
  • ' ⁇ is the serial number of the element; ' ⁇ . , 1 , 2 ...; X . Is the initial value.
  • the step 2411 of generating an initial value according to the board number of the terminal includes: Step 24111: Acquire a number on the predetermined number of bits N in the board number, and combine to generate a first value;
  • Step 24112 obtaining a key value M corresponding to the board number from the server;
  • Step 24113 The key value corresponding to the board number is summed with 10 N to obtain a second value; the key value is a natural number greater than or equal to 0 and less than or equal to 2 ⁇ ;
  • Step 24114 dividing the first value by the second value to obtain the initial value.
  • the step 242 of performing the binarization processing on the one-dimensional chaotic sequence according to the threshold to generate a binary sequence is specifically:
  • L ( k ) is a 0-1 sequence; x(k) is a one-dimensional chaotic sequence; ⁇ is a threshold, 0 ⁇ ⁇ ⁇ 1.
  • a server is provided in the embodiment of the present invention, where the server includes: a first acquiring unit 31 configured to acquire a binary image as an original image;
  • the first generating unit 32 is configured to arrange the original images in a coordinate order to generate a first one-dimensional array
  • the second obtaining unit 33 is configured to acquire the board number of the terminal corresponding to the original image.
  • the second generating unit 34 is configured to perform encryption processing on the first-dimensional array according to the board number of the terminal, to generate a second One-dimensional array
  • the third generation unit 35 is configured to generate the encrypted image in the coordinate order of the second one-dimensional array.
  • the terminal is provided by the embodiment of the present invention, and the terminal includes: an extracting unit 41 configured to extract an encrypted image;
  • the first generating unit 42 is configured to arrange the encrypted images in a coordinate order to generate a first one-dimensional array;
  • the obtaining unit 43 is configured to obtain, according to the board number of the terminal corresponding to the encrypted image, a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal;
  • the second generating unit 44 is configured to perform decryption processing on the first one-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
  • the third generation unit 45 is configured to generate the original image in the coordinate order of the second one-dimensional array.
  • the terminal further includes: a display unit 46 configured to display the original image.
  • the board number of the original image corresponding terminal and the board number of the terminal corresponding to the encrypted image may be the same value.
  • an encryption and decryption system is provided in an embodiment of the present invention, where the system includes: a terminal 51 and a server 52;
  • the server 52 is configured to acquire a binary image as an original image; arrange the original images in a coordinate order to generate a first one-dimensional array; obtain a board number of the terminal corresponding to the original image; Encrypting the first-dimensional array to generate a second one-dimensional array; and generating the second one-dimensional array to generate an encrypted image according to a coordinate order;
  • the terminal 51 is configured to extract an encrypted image; the encrypted images are arranged in a coordinate order to generate a first-dimensional array; and the board number of the terminal is obtained from the server 52 according to the board number of the terminal. a branching parameter and a threshold corresponding to the board number of the terminal; decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array; The dimension array generates an original image in coordinate order; the original image is displayed.
  • the embodiment of the invention provides a built-in image anti-counterfeiting method based on chaotic encryption technology, which can be applied to digital image anti-counterfeiting technology of terminal products, which is simple in application, low in cost, safe and reliable.
  • the terminal can obtain the relevant parameters of the decryption from the server through the wireless network, and complete the authentication process of the copyright information on the terminal.
  • the chaotic encryption technology is used to generate an encrypted image (black and white image, that is, only two gray scales of 0 and 1), and the encrypted image is placed in the terminal product.
  • the user can perform anti-counterfeiting authentication of the product by means of manual clicking. After the authentication is passed, the authentication result is fed back to the user through the terminal, thereby achieving the purpose of anti-counterfeiting.
  • the embodiment of the present invention includes four processes: a process of generating an encrypted image, a process of acquiring a key data by a user, a decryption process, and a user interface (UI, User Interface) interaction process.
  • the original image usually has certain meaning information, such as the logo of the operator or equipment supplier or trademark logo information.
  • Regression Logistic mapping is a very simple dynamic system in chaotic systems, which is defined as follows: ⁇ / ⁇ 4 is called the branching parameter, (0, 1). When 3.5699456... ⁇ / ⁇ 4, the Logistic mapping works in a chaotic state. That is, by the initial value x .
  • the sequence l '' ⁇ ' 1 ' 2 ⁇ generated under the action of the Logistic map is aperiodic, does not converge and is very sensitive to the initial value.
  • the initial value can be divided by the last 6 digits of the device board number divided by 1XXXXXX.
  • XXXXXX is the key information corresponding to the product (that is, the key value M described above), and the value ranges from 0 to 999999.
  • the last 6 digits of the board number are all 0s, and ⁇ is 0.5 by default.
  • the threshold threshold method is defined as follows:
  • is the threshold value, and the value range is 0 ⁇ 1.
  • the binary watermark image is encrypted by the generated 0-1 sequence L(k) to obtain an encrypted watermark vector sequence.
  • ⁇ , ⁇ , and ⁇ are stored together with the product-specific encryption information and the product board number in the server's network database.
  • the encrypted one-dimensional vector is restored back to the two-dimensional array (image) according to the coordinates, thus completing the generation of the encrypted image.
  • the generated encrypted image will be placed in the Encrypting File System (EFS) for UI display.
  • EFS Encrypting File System
  • the production of the entire encrypted image and the database storage of the key information are all completed during the production phase.
  • the terminal is connected to the network server to obtain key information corresponding to the product.
  • the terminal sends the data format a Get (Product ID);
  • the terminal receives the data format, a Receive (product ID, XXXXXX, ⁇ , ⁇ );
  • the network server After receiving the key request of the terminal, the network server searches for the corresponding key information with reference to the figure, and sends the information to the terminal according to the established format to complete the process of acquiring the key information.
  • the decryption process is described below.
  • the decryption process is the reverse process of the encryption process.
  • the decryption method mentioned above First, according to the key information obtained from the network database, the last 6 digits of the board number are combined according to the algorithm in the encryption process to obtain a decrypted chaotic sequence. Then, the decrypted binary sequence is obtained by using the threshold threshold method. The original picture is obtained by XORing the decrypted binary sequence with the binary encrypted image in the terminal EFS partition, thereby completing the entire decryption process.
  • the decryption process is the end The end is done independently.
  • the user initiates an authentication operation request through the UI interface, and after the terminal decrypts the original image, the authentication result is viewed to view the decrypted original image.

Abstract

Disclosed is an encryption method. The encryption method comprises: obtaining a binary image as an original image; arranging the original image according to a coordinate sequence to generate a first one-dimensional array; obtaining the panel number of a terminal; according to the panel number of the terminal, encrypting the first one-dimensional array to generate a second one-dimensional array; and in accordance with the coordinate sequence, enabling the second one-dimensional array to generate an encryption image. Also disclosed at the same time are a decryption method, a server, a terminal and an encryption/decryption system. The present invention can be applied to the digital image anti-counterfeiting technology of terminal products, and the application is simple.

Description

加密方法和服务器、 解密方法和终端以及加解密系统  Encryption method and server, decryption method and terminal, and encryption and decryption system
技术领域 Technical field
本发明涉及图像领域, 特别是指一种加密方法和服务器、 解密方法和 终端以及加解密系统。 背景技术  The present invention relates to the field of images, and more particularly to an encryption method and server, a decryption method and terminal, and an encryption and decryption system. Background technique
数字水印技术作为信息安全技术领域的重要分支, 得到了广泛的应用 和深入的研究。 它通过在不引起感知的情况下, 将一种不可见的标记嵌入 到多媒体信息产品中, 用以标识原创作者对作品的所有权或对信息的完整 性进行验证。  As an important branch of information security technology, digital watermarking technology has been widely applied and in-depth research. It embeds an invisible mark into a multimedia information product without causing perception, identifying the original author's ownership of the work or verifying the integrity of the information.
随着终端市场的不断发展壮大, 加强对终端产品的产权保护也越来越 重要, 但是现有技术中, 数字图像防伪技术比较复杂。 发明内容  As the terminal market continues to grow and develop, it is increasingly important to strengthen the protection of property rights of terminal products. However, in the prior art, digital image anti-counterfeiting technology is more complicated. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种应用简便的加密方 法和服务器、 解密方法和终端以及加解密系统, 能够对终端类产品的数字 图像进行防伪鉴权、 应用简便、 成本低且安全可靠。  In view of this, the main purpose of the embodiments of the present invention is to provide an easy-to-use encryption method, a server, a decryption method, a terminal, and an encryption and decryption system, which can perform anti-counterfeiting authentication, low-cost application, and low cost on digital images of terminal products. And safe and reliable.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种加密方法, 所述方法包括:  An embodiment of the present invention provides an encryption method, where the method includes:
获取二值图像作为原始图像;  Obtaining a binary image as the original image;
将所述原始图像按坐标顺序排列, 生成第一一维数组;  Arranging the original images in a coordinate order to generate a first one-dimensional array;
获取所述原始图像对应终端的板号;  Obtaining a board number of the terminal corresponding to the original image;
根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二 一维数组; Encrypting the first-dimensional array according to the board number of the terminal to generate a second One-dimensional array
将所述第二一维数组按照坐标顺序生成加密图像。  The second one-dimensional array is generated in an encrypted image in a coordinate order.
上述方案中, 所述根据所述终端的板号, 对所述第——维数组进行加 密处理, 生成第二一维数组, 包括:  In the above solution, the encrypting the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array includes:
根据所述终端的板号, 生成一维混沌序列;  Generating a one-dimensional chaotic sequence according to the board number of the terminal;
根据所述终端的板号, 对所述一维混沌序列进行二值化处理, 生成二 值序列;  And performing binarization processing on the one-dimensional chaotic sequence according to the board number of the terminal to generate a binary sequence;
将所述二值序列与所述第一一维数组进行异或运算, 生成第二一维数 组。  The binary sequence is XORed with the first one-dimensional array to generate a second one-dimensional array.
上述方案中, 所述根据所述终端的板号, 生成一维混沌序列, 包括: 根据所述终端的板号, 生成初始值;  In the above solution, the generating a one-dimensional chaotic sequence according to the board number of the terminal, including: generating an initial value according to a board number of the terminal;
根据所述初始值, 按公式 ^^ ^^-^进行迭代, 得到一维混沌序列 x(k);  According to the initial value, iteratively according to the formula ^^ ^^-^, to obtain a one-dimensional chaotic sequence x(k);
其中, ^为分枝参数(bif rcation parameter ), 0≤ ≤4 ; k为迭代次数 的序号; 为一维混沌序列的元素; '·为元素的序列号; 。,12…; x。为初 始值。 Where ^ is the bif rcation parameter, 0 ≤ ≤ 4 ; k is the sequence number of the iteration number; is the element of the one-dimensional chaotic sequence; '· is the serial number of the element; , 1 , 2 ...; x . Is the initial value.
上述方案中, 所述根据所述终端的板号, 生成初始值, 包括: 获取所述板号中预定位数 N上的数字, 组合生成第一数值;  In the foregoing solution, the generating an initial value according to the board number of the terminal, including: acquiring a number on the predetermined number of digits N in the board number, and combining to generate a first value;
对所述板号对应的密钥值 M与 10N进行求和, 得到第二数值; 所述密 钥值 M为大于或者等于 0且小于或等于 2N的自然数; And summing the key values M and 10 N corresponding to the board number to obtain a second value; the key value M is a natural number greater than or equal to 0 and less than or equal to 2 N ;
将所述第一数值除以第二数值, 得到所述初始值。  Dividing the first value by the second value results in the initial value.
上述方案中, 所述根据所述终端的板号, 对所述一维混沌序列进行二 值化处理, 生成二值序列, 包括:  In the above solution, the two-dimensional chaotic sequence is binarized according to the board number of the terminal, and a binary sequence is generated, including:
获取所述终端的板号对应的阈值 τ, 0< τ < 1; il 如果 x(k)≥r Obtaining a threshold value τ corresponding to the board number of the terminal, 0< τ <1; Il if x(k)≥r
L(k)= i  L(k)= i
根据所述阈值, 计算公式: I0 如果 x(k)<rAccording to the threshold, the formula is calculated: I 0 if x(k) <r;
L(k)为二值序列; x(k)为一维混沌序列。 L ( k ) is a binary sequence; x(k) is a one-dimensional chaotic sequence.
本发明实施例还提供了一种解密方法, 所述方法包括:  An embodiment of the present invention further provides a decryption method, where the method includes:
提取加密图像;  Extracting an encrypted image;
将所述加密图像按坐标顺序排列, 生成第一一维数组;  Arranging the encrypted images in a coordinate order to generate a first one-dimensional array;
根据所述加密图像对应终端的板号, 从服务器获取所述终端的板号对 应的分枝参数以及所述终端的板号对应的阈值;  Obtaining, according to the board number of the terminal corresponding to the encrypted image, a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal;
根据所述分枝参数和所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组;  Decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
将所述第二一维数组按照坐标顺序生成原始图像;  Generating the original image in the coordinate order of the second one-dimensional array;
显示所述原始图像。  The original image is displayed.
上述方案中, 所述根据所述分枝参数和所述阈值, 对所述第——维数 组进行解密处理, 生成第二一维数组, 包括:  In the above solution, the decrypting process is performed on the first-dimensional group according to the branching parameter and the threshold, to generate a second one-dimensional array, including:
根据所述分枝参数, 生成一维混沌序列;  Generating a one-dimensional chaotic sequence according to the branching parameter;
根据所述阈值, 对所述一维混沌序列进行二值化处理, 生成二值序列; 将所述二值序列与所述第一一维数组进行异或运算, 生成第二一维数 组。  And performing, according to the threshold, binarizing the one-dimensional chaotic sequence to generate a binary sequence; performing an exclusive-OR operation on the binary sequence with the first one-dimensional array to generate a second one-dimensional array.
上述方案中, 所述根据所述分枝参数, 生成一维混沌序列, 包括: 根据所述终端的板号, 生成初始值;  In the foregoing solution, the generating a one-dimensional chaotic sequence according to the branching parameter includes: generating an initial value according to a board number of the terminal;
根据所述初始值, 按公式 ^^ ^^-^)进行迭代, 得到一维混沌序列 x(k);  According to the initial value, iteratively according to the formula ^^ ^^-^), to obtain a one-dimensional chaotic sequence x(k);
其中, ^为分枝参数, 0≤^≤4; k为迭代次数的序号; 为一维混沌序 列的元素; '·为元素的序列号; '^。,12…; x。为所述初始值。 Where ^ is the branching parameter, 0 ≤ ^ ≤ 4 ; k is the number of iterations; is the element of the one-dimensional chaotic sequence; '· is the serial number of the element; '^. , 1 , 2 ...; x . Is the initial value.
上述方案中, 所述根据所述终端的板号, 生成初始值, 包括: 获取所述板号中预定位数 N上的数字, 组合生成第一数值; 从服务器获取所述板号对应的密钥值 M; In the above solution, the generating an initial value according to the board number of the terminal includes: Obtaining a number on the predetermined number of digits in the board number, combining to generate a first value; obtaining a key value M corresponding to the board number from the server;
对所述板号对应的密钥值与 10N进行求和,得到第二数值; 所述密钥值 为大于或者等于 0且小于或等于 2N的自然数; And summing the key value corresponding to the board number with 10 N to obtain a second value; the key value is a natural number greater than or equal to 0 and less than or equal to 2 N ;
将所述第一数值除以第二数值, 得到所述初始值。  Dividing the first value by the second value results in the initial value.
上述方案中, 所述根据所述阈值, 对所述一维混沌序列进行二值化处 理, 生成二值序列, 包括:  In the above solution, performing the binarization processing on the one-dimensional chaotic sequence according to the threshold to generate a binary sequence, including:
如果 x(k)≥r If x(k)≥r
Figure imgf000005_0001
如果 x(k)<r
Figure imgf000005_0001
If x(k)<r
L(k)为 0- 1序列; x(k)为一维混沌序列; τ为阈值, 0< τ < 1。 L ( k ) is a 0-1 sequence; x(k) is a one-dimensional chaotic sequence; τ is a threshold, 0 < τ < 1.
本发明实施例还提供了一种服务器, 所述服务器包括: 第一获取单元、 第一生成单元、 第二获取单元、 第二生成单元以及第三生成单元; 其中, 所述第一获取单元, 配置为获取二值图像作为原始图像;  The embodiment of the present invention further provides a server, where the server includes: a first acquiring unit, a first generating unit, a second acquiring unit, a second generating unit, and a third generating unit; wherein, the first acquiring unit, Configured to obtain a binary image as the original image;
所述第一生成单元, 配置为将所述原始图像按坐标顺序排列, 生成第 The first generating unit is configured to arrange the original images in a coordinate order to generate a first
——维数组; - dimension arrays;
所述第二获取单元, 配置为获取所述原始图像对应终端的板号; 所述第二生成单元, 配置为根据所述终端的板号, 对所述第——维数 组进行加密处理, 生成第二一维数组;  The second acquiring unit is configured to acquire a board number of the terminal corresponding to the original image, and the second generating unit is configured to perform encryption processing on the first-dimensional array according to a board number of the terminal, and generate The second one-dimensional array;
所述第三生成单元, 配置为将所述第二一维数组按照坐标顺序生成加 密图像。  The third generating unit is configured to generate the encrypted image in the coordinate order of the second one-dimensional array.
本发明实施例还提供了一种终端, 所述终端包括: 提取单元、 第一生 成单元、 获取单元、 第二生成单元、 第三生成单元以及显示单元; 其中, 所述提取单元, 配置为提取加密图像;  The embodiment of the present invention further provides a terminal, where the terminal includes: an extracting unit, a first generating unit, an obtaining unit, a second generating unit, a third generating unit, and a display unit; wherein the extracting unit is configured to extract Encrypted image;
所述第一生成单元, 配置为将所述加密图像按坐标顺序排列, 生成第 ——维数组;  The first generating unit is configured to arrange the encrypted images in a coordinate order to generate a first-dimensional array;
所述获取单元, 配置为根据所述加密图像对应终端的板号, 从服务器 获取所述终端的板号对应的分枝参数以及所述终端的板号对应的阈值; 所述第二生成单元, 配置为根据所述分枝参数和所述阈值, 对所述第The obtaining unit is configured to: according to the board number of the terminal corresponding to the encrypted image, from the server Obtaining a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal; the second generating unit is configured to: according to the branching parameter and the threshold,
——维数组进行解密处理, 生成第二一维数组; - the dimension array is decrypted to generate a second one-dimensional array;
所述第三生成单元, 配置为将所述第二一维数组按照坐标顺序生成原 始图像。  The third generating unit is configured to generate the original image in the coordinate order of the second one-dimensional array.
上述方案中, 所述终端包括: 显示单元, 配置为显示所述原始图像。 本发明实施例还提供了一种加解密系统, 所述系统包括: 终端和服务 器; 其中,  In the above solution, the terminal includes: a display unit configured to display the original image. An embodiment of the present invention further provides an encryption and decryption system, where the system includes: a terminal and a server;
所述服务器, 配置为获取二值图像作为原始图像; 将所述原始图像按 坐标顺序排列, 生成第——维数组; 获取所述原始图像对应终端的板号; 根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维 数组; 将所述第二一维数组按照坐标顺序生成加密图像;  The server is configured to acquire a binary image as an original image; arrange the original images in a coordinate order to generate a first-dimensional array; and obtain a board number of the terminal corresponding to the original image; according to the board number of the terminal, Encrypting the first-dimensional array to generate a second one-dimensional array; and generating the encrypted image by the second one-dimensional array according to a coordinate order;
所述终端, 配置为提取加密图像; 将所述加密图像按坐标顺序排列, 生成第——维数组; 根据所述终端的板号, 从所述服务器获取所述终端的 板号对应的分枝参数以及所述终端的板号对应的阈值; 根据所述分枝参数 和所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组; 将 所述第二一维数组按照坐标顺序生成原始图像。  The terminal is configured to extract an encrypted image; the encrypted image is arranged in a coordinate order to generate a first-dimensional array; and the branch corresponding to the board number of the terminal is obtained from the server according to the board number of the terminal a parameter and a threshold corresponding to the board number of the terminal; decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array; and the second one-dimensional array The original image is generated in the order of the coordinates.
本发明实施例的上述技术方案的有益效果如下: 本发明实施例提供的 加密方法和服务器、 解密方法和终端以及加解密系统, 利用加密技术生成 加密图像, 然后将加密图像置于终端产品中, 后续过程中, 可以根据用户 指令对加密图像进行解密, 并显示解密后的图像, 使得用户可以通过查看 解密后图像的方式, 来对终端产品进行防伪鉴权。 附图说明  The foregoing technical solutions of the embodiments of the present invention have the following advantages: The encryption method and the server, the decryption method, the terminal, and the encryption and decryption system provided by the embodiments of the present invention generate an encrypted image by using an encryption technology, and then place the encrypted image in the terminal product. In the subsequent process, the encrypted image can be decrypted according to the user instruction, and the decrypted image is displayed, so that the user can perform anti-counterfeiting authentication on the terminal product by viewing the decrypted image. DRAWINGS
图 1为本发明实施例的一种加密方法的流程示意图;  1 is a schematic flowchart of an encryption method according to an embodiment of the present invention;
图 2为本发明实施例的一种解密方法的流程示意图; 图 3为本发明实施例的一种服务器的组成结构示意图; 2 is a schematic flowchart of a decryption method according to an embodiment of the present invention; 3 is a schematic structural diagram of a server according to an embodiment of the present invention;
图 4为本发明实施例的一种终端的组成结构示意图;  4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图 5为本发明实施例的一种加解密系统的组成结构示意图;  FIG. 5 is a schematic structural diagram of a structure of an encryption and decryption system according to an embodiment of the present invention; FIG.
图 6为本发明实施例的应用场景的流程示意图;  FIG. 6 is a schematic flowchart of an application scenario according to an embodiment of the present invention;
图 7为本发明实施例的原始图像的示意图;  7 is a schematic diagram of an original image according to an embodiment of the present invention;
图 8 为本发明实施例的由所述原始图像加密后的加密图像的效果示意 图 9为本发明实施例的服务器的数据库的信息表的示意图。  FIG. 8 is a schematic diagram showing an effect of an encrypted image encrypted by the original image according to an embodiment of the present invention. FIG. 9 is a schematic diagram of an information table of a database of a server according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明要解决的技术问题、 技术方案和优点更加清楚, 下面将结 合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the present invention will become more apparent from the following detailed description.
首先, 描述本发明实施例的整体思路。 本发明实施例提供了一种加密 方法和服务器以及解密方法和终端, 首先, 服务器利用加密技术生成加密 图像, 然后将加密图像置于终端产品中, 后续过程中, 终端根据用户指令 对加密图像进行解密, 并显示解密后的图像, 使得用户可以通过查看解密 后图像的方式, 来对终端产品进行防伪鉴权。 其中, 对加密图像解密的密 钥是终端和服务器在交互过程获取的。  First, the overall idea of the embodiment of the present invention will be described. The embodiment of the invention provides an encryption method and a server, and a decryption method and a terminal. First, the server generates an encrypted image by using an encryption technology, and then places the encrypted image in the terminal product. In the subsequent process, the terminal performs the encrypted image according to the user instruction. The decrypted image is displayed, and the decrypted image is displayed, so that the user can perform anti-counterfeiting authentication on the terminal product by viewing the decrypted image. The key for decrypting the encrypted image is obtained by the terminal and the server during the interaction process.
如图 1所示, 为本发明实施例的一种加密方法, 所述方法包括: 步骤 11, 获取二值图像作为原始图像;  As shown in FIG. 1 , an encryption method is performed according to an embodiment of the present invention, where the method includes: Step 11: acquiring a binary image as an original image;
步骤 12, 将所述原始图像按坐标顺序排列, 生成第一一维数组; 步骤 13, 获取所述原始图像对应终端的板号;  Step 12: Arranging the original images in a coordinate order to generate a first one-dimensional array; Step 13: acquiring a board number of the corresponding terminal of the original image;
步骤 14, 根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维数组;  Step 14, according to the board number of the terminal, encrypting the first-dimensional array to generate a second one-dimensional array;
步骤 15, 将所述第二一维数组按照坐标顺序生成加密图像。 其中, 所述根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维数组的步骤 14包括: Step 15. Generate the encrypted image in the coordinate order of the second one-dimensional array. The step 14 of performing encryption processing on the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array includes:
步骤 141, 根据所述终端的板号, 生成一维混沌序列;  Step 141: Generate a one-dimensional chaotic sequence according to the board number of the terminal.
步骤 142,根据所述终端的板号,对所述一维混沌序列进行二值化处理, 生成二值序列;  Step 142: Perform binarization processing on the one-dimensional chaotic sequence according to the board number of the terminal, to generate a binary sequence.
步骤 143, 将所述二值序列与所述第——维数组进行异或运算, 生成第 二一维数组。  Step 143: XOR the binary sequence with the first-dimensional array to generate a second one-dimensional array.
其中, 所述根据所述终端的板号, 生成一维混沌序列的步骤 141包括: 步骤 1411, 根据所述终端的板号, 生成初始值;  The step 141 of generating a one-dimensional chaotic sequence according to the board number of the terminal includes: Step 1411: Generate an initial value according to the board number of the terminal;
步骤 1412, 根据所述初始值, 按公式 x'+i = ^^ - x' )进行迭代, 得到一维 混沌序列 x(k); Step 1412, according to the initial value, according to the formula x ' + i = ^^ - x ' ), to obtain a one-dimensional chaotic sequence x (k);
其中, ^为分枝参数, 0≤^≤4; k为迭代次数的序号; 为一维混沌序 列的元素; 为元素的序列号; '' = ( ,2 ; x。为初始值。 Where ^ is the branching parameter, 0 ≤ ^ ≤ 4 ; k is the sequence number of the iteration number; is the element of the one-dimensional chaotic sequence; is the serial number of the element; '' = ( , 2 ; x is the initial value.
例如,假设〃 =4, χ。=0·7, 通过迭代公式, 得到 X ( 4 ) = ( 0.84, 0.5376 , 0.99434496, 0.0224922420903936 )。 For example, suppose 〃 = 4, χ . =0·7, by iterative formula, X ( 4 ) = ( 0.84, 0.5376 , 0.99434496, 0.0224922420903936 ) is obtained.
其中, 所述根据所述终端的板号, 生成初始值的步骤 1411包括: 步骤 14111, 获取所述板号中预定位数 Ν上的数字, 组合生成第一数 值。 例如, 获取板号的后六位, 组成第一数值。  The step 1411 of generating an initial value according to the board number of the terminal includes: Step 14111: Acquire a number on the predetermined number of bits in the board number, and combine to generate a first value. For example, get the last six digits of the board number to form the first value.
步骤 14112, 对所述板号对应的密钥值 Μ与 10Ν进行求和, 得到第二 数值; 所述密钥值 Μ为大于或者等于 0且小于或等于 2Ν的自然数; Step 14112, the corresponding key on the number plate with 10 Ν Μ value are summed to obtain a second value; Μ the key value is greater than or equal to and less than or equal to a natural number of 02 v;
步骤 14113, 将所述第一数值除以第二数值, 得到所述初始值。  Step 14113, dividing the first value by the second value to obtain the initial value.
所述根据所述终端的板号, 对所述一维混沌序列进行二值化处理, 生 成二值序列的步骤 142包括:  The step of performing a binarization process on the one-dimensional chaotic sequence according to the board number of the terminal, and generating a binary sequence includes:
步骤 1421, 获取所述终端的板号对应的阈值 τ, 0<τ<1 ; il 如果 x(k)≥r Step 1421: Obtain a threshold value τ corresponding to the board number of the terminal, where 0<τ<1; Il if x(k)≥r
L(k)= i  L(k)= i
步骤 1422,根据所述阈值,计算公式: L0 如果 x(k)<rStep 1422, according to the threshold, calculate a formula: L 0 if x(k ) <r ;
L(k)为二值序列; x(k)为一维混沌序列。 L ( k ) is a binary sequence; x(k) is a one-dimensional chaotic sequence.
如图 2所示, 为本发明实施例的一种解密方法, 所述方法包括: 步骤 21, 提取加密图像;  As shown in FIG. 2, a decryption method is performed according to an embodiment of the present invention, where the method includes: Step 21: extract an encrypted image;
步骤 22, 将所述加密图像按坐标顺序排列, 生成第一一维数组; 步骤 23, 根据所述加密图像对应终端的板号, 从服务器获取所述终端 的板号对应的分枝参数以及所述终端的板号对应的阈值;  Step 22: Arranging the encrypted images in a coordinate order to generate a first one-dimensional array. Step 23: Obtain, according to the board number of the terminal corresponding to the encrypted image, a branch parameter corresponding to a board number of the terminal, and a location The threshold corresponding to the board number of the terminal;
步骤 24, 根据所述分枝参数和所述阈值, 对所述第——维数组进行解 密处理, 生成第二一维数组;  Step 24: Perform decryption processing on the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
步骤 25, 将所述第二一维数组按照坐标顺序生成原始图像;  Step 25: Generate the original image according to the coordinate order of the second one-dimensional array;
步骤 26, 显示所述原始图像。  Step 26, displaying the original image.
这里, 所述加密图像对应终端的板号可与前述加密方法中涉及到的所 述原始图像对应终端的板号取值为相同。  Here, the board number of the encrypted image corresponding terminal may be the same as the board number of the terminal corresponding to the original image involved in the foregoing encryption method.
其中, 所述根据所述分枝参数和所述阈值, 对所述第——维数组进行 解密处理, 生成第二一维数组的步骤 24包括:  The step 24 of decrypting the first-dimensional array according to the branching parameter and the threshold, and generating a second one-dimensional array includes:
步骤 241, 根据所述分枝参数, 生成一维混沌序列;  Step 241: Generate a one-dimensional chaotic sequence according to the branching parameter.
步骤 242, 根据所述阈值, 对所述一维混沌序列进行二值化处理, 生成 二值序列;  Step 242: Perform binarization processing on the one-dimensional chaotic sequence according to the threshold, to generate a binary sequence.
步骤 243, 将所述二值序列与所述第——维数组进行异或运算, 生成第 二一维数组。  Step 243: XOR the binary sequence with the first-dimensional array to generate a second one-dimensional array.
其中, 所述根据所述分枝参数, 生成一维混沌序列的步骤 241包括: 步骤 2411, 根据所述终端的板号, 生成初始值;  The step 241 of generating a one-dimensional chaotic sequence according to the branching parameter includes: Step 2411: Generate an initial value according to a board number of the terminal;
步骤 2412, 根据所述初始值, 按公式 x'+i = ^^ - x' )进行迭代, 得到一维 混沌序列 x(k); 其中, 为分枝参数, 0≤^≤4; k为迭代次数的序号; 为一维混沌序 列的元素; '·为元素的序列号; '^。,12…; X。为所述初始值。 Step 2412, according to the initial value, according to the formula x ' + i = ^^ - x ' ), to obtain a one-dimensional chaotic sequence x (k); Where, is the branching parameter, 0 ≤ ^ ≤ 4 ; k is the sequence number of the iteration number; is the element of the one-dimensional chaotic sequence; '· is the serial number of the element; '^. , 1 , 2 ...; X . Is the initial value.
其中, 所述根据所述终端的板号, 生成初始值的步骤 2411包括: 步骤 24111, 获取所述板号中预定位数 N上的数字, 组合生成第一数 值;  The step 2411 of generating an initial value according to the board number of the terminal includes: Step 24111: Acquire a number on the predetermined number of bits N in the board number, and combine to generate a first value;
步骤 24112, 从服务器获取所述板号对应的密钥值 M;  Step 24112, obtaining a key value M corresponding to the board number from the server;
步骤 24113,对所述板号对应的密钥值与 10N进行求和,得到第二数值; 所述密钥值为大于或者等于 0且小于或等于 2^^的自然数; Step 24113: The key value corresponding to the board number is summed with 10 N to obtain a second value; the key value is a natural number greater than or equal to 0 and less than or equal to 2^^;
步骤 24114, 将所述第一数值除以第二数值, 得到所述初始值。  Step 24114, dividing the first value by the second value to obtain the initial value.
其中, 所述根据所述阈值, 对所述一维混沌序列进行二值化处理, 生 成二值序列的步骤 242具体为:  The step 242 of performing the binarization processing on the one-dimensional chaotic sequence according to the threshold to generate a binary sequence is specifically:
如果 x(k)≥r  If x(k)≥r
如果 x(k)<r If x(k)<r
Figure imgf000010_0001
Figure imgf000010_0001
L(k)为 0-1序列; x(k)为一维混沌序列; τ为阈值, 0<τ<1。 L ( k ) is a 0-1 sequence; x(k) is a one-dimensional chaotic sequence; τ is a threshold, 0 < τ < 1.
如图 3所示, 为本发明实施例提供的一种服务器, 所述服务器包括: 第一获取单元 31, 配置为获取二值图像作为原始图像;  As shown in FIG. 3, a server is provided in the embodiment of the present invention, where the server includes: a first acquiring unit 31 configured to acquire a binary image as an original image;
第一生成单元 32, 配置为将所述原始图像按坐标顺序排列, 生成第一 一维数组;  The first generating unit 32 is configured to arrange the original images in a coordinate order to generate a first one-dimensional array;
第二获取单元 33, 配置为获取所述原始图像对应终端的板号; 第二生成单元 34, 配置为根据所述终端的板号, 对所述第——维数组 进行加密处理, 生成第二一维数组;  The second obtaining unit 33 is configured to acquire the board number of the terminal corresponding to the original image. The second generating unit 34 is configured to perform encryption processing on the first-dimensional array according to the board number of the terminal, to generate a second One-dimensional array
以及第三生成单元 35, 配置为将所述第二一维数组按照坐标顺序生成 加密图像。  And the third generation unit 35 is configured to generate the encrypted image in the coordinate order of the second one-dimensional array.
如图 4所示, 为本发明实施例提供的一种终端, 所述终端包括: 提取单元 41, 配置为提取加密图像; 第一生成单元 42, 配置为将所述加密图像按坐标顺序排列, 生成第一 一维数组; As shown in FIG. 4, the terminal is provided by the embodiment of the present invention, and the terminal includes: an extracting unit 41 configured to extract an encrypted image; The first generating unit 42 is configured to arrange the encrypted images in a coordinate order to generate a first one-dimensional array;
获取单元 43, 配置为根据所述加密图像对应终端的板号, 从服务器获 取所述终端的板号对应的分枝参数以及所述终端的板号对应的阈值;  The obtaining unit 43 is configured to obtain, according to the board number of the terminal corresponding to the encrypted image, a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal;
第二生成单元 44, 配置为根据所述分枝参数和所述阈值, 对所述第一 一维数组进行解密处理, 生成第二一维数组;  The second generating unit 44 is configured to perform decryption processing on the first one-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
以及第三生成单元 45, 配置为将所述第二一维数组按照坐标顺序生成 原始图像。  And the third generation unit 45 is configured to generate the original image in the coordinate order of the second one-dimensional array.
较佳地, 所述终端还包括: 显示单元 46, 配置为显示所述原始图像。 在本实施例中, 所述原始图像对应终端的板号与所述加密图像对应终 端的板号可为相同值。  Preferably, the terminal further includes: a display unit 46 configured to display the original image. In this embodiment, the board number of the original image corresponding terminal and the board number of the terminal corresponding to the encrypted image may be the same value.
如图 5所示, 为本发明实施例提供的一种加解密系统, 所述系统包括: 终端 51和服务器 52; 其中,  As shown in FIG. 5, an encryption and decryption system is provided in an embodiment of the present invention, where the system includes: a terminal 51 and a server 52;
所述服务器 52, 配置为获取二值图像作为原始图像; 将所述原始图像 按坐标顺序排列, 生成第一一维数组; 获取所述原始图像对应终端的板号; 根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维 数组; 将所述第二一维数组按照坐标顺序生成加密图像;  The server 52 is configured to acquire a binary image as an original image; arrange the original images in a coordinate order to generate a first one-dimensional array; obtain a board number of the terminal corresponding to the original image; Encrypting the first-dimensional array to generate a second one-dimensional array; and generating the second one-dimensional array to generate an encrypted image according to a coordinate order;
所述终端 51, 配置为提取加密图像; 将所述加密图像按坐标顺序排列, 生成第——维数组; 根据所述终端的板号, 从所述服务器 52获取所述终端 的板号对应的分枝参数以及所述终端的板号对应的阈值; 根据所述分枝参 数和所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组; 将所述第二一维数组按照坐标顺序生成原始图像; 显示所述原始图像。  The terminal 51 is configured to extract an encrypted image; the encrypted images are arranged in a coordinate order to generate a first-dimensional array; and the board number of the terminal is obtained from the server 52 according to the board number of the terminal. a branching parameter and a threshold corresponding to the board number of the terminal; decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array; The dimension array generates an original image in coordinate order; the original image is displayed.
以下描述本发明实施例的应用场景。  The application scenario of the embodiment of the present invention is described below.
本发明实施例提供一种基于混沌加密技术的终端内置图像防伪方法, 可应用于终端类产品的数字图像防伪技术, 应用简便、 成本低且安全可靠。 终端可以通过无线网络从服务器去获取解密的相关参数, 在终端上完成版 权信息的认证过程。 具体为: 首先, 利用混沌加密技术生成加密图像(黑 白图像, 即只有 0和 1两个灰度), 将加密图像置于终端产品中。 然后, 用 户可以通过手动点击的方式进行产品的防伪鉴权, 鉴权通过后, 将鉴权结 果通过终端反馈给用户, 从而达到防伪的目的。 The embodiment of the invention provides a built-in image anti-counterfeiting method based on chaotic encryption technology, which can be applied to digital image anti-counterfeiting technology of terminal products, which is simple in application, low in cost, safe and reliable. The terminal can obtain the relevant parameters of the decryption from the server through the wireless network, and complete the authentication process of the copyright information on the terminal. Specifically: First, the chaotic encryption technology is used to generate an encrypted image (black and white image, that is, only two gray scales of 0 and 1), and the encrypted image is placed in the terminal product. Then, the user can perform anti-counterfeiting authentication of the product by means of manual clicking. After the authentication is passed, the authentication result is fed back to the user through the terminal, thereby achieving the purpose of anti-counterfeiting.
如图 6所示, 本发明实施例包括四个过程: 加密图像的生成过程、 用 户获取密钥数据的过程、 解密过程、 用户界面(UI, User Interface )交互过 程。  As shown in FIG. 6, the embodiment of the present invention includes four processes: a process of generating an encrypted image, a process of acquiring a key data by a user, a decryption process, and a user interface (UI, User Interface) interaction process.
以下描述加密图像的生成过程。  The generation process of the encrypted image is described below.
首先, 准备一幅二值原始图像(见图 7 ), 然后, 将图像按坐标顺序排 列为一维数组。 原始图像通常带有一定含义信息, 如运营商或者设备供应 商的徽标或者商标 logo信息。  First, prepare a binary original image (see Figure 7), and then arrange the images in a one-dimensional array in coordinate order. The original image usually has certain meaning information, such as the logo of the operator or equipment supplier or trademark logo information.
然后, 根据产品对应的初始值, 生产一维混沌序列, 并对序列按照阈 值进行二值化处理。  Then, according to the initial value corresponding to the product, a one-dimensional chaotic sequence is produced, and the sequence is binarized according to the threshold.
具体方法和原理如下:回归 Logistic映射是混沌系统中的一种非常简单 的动力系统, 其定义如下: 其中, 。≤ /≤4称为分枝参数, (0,1)。 当 3.5699456... < /≤ 4时, Logistic 映射工作处于混沌态。 也就是说, 由初值 x。在 Logistic映射的作用下所产生 的序列 l '' ^'1'2 }是非周期、 不收敛并对初始值非常敏感。 The specific method and principle are as follows: Regression Logistic mapping is a very simple dynamic system in chaotic systems, which is defined as follows: ≤ / ≤ 4 is called the branching parameter, (0, 1). When 3.5699456... < / ≤ 4, the Logistic mapping works in a chaotic state. That is, by the initial value x . The sequence l ''^' 1 ' 2 } generated under the action of the Logistic map is aperiodic, does not converge and is very sensitive to the initial value.
设定一个混沌初值 χθ和 μ, 按公式 1进行迭代, 得到混沌序列 x(k)。 初始值可以按照设备板号的最后 6位数除以 1XXXXXX来取值, XXXXXX 是产品对应的密钥信息 (也就是上文所述的密钥值 M ), 取值范围为 0 到 999999, 如果板号最后 6位为全 0, χθ则默认为 0.5。 Set a chaotic initial value χθ and μ, and iterate according to formula 1, to obtain chaotic sequence x(k). The initial value can be divided by the last 6 digits of the device board number divided by 1XXXXXX. XXXXXX is the key information corresponding to the product (that is, the key value M described above), and the value ranges from 0 to 999999. The last 6 digits of the board number are all 0s, and χθ is 0.5 by default.
然后, 利用阈值门限法得到 0-1 序列 L(k) (k =l,2, ... , ΜΙ xM2), 阀值 门限法的定义如下:
Figure imgf000013_0001
Then, using the threshold threshold method to get the 0-1 sequence L(k) (k = l, 2, ..., ΜΙ xM2), the threshold The threshold method is defined as follows:
Figure imgf000013_0001
其中, τ为门限值, 取值范围为 0<τ<1。  Where τ is the threshold value, and the value range is 0<τ<1.
然后, 用生成的 0-1 序列 L(k) 对二值水印图像进行加密, 得到加密后 的水印向量序列。 具体为: Wm =Wa @ L(k) (m=l,2, ...Ml xM2), @表示异 或运算。 如图 9所示, ΧΧΧΧΧΧ、 μ和 τ将作为产品对应的加密信息和产 品板号一起存储到服务器的网络数据库中。  Then, the binary watermark image is encrypted by the generated 0-1 sequence L(k) to obtain an encrypted watermark vector sequence. Specifically: Wm = Wa @ L(k) (m=l, 2, ... Ml xM2), @ denotes an exclusive OR operation. As shown in Figure 9, ΧΧΧΧΧΧ, μ, and τ are stored together with the product-specific encryption information and the product board number in the server's network database.
最后,如图 8所示,将加密后的一维向量按照坐标还原回二维数组(图 像), 这样就完成了加密图像的生成。 生成的加密图像将被放置在终端加密 文件系统(EFS, Encrypting File System ) 中, 用于 UI显示。 该实施例中, χ0=0.890111, ΧΧΧΧΧΧ=123456, μ=3.7, τ=0.4。 整个加密图像的生产和密 钥信息的数据库存储都是在生产阶段完成的。  Finally, as shown in Fig. 8, the encrypted one-dimensional vector is restored back to the two-dimensional array (image) according to the coordinates, thus completing the generation of the encrypted image. The generated encrypted image will be placed in the Encrypting File System (EFS) for UI display. In this embodiment, χ0=0.890111, ΧΧΧΧΧΧ=123456, μ=3.7, τ=0.4. The production of the entire encrypted image and the database storage of the key information are all completed during the production phase.
以下描述用户获取密钥数据过程。  The process of obtaining a key data by a user is described below.
终端连接到网络服务器上, 获取产品对应的密钥信息。  The terminal is connected to the network server to obtain key information corresponding to the product.
格式如下:  The format is as follows:
终端发送数据格式 一 Get (产品 ID );  The terminal sends the data format a Get (Product ID);
终端接收数据格式 一Receive (产品 ID, XXXXXX, μ, τ );  The terminal receives the data format, a Receive (product ID, XXXXXX, μ, τ);
网络服务器接收到终端的密钥请求后, 参考图查找对应的密钥信息, 并将这些信息按照既定的格式发送给终端, 完成密钥信息的获取过程。  After receiving the key request of the terminal, the network server searches for the corresponding key information with reference to the figure, and sends the information to the terminal according to the established format to complete the process of acquiring the key information.
以下描述解密过程。  The decryption process is described below.
解密过程就是加密过程的逆过程, 具体请参见前述的解密方法。 首先, 根据从网络数据库中获取的密钥信息结合板号的后 6位, 按照加密过程中 的算法进行运算, 从而得到解密混沌序列; 然后, 利用阈值门限法得到解 密的二值序列。 将解密的二值序列与终端 EFS分区中的二值加密图像进行 异或运算就得到了原始图片, 从而完成了整个解密过程。 解密过程是由终 端独立完成的。 The decryption process is the reverse process of the encryption process. For details, please refer to the decryption method mentioned above. First, according to the key information obtained from the network database, the last 6 digits of the board number are combined according to the algorithm in the encryption process to obtain a decrypted chaotic sequence. Then, the decrypted binary sequence is obtained by using the threshold threshold method. The original picture is obtained by XORing the decrypted binary sequence with the binary encrypted image in the terminal EFS partition, thereby completing the entire decryption process. The decryption process is the end The end is done independently.
以下描述 UI交互过程:  The following describes the UI interaction process:
用户通过 UI界面发起鉴权操作请求, 并在终端解密出原始图像后, 查 看鉴权结果即查看解密出的原始图像。  The user initiates an authentication operation request through the UI interface, and after the terminal decrypts the original image, the authentication result is viewed to view the decrypted original image.
具体过程请参考附图 6。  Please refer to Figure 6 for the specific process.
以下为使用场景: 用户购买到终端产品后, 通过终端内置的防伪鉴权 功能对产品进行真伪识别, 从而达到让用户能够直观地对产品的真伪进行 判断的目的。  The following is the usage scenario: After the user purchases the terminal product, the product is authenticated by the built-in anti-counterfeiting authentication function, so that the user can intuitively judge the authenticity of the product.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1. 一种加密方法, 所述方法包括:  An encryption method, the method comprising:
获取二值图像作为原始图像;  Obtaining a binary image as the original image;
将所述原始图像按坐标顺序排列, 生成第一一维数组;  Arranging the original images in a coordinate order to generate a first one-dimensional array;
获取所述原始图像对应终端的板号;  Obtaining a board number of the terminal corresponding to the original image;
根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二 一维数组;  Encrypting the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array;
将所述第二一维数组按照坐标顺序生成加密图像。  The second one-dimensional array is generated in an encrypted image in a coordinate order.
2. 根据权利要求 1所述的加密方法,其中, 所述根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维数组, 包括:  The encryption method according to claim 1, wherein the encrypting the first-dimensional array according to the board number of the terminal to generate a second one-dimensional array comprises:
根据所述终端的板号, 生成一维混沌序列;  Generating a one-dimensional chaotic sequence according to the board number of the terminal;
根据所述终端的板号, 对所述一维混沌序列进行二值化处理, 生成二 值序列;  And performing binarization processing on the one-dimensional chaotic sequence according to the board number of the terminal to generate a binary sequence;
将所述二值序列与所述第一一维数组进行异或运算, 生成第二一维数 组。  The binary sequence is XORed with the first one-dimensional array to generate a second one-dimensional array.
3. 根据权利要求 2所述的加密方法,其中, 所述根据所述终端的板号, 生成一维混沌序列, 包括:  The encryption method according to claim 2, wherein the generating a one-dimensional chaotic sequence according to the board number of the terminal comprises:
根据所述终端的板号, 生成初始值;  Generating an initial value according to the board number of the terminal;
根据所述初始值, 按公式 ^^ ^^-^)进行迭代, 得到一维混沌序列 x(k);  According to the initial value, iteratively according to the formula ^^ ^^-^), to obtain a one-dimensional chaotic sequence x(k);
其中, ^为分枝参数, 0≤^≤4; k为迭代次数的序号; 为一维混沌序 列的元素; 为元素的序列号; '' = ( ,2 ; x。为初始值。 Where ^ is the branching parameter, 0 ≤ ^ ≤ 4 ; k is the sequence number of the iteration number; is the element of the one-dimensional chaotic sequence; is the serial number of the element; '' = ( , 2 ; x is the initial value.
4. 根据权利要求 3所述的加密方法,其中, 所述根据所述终端的板号, 生成初始值, 包括: 获取所述板号中预定位数 N上的数字, 组合生成第一数值; 对所述板号对应的密钥值 M与 10N进行求和, 得到第二数值; 所述密 钥值 M为大于或者等于 0且小于或等于 2N的自然数; The encryption method according to claim 3, wherein the generating an initial value according to the board number of the terminal includes: Obtaining a number on the predetermined number of digits N in the board number, and combining to generate a first value; summing the key values M and 10 N corresponding to the board number to obtain a second value; the key value M is a natural number greater than or equal to 0 and less than or equal to 2 N ;
将所述第一数值除以第二数值, 得到所述初始值。  Dividing the first value by the second value results in the initial value.
5. 根据权利要求 2所述的加密方法,其中, 所述根据所述终端的板号, 对所述一维混沌序列进行二值化处理, 生成二值序列, 包括:  The encryption method according to claim 2, wherein the performing the binarization processing on the one-dimensional chaotic sequence according to the board number of the terminal to generate a binary sequence comprises:
获取所述终端的板号对应的阈值 τ, 0< τ < 1;
Figure imgf000016_0001
Obtaining a threshold value τ corresponding to the board number of the terminal, 0< τ <1;
Figure imgf000016_0001
L(k)为二值序列; x(k)为一维混沌序列。 L ( k ) is a binary sequence; x(k) is a one-dimensional chaotic sequence.
6. 一种解密方法, 所述方法包括:  6. A method of decrypting, the method comprising:
提取加密图像;  Extracting an encrypted image;
将所述加密图像按坐标顺序排列, 生成第一一维数组;  Arranging the encrypted images in a coordinate order to generate a first one-dimensional array;
根据所述加密图像对应终端的板号, 从服务器获取所述终端的板号对 应的分枝参数以及所述终端的板号对应的阈值;  Obtaining, according to the board number of the terminal corresponding to the encrypted image, a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal;
根据所述分枝参数和所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组;  Decrypting the first-dimensional array according to the branching parameter and the threshold, to generate a second one-dimensional array;
将所述第二一维数组按照坐标顺序生成原始图像。  The second one-dimensional array is generated in the coordinate order to generate an original image.
7. 根据权利要求 6所述的解密方法, 其中, 所述根据所述分枝参数和 所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组, 包括: 根据所述分枝参数, 生成一维混沌序列;  The decryption method according to claim 6, wherein the decrypting the first-dimensional array according to the branching parameter and the threshold to generate a second one-dimensional array comprises: Generating a branching parameter to generate a one-dimensional chaotic sequence;
根据所述阈值, 对所述一维混沌序列进行二值化处理, 生成二值序列; 将所述二值序列与所述第一一维数组进行异或运算, 生成第二一维数 组。  And performing, according to the threshold, binarizing the one-dimensional chaotic sequence to generate a binary sequence; performing an exclusive-OR operation on the binary sequence with the first one-dimensional array to generate a second one-dimensional array.
8. 根据权利要求 7所述的解密方法, 其中, 所述根据所述分枝参数, 生成一维混沌序列, 包括: 根据所述终端的板号, 生成初始值; The decryption method according to claim 7, wherein the generating a one-dimensional chaotic sequence according to the branching parameter comprises: Generating an initial value according to the board number of the terminal;
根据所述初始值, 按公式 ^^ ^^-^进行迭代, 得到一维混沌序列 x(k);  According to the initial value, iteratively according to the formula ^^ ^^-^, to obtain a one-dimensional chaotic sequence x(k);
其中, ^为分枝参数, 0≤^≤4; k为迭代次数的序号; 为一维混沌序 列的元素; '·为元素的序列号; '^。,12…; x。为所述初始值。 Where ^ is the branching parameter, 0 ≤ ^ ≤ 4 ; k is the number of iterations; is the element of the one-dimensional chaotic sequence; '· is the serial number of the element; '^. , 1 , 2 ...; x . Is the initial value.
9. 根据权利要求 8所述的解密方法,其中, 所述根据所述终端的板号, 生成初始值, 包括:  The decryption method according to claim 8, wherein the generating an initial value according to the board number of the terminal includes:
获取所述板号中预定位数 N上的数字, 组合生成第一数值; N为大于 或者等于 1的自然数;  Obtaining a number on the predetermined number of digits N in the board number, and combining to generate a first value; N is a natural number greater than or equal to 1;
从服务器获取所述板号对应的密钥值 M;  Obtaining a key value M corresponding to the board number from the server;
对所述板号对应的密钥值与 所述密钥值 为大于或者等于 0且小于或等于 2N的自然数; a key value corresponding to the board number and a natural number whose key value is greater than or equal to 0 and less than or equal to 2 N ;
将所述第一数值除以第二数值, 得到所述初始值。  Dividing the first value by the second value results in the initial value.
10. 根据权利要求 7所述的解密方法, 其中, 所述根据所述阈值, 对 所述一维混沌序列进行二值化处理, 生成二值序列, 包括:
Figure imgf000017_0001
The decryption method according to claim 7, wherein the performing a binarization process on the one-dimensional chaotic sequence according to the threshold to generate a binary sequence includes:
Figure imgf000017_0001
L(k)为 0- 1序列; x(k)为一维混沌序列; τ为阈值, 0< τ < 1。 L ( k ) is a 0-1 sequence; x(k) is a one-dimensional chaotic sequence; τ is a threshold, 0 < τ < 1.
11、 根据权利要求 6至 10任一所述的解密方法, 其中, 在所述将所述 第二一维数组按照坐标顺序生成原始图像之后, 所述方法还包括:  The decryption method according to any one of claims 6 to 10, wherein after the generating the original image by the second one-dimensional array in the coordinate order, the method further comprises:
显示所述原始图像。  The original image is displayed.
12. 一种服务器, 所述服务器包括: 第一获取单元、 第一生成单元、 第二获取单元、 第二生成单元以及第三生成单元; 其中,  A server, the server includes: a first acquiring unit, a first generating unit, a second acquiring unit, a second generating unit, and a third generating unit;
所述第一获取单元, 配置为获取二值图像作为原始图像;  The first acquiring unit is configured to acquire a binary image as an original image;
所述第一生成单元, 配置为将所述原始图像按坐标顺序排列, 生成第 ——维数组; The first generating unit is configured to arrange the original images in a coordinate order to generate a first - dimension arrays;
所述第二获取单元, 配置为获取所述原始图像对应终端的板号; 所述第二生成单元, 配置为根据所述终端的板号, 对所述第——维数 组进行加密处理, 生成第二一维数组;  The second acquiring unit is configured to acquire a board number of the terminal corresponding to the original image, and the second generating unit is configured to perform encryption processing on the first-dimensional array according to a board number of the terminal, and generate The second one-dimensional array;
所述第三生成单元, 配置为将所述第二一维数组按照坐标顺序生成加 密图像。  The third generating unit is configured to generate the encrypted image in the coordinate order of the second one-dimensional array.
13. 一种终端, 所述终端包括: 提取单元、 第一生成单元、 获取单元、 第二生成单元以及第三生成单元; 其中,  A terminal, the terminal includes: an extracting unit, a first generating unit, an obtaining unit, a second generating unit, and a third generating unit;
所述提取单元, 配置为提取加密图像;  The extracting unit is configured to extract an encrypted image;
所述第一生成单元, 配置为将所述加密图像按坐标顺序排列, 生成第 ——维数组;  The first generating unit is configured to arrange the encrypted images in a coordinate order to generate a first-dimensional array;
所述获取单元, 配置为根据所述加密图像对应终端的板号, 从服务器 获取所述终端的板号对应的分枝参数以及所述终端的板号对应的阈值; 所述第二生成单元, 配置为根据所述分枝参数和所述阈值, 对所述第 ——维数组进行解密处理, 生成第二一维数组;  The acquiring unit is configured to acquire, according to the board number of the terminal corresponding to the encrypted image, a branching parameter corresponding to the board number of the terminal and a threshold corresponding to the board number of the terminal; the second generating unit, And configuring, according to the branching parameter and the threshold, decrypting the first-dimensional array to generate a second one-dimensional array;
所述第三生成单元, 配置为将所述第二一维数组按照坐标顺序生成原 始图像。  The third generating unit is configured to generate the original image in the coordinate order of the second one-dimensional array.
14.根据权利要求 13所述的终端, 其中, 所述终端还包括: 显示单元, 配置为显示所述原始图像。  The terminal according to claim 13, wherein the terminal further comprises: a display unit configured to display the original image.
15. 一种加解密系统, 所述系统包括: 服务器和终端; 其中, 所述服务器, 配置为获取二值图像作为原始图像; 将所述原始图像按 坐标顺序排列, 生成第一一维数组; 获取所述原始图像对应的终端的板号; 根据所述终端的板号, 对所述第——维数组进行加密处理, 生成第二一维 数组; 将所述第二一维数组按照坐标顺序生成加密图像;  An encryption and decryption system, the system comprising: a server and a terminal; wherein the server is configured to acquire a binary image as an original image; and the original images are arranged in a coordinate order to generate a first one-dimensional array; Obtaining a board number of the terminal corresponding to the original image; performing encryption processing on the first-dimensional array according to a board number of the terminal to generate a second one-dimensional array; and performing the second one-dimensional array according to a coordinate order Generating an encrypted image;
所述终端, 配置为提取所述加密图像; 将所述加密图像按坐标顺序排 列, 生成第——维数组; 根据所述终端的板号, 从所述服务器获取所述终 端的板号对应的分枝参数以及所述终端的板号对应的阈值; 根据所述分枝 参数和所述阈值, 对所述第——维数组进行解密处理, 生成第二一维数组; 将所述第二一维数组按照坐标顺序生成原始图像。 The terminal is configured to extract the encrypted image; and the encrypted image is arranged in a coordinate order a column, generating a first-dimensional array; obtaining, according to a board number of the terminal, a branching parameter corresponding to a board number of the terminal and a threshold corresponding to a board number of the terminal; And the threshold, decrypting the first-dimensional array to generate a second one-dimensional array; and generating the original image by the second one-dimensional array in a coordinate order.
PCT/CN2013/080305 2013-05-24 2013-07-29 Encryption method, server, decryption method, terminal and encryption/decryption system WO2013167087A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310198616.X 2013-05-24
CN201310198616.XA CN104184921B (en) 2013-05-24 2013-05-24 Encryption method and server and decryption method and terminal

Publications (2)

Publication Number Publication Date
WO2013167087A2 true WO2013167087A2 (en) 2013-11-14
WO2013167087A3 WO2013167087A3 (en) 2014-04-24

Family

ID=49551378

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080305 WO2013167087A2 (en) 2013-05-24 2013-07-29 Encryption method, server, decryption method, terminal and encryption/decryption system

Country Status (2)

Country Link
CN (1) CN104184921B (en)
WO (1) WO2013167087A2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110098915B (en) * 2018-01-30 2022-09-23 阿里巴巴集团控股有限公司 Authentication method and system, and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070189518A1 (en) * 2005-03-30 2007-08-16 Nanni Richard A 3-D quaternion quantum fractal encryption
CN102547297A (en) * 2012-02-28 2012-07-04 中国传媒大学 MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
CN102801947A (en) * 2012-07-02 2012-11-28 西南科技大学 Semantic information transmission and protection method based on H264

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1209730C (en) * 2001-11-30 2005-07-06 温天 Digital anti-fake method
JP4655452B2 (en) * 2003-03-24 2011-03-23 富士ゼロックス株式会社 Information processing device
CN1932852A (en) * 2005-09-14 2007-03-21 上海新跃仪表厂 Tax control machine material characteristic encrypted antifaking method
US20070288752A1 (en) * 2006-06-08 2007-12-13 Weng Chong Chan Secure removable memory element for mobile electronic device
CN102196320B (en) * 2011-04-15 2013-02-27 江苏省现代企业信息化应用支撑软件工程技术研发中心 Image encrypting and decrypting system
CN102938132A (en) * 2012-11-20 2013-02-20 海南大学 Watermarking method for medical images on basis of DFT (discrete Fourier transform) and LogisticMap

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070189518A1 (en) * 2005-03-30 2007-08-16 Nanni Richard A 3-D quaternion quantum fractal encryption
CN102547297A (en) * 2012-02-28 2012-07-04 中国传媒大学 MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
CN102801947A (en) * 2012-07-02 2012-11-28 西南科技大学 Semantic information transmission and protection method based on H264

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YANG GELAN ET AL.: 'Binary Image Encryption Algorithm Based on Chaotic Sequences' COMPUTER TECHNOLOGY AND DEVELOPMENT vol. 16, no. 2, February 2006, pages 148 - 150, 153 *
ZHANG, DINGHUI ET AL.: 'chaotic encryption and decryption of Binarization Algorithm for QR code' MOBILE COMMUNICATIONS 2011, page 131 *

Also Published As

Publication number Publication date
CN104184921B (en) 2018-10-12
CN104184921A (en) 2014-12-03
WO2013167087A3 (en) 2014-04-24

Similar Documents

Publication Publication Date Title
CN111314069B (en) Block chain-based shaking system and method, electronic device and storage medium
Koppu et al. A fast enhanced secure image chaotic cryptosystem based on hybrid chaotic magic transform
CN109818741B (en) Decryption calculation method and device based on elliptic curve
CN103595698B (en) Management method for digital rights
US9825761B2 (en) Systems and methods improving cryptosystems with biometrics
CN106651734A (en) Binary two-dimensional code image encryption and decryption method and device
CN103812638B (en) Method for extracting speed up robust feature (SURF) image features of encryption domain
CN110232021A (en) The method and device of page test
JP2012080152A (en) Encryption system, encryption apparatus, decryption apparatus, encryption system program and encryption method
CN107104788B (en) Terminal and non-repudiation encryption signature method and device thereof
CN113228087A (en) Method, device and program for trading work of art
CN115242485A (en) Data encryption or decryption method, system, electronic equipment and storage medium
US20150063563A1 (en) Private two-party computation using partially homomorphic encryption
CN112307503B (en) Signature management method and device and electronic equipment
WO2013167087A2 (en) Encryption method, server, decryption method, terminal and encryption/decryption system
CN107911220B (en) Signature method, signature device and terminal equipment
JP2008035019A (en) Digital signature device
Zhang et al. Image encryption with discrete fractional cosine transform and chaos
CN110473214A (en) Image scrambling and restoration methods based on Ramanujan matrix
JP5913041B2 (en) Secret information concealment device, secret information restoration device, secret information concealment program, and secret information restoration program
CN115688059B (en) Image data processing method and device, electronic equipment and storage medium
Ghazy et al. Block based embedding of encrypted watermarks using singular value decomposition
CN103220551A (en) Digital resource encryption and decryption system and method based on image processing
CN103488917B (en) Method for encrypting and protecting system by aid of touch screen device
JP2007521676A (en) Generation and verification of Diffie-Hellman digital signatures

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13788505

Country of ref document: EP

Kind code of ref document: A2