CN108090539B - Two-dimensional code generation system for adding character watermarks - Google Patents

Two-dimensional code generation system for adding character watermarks Download PDF

Info

Publication number
CN108090539B
CN108090539B CN201711382955.8A CN201711382955A CN108090539B CN 108090539 B CN108090539 B CN 108090539B CN 201711382955 A CN201711382955 A CN 201711382955A CN 108090539 B CN108090539 B CN 108090539B
Authority
CN
China
Prior art keywords
module
character
dimensional code
characters
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711382955.8A
Other languages
Chinese (zh)
Other versions
CN108090539A (en
Inventor
陈毅强
黄锦成
司徒雪频
司徒力培
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangmen Zhiliao Technology Co ltd
Original Assignee
Jiangmen Zhiliao Technology Co ltd
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 Jiangmen Zhiliao Technology Co ltd filed Critical Jiangmen Zhiliao Technology Co ltd
Priority to CN201711382955.8A priority Critical patent/CN108090539B/en
Publication of CN108090539A publication Critical patent/CN108090539A/en
Application granted granted Critical
Publication of CN108090539B publication Critical patent/CN108090539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • G06K19/06056Constructional details the marking comprising a further embedded marking, e.g. a 1D bar code with the black bars containing a smaller sized coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a two-dimensional code generating system for adding character watermarks, which is characterized in that the number of characters is identified, the two-dimensional code is automatically distributed into an odd-number-line arrangement format module or a plural-number-line arrangement format module for typesetting, according to the size and the error correction level of a two-dimensional code, the odd-number-line arrangement format module or the plural-number-line arrangement format module typesets characters, and the height and the width of the characters are limited by a character pattern generating module, so that the problem that the characters exceed the interval due to the fact that the number of the characters is not distinguished in the prior art is solved, and key information of the two-dimensional; the invention can obtain the clear and standard two-dimensional code with the characters, and the scheme of adding the characters on the two-dimensional code is convenient for people to know who the two-dimensional code is pushed by, thereby preventing people from scanning the two-dimensional code which is pushed maliciously by mistake and reducing the chance of being cheated.

Description

Two-dimensional code generation system for adding character watermarks
Technical Field
The invention relates to a technical application of adding a two-dimensional code watermark, in particular to a two-dimensional code generating system for adding a character watermark on a two-dimensional code.
Background
The two-dimensional code records data symbol information by using black and white figures distributed on a plane according to a certain rule by using a certain specific geometric figure, ingeniously utilizes the concepts of '0' and '1' bit streams forming the internal logic basis of a computer in code compilation, uses a plurality of geometric figures corresponding to a binary system to represent character numerical value information, and automatically reads the information by an image input device or a photoelectric scanning device so as to realize automatic information processing.
With the increasing popularity of mobile code scanning equipment, communication between people, between people and enterprises and between enterprises through two-dimensional codes has a great development prospect, and in many occasions, the two-dimensional codes replace traditional characters to transmit information, such as electronic business cards for exchanging personal information, wherein one form is displayed by the two-dimensional codes; however, the two-dimensional code electronic business card usually needs to be scanned to the equipment by the equipment and displayed to obtain the content inside, which is easy to bring about potential safety hazard, so in some cases, the electronic business card processes the blank part in the center of the two-dimensional code before sending, and adds pictures/characters and the like for identification, but the name and characters of the two-dimensional code watermark generated by the prior art means are single, have the defects of fuzziness and unclear, and even are mixed with the two-dimensional code bar code area, so the display effect is disordered.
Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide a two-dimensional code generating system for adding character watermarks, which can automatically typeset according to the length of a character to obtain a clear and standard character image.
The technical scheme adopted by the invention for solving the problems is as follows:
a two-dimensional code generation system for adding a character watermark, comprising:
the two-dimension code input module is used for scanning and inputting an external two-dimension code or directly generating the two-dimension code and comprises a first output end and a second output end;
the information registration module is used for inputting and storing character information;
the data information processing module is used for adjusting the size of the two-dimensional code and extracting character information;
the character format typesetting module is used for typesetting the characters and generating character patterns;
the pattern superposition module is used for superposing the two-dimensional code and the character pattern;
the first output end of the two-dimensional code input module and the information registration module are connected with the input end of the data information processing module, the second output end of the two-dimensional code input module is connected with the pattern superposition module, the output end of the data information processing module is respectively connected with the character format typesetting module and the pattern superposition module, and the output end of the character format typesetting module is connected with the pattern superposition module.
Further, the character format typesetting module comprises a single row arrangement format module, a plurality of row arrangement format modules and a character pattern generating module for converting the arranged characters into pictures.
Further, the output end of the data information processing module is respectively connected with the odd-number line arrangement format module and the plural line arrangement format module, and the output ends of the odd-number line arrangement format module and the plural line arrangement format module are respectively connected with the character pattern generating module.
Further, the two-dimension code input module comprises a two-dimension code scanning module for scanning and/or identifying an external two-dimension code and a two-dimension code self-generating module for automatically generating the two-dimension code in the system.
Further, the two-dimensional code scanning module comprises a port connected with an external recording device.
Further, the information registration module includes an interactive interface for inputting character information.
A method for generating a character watermark two-dimensional code by applying the two-dimensional code generation system comprises the following steps:
s1: the information registration module sends a prompt for filling character information to the interactive interface, and sends the character information to the data information processing module after receiving the complete character information;
s2: the two-dimension code scanning module scans and identifies an external two-dimension code, and sends the obtained two-dimension code to the data information processing module, or the two-dimension code self-generating module automatically generates a two-dimension code according to the requirement and a preset size, and sends the obtained two-dimension code to the pattern superposition module;
s3: the data information processing module extracts a character of a desired portion from the character information acquired at step S1, judges the number of characters, and transmits the character to the odd-numbered line arrangement format module or the plural-numbered line arrangement format module according to the number of words; the data information processing module adjusts the size of the two-dimensional code obtained in the step S2, and sends the two-dimensional code to the pattern superposition module;
s4: the odd line arrangement format module or the plural line arrangement format module carries out format arrangement on the characters and sends the arranged characters to the character pattern generation module.
S5: the character pattern generating module generates character patterns according to the character format and the preset size, and sends the pictures to the pattern superposition module.
S6: the pattern superimposing module superimposes the picture with the characters in the preset size in the step S5 on the midpoint of the two-dimensional code with the adjusted size in the step S2 or S3, and regenerates and outputs a new two-dimensional code picture.
Further, the outputs of the data information processing module sending character information to the data information processing module in step S1, the recognition of the external two-dimensional code in step S2, and the pattern superimposing module in step S6 are transmitted through the network.
Further, the two-dimensional code output object of step S6 includes a carrier for directly receiving pictures or carrying pictures in other forms, such as WeChat, QQ, mailbox, electronic business card app, etc.
The invention has the beneficial effects that: according to the two-dimensional code generation system for adding the character watermark, different characters are typeset by utilizing the odd-number line arrangement format module and the plural-number line arrangement format module, the problem that the characters exceed the interval due to the fact that the number of the characters is not distinguished in the prior art is solved, the clear and standard two-dimensional code with the characters can be obtained, and the scheme of adding the characters on the two-dimensional code is convenient for people to know who the two-dimensional code is pushed, so that the two-dimensional code pushed maliciously is prevented from being mistakenly scanned by the people, and the chance of being cheated is reduced.
Drawings
The invention is further illustrated by the following figures and examples.
FIG. 1 is a flow chart of the operation of an embodiment of the present invention;
FIG. 2 is a diagram illustrating a final pattern of a two-dimensional code output by a two-character odd-column arrangement according to an embodiment of the present invention;
fig. 3 is a final pattern of a two-dimensional code output by a four-word complex row arrangement according to an embodiment of the present invention.
Detailed Description
Referring to fig. 1 and 2, a two-dimensional code generating system for adding character watermarks includes
The two-dimension code input module is used for scanning and inputting an external two-dimension code or directly generating the two-dimension code and comprises a first output end and a second output end;
the information registration module is used for inputting and storing character information;
the data information processing module is used for adjusting the size of the two-dimensional code and extracting character information;
the character format typesetting module is used for typesetting the characters and generating character patterns;
the pattern superposition module is used for superposing the two-dimensional code and the character pattern;
the first output end of the two-dimensional code input module and the information registration module are connected with the input end of the data information processing module, the second output end of the two-dimensional code input module is connected with the pattern superposition module, the output end of the data information processing module is respectively connected with the character format typesetting module and the pattern superposition module, and the output end of the character format typesetting module is connected with the pattern superposition module.
The character format typesetting module comprises a single row arrangement format module, a plurality of row arrangement format modules and a character pattern generating module for converting the arranged characters into pictures.
The output end of the data information processing module is respectively connected with the odd number line arrangement format module and the plural line arrangement format module, and the output ends of the odd number line arrangement format module and the plural line arrangement format module are respectively connected with the character pattern generating module.
The two-dimension code input module comprises a two-dimension code scanning module used for scanning and/or identifying an external two-dimension code and a two-dimension code self-generating module used for automatically generating the two-dimension code in the system.
The two-dimensional code scanning module comprises a port connected with external recording equipment.
The information registration module comprises an interactive interface for inputting character information.
The output of the data information processing module, the external two-dimensional code recognition module and the pattern superposition module is transmitted through a network.
The working process of the embodiment of the invention is as follows:
s1, setting an interactive interface of an information registration module as a registration form of an electronic business card type, sending a prompt of filling personal information to a user terminal by the interactive interface, filling complete personal information (such as name, mobile phone number, QQ, WeChat, company name, sex, date of birth, identity card and the like) in the interactive interface by a user, and sending the complete personal information to a data information processing module in a network encryption mode after the completion of filling;
s2, scanning an external two-dimensional code (a two-dimensional code can be generated in the system according to needs instead of using a scanning result) by an external video recording device, and sending the obtained two-dimensional code to a data information processing module;
s3, the data information processing module extracts the name part in the personal information in the step S1, judges the number of characters of the surname, the characters of the embodiment are 'Zhengkun', the name is sent to the odd number row arrangement format module according to the number of the characters (the 'Zhengkun' characters are not received by the plural row arrangement format modules at the moment), and other personal information can be kept at the background; the data information processing module adjusts the size of the two-dimensional code obtained in the step S2, the size is set as a, and the two-dimensional code is sent to the pattern superposition module;
s4, the odd-number row arrangement format module carries out format arrangement on the characters 'Zhengkun', two characters are arranged in a single row and arranged in parallel, and the arranged 'Zhengkun' is sent to the character pattern generation module;
s5, a character pattern generating module generates a picture according to a character format and a preset size, wherein the preset size is judged according to the error correction level of the two-dimensional code, the size of the character pattern allowed by the two-dimensional code with the higher error correction level is larger, the two-dimensional code is attractive in the embodiment, the character pattern is square, the side length is the shortest distance between two adjacent locators of the two-dimensional code with the size of A, the character pattern is generated as the size B, and the picture is sent to a pattern superposition module;
s6, combining the character pattern with 'Zhengkun' in the step S5 with the two-dimensional code sent in the step S3 by a pattern superposition module, superposing the character pattern with the size B on the midpoint of the two-dimensional code with the size A, regenerating a new two-dimensional code and outputting the new two-dimensional code, wherein the output object comprises a carrier which directly receives pictures or bears the pictures in other forms, such as WeChat, QQ, mailbox, electronic business card app and the like;
referring to fig. 3, a character with "euonymus legend" is processed, which differs from the first embodiment in that:
the data information processing module sends the name to the plural line arrangement format module according to the number of words in step S3, and the plural line arrangement format module sets four characters to be arranged at four corners of a square for the character "euonymus minor" in step S4 (for four characters or other characters, the characters may be arranged according to different arrays and orders).
If the characters are three, one side of the corresponding 'Europe' is changed into a single character, and the height of the character can be set according to design requirements.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means.

Claims (7)

1. A two-dimensional code generation system for adding a character watermark, comprising:
the two-dimension code input module is used for scanning and inputting an external two-dimension code or directly generating the two-dimension code and comprises a first output end and a second output end;
the information registration module is used for inputting and storing character information;
the data information processing module is used for adjusting the size of the two-dimensional code and extracting character information;
the character format typesetting module is used for typesetting the characters and generating character patterns;
the pattern superposition module is used for superposing the two-dimensional code and the character pattern;
the first output end of the two-dimensional code input module and the information registration module are connected with the input end of the data information processing module, the second output end of the two-dimensional code input module is connected with the pattern superposition module, the output end of the data information processing module is respectively connected with the character format typesetting module and the pattern superposition module, and the output end of the character format typesetting module is connected with the pattern superposition module;
the character format typesetting module comprises a single row arrangement format module, a plurality of row arrangement format modules and a character pattern generating module for converting the arranged characters into pictures; the two-dimension code input module comprises a two-dimension code scanning module for scanning and/or identifying an external two-dimension code and a two-dimension code self-generating module for automatically generating the two-dimension code in the system; the information registration module comprises an interactive interface for inputting character information.
2. The two-dimensional code generation system for adding character watermarks according to claim 1, wherein: the output end of the data information processing module is respectively connected with the odd row arrangement format module and the plural row arrangement format module, and the output ends of the odd row arrangement format module and the plural row arrangement format module are respectively connected with the character pattern generating module.
3. The two-dimensional code generation system for adding character watermarks according to claim 1, wherein: the two-dimensional code scanning module comprises a port connected with external recording equipment.
4. The two-dimensional code generation system for adding character watermarks according to claim 1, wherein: the two-dimensional code scanning module is connected with the first output end, and the two-dimensional code self-generating module is connected with the second output end.
5. A method for generating a character watermark two-dimensional code by applying the two-dimensional code generation system of any one of claims 1 to 4, characterized in that: the character format typesetting module comprises a single row arrangement format module, a plurality of row arrangement format modules and a character pattern generating module for converting the arranged characters into pictures; the method for generating the character horizontal two-dimensional code comprises the following steps:
s1: the information registration module sends a prompt for filling character information to the interactive interface, and sends the character information to the data information processing module after receiving the complete character information;
s2: the two-dimension code scanning module scans and identifies an external two-dimension code, the obtained two-dimension code is sent to the data information processing module, or the two-dimension code input module automatically generates a two-dimension code according to the requirement and the preset size, and the obtained two-dimension code is sent to the pattern superposition module;
s3: the data information processing module extracts a character of a desired portion from the character information acquired at step S1, judges the number of characters, and transmits the character to the odd-numbered line arrangement format module or the plural-numbered line arrangement format module according to the number of words; the data information processing module adjusts the size of the two-dimensional code obtained in the step S2, and sends the two-dimensional code to the pattern superposition module;
s4: the odd line arrangement format module or the plural line arrangement format module carries out format arrangement on the characters and sends the arranged characters to the character pattern generation module;
s5: the character pattern generating module generates character patterns according to the character format and the preset size and sends the pictures to the pattern superposition module;
s6: the pattern superimposing module superimposes the picture with the characters in the preset size in the step S5 on the midpoint of the two-dimensional code with the adjusted size in the step S2 or S3, and regenerates and outputs a new two-dimensional code picture.
6. The method for generating a character watermark two-dimensional code according to claim 5, wherein: the outputs of the data information processing module sending character information to the data information processing module in step S1, the recognition of the external two-dimensional code in step S2, and the pattern superimposition module in step S6 are transmitted through a network.
7. The method for generating a character watermark two-dimensional code according to claim 5, wherein: the two-dimensional code output object of step S6 includes a carrier for directly receiving pictures or carrying pictures in other forms, such as WeChat, QQ, mailbox, electronic business card app, etc.
CN201711382955.8A 2017-12-18 2017-12-18 Two-dimensional code generation system for adding character watermarks Active CN108090539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711382955.8A CN108090539B (en) 2017-12-18 2017-12-18 Two-dimensional code generation system for adding character watermarks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711382955.8A CN108090539B (en) 2017-12-18 2017-12-18 Two-dimensional code generation system for adding character watermarks

Publications (2)

Publication Number Publication Date
CN108090539A CN108090539A (en) 2018-05-29
CN108090539B true CN108090539B (en) 2021-05-07

Family

ID=62177462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711382955.8A Active CN108090539B (en) 2017-12-18 2017-12-18 Two-dimensional code generation system for adding character watermarks

Country Status (1)

Country Link
CN (1) CN108090539B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918037B (en) * 2019-02-22 2020-11-24 深圳市华星光电技术有限公司 Identification code output method, device, controller and storage medium
CN110929816A (en) * 2019-10-17 2020-03-27 平安科技(深圳)有限公司 Two-dimensional code validity control method and system
CN111626830A (en) * 2020-05-30 2020-09-04 江苏灰姑娘智能信息技术有限公司 Business mode of life mall

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678260A (en) * 2013-12-25 2014-03-26 南通大学 Portable electronic business card holder and processing method
CN104332116A (en) * 2014-11-04 2015-02-04 北京联合大学 Electronic business card and implementation method thereof
CN104781834A (en) * 2012-11-13 2015-07-15 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130026241A1 (en) * 2011-07-25 2013-01-31 Sakahashi Koji Device and its use for creation, output and management of 2d barcodes with embedded images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104781834A (en) * 2012-11-13 2015-07-15 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program
CN103678260A (en) * 2013-12-25 2014-03-26 南通大学 Portable electronic business card holder and processing method
CN104332116A (en) * 2014-11-04 2015-02-04 北京联合大学 Electronic business card and implementation method thereof

Also Published As

Publication number Publication date
CN108090539A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108090539B (en) Two-dimensional code generation system for adding character watermarks
CN101765847B (en) Multimedia watermarking techniques with low distortion
WO2016065661A1 (en) Four dimensional code, and four dimensional code-based image recognition system and method, and retrieval system and method
KR20130011791A (en) Apparatus and method for dynamic multi-dimensional codes with time and visual recognition information
CN102609543A (en) Multifunctional two-dimensional code product traceability system and traceability method
CN107633413A (en) A kind of anti-fake traceability system and method
CN101996336A (en) Method and device for generating and decoding two-dimensional bar code
JP4621089B2 (en) QR code creation program, computer-readable recording medium storing this program, QR code creation device, and QR code creation method
CN104424498A (en) Method and device for transforming two-dimensional codes at high speed
CN103678516A (en) Method and system for superimposition inputting of two-dimensional code information data
CN105894182A (en) Method for detecting identification code tagging quality of large-breadth printing material
CN111368960A (en) Quantum anti-counterfeiting two-dimensional code generation method and scanning method
KR20090002278A (en) Method of encoding divided two-dimensional barcodes for mobile communication terminal
CN104301310A (en) Isolation network data exchange method and system based on bar code fax recognition technology
EP2731057A1 (en) Image with visible information coded therein
CN108664830A (en) A kind of recognition methods for Quick Response Code of tracing to the source
CN111030810B (en) Anti-counterfeiting encryption method based on image local random transformation technology
CN103020506B (en) A kind of combination is taken pictures and the Key equipment of bar code identification technology and method
KR102159712B1 (en) Qr code, and terminal using the same
KR102085561B1 (en) QR code forgery prevention apparatus and method
CN106650864A (en) System and method automatically generating two-dimensional code on basis of image
CN109543803B (en) Coding system and decoding system capable of editing primary-secondary color two-dimensional codes
CN111783917B (en) Encrypted two-dimensional code with tracing and anti-counterfeiting functions
CN106211148A (en) A kind of enhancement type scanning Quick Response Code connects the method for wireless network
US20200387999A1 (en) Method For Marking Visuals Of Information For Subsequent Identification Or Authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant