CN103295044A - Two-dimensional computer code pattern generation method and device - Google Patents

Two-dimensional computer code pattern generation method and device Download PDF

Info

Publication number
CN103295044A
CN103295044A CN2013102203082A CN201310220308A CN103295044A CN 103295044 A CN103295044 A CN 103295044A CN 2013102203082 A CN2013102203082 A CN 2013102203082A CN 201310220308 A CN201310220308 A CN 201310220308A CN 103295044 A CN103295044 A CN 103295044A
Authority
CN
China
Prior art keywords
pattern
dimension code
computer
dimensional
zone
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.)
Granted
Application number
CN2013102203082A
Other languages
Chinese (zh)
Other versions
CN103295044B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310220308.2A priority Critical patent/CN103295044B/en
Publication of CN103295044A publication Critical patent/CN103295044A/en
Priority to PCT/CN2014/079047 priority patent/WO2014194800A1/en
Application granted granted Critical
Publication of CN103295044B publication Critical patent/CN103295044B/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/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code

Abstract

The invention discloses a two-dimensional computer code pattern generation method. The method includes the steps of data acquisition: acquiring at least one two-dimensional code fundamental figure including data pattern information; region formulating: acquiring a preset pattern, and selecting a data recognition region the same as, similar to or proportioned with the two-dimensional code fundamental figures from the pattern; embedment: embedding the two-dimensional code fundamental figures into the data recognition region to from a two-dimensional pattern embedded with the two-dimensional code fundamental figures; and outputting: outputting the two-dimensional pattern. The invention further discloses a corresponding two-dimensional computer code pattern generation device. By the method and the device, diversified two-dimensional patterns can be generated, user experience and comfort are improved greatly, and users are interested rapidly.

Description

Computer two-dimensional sign indicating number image generation method and device
Technical field
The present invention relates to computer two-dimensional sign indicating number technology, relate in particular to a kind of computer two-dimensional sign indicating number image generation method and device.
Background technology
Two-dimension code (2-dimensional bar code) claims two-dimensional bar code again, is the chequered with black and white graphic recording data symbol information that (two-dimensional directional) distributes on the plane according to certain rules with specific geometric figure; On coding, utilize " 0 ", the concept of " 1 " bit stream that constitutes the computer-internal logical foundations dexterously, use several geometrical bodies corresponding with scale-of-two to represent the literal numerical information, handle automatically with realization information by image input device or photoelectric scanning device automatically identifying and reading.Also have simultaneously the automatic recognition function of the information of different rows, and characteristics such as processing graphics rotation variation.It is a key of all information datas.In the modern commerce activity, the attainable application of two-dimension code is very extensive, as: product false proof/trace to the source, advertisement pushing, web site url, data download, commodity transaction, location/navigation, electronic certificate, vehicle management etc.
Yet, the inventor finds in implementing process of the present invention, as shown in Figure 1, the two-dimension code figure of prior art all is the square of black and white, perhaps as shown in Figure 2, though some two-dimension code has synthesized some pattern identifications in the center, on the whole still be based on the square of black and white, such two-dimension code figure dullness, stereotyped, not attractive in appearance, the very difficult interest that attracts the user.
Summary of the invention
Technical matters to be solved by this invention is: a kind of computer two-dimensional sign indicating number image generation method is provided, and this method can generate diversified two-dimension code figure, improves the user greatly and experiences comfort level, attracts user interest fast.
The further technical matters to be solved of the present invention is: a kind of computer two-dimensional sign indicating number figure generating apparatus is provided, and this device can generate diversified two-dimension code figure, improves the user greatly and experiences comfort level, attracts user interest fast.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of computer two-dimensional sign indicating number image generation method, this method may further comprise the steps:
Data obtain step, obtain the two-dimension code fundamental figure that at least one includes data lines information;
Step is formulated in the zone, obtains default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
Embed step, described two-dimension code fundamental figure is embedded in this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
The output step is exported described two-dimension code figure.
Preferably, before or after described embedding step, further comprising the steps of:
The lines read step reads the data lines information in the described two-dimension code fundamental figure at random;
The lines filling step is filled into all or part zone except described data identification zone in the described pattern with the described data lines information that reads at random.
Preferably, before described output step, further comprising the steps of:
The color-match step is modified as one or more colors that color with described pattern is identical or be complementary with the black data lines in the described pattern.
Preferably, described pattern is rule or irregular geometric figure.
Preferably, described pattern is cartoon pattern, geometric figure, animals and plants pattern or personal portrait.
Correspondingly, the invention also discloses a kind of computer two-dimensional sign indicating number figure generating apparatus, this device includes:
Data obtain the unit, are used for obtaining at least one and include the two-dimension code fundamental figure of data lines information;
The unit is formulated in the zone, be used for obtaining default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
Embed the unit, be used for described two-dimension code fundamental figure is embedded this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
Output unit is used for the described two-dimension code figure of output.
Preferably, also include:
The lines reading unit links to each other with described embedding unit, is used for reading at random the data lines information of described two-dimension code fundamental figure;
The lines filler cells links to each other with described lines reading unit, and the described data lines information that is used for reading at random is filled into all or part zone of described pattern except described data identification zone.
Preferably, also include:
The color-match unit links to each other with described embedding unit, is used for black data lines with described pattern and is modified as one or more colors that color with described pattern is identical or be complementary.
Preferably, described pattern is rule or irregular geometric figure.
Preferably, described pattern is cartoon pattern, geometric figure, animals and plants pattern or personal portrait.
The invention has the beneficial effects as follows:
Embodiments of the invention are by selected data identified region in the pattern of presetting arbitrarily at, the two-dimension code primary image that is loaded with data message is embedded in this data identification zone, thereby generated a global shape and be the two-dimension code figure of described default pattern, this two-dimension code figure can be the various diversified patterns attractive in appearance that are rich in, can also customize according to user's needs, computer program only need can be read the data message of its loading to the two-dimension code fundamental figure in the data identified region.Improve the user greatly and experienced comfort level, attracted user interest fast.
The present invention is described in further detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is first kind of two-dimension code pictorial diagram of prior art.
Fig. 2 is second kind of two-dimension code pictorial diagram of prior art.
Fig. 3 is the method flow diagram of computer two-dimensional sign indicating number image generation method first embodiment of the present invention.
Fig. 4 is the method flow diagram of computer two-dimensional sign indicating number image generation method second embodiment of the present invention.
Fig. 5 is the composition structural drawing of computer two-dimensional sign indicating number figure generating apparatus first embodiment of the present invention.
Fig. 6 is the composition structural drawing of computer two-dimensional sign indicating number figure generating apparatus second embodiment of the present invention.
Fig. 7 is first sample of the computer two-dimensional sign indicating number figure of computer two-dimensional sign indicating number image generation method first embodiment generation of the present invention.
Fig. 8 is computer two-dimensional sign indicating number image generation method of the present invention or first sample that installs the computer two-dimensional sign indicating number figure of second embodiment generation.
Fig. 9 is the 3rd sample of the computer two-dimensional sign indicating number figure of computer two-dimensional sign indicating number image generation method fire device second embodiment of the present invention generation.
Embodiment
Describe first embodiment of computer two-dimensional sign indicating number image generation method provided by the invention in detail below with reference to Fig. 3 and Fig. 7; As shown in Figure 3, present embodiment realizes that a computer two-dimensional sign indicating number figure product process mainly includes following steps:
Obtain to obtain the two-dimension code fundamental figure that at least one includes data lines information among the step S1 in data;
Formulate among the step S2 in the zone, obtain default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
In embedding step S3, described two-dimension code fundamental figure is embedded in this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
In output step S4, export described two-dimension code figure.
During specific implementation, consider in order to make output pattern reach effect more attractive in appearance, before described output step S4, also can may further comprise the steps:
In color-match step S5, the black data lines in the described pattern is modified as one or more colors that color with described pattern is identical or be complementary.
Pattern in the present embodiment can be any regular or irregular geometric figure, as: cartoon pattern, geometric figure, animals and plants pattern or personal portrait etc.Fig. 7 shows a sample of the two-dimension code figure of the method generation of using present embodiment.
Describe second embodiment of computer two-dimensional sign indicating number image generation method provided by the invention in detail below with reference to Fig. 4, Fig. 8 and Fig. 9; As shown in Figure 1, computer two-dimensional sign indicating number figure product process of present embodiment realization and previous embodiment are basic identical, and difference only is, and is in the present embodiment, after described embedding step S3, further comprising the steps of:
In lines read step S6, read the data lines information in the described two-dimension code fundamental figure at random;
In lines filling step S7, the described data lines information that reads at random is filled into all or part zone except described data identification zone in the described pattern.
Perhaps, above-mentioned lines read step S6 and lines filling step S7 also can carry out before embedding step S3, can reach same effect.
Fig. 8 and Fig. 9 show first sample and second sample of the two-dimension code figure of the method generation of using present embodiment respectively.
All the other something in common repeat no more.
Describe first embodiment of computer two-dimensional sign indicating number generating apparatus provided by the invention in detail below with reference to Fig. 5 and Fig. 7; As shown in Figure 5, present embodiment mainly includes:
Data obtain unit 1, are used for obtaining at least one and include the two-dimension code fundamental figure of data lines information;
Unit 2 is formulated in the zone, be used for obtaining default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
Embed unit 3, be used for described two-dimension code fundamental figure is embedded this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
Output unit 4 is used for the described two-dimension code figure of output.
During specific implementation, consider that in order to make output pattern reach effect more attractive in appearance present embodiment also can include:
Color-match unit 5 links to each other with described embedding unit 3, is used for black data lines with described pattern and is modified as one or more colors that color with described pattern is identical or be complementary.
Perhaps, described color-match unit 5 also can be located between described lines filler cells 7 and the output unit 4, can reach same effect.
Pattern in the present embodiment can be any regular or irregular geometric figure, as: cartoon pattern, geometric figure, animals and plants pattern or personal portrait etc.Fig. 7 shows a sample of the two-dimension code figure of the device generation of using present embodiment.
Describe second embodiment of computer two-dimensional sign indicating number image generation method provided by the invention in detail below with reference to Fig. 5, Fig. 8 and Fig. 9; As shown in Figure 1, present embodiment and previous embodiment are basic identical, and difference only is that present embodiment also includes:
Lines reading unit 6 links to each other with described embedding unit 3, is used for reading at random the data lines information of described two-dimension code fundamental figure;
Lines filler cells 7 links to each other with described lines reading unit 6, and the described data lines information that is used for reading at random is filled into all or part zone of described pattern except described data identification zone.
Fig. 8 and Fig. 9 show first sample and second sample of the two-dimension code figure of the device generation of using present embodiment respectively.
All the other something in common repeat no more.
The above is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.

Claims (10)

1. computer two-dimensional sign indicating number image generation method is characterized in that this method may further comprise the steps:
Data obtain step, obtain the two-dimension code fundamental figure that at least one includes data lines information;
Step is formulated in the zone, obtains default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
Embed step, described two-dimension code fundamental figure is embedded in this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
The output step is exported described two-dimension code figure.
2. computer two-dimensional code generating method as claimed in claim 1 is characterized in that, and is before or after described embedding step, further comprising the steps of:
The lines read step reads the data lines information in the described two-dimension code fundamental figure at random;
The lines filling step is filled into all or part zone except described data identification zone in the described pattern with the described data lines information that reads at random.
3. computer two-dimensional code generating method as claimed in claim 1 or 2 is characterized in that, and is before described output step, further comprising the steps of:
The color-match step is modified as one or more colors that color with described pattern is identical or be complementary with the black data lines in the described pattern.
4. computer two-dimensional code generating method as claimed in claim 3 is characterized in that: described pattern is rule or irregular geometric figure.
5. computer two-dimensional code generating method as claimed in claim 4, it is characterized in that: described pattern is cartoon pattern, geometric figure, animals and plants pattern or personal portrait.
6. computer two-dimensional sign indicating number figure generating apparatus is characterized in that this device includes:
Data obtain the unit, are used for obtaining at least one and include the two-dimension code fundamental figure of data lines information;
The unit is formulated in the zone, be used for obtaining default pattern, in this pattern selected one with identical, the similar or proportional data identification of described two-dimension code fundamental figure zone;
Embed the unit, be used for described two-dimension code fundamental figure is embedded this data identification zone, form a two-dimension code figure that embeds the two-dimension code fundamental figure;
Output unit is used for the described two-dimension code figure of output.
7. computer two-dimensional sign indicating number generating apparatus as claimed in claim 6 is characterized in that, also includes:
The lines reading unit links to each other with described embedding unit, is used for reading at random the data lines information of described two-dimension code fundamental figure;
The lines filler cells links to each other with described lines reading unit, and the described data lines information that is used for reading at random is filled into all or part zone of described pattern except described data identification zone.
8. as claim 6 or 7 described computer two-dimensional sign indicating number generating apparatus, it is characterized in that, also include:
The color-match unit links to each other with described embedding unit, is used for black data lines with described pattern and is modified as one or more colors that color with described pattern is identical or be complementary.
9. computer two-dimensional sign indicating number generating apparatus as claimed in claim 8 is characterized in that: described pattern is rule or irregular geometric figure.
10. computer two-dimensional sign indicating number generating apparatus as claimed in claim 9, it is characterized in that: described pattern is cartoon pattern, geometric figure, animals and plants pattern or personal portrait.
CN201310220308.2A 2013-06-05 2013-06-05 Computer two-dimensional code image generation method and device Active CN103295044B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310220308.2A CN103295044B (en) 2013-06-05 2013-06-05 Computer two-dimensional code image generation method and device
PCT/CN2014/079047 WO2014194800A1 (en) 2013-06-05 2014-06-03 Method and apparatus for generating two-dimensional computer code pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310220308.2A CN103295044B (en) 2013-06-05 2013-06-05 Computer two-dimensional code image generation method and device

Publications (2)

Publication Number Publication Date
CN103295044A true CN103295044A (en) 2013-09-11
CN103295044B CN103295044B (en) 2016-02-24

Family

ID=49095871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310220308.2A Active CN103295044B (en) 2013-06-05 2013-06-05 Computer two-dimensional code image generation method and device

Country Status (2)

Country Link
CN (1) CN103295044B (en)
WO (1) WO2014194800A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699865A (en) * 2014-01-15 2014-04-02 吴东辉 Border graphic code
WO2014194800A1 (en) * 2013-06-05 2014-12-11 Xu Ning Method and apparatus for generating two-dimensional computer code pattern
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104778732A (en) * 2015-01-30 2015-07-15 北大方正集团有限公司 Method and device for generating two-dimensional code of image
CN105335773A (en) * 2014-07-30 2016-02-17 北大方正集团有限公司 Coding method and apparatus for QR codes
CN105989390A (en) * 2015-02-11 2016-10-05 北京鼎九信息工程研究院有限公司 Generation method of two-dimensional code and apparatus thereof
CN106557798A (en) * 2015-09-24 2017-04-05 沈维 A kind of compound mark and the method for forming the compound mark
WO2018049774A1 (en) * 2016-09-13 2018-03-22 江苏图码信息科技有限公司 Two-dimensional code product of hand-drawn pattern or character and application components thereof
CN109597951A (en) * 2018-12-05 2019-04-09 广州酷狗计算机科技有限公司 Information sharing method, device, terminal and storage medium
CN112668031A (en) * 2021-03-15 2021-04-16 尤尼泰克(嘉兴)信息技术有限公司 Coding and decoding method and device for network file protection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070277150A1 (en) * 2006-03-03 2007-11-29 Namco Bandai Games Inc. Program, information storage medium, two-dimensional code generation system, image generation system and printed material
CN101859388A (en) * 2009-04-09 2010-10-13 佳能株式会社 Image processing system and image forming method
CN102799920A (en) * 2012-06-28 2012-11-28 王学武 Two-dimensional code generation system and method and two-dimensional code identification system and method in combination with image
CN102968654A (en) * 2012-10-26 2013-03-13 吴东杰 Method and system for producing information recognizable by naked eyes in plane of two-dimensional (2D) code and 2D code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295044B (en) * 2013-06-05 2016-02-24 徐宁 Computer two-dimensional code image generation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070277150A1 (en) * 2006-03-03 2007-11-29 Namco Bandai Games Inc. Program, information storage medium, two-dimensional code generation system, image generation system and printed material
CN101859388A (en) * 2009-04-09 2010-10-13 佳能株式会社 Image processing system and image forming method
CN102799920A (en) * 2012-06-28 2012-11-28 王学武 Two-dimensional code generation system and method and two-dimensional code identification system and method in combination with image
CN102968654A (en) * 2012-10-26 2013-03-13 吴东杰 Method and system for producing information recognizable by naked eyes in plane of two-dimensional (2D) code and 2D code

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014194800A1 (en) * 2013-06-05 2014-12-11 Xu Ning Method and apparatus for generating two-dimensional computer code pattern
CN103699865A (en) * 2014-01-15 2014-04-02 吴东辉 Border graphic code
CN103699865B (en) * 2014-01-15 2019-01-25 吴东辉 A kind of border graphic code
CN105335773B (en) * 2014-07-30 2018-05-04 北大方正集团有限公司 QR code encoding methods and device
CN105335773A (en) * 2014-07-30 2016-02-17 北大方正集团有限公司 Coding method and apparatus for QR codes
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104778732A (en) * 2015-01-30 2015-07-15 北大方正集团有限公司 Method and device for generating two-dimensional code of image
CN104778732B (en) * 2015-01-30 2017-09-26 北大方正集团有限公司 The two-dimensional code generation method and device of image
CN105989390A (en) * 2015-02-11 2016-10-05 北京鼎九信息工程研究院有限公司 Generation method of two-dimensional code and apparatus thereof
CN106557798A (en) * 2015-09-24 2017-04-05 沈维 A kind of compound mark and the method for forming the compound mark
WO2018049774A1 (en) * 2016-09-13 2018-03-22 江苏图码信息科技有限公司 Two-dimensional code product of hand-drawn pattern or character and application components thereof
CN109597951A (en) * 2018-12-05 2019-04-09 广州酷狗计算机科技有限公司 Information sharing method, device, terminal and storage medium
CN112668031A (en) * 2021-03-15 2021-04-16 尤尼泰克(嘉兴)信息技术有限公司 Coding and decoding method and device for network file protection

Also Published As

Publication number Publication date
WO2014194800A1 (en) 2014-12-11
CN103295044B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103295044A (en) Two-dimensional computer code pattern generation method and device
CN102667913B (en) Augmented reality system method and apparatus for displaying an item image in acontextual environment
CN102609256B (en) A kind of Dynamic Graph table generating method based on webpage
CN109801205B (en) Traceable implicit watermark adding method and device
Graham et al. Featured graphic: Digital divide: the geography of Internet access
Xu et al. Hidden message in a deformation-based texture
US20140326793A1 (en) Techniques for generating customized two-dimensional barcodes
CN206348843U (en) Combined two-dimension code anti-fake system, reading device
ATE294424T1 (en) HIDING IMAGES IN HALFTONE IMAGES
CN106341403A (en) Identifying code theft preventing method
CN104050400B (en) A kind of web page interlinkage guard method that steganography is encoded based on command character
CN110851682A (en) Text anti-crawler method, server and display terminal
CN104899632B (en) A kind of combined type two-dimension code label and its generation method and recognition methods
Kim et al. A computational and perceptual account of motion lines
CN105844479A (en) Dot matrix image used in precious metals, generation method and application method thereof
CN102831530A (en) Two-dimensional graph coding anti-fake based method and tag and making method of two-dimensional graph coding anti-fake based tag
CN101593247A (en) Utilize the literal body characteristics to carry the text digital water mark technology of watermark information
CN105184595A (en) Mobile internet big data analysis technique based two-dimension code anti-counterfeiting cloud system and application method thereof
CN103902711A (en) Method and system for embedding two-dimension code images into webpages
Joukovsky et al. Multi‐modal deep network for RGB‐D segmentation of clothes
CN106897650A (en) The scan method and its scanning device of Quick Response Code
CN116127419A (en) Data processing method, data identification method, font file generation method and device
CN103824006B (en) A kind of mobile phone application software automatically generates the method and system of watermark
Zhang et al. A fragile watermarking scheme based on hash function for web pages
JP2016091561A (en) Information display/reading system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant