Color character encoding method and decoding method

A technology of encoding method and decoding method, which is applied to record carriers, instruments, computer parts, etc. used by machines, can solve the problems of low security of anti-counterfeiting code technology and affect the appearance of products, and achieves good concealment and production methods. Novel and improve the effect of anti-counterfeiting code technology

Inactive Publication Date: 2013-09-18
曾芝渝 +3
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a color character encoding method and its decoding method, which mainly solves the problem that the existing anti-counterfeiting code technology has low security and affects the appearance of the product

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Color character encoding method and decoding method
  • Color character encoding method and decoding method
  • Color character encoding method and decoding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The present invention is a technical solution for combining the anti-counterfeiting code and color to output and decode the anti-counterfeiting code, such as figure 1 As shown, the encoding process is as follows:

[0044] (1) Select N different colors from the RGB color table, and N is a natural number greater than or equal to 2. For the convenience of identification, the N colors here can give priority to colors with greater contrast, such as black and white;

[0045] (2) Formulate an N-ary encoding library based on the selected N colors, and match the selected N colors with the bases of the N-ary encoding library one by one. Here, it specifically refers to the number of colors selected by the server system N establishes a binary encoding library equal to its value, that is, an N-ary encoding library. The N-ary encoding library follows the conversion rules of the binary system, and its bases are 0, 1, 2... (N-1), and the selected color N 0 , N 1 , N 2 ...N n-1 Mat...

Embodiment 2

[0064] Such as image 3 , 4 As shown, the difference from Embodiment 1 is that Embodiment 1 is the encoding and output of non-encrypted source information. In this embodiment, one-way encryption is superimposed on the source information before it is converted into M-ary encoding. algorithm (such as MD5 one-way encryption algorithm or two-way MD5 one-way encryption algorithm), and when decoding, after converting the M-ary code into UNICODE or ASCII code, it is also decrypted with a one-way decryption algorithm, and then The source information is converted, and the encoding and output of the entire source information are in the state of encryption and decryption. This embodiment takes the secondary MD5 one-way encryption algorithm as an example to illustrate the encryption and decryption process of this embodiment:

[0065] Take binary and ternary conversion as an example, that is, set M=2, N=3, select three colors of black, red, and blue, and then build a ternary encoding lib...

Embodiment 3

[0069] Such as Figure 5 , 6As shown, the difference from Embodiment 1 is that Embodiment 1 is the encoding and output of non-encrypted source information. In this embodiment, a simple encryption algorithm is superimposed on the source information before it is converted into M-ary encoding. (such as dictionary conversion encryption algorithm, N-ary displacement encryption algorithm, N-ary digit transformation encryption algorithm, character displacement encryption algorithm, logic or transformation encryption algorithm, logic and transformation encryption algorithm, logic XOR transformation encryption algorithm or four mixed operation transformation Encryption algorithm), and when decoding, after converting the M-ary code into UNICODE or ASCII code, it is also decrypted with a simple decryption algorithm. This embodiment takes the character displacement encryption algorithm as an example to illustrate the encryption and decryption process of this embodiment:

[0070] Take bi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a color character encoding method and a decoding method which solve the problems of an anti-counterfeiting code technology that the security is low and the appearance effect of a product is affected. The color character encoding method comprises the following steps that (1) N different colors are selected; (2) an N system encoding library is set up and the base of the encoding library is matched with the selected colors; (3) source information is input and converted into an M system code; (4) the M system code is converted into an N system code to obtain corresponding data; (5) the data is substituted through the colors which are matched with the base of the N system encoding library, lined and combined into a color character; and (6) the color character is output. The color character decoding method comprises the following steps that (1) the color character is identified and substituted into the M system code by terminal equipment; (2) the M system code is converted into a Unicode or an ASCII code; and (3) the terminal equipment converts the Unicode or ASCII code into source information and outputs the same. According to the color character encoding method and the decoding method, an anti-counterfeiting code manufacturing method is novel and the security is high.

Description

technical field [0001] The invention relates to a coding method of color characters and a decoding method thereof. Background technique [0002] With the gradual development of social economy, people's requirements for material products are getting higher and higher, but what follows is that more and more counterfeit products have begun to flood the market, and criminals have illegally obtained a lot of benefits from them. , which not only affects the reputation of the manufacturer, but also makes consumers feel uneasy. [0003] Based on this, many manufacturers have begun to add anti-counterfeiting codes to their products, and by verifying the anti-counterfeiting codes, the authenticity of the products can be distinguished. However, the existing anti-counterfeiting code technologies, including two-dimensional codes, barcodes, color barcodes and color graphic codes, all adopt anti-counterfeiting codes on the packaging of products separately. Considering the appearance and a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K19/06
Inventor 张琦刘磊肖贤勇曾芝渝
Owner 曾芝渝
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products