Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Two-dimensional code generation method and device

A two-dimensional code and element technology, applied in the field of information processing, can solve the problems of poor anti-counterfeiting ability and low information transmission efficiency, and achieve the effect of saving time, improving data security, and enhancing recognition.

Inactive Publication Date: 2018-06-29
MINSHENG BANKING CORP
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a two-dimensional code generation method and a two-dimensional code generation device to solve the problems of low information transmission efficiency and poor anti-counterfeiting ability in the existing two-dimensional code generation method

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
  • Two-dimensional code generation method and device
  • Two-dimensional code generation method and device
  • Two-dimensional code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 1 This is a flowchart of a method for generating a two-dimensional code provided in Embodiment 1 of the present invention, and the method may specifically include the following steps:

[0058] Step 101: Obtain an original two-dimensional code and multiple custom two-dimensional code elements; the original two-dimensional code includes multiple two-dimensional code elements; and the custom two-dimensional code element has a first shape feature.

[0059] It should be noted that the method for generating a two-dimensional code in the embodiment of the present invention may be applied to mobile terminals such as mobile phones and tablet computers, and may also be applied to a server.

[0060] For the implementation scheme of the mobile terminal, it can be installed on the mobile terminal in the form of sdk (Software Development Kit, software development kit) and JS file (javascript, JAVA language script) as a two-dimensional code generation application. The user can s...

Embodiment 2

[0090] Image 6 This is a flowchart of a method for generating a two-dimensional code provided in Embodiment 2 of the present invention, and the method may specifically include the following steps:

[0091] Step 201: Receive the character string to be converted submitted by the user.

[0092] Step 202: Convert the character string to be converted into a two-dimensional code array.

[0093] In a specific implementation, a QR code generation interface may be provided to the user, through which the user may submit a string to be converted, for example, a certain payment information, a website link, a WeChat account, and the like. Users can also set parameters such as custom QR code elements, margins and versions of the generated QR code through this interface. After receiving the character string to be converted, a two-dimensional code array may be generated for the character string to be converted, so as to generate an original two-dimensional code based on the two-dimensional...

Embodiment 3

[0141] Figure 7 It is a structural block diagram of a two-dimensional code generating device provided in Embodiment 3 of the present invention. The two-dimensional code generating device 300 may specifically include the following modules:

[0142] The original two-dimensional code acquisition module 301 is used to obtain the original two-dimensional code and a plurality of self-defined two-dimensional code elements; the original two-dimensional code includes a plurality of two-dimensional code elements; the self-defined two-dimensional code element has a first shape features;

[0143] Two-dimensional code element combination identification module 302, configured to identify the two-dimensional code element combination in the original two-dimensional code; the two-dimensional code element combination includes at least two two-dimensional code elements with an adjacent relationship; the two-dimensional The combination of code elements has a second shape characteristic;

[014...

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

Embodiments of the invention disclose a two-dimensional code generation method and device. The two-dimensional code generation method comprises the following steps of: obtaining an original two-dimensional code and a plurality of self-defined two-dimensional code elements, wherein the original two-dimensional code comprises a plurality of two-dimensional code elements, and the self-defined two-dimensional code elements have first shape features; recognizing a two-dimensional code element combination in the original two-dimensional code, wherein the two-dimensional code element combination comprises at least two two-dimensional code elements which have the adjacency relation and has a second shape feature; matching the first shape features of the plurality of self-defined two-dimensional code elements with the second shape feature of the two-dimensional code element combination; and if a target self-defined two-dimensional code element with the matched shape feature, replacing the two-dimensional code element combination in the original two-dimensional code by the target self-defined two-dimensional code element so as to obtain a target two-dimensional code. According to the methodand device, data safety of two-dimensional codes is enhanced.

Description

technical field [0001] Embodiments of the present invention relate to the field of information processing, and in particular, to a method for generating a two-dimensional code, and a device for generating a two-dimensional code. Background technique [0002] At present, more and more users transmit information through QR codes. Usually, the user uploads the specified string information to the QR code generation website, and the QR code website generates a QR code based on the string information and returns it to the user, so that the user obtains the QR code generated for the specified string. , and share the QR code with other users through instant messaging software, website pages, etc. Other users can obtain the corresponding string information by identifying the QR code. For example, a user posts a QR code in a WeChat group, or a QR code on a forum for other users to scan the QR code to obtain specific information, or a merchant provides a QR code for customers to scan...

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
CPCG06K19/06037
Inventor 娄丽明林冠峰曾阳
Owner MINSHENG BANKING CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products