Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium

An encoding method and a decoding method technology, which are applied in the field of decoding devices and storage media, can solve the problems of slow transmission speed and low data volume expression, and achieve the effects of fast decoding speed, simple implementation method, and guaranteed security

Active Publication Date: 2020-06-02
江苏提米智能科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Aiming at the problems of low data expression and slow transmission speed in the existing methods for encoding images, the present invention provides a color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium, the encoding method By obtaining the data to be encoded, dividing the data to be decoded into blocks according to predetermined specifications to generate data blocks; generating a two-dimensional code of the same specification for each data block; superimposing the RGB color value of each two-dimensional code pixel, In this way, a three-dimensional code formed by superimposing multiple layers of two-dimensional codes is obtained

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-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium
  • Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium
  • Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Such as figure 1 as well as Figure 5 As shown, this embodiment provides a color-based stacked three-dimensional code encoding method, including:

[0055] S102: Obtain data to be encoded, divide the data to be decoded into blocks according to predetermined specifications, and generate data blocks.

[0056] Specifically, the data to be encoded in this embodiment is usually decimal or hexadecimal data, such as the hexadecimal data that conforms to the 104 protocol forwarded by the power plant through the data acquisition equipment. It can also be that the user can input data information such as URLs, texts, numbers, and letters to be encoded, so as to obtain a certain data information to be encoded, and then need to generate a three-dimensional code based on the data information to be encoded, and the terminal scans the three-dimensional code The data information to be encoded can be obtained. Those skilled in the art should understand that the user can input a backgro...

Embodiment 2

[0069] Such as figure 2 As shown, this embodiment provides a color-based stacked three-dimensional code encoding device, including:

[0070] The data segmentation module 10 is used to obtain the data to be encoded, divide the data to be decoded into blocks according to predetermined specifications, and generate data blocks; specifically, calculate the capacity of each data block information in the data to be decoded; when the data The capacity of the block information meets the threshold, and the coded data block information is equally divided into three data blocks.

[0071] The two-dimensional code generation module 20 is used to generate two-dimensional codes of the same specification for each data block; specifically, generate three two-dimensional codes of the same specification according to the information of the three data blocks, and generate the two-dimensional codes of the same specification according to a predetermined order. The black pixels in the QR code are re...

Embodiment 3

[0074] Such as image 3 As shown, this embodiment provides a color-based stacked three-dimensional code decoding method, including:

[0075] S202: Acquire three-dimensional code image information, and strip pixel values ​​of stacked two-dimensional codes from each pixel in the three-dimensional code image information. Specifically, the three-dimensional code image information in this embodiment is encoded by the method in Embodiment 1. Read the RGB color value of each pixel in the three-dimensional code image information, use the first and second bits of the RGB color value as the pixel color value of the decoded first two-dimensional code, and use the first and second bits of the RGB color value 3. The 4th bit is used as the pixel color value for decoding the second QR code, and the 5th and 6th bits of the RGB color value are used as the pixel color value for decoding the third QR code.

[0076] S204: Output the image information of the two-dimensional code according to the...

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-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium, and belongs to the technical field of three-dimensional codes. The encoding method comprises the following steps: acquiring to-be-encoded data, and partitioning the to-be-decoded data according to a preset specification to generate data blocks;generating a two-dimensional code of the same specification for each data block; and superposing the RGB color value of each two-dimensional code pixel to obtain a three-dimensional code formed by superposing multiple layers of two-dimensional codes. The method is simple in implementation mode and high in encoding and decoding speed, the data capacity is three times that of a two-dimensional codewith the same pixel, image data cannot be recognized or cracked by other tools after being encoded, the safety in the image data transmission process is guaranteed, and the requirement of an enterprise for information confidentiality is met. The problems that an existing image encoding method is low in data volume expression quantity and low in transmission speed are solved.

Description

technical field [0001] The invention belongs to the technical field of three-dimensional codes, and in particular, relates to a color-based stacked three-dimensional code coding method, a coding device, a decoding method, a decoding device and a storage medium. Background technique [0002] QR Code is a square QR code composed of black and white squares. QR is the abbreviation of QuickResponse in English, that is, quick response, because the inventor hopes that QR Code can allow its content to be decoded quickly. QR Code was first applied to auto parts management, and then applied to warehouse management in various industries. Now, due to the development of network media and the popularity of smart phones, people are increasingly relying on smart phones to obtain the information they need. Due to its good information tracking capabilities, QR codes have been widely used in the marketing and publicity industry, and are often used in advertising media transmission. Users can...

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/06G06K7/14
CPCG06K19/06037G06K7/1408G06K19/06046Y02D10/00
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