WO2014194800A1 - Method and apparatus for generating two-dimensional computer code pattern - Google Patents

Method and apparatus for generating two-dimensional computer code pattern Download PDF

Info

Publication number
WO2014194800A1
WO2014194800A1 PCT/CN2014/079047 CN2014079047W WO2014194800A1 WO 2014194800 A1 WO2014194800 A1 WO 2014194800A1 CN 2014079047 W CN2014079047 W CN 2014079047W WO 2014194800 A1 WO2014194800 A1 WO 2014194800A1
Authority
WO
WIPO (PCT)
Prior art keywords
pattern
code
data
graphic
computer
Prior art date
Application number
PCT/CN2014/079047
Other languages
French (fr)
Chinese (zh)
Inventor
徐宁
Original Assignee
Xu Ning
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 Xu Ning filed Critical Xu Ning
Publication of WO2014194800A1 publication Critical patent/WO2014194800A1/en

Links

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

Definitions

  • the invention relates to a computer two-dimensional code technology, in particular to a computer two-dimensional code graphic generation method and device.
  • 2-dimensional bar code also known as 2D bar code
  • 2D bar code is a black and white graphic data symbol information distributed in a plane (two-dimensional direction) with a certain geometric pattern;
  • QR codes can be used in a wide range of applications, such as: product anti-counterfeiting / traceability, advertising push, website links, data downloads, commodity trading, positioning / navigation, electronic voucher, vehicle management and more.
  • the inventors have found in the process of implementing the present invention that, as shown in FIG. 1, the two-dimensional code patterns of the prior art are black and white squares, or as shown in FIG. 2, although some two-dimensional codes are synthesized at the center position. Some pattern marks, but the overall view is still black and white squares, such two-dimensional code graphics are monotonous, monotonous, unsightly, it is difficult to attract users' interest.
  • the technical problem to be solved by the present invention is to provide a computer two-dimensional code pattern generating method and device, which can generate diversified two-dimensional code graphics, greatly improve user experience comfort, and quickly attract user interest.
  • a technical solution adopted by the present invention is: Providing a computer 2D code pattern generation method, the method comprising the following steps:
  • An output step of outputting the two-dimensional code pattern is
  • a texture reading step of randomly reading data texture information in the basic pattern of the two-dimensional code a texture filling step of filling the randomly read data texture information into the pattern except the data identification area All or part of the area.
  • the pattern is a regular or irregular geometric figure.
  • the pattern is a cartoon pattern, a geometric figure, an animal and plant pattern, or a portrait.
  • another technical solution adopted by the present invention is: Providing a computer two-dimensional code pattern generating device, the device comprising:
  • a data obtaining unit configured to obtain at least one two-dimensional code basic graphic including data texture information
  • a region formulating unit configured to obtain a preset pattern, wherein one selected in the pattern is the same as the basic graphic of the two-dimensional code, Similar or proportional data identification area;
  • An embedding unit configured to embed the two-dimensional code basic graphic into the data identification area to form a two-dimensional code graphic in which a basic graphic of the two-dimensional code is embedded;
  • an output unit configured to output the two-dimensional code graphic.
  • a texture reading unit connected to the embedded unit, for randomly reading data texture information in the basic pattern of the two-dimensional code
  • a texture filling unit is connected to the texture reading unit for filling the randomly read data texture information into all or part of the pattern except the data identification area.
  • a color matching unit is coupled to the embedding unit for modifying black data lines in the pattern to one or more colors that are the same or match the color of the pattern.
  • the pattern is a regular or irregular geometric figure.
  • the pattern is a cartoon pattern, a geometric figure, an animal and plant pattern, or a portrait.
  • the beneficial effects of the invention are:
  • Embodiments of the present invention select a data identification area in an arbitrary preset pattern,
  • the two-dimensional code basic image carrying the data information is embedded in the data identification area, thereby generating a two-dimensional code pattern whose overall shape is the preset pattern, and the two-dimensional code pattern can be various and beautiful.
  • the pattern can also be customized according to the user's needs.
  • the computer program only needs to read the basic data of the two-dimensional code in the data identification area, and can read the data information loaded by the computer program. Greatly improved user experience comfort and quickly attracted user interest.
  • FIG. 1 is a schematic diagram of a first two-dimensional code pattern of the prior art.
  • FIG. 2 is a schematic diagram of a second type of two-dimensional code pattern of the prior art.
  • FIG. 3 is a flow chart of a method of a first embodiment of a computer two-dimensional code pattern generation method according to the present invention.
  • 4 is a flow chart of a method of a second embodiment of a computer two-dimensional code pattern generation method according to the present invention.
  • Fig. 5 is a view showing the configuration of a first embodiment of a computer two-dimensional code pattern generating apparatus of the present invention.
  • Fig. 6 is a view showing the configuration of a second embodiment of the computer two-dimensional code pattern generating apparatus of the present invention.
  • Fig. 7 is a view showing a first example of a computer two-dimensional code pattern generated by the first embodiment of the computer two-dimensional code pattern generating method of the present invention.
  • Fig. 8 is a view showing the first example of the computer two-dimensional code pattern generated by the second embodiment of the computer two-dimensional code pattern generating method or apparatus of the present invention.
  • Fig. 9 is a third example of the computer two-dimensional code pattern generated by the second embodiment of the computer two-dimensional code pattern generating method of the present invention.
  • a first embodiment of a computer two-dimensional code pattern generating method provided by the present invention is described in detail below with reference to FIG. 3 and FIG. 7. As shown in FIG. 3, the present embodiment implements a computer two-dimensional code pattern generating process mainly including the following steps:
  • a preset pattern is obtained, and a data recognition area which is the same, similar or proportional to the basic pattern of the two-dimensional code is selected in the pattern;
  • the two-dimensional code basic pattern is embedded in the data identification area to form a two-dimensional code pattern in which the basic pattern of the two-dimensional code is embedded;
  • the two-dimensional code pattern is output.
  • the black data texture in the pattern is modified to one or more colors that are the same or match the color of the pattern.
  • the pattern in this embodiment may be any regular or irregular geometric figure, such as: cartoon graphics, geometric figures, animal and plant patterns, or portraits.
  • Fig. 7 shows an example of a two-dimensional code pattern generated using the method of the embodiment.
  • FIG. 1 A second embodiment of a computer two-dimensional code pattern generation method provided by the present invention is described in detail below with reference to FIG. 4, FIG. 8, and FIG. 9. As shown in FIG. 1, the embodiment implements a computer two-dimensional code pattern generation process and the foregoing implementation.
  • the example is basically the same, except that, in this embodiment, after the embedding step S3, the following steps are further included:
  • the texture reading step S6 the data texture information in the two-dimensional code basic pattern is randomly read; in the texture filling step S7, the randomly read data texture information is filled into the pattern. All or part of the area outside the data identification area.
  • the above-described texture reading step S6 and the texture filling step S7 may be performed before the embedding step S3, and the same effect can be achieved.
  • the first embodiment of the computer two-dimensional code generating apparatus provided by the present invention is described in detail below with reference to FIG. 5 and FIG. 7. As shown in FIG. 5, the embodiment mainly includes:
  • the data obtaining unit 1 is configured to obtain at least one basic pattern of the two-dimensional code including the data texture information
  • the area formulating unit 2 is configured to obtain a preset pattern, and select a data recognition area in the pattern that is the same, similar or proportional to the basic pattern of the two-dimensional code;
  • the embedding unit 3 is configured to embed the two-dimensional code basic graphic into the data identification area to form a two-dimensional code graphic in which a basic graphic of the two-dimensional code is embedded;
  • the output unit 4 is configured to output the two-dimensional code graphic.
  • the embodiment may further include: A color matching unit 5 is connected to the embedding unit 3 for modifying the black data texture in the pattern to one or more colors that are the same or match the color of the pattern.
  • the color matching unit 5 may be disposed between the texture filling unit 7 and the output unit 4 to achieve the same effect.
  • the pattern in this embodiment may be any regular or irregular geometric figure, such as: cartoon graphics, geometric figures, animal and plant patterns, or portraits.
  • Fig. 7 shows an example of a two-dimensional code pattern generated using the apparatus of the embodiment.
  • Embodiments also include:
  • a texture reading unit 6 connected to the embedded unit 3, for randomly reading data texture information in the basic pattern of the two-dimensional code;
  • a texture filling unit 7 is connected to the texture reading unit 6 for filling the randomly read data texture information into all or part of the pattern except the data identification area.

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

Disclosed are a method and an apparatus for generating a two-dimensional computer code pattern. The method comprises the following steps: a data acquisition step: acquiring at least one two-dimensional code fundamental pattern comprising data pattern information; a region formulating step: acquiring a preset pattern, and selecting a data recognition region the same as, similar to or proportioned with the two-dimensional code fundamental pattern from the pattern; an embedding step: embedding the two-dimensional code fundamental pattern into the data recognition region to form a two-dimensional pattern embedded with the two-dimensional code fundamental pattern; and an outputting step: outputting the two-dimensional pattern. In the present invention, by using the foregoing mode, diversified two-dimensional patterns can be generated, thereby greatly improving user experience and comfort, and rapidly attracting user interest.

Description

计算机二維码图形生成方法及装置  Computer two-dimensional code graphic generation method and device
【技术领域】  [Technical Field]
本发明涉及计算机二維码技术, 尤其涉及一种计算机二維码图形生成方法 及装置。  The invention relates to a computer two-dimensional code technology, in particular to a computer two-dimensional code graphic generation method and device.
【背景技术】 【Background technique】
二維码 (2-dimensional bar code) , 又称二維条码, 是用特定的几何图形按一 定规律在平面 (二維方向) 上分布的黑白相间的图形记录数据符号信息; 在代 码编制上巧妙地利用构成计算机内部逻辑基础的 "0 "、 " 1 " 比特流的概念, 使 用若干个与二进制相对应的几何形体来表示文字数值信息, 通过图象输入设备 或光电扫描设备自动识读以实现信息自动处理。 同时还具有对不同行的信息自 动识别功能、 及处理图形旋转变化等特点。 是所有信息数据的一把钥匙。 在现 代商业活动中, 二維码可实现的应用十分广泛, 如: 产品防伪 /溯源、 广告推送、 网站链接、 数据下载、 商品交易、 定位 /导航、 电子凭证、 车辆管理等等。  2-dimensional bar code, also known as 2D bar code, is a black and white graphic data symbol information distributed in a plane (two-dimensional direction) with a certain geometric pattern; Using the concept of the "0" and "1" bitstreams that form the basis of the computer's internal logic, use several geometric shapes corresponding to the binary to represent the literal numerical information, which is automatically read by the image input device or the photoelectric scanning device. Information is processed automatically. At the same time, it also has the functions of automatic recognition of information on different lines and processing of graphic rotation changes. It is a key to all information data. In modern business activities, QR codes can be used in a wide range of applications, such as: product anti-counterfeiting / traceability, advertising push, website links, data downloads, commodity trading, positioning / navigation, electronic voucher, vehicle management and more.
然而, 发明人在实施本发明的过程中发现, 如图 1 所示, 现有技术的二維 码图形, 都是黑白的正方形, 或者如图 2 所示, 虽然有些二維码在中心位置合 成了一些图案标识, 但整体来看还是以黑白的正方形为主, 这样的二維码图形 单调、 千篇一律, 不美观, 很难吸引用户的兴趣。  However, the inventors have found in the process of implementing the present invention that, as shown in FIG. 1, the two-dimensional code patterns of the prior art are black and white squares, or as shown in FIG. 2, although some two-dimensional codes are synthesized at the center position. Some pattern marks, but the overall view is still black and white squares, such two-dimensional code graphics are monotonous, monotonous, unsightly, it is difficult to attract users' interest.
【发明内容】 [Summary of the Invention]
本发明主要解决的技术问题是提供一种计算机二維码图形生成方法及装 置, 可生成多样化的二維码图形, 大大提高用户体验舒适度, 快速吸引用户兴 趣。  The technical problem to be solved by the present invention is to provide a computer two-dimensional code pattern generating method and device, which can generate diversified two-dimensional code graphics, greatly improve user experience comfort, and quickly attract user interest.
为解决上述技术问题, 本发明采用的一个技术方案是: 提供一种计算机二 維码图形生成方法, 该方法包括以下步骤:  In order to solve the above technical problem, a technical solution adopted by the present invention is: Providing a computer 2D code pattern generation method, the method comprising the following steps:
数据获得步骤, 获得至少一个包含有数据紋路信息的二維码基本图形; 区域制定步骤, 获得预设的图案, 在该图案中选定一个与所述二維码基本 图形相同、 相似或成比例的数据识别区域;  a data obtaining step of obtaining at least one two-dimensional code basic pattern including data texture information; a region formulating step of obtaining a preset pattern, wherein one of the patterns is selected to be the same, similar or proportional to the basic pattern of the two-dimensional code Data identification area;
嵌入步骤, 将所述二維码基本图形嵌入该数据识别区域中, 形成一个嵌入 了二維码基本图形的二維码图形; An embedding step of embedding the two-dimensional code basic graphic in the data recognition area to form an embedding a two-dimensional code pattern of a basic pattern of a two-dimensional code;
输出步骤, 输出所述二維码图形。  An output step of outputting the two-dimensional code pattern.
其中, 在所述嵌入步骤之前或之后, 还包括以下步骤:  Wherein, before or after the embedding step, the following steps are further included:
紋路读取步骤, 随机读取所述二維码基本图形中的数据紋路信息; 紋路填充步骤, 将随机读取到的所述数据紋路信息填充到所述图案中除所 述数据识别区域以外的所有或部分区域。  a texture reading step of randomly reading data texture information in the basic pattern of the two-dimensional code; a texture filling step of filling the randomly read data texture information into the pattern except the data identification area All or part of the area.
其中, 在所述输出步骤之前, 还包括以下步骤:  Wherein, before the outputting step, the following steps are further included:
颜色匹配步骤, 将所述图案中的黑色数据紋路修改成与所述图案的颜色相 同或相匹配的一种或多种颜色。  A color matching step of modifying the black data texture in the pattern to one or more colors that match or match the color of the pattern.
其中, 所述图案为规则或者不规则的几何图形。  Wherein, the pattern is a regular or irregular geometric figure.
其中, 所述图案为卡通图案、 几何图形、 动植物图案、 或者人物肖像。 为解决上述技术问题, 本发明采用的另一个技术方案是: 提供一种计算机 二維码图形生成装置, 该装置包括有:  Wherein, the pattern is a cartoon pattern, a geometric figure, an animal and plant pattern, or a portrait. In order to solve the above technical problem, another technical solution adopted by the present invention is: Providing a computer two-dimensional code pattern generating device, the device comprising:
数据获得单元, 用于获得至少一个包含有数据紋路信息的二維码基本图形; 区域制定单元, 用于获得预设的图案, 在该图案中选定一个与所述二維码 基本图形相同、 相似或成比例的数据识别区域;  a data obtaining unit, configured to obtain at least one two-dimensional code basic graphic including data texture information; a region formulating unit, configured to obtain a preset pattern, wherein one selected in the pattern is the same as the basic graphic of the two-dimensional code, Similar or proportional data identification area;
嵌入单元, 用于将所述二維码基本图形嵌入该数据识别区域中, 形成一个 嵌入了二維码基本图形的二維码图形;  An embedding unit, configured to embed the two-dimensional code basic graphic into the data identification area to form a two-dimensional code graphic in which a basic graphic of the two-dimensional code is embedded;
输出单元, 用于输出所述二維码图形。  And an output unit, configured to output the two-dimensional code graphic.
其中, 还包括有:  Among them, there are also:
紋路读取单元, 与所述嵌入单元相连, 用于随机读取所述二維码基本图形 中的数据紋路信息;  a texture reading unit, connected to the embedded unit, for randomly reading data texture information in the basic pattern of the two-dimensional code;
紋路填充单元, 与所述紋路读取单元相连, 用于将随机读取到的所述数据 紋路信息填充到所述图案中除所述数据识别区域以外的所有或部分区域。  A texture filling unit is connected to the texture reading unit for filling the randomly read data texture information into all or part of the pattern except the data identification area.
其中, 还包括有:  Among them, there are also:
颜色匹配单元, 与所述嵌入单元相连, 用于将所述图案中的黑色数据紋路 修改成与所述图案的颜色相同或相匹配的一种或多种颜色。  A color matching unit is coupled to the embedding unit for modifying black data lines in the pattern to one or more colors that are the same or match the color of the pattern.
其中, 所述图案为规则或者不规则的几何图形。  Wherein, the pattern is a regular or irregular geometric figure.
其中, 所述图案为卡通图案、 几何图形、 动植物图案、 或者人物肖像。 本发明的有益效果是:  Wherein, the pattern is a cartoon pattern, a geometric figure, an animal and plant pattern, or a portrait. The beneficial effects of the invention are:
本发明的实施例通过在一个任意预设的图案中选定一个数据识别区域, 将 载有数据信息的二維码基本图像嵌入该数据识别区域中, 从而生成了一个整体 形状为所述预设的图案的二維码图形, 该二維码图形可以是各种多样化的富有 美观的图案, 还可以根据用户需要定制, 计算机程序只需要对数据识别区域中 的二維码基本图形, 即可读出其装载的数据信息。 大大提高了用户体验舒适度, 快速吸引了用户兴趣。 Embodiments of the present invention select a data identification area in an arbitrary preset pattern, The two-dimensional code basic image carrying the data information is embedded in the data identification area, thereby generating a two-dimensional code pattern whose overall shape is the preset pattern, and the two-dimensional code pattern can be various and beautiful. The pattern can also be customized according to the user's needs. The computer program only needs to read the basic data of the two-dimensional code in the data identification area, and can read the data information loaded by the computer program. Greatly improved user experience comfort and quickly attracted user interest.
【附图说明】 [Description of the Drawings]
图 1是现有技术的第一种二維码图形示意图。  1 is a schematic diagram of a first two-dimensional code pattern of the prior art.
图 2是现有技术的第二种二維码图形示意图。  2 is a schematic diagram of a second type of two-dimensional code pattern of the prior art.
图 3是本发明的计算机二維码图形生成方法第一实施例的方法流程图。 图 4是本发明的计算机二維码图形生成方法第二实施例的方法流程图。 图 5是本发明的计算机二維码图形生成装置第一实施例的组成结构图。 图 6是本发明的计算机二維码图形生成装置第二实施例的组成结构图。 图 7 是本发明的计算机二維码图形生成方法第一实施例生成的计算机二維 码图形的第一样例。  3 is a flow chart of a method of a first embodiment of a computer two-dimensional code pattern generation method according to the present invention. 4 is a flow chart of a method of a second embodiment of a computer two-dimensional code pattern generation method according to the present invention. Fig. 5 is a view showing the configuration of a first embodiment of a computer two-dimensional code pattern generating apparatus of the present invention. Fig. 6 is a view showing the configuration of a second embodiment of the computer two-dimensional code pattern generating apparatus of the present invention. Fig. 7 is a view showing a first example of a computer two-dimensional code pattern generated by the first embodiment of the computer two-dimensional code pattern generating method of the present invention.
图 8 是本发明的计算机二維码图形生成方法或装置第二实施例生成的计算 机二維码图形的第一样例。  Fig. 8 is a view showing the first example of the computer two-dimensional code pattern generated by the second embodiment of the computer two-dimensional code pattern generating method or apparatus of the present invention.
图 9 是本发明的计算机二維码图形生成方法火装置第二实施例生成的计算 机二維码图形的第三样例。  Fig. 9 is a third example of the computer two-dimensional code pattern generated by the second embodiment of the computer two-dimensional code pattern generating method of the present invention.
【具体实施方式】 【detailed description】
下面参考图 3和图 7详细描述本发明提供的计算机二維码图形生成方法的 第一实施例; 如图 3 所示, 本实施例实现一次计算机二維码图形生成流程主要 包括有以下步骤:  A first embodiment of a computer two-dimensional code pattern generating method provided by the present invention is described in detail below with reference to FIG. 3 and FIG. 7. As shown in FIG. 3, the present embodiment implements a computer two-dimensional code pattern generating process mainly including the following steps:
在数据获得步骤 S1 中, 获得至少一个包含有数据紋路信息的二維码基本图 形;  In the data obtaining step S1, at least one basic pattern of the two-dimensional code including the data texture information is obtained;
在区域制定步骤 S2中, 获得预设的图案, 在该图案中选定一个与所述二維 码基本图形相同、 相似或成比例的数据识别区域;  In the area making step S2, a preset pattern is obtained, and a data recognition area which is the same, similar or proportional to the basic pattern of the two-dimensional code is selected in the pattern;
在嵌入步骤 S3中, 将所述二維码基本图形嵌入该数据识别区域中, 形成一 个嵌入了二維码基本图形的二維码图形; 在输出步骤 S4中, 输出所述二維码图形。 In the embedding step S3, the two-dimensional code basic pattern is embedded in the data identification area to form a two-dimensional code pattern in which the basic pattern of the two-dimensional code is embedded; In the outputting step S4, the two-dimensional code pattern is output.
具体实现时, 为了使输出图案达到更美观的效果考虑, 在所述输出步骤 S4 之前, 还可包括以下步骤:  In a specific implementation, in order to make the output pattern achieve a more beautiful effect, before the outputting step S4, the following steps may be further included:
在颜色匹配步骤 S5中, 将所述图案中的黑色数据紋路修改成与所述图案的 颜色相同或相匹配的一种或多种颜色。  In the color matching step S5, the black data texture in the pattern is modified to one or more colors that are the same or match the color of the pattern.
本实施例中的图案, 可以是任意规则或者不规则的几何图形, 如: 卡通图 案、 几何图形、 动植物图案、 或者人物肖像等。 图 7 示出了使用本实施例的方 法生成的二維码图形的一个样例。  The pattern in this embodiment may be any regular or irregular geometric figure, such as: cartoon graphics, geometric figures, animal and plant patterns, or portraits. Fig. 7 shows an example of a two-dimensional code pattern generated using the method of the embodiment.
下面参考图 4、图 8和图 9详细描述本发明提供的计算机二維码图形生成方 法的第二实施例; 如图 1 所示, 本实施例实现一次计算机二維码图形生成流程 与前述实施例基本相同, 区别仅在于, 本实施例中, 在所述嵌入步骤 S3之后, 还包括以下步骤:  A second embodiment of a computer two-dimensional code pattern generation method provided by the present invention is described in detail below with reference to FIG. 4, FIG. 8, and FIG. 9. As shown in FIG. 1, the embodiment implements a computer two-dimensional code pattern generation process and the foregoing implementation. The example is basically the same, except that, in this embodiment, after the embedding step S3, the following steps are further included:
在紋路读取步骤 S6中, 随机读取所述二維码基本图形中的数据紋路信息; 在紋路填充步骤 S7中, 将随机读取到的所述数据紋路信息填充到所述图案 中除所述数据识别区域以外的所有或部分区域。  In the texture reading step S6, the data texture information in the two-dimensional code basic pattern is randomly read; in the texture filling step S7, the randomly read data texture information is filled into the pattern. All or part of the area outside the data identification area.
或者, 上述紋路读取步骤 S6和紋路填充步骤 S7也可在嵌入步骤 S3之前执 行, 可达到相同效果。  Alternatively, the above-described texture reading step S6 and the texture filling step S7 may be performed before the embedding step S3, and the same effect can be achieved.
图 8和图 9分别示出了使用本实施例的方法生成的二維码图形的第一样例 和第二样例。  8 and 9 respectively show a first example and a second example of the two-dimensional code pattern generated using the method of the present embodiment.
其余相同之处, 不再赘述。  The rest of the similarities will not be repeated.
下面参考图 5和图 7详细描述本发明提供的计算机二維码生成装置的第一 实施例; 如图 5所示, 本实施例主要包括有:  The first embodiment of the computer two-dimensional code generating apparatus provided by the present invention is described in detail below with reference to FIG. 5 and FIG. 7. As shown in FIG. 5, the embodiment mainly includes:
数据获得单元 1, 用于获得至少一个包含有数据紋路信息的二維码基本图 形;  The data obtaining unit 1 is configured to obtain at least one basic pattern of the two-dimensional code including the data texture information;
区域制定单元 2, 用于获得预设的图案, 在该图案中选定一个与所述二維码 基本图形相同、 相似或成比例的数据识别区域;  The area formulating unit 2 is configured to obtain a preset pattern, and select a data recognition area in the pattern that is the same, similar or proportional to the basic pattern of the two-dimensional code;
嵌入单元 3, 用于将所述二維码基本图形嵌入该数据识别区域中, 形成一个 嵌入了二維码基本图形的二維码图形;  The embedding unit 3 is configured to embed the two-dimensional code basic graphic into the data identification area to form a two-dimensional code graphic in which a basic graphic of the two-dimensional code is embedded;
输出单元 4, 用于输出所述二維码图形。  The output unit 4 is configured to output the two-dimensional code graphic.
具体实现时, 为了使输出图案达到更美观的效果考虑, 本实施例还可包括 有: 颜色匹配单元 5, 与所述嵌入单元 3相连, 用于将所述图案中的黑色数据紋 路修改成与所述图案的颜色相同或相匹配的一种或多种颜色。 In a specific implementation, in order to achieve a more aesthetic effect of the output pattern, the embodiment may further include: A color matching unit 5 is connected to the embedding unit 3 for modifying the black data texture in the pattern to one or more colors that are the same or match the color of the pattern.
或者, 所述颜色匹配单元 5也可设于所述紋路填充单元 7和输出单元 4之 间, 可达到相同效果。  Alternatively, the color matching unit 5 may be disposed between the texture filling unit 7 and the output unit 4 to achieve the same effect.
本实施例中的图案, 可以是任意规则或者不规则的几何图形, 如: 卡通图 案、 几何图形、 动植物图案、 或者人物肖像等。 图 7 示出了使用本实施例的装 置生成的二維码图形的一个样例。  The pattern in this embodiment may be any regular or irregular geometric figure, such as: cartoon graphics, geometric figures, animal and plant patterns, or portraits. Fig. 7 shows an example of a two-dimensional code pattern generated using the apparatus of the embodiment.
下面参考图 5、图 8和图 9详细描述本发明提供的计算机二維码图形生成方 法的第二实施例; 如图 1所示, 本实施例与前述实施例基本相同, 区别仅在于, 本实施例还包括有:  The second embodiment of the method for generating a computer two-dimensional code pattern provided by the present invention is described in detail below with reference to FIG. 5, FIG. 8, and FIG. 9. As shown in FIG. 1, the embodiment is basically the same as the foregoing embodiment, and the only difference is that Embodiments also include:
紋路读取单元 6, 与所述嵌入单元 3相连, 用于随机读取所述二維码基本图 形中的数据紋路信息;  a texture reading unit 6, connected to the embedded unit 3, for randomly reading data texture information in the basic pattern of the two-dimensional code;
紋路填充单元 7, 与所述紋路读取单元 6相连, 用于将随机读取到的所述数 据紋路信息填充到所述图案中除所述数据识别区域以外的所有或部分区域。  A texture filling unit 7 is connected to the texture reading unit 6 for filling the randomly read data texture information into all or part of the pattern except the data identification area.
图 8和图 9分别示出了使用本实施例的装置生成的二維码图形的第一样例 和第二样例。  8 and 9 respectively show a first example and a second example of a two-dimensional code pattern generated using the apparatus of the embodiment.
其余相同之处, 不再赘述。 以上所述仅为本发明的实施方式, 并非因此限制本发明的专利范围, 凡是 利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接 运用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The rest of the similarities will not be repeated. The above description is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation using the specification and the drawings of the present invention may be directly or indirectly applied to other related technologies. The scope of the invention is included in the scope of patent protection of the present invention.

Claims

权 利 要 求 Rights request
1、 一种计算机二維码图形生成方法, 其中, 该方法包括以下步骤: 数据获得步骤, 获得至少一个包含有数据紋路信息的二維码基本图形; 区域制定步骤, 获得预设的图案, 在该图案中选定一个与所述二維码基本 图形相同、 相似或成比例的数据识别区域; 1. A computer QR code graphic generation method, wherein the method includes the following steps: a data acquisition step, obtaining at least one basic QR code graphic containing data texture information; an area formulation step, obtaining a preset pattern, in Select a data recognition area in the pattern that is the same, similar or proportional to the basic graphic of the QR code;
嵌入步骤, 将所述二維码基本图形嵌入该数据识别区域中, 形成一个嵌入 了二維码基本图形的二維码图形; The embedding step is to embed the QR code basic graphic into the data recognition area to form a QR code graphic in which the QR code basic graphic is embedded;
输出步骤, 输出所述二維码图形。 The output step is to output the QR code graphic.
2、 如权利要求 1所述的计算机二維码生成方法, 其中, 在所述嵌入步骤之 前或之后, 还包括以下步骤: 2. The computer QR code generation method according to claim 1, wherein before or after the embedding step, the following steps are further included:
紋路读取步骤, 随机读取所述二維码基本图形中的数据紋路信息; 紋路填充步骤, 将随机读取到的所述数据紋路信息填充到所述图案中除所 述数据识别区域以外的所有或部分区域。 The texture reading step is to randomly read the data texture information in the basic graphics of the QR code; the texture filling step is to fill the randomly read data texture information into the pattern except the data identification area. All or part of the area.
3、 如权利要求 1或 2所述的计算机二維码生成方法, 其中, 在所述输出步 骤之前, 还包括以下步骤: 3. The computer QR code generation method according to claim 1 or 2, wherein before the output step, the following steps are further included:
颜色匹配步骤, 将所述图案中的黑色数据紋路修改成与所述图案的颜色相 同或相匹配的一种或多种颜色。 The color matching step is to modify the black data lines in the pattern to one or more colors that are the same as or match the color of the pattern.
4、 如权利要求 3所述的计算机二維码生成方法, 其中, 所述图案为规则或 者不规则的几何图形。 4. The computer QR code generation method according to claim 3, wherein the pattern is a regular or irregular geometric figure.
5、 如权利要求 4所述的计算机二維码生成方法, 其中, 所述图案为卡通图 案、 几何图形、 动植物图案、 或者人物肖像。 5. The computer QR code generation method according to claim 4, wherein the pattern is a cartoon pattern, a geometric figure, an animal or plant pattern, or a portrait.
6、 一种计算机二維码图形生成装置, 其中, 该装置包括有: 6. A computer QR code graphic generating device, wherein the device includes:
数据获得单元, 用于获得至少一个包含有数据紋路信息的二維码基本图形; 区域制定单元, 用于获得预设的图案, 在该图案中选定一个与所述二維码 基本图形相同、 相似或成比例的数据识别区域; 嵌入单元, 用于将所述二維码基本图形嵌入该数据识别区域中, 形成一个 嵌入了二維码基本图形的二維码图形; The data acquisition unit is used to obtain at least one QR code basic graphic containing data texture information; the area setting unit is used to obtain a preset pattern, and select one of the patterns that is the same as the QR code basic graphic. Similar or proportional areas of data identification; An embedding unit, used to embed the QR code basic graphic into the data recognition area to form a QR code graphic in which the QR code basic graphic is embedded;
输出单元, 用于输出所述二維码图形。 An output unit is used to output the two-dimensional code graphic.
7、 如权利要求 6所述的计算机二維码生成装置, 其中, 还包括有: 紋路读取单元, 与所述嵌入单元相连, 用于随机读取所述二維码基本图形 中的数据紋路信息; 7. The computer QR code generating device according to claim 6, further comprising: a texture reading unit, connected to the embedding unit, for randomly reading the data texture in the basic graphic of the QR code. information;
紋路填充单元, 与所述紋路读取单元相连, 用于将随机读取到的所述数据 紋路信息填充到所述图案中除所述数据识别区域以外的所有或部分区域。 A texture filling unit, connected to the texture reading unit, is used to fill the randomly read data texture information into all or part of the area in the pattern except the data identification area.
8、 如权利要求 6或 7所述的计算机二維码生成装置, 其中, 还包括有: 颜色匹配单元, 与所述嵌入单元相连, 用于将所述图案中的黑色数据紋路 修改成与所述图案的颜色相同或相匹配的一种或多种颜色。 8. The computer QR code generating device according to claim 6 or 7, further comprising: a color matching unit, connected to the embedding unit, for modifying the black data lines in the pattern to match the desired color. The color of the above pattern is the same or matches one or more colors.
9、 如权利要求 8所述的计算机二維码生成装置, 其中, 所述图案为规则或 者不规则的几何图形。 9. The computer QR code generating device according to claim 8, wherein the pattern is a regular or irregular geometric figure.
10、 如权利要求 9 所述的计算机二維码生成装置, 其中, 所述图案为卡通 图案、 几何图形、 动植物图案、 或者人物肖像。 10. The computer QR code generating device according to claim 9, wherein the pattern is a cartoon pattern, a geometric figure, an animal or plant pattern, or a portrait.
PCT/CN2014/079047 2013-06-05 2014-06-03 Method and apparatus for generating two-dimensional computer code pattern WO2014194800A1 (en)

Applications Claiming Priority (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
CN201310220308.2 2013-06-05

Publications (1)

Publication Number Publication Date
WO2014194800A1 true WO2014194800A1 (en) 2014-12-11

Family

ID=49095871

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079047 WO2014194800A1 (en) 2013-06-05 2014-06-03 Method and apparatus for generating two-dimensional computer code pattern

Country Status (2)

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

Families Citing this family (10)

* 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
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
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
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
CN106599961A (en) * 2016-09-13 2017-04-26 江苏图码信息科技有限公司 Two-dimensional product for hand-drawing pattern or word and the application component thereof
CN109597951B (en) * 2018-12-05 2021-07-02 广州酷狗计算机科技有限公司 Information sharing method and 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
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
CN103295044A (en) * 2013-06-05 2013-09-11 徐宁 Two-dimensional computer code pattern generation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3953501B1 (en) * 2006-03-03 2007-08-08 株式会社バンダイナムコゲームス Program, information storage medium, two-dimensional code generation system, image generation system, and two-dimensional code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103295044A (en) * 2013-06-05 2013-09-11 徐宁 Two-dimensional computer code pattern generation method and device

Also Published As

Publication number Publication date
CN103295044A (en) 2013-09-11
CN103295044B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
WO2014194800A1 (en) Method and apparatus for generating two-dimensional computer code pattern
US9143659B2 (en) Clothing and body covering pattern creation machine and method
JP5542158B2 (en) Layered individualization
US8174539B1 (en) Imprint for visualization and manufacturing
JP5964427B2 (en) Application of production patterns to automatic production of interactive customizable products.
EP3084688B1 (en) Composite information bearing devices
Kerber et al. Computer assisted relief generation—A survey
JP6240256B2 (en) Badge order support device, badge order support system, terminal device, badge order support method, and badge order support program
US20180247446A1 (en) Method and system utilizing texture mapping
JP2007110448A (en) Encoding apparatus, decoding apparatus, encoding method, encoding program, and printed matter generated by them
US20150076219A1 (en) Tactile anti-forgery method using random emboss
US20190026393A1 (en) Highly Custom and Scalable Design System and Method for Articles of Manufacture
JP2023532953A (en) METHOD AND SERVER TO FACILITATE PROVISION OF FOOD INFORMATION
Battiato et al. A novel technique for opus vermiculatum mosaic rendering
US20200090242A1 (en) Method and Computer Program Product for Creating Personalized Artwork
WO2024072542A1 (en) Parametric modelling and grading
US10304107B2 (en) Method and computer program product for creating personalized artwork
JP2011130386A (en) Image display device, image display method, and portable terminal
CN116205786A (en) Virtual fitting method based on text-driven image generation
US10889062B2 (en) Create a surface identifier using a shape memory material
CN107105868A (en) System and method for manufacturing template
CN103821031A (en) Micro two-dimension code information security thread and manufacture method and application thereof
US20160328770A1 (en) Personalization of products for 3d printing
CN110111231A (en) Watermark embedding method, device, equipment and computer readable storage medium
US20240112232A1 (en) Pattern grading

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14807485

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.04.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14807485

Country of ref document: EP

Kind code of ref document: A1