The present invention relates to a system for synthesizing a two dimensional code and a logo and the method thereof.
Because of large information capability and strong error-correction ability, two dimensional codes are widely used in the fields of industry management, logistics management and license management. Especially for recent years, the application of shooting a two dimensional code and identifying information encoded therein is in the ascendant globally, due to the popularity of camera mobile phones. A user may obtain personal information and company information by identifying two dimensional codes on business cards with a camera phone; a user may also obtain advertisement URLs and access web sites for more information by identifying two dimensional codes printed on advertisements.
Nowadays, a two dimension code is usually presented as an intact image, and sometimes with some descriptive texts outside the image. However, this approach has difficulty in associating a two dimensional code with an enterprise logo or a product logo, and occupies larger area. As such, an organic association of the two dimensional code with the enterprise or product logo is more desirable, especially for the case of using the two dimensional code as an advertisement link for identifying by mobile phones.
With respect to the drawbacks and disadvantages in the prior art, the present invention provides a system for synthesizing a two dimensional code and a logo, and the method thereof, which is able to insert logo(s) into a two dimensional code without impacting the interpretation of the two dimensional code.
To achieve the purpose of the present invention as described above, the present invention employs technical solutions below:
A system for synthesizing a two dimensional code and a logo, comprising:
Preferably, a system for synthesizing a two dimensional code and a logo, the logo comprises the forms of image, graph, text and painting.
Preferably, a system for synthesizing a two dimensional code and a logo, characterized in that the code error rate of the new two dimensional code is a summation of a code error rate of the two dimensional code and a code error rate caused by data code words overlapped by the logo.
A method for synthesizing a two dimensional code and a logo, comprising steps as follow:
Preferably, a method for synthesizing a two dimensional code and a logo, the code error rate of the new two dimensional code is a summation of a code error rate of the two dimensional code and a code error rate caused by data code words overlapped by the logo.
The present invention may integrate enterprise logo(s), brand logo(s) and product logo(s) with a two dimensional code as a whole, which may save areas and achieve better effect for brand and product promotion.
According to one aspect of the present invention, a system for generating a synthesized two dimensional code is provided, which comprises synthesizing means, for synthesizing an original two dimensional code and a visually readable logo to form the synthesized two dimensional code, with at least a part of the visually readable logo being overlapped with the original two dimensional code; identifying means, for reading and identifying the synthesized two dimensional code; and adjusting means, if the synthesized two dimensional code being identified by the identifying means has a code error rate larger than an error correction rate, the adjusting means adjusting the size of the visually readable logo and/or the location of the visually readable logo in the original two dimensional code.
According to another aspect of the present invention, a method for generating a synthesized two dimensional code is provided, which comprises a) synthesizing an original two dimensional code and a visually readable logo to form the synthesized two dimensional code, with at least a part of the visually readable logo being overlapped with the original two dimensional code; b) reading and identifying the synthesized two dimensional code; c) if the synthesized two dimensional code being identified by the identifying means has a code error rate larger than an error correction rate, adjusting the size of the visually readable logo and/or the location of the visually readable logo in the original two dimensional code; and d) repeating the steps of b) and c), until the code error rate of the synthesized two dimensional code being not larger than the error correction rate.
According to yet another aspect of the present invention, a synthesized two dimensional code is provided, which comprises an original two dimensional code; and a visually readable logo; wherein at least a part of the visually readable logo is overlapped with the original two dimensional code and wherein the synthesized two dimensional code has a code error rate being not larger than an error correction rate. At least a part of the visually readable logo may be overlapped with the data area of the original two dimensional code. The visually readable logo may also be within the data area of the original two dimensional code.
According to various aspects of the present invention, at least a part of the visually readable logo may be overlapped with a data area of the original two dimensional code, and the code error rate is at least a summation of a code error rate of the original two dimensional code and a code error rate caused by the visually readable logo.
According to various aspects of the present invention, the visually readable logo is selected from a group consisting of an image, a graph, a text, a painting, a script and a combination thereof.
In order to understand the manner in which examples of the present invention are obtained, a more particular description of various examples of the invention briefly described above will be rendered by reference to the appended drawings. Understanding that these drawings depict only typical examples of the invention that are not necessarily drawn to scale and are not therefore to be considered to be limited of its scope, the examples of the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
a shows schematic representations of synthesized images of the example 1 of the present invention;
b shows schematic representations of other example synthesized images of the example 1 of the present invention;
The present invention is further described in details below, with references made to the figures.
As used here, the term “code error rate (CER)” refers to a rate of the number of code words that being identified incorrectly to the total number of code words encoded in a two dimensional code, and specifically refers to a probability of identifying code words incorrectly. As used here, the term “error correction rate (ECR)” refers to a rate of the number of error code words that may be corrected to the total number of code words encoded in a two dimensional code, which may represent the error correction capability of the two dimensional code. As used here, the term “error correction code percentage (ECC %)” refers to a percentage of the number of error correction code words to the total number of code words encoded in a two dimensional code. For different encoding schemes, the relationship of the ERC and the ECC % differs.
As used here, the term “visually readable logo” refers to a logo that may be seen by a person without optical assisting tools. In
The present invention provides a system for synthesizing a two dimensional code and a logo and a method thereof, that is, inserting a logo into an image of a two dimensional code such that a part of the image is overlapped with the logo. Since the two dimensional code has the function of error correction, the encoded information of the two dimensional code may be ensured to be identified completely as if a code error rate attributed to the data code words and error-correction code words overlapped with the logo is less than an error correction rate of the two dimensional code, i.e. the inserted logo would not affect the decoding. The error correction rate differs from different types of two dimensional codes, and even some two dimensional codes of the same type may be set with different error correction rate levels while being encoding. In order to be correctly identified, the data code words and error correction code words overlapped with the logo may be more for a two dimensional code with a higher error correction rate and contrarily less for a two dimensional code with a lower error correction rate.
The synthesizing of a two dimensional code and a logo in the present invention may be practiced in either a manual manner or an automatic manner. As for the manual manner, an existing or newly generated two dimensional code is input into a system (or software) capable of graph edit, with an existing or newly generated logo being also input into the system, and a new synthesized image, which may be stored, printed and transmitted, is generated through manual edit by synthesizing the two dimensional code and the logo. The synthesized image generated may be tested by a identifying terminal for whether it can be decoded, and if not, the location of the logo needs to be adjusted and/or the logo size needs to be decreased to reduce the amount of overlapped data code words and/or error correction code words. And then resume the synthesizing operation, until the identifying terminal may decode steadily.
The present invention may also practice the synthesizing of a two dimensional code and a logo in an automatic manner, that is, to replace the identifying terminal in the above mentioned system to a computer that automatically performs the identifying operation. The computer automatically inputs the synthesized image into a decoding program. If the image cannot be interpreted, the computer automatically adjusts the location and the size of the logo, and repeats the decoding and adjusting, until it may decode steadily.
In the present invention, references to a “logo” may include an image, a graph, a text, a painting and any combination thereof.
As mentioned above are just some examples and the present invention is not limited in this respect. For example, the logo may be a script or other kind of identification. Further more, the skilled in the art will understand that the synthesizing of a two dimensional code and a logo in the present invention may be practiced in both a manual manner and an automatic manner, and the present invention is not limited in this respect. The “adjusting the size of a logo” in the present invention may include changing the shape of a logo, which comprises compressing the logo in one dimension or tapering the logo in one direction and other operations familiar to persons skilled in the art. The “adjusting the location of a logo” in the present invention may include rotating and/or shifting the logo with respect to the orienting area of a two-dimensional code.
In the system for synthesizing a two dimensional code and a logo in accordance with example 1 of the present invention, the synthesizing is performed manually. The two dimensional code may be a two dimensional code with error correction function, such as a DataMatrix code, whose error correction rates can be acquired from Table 1.
According to the RS (Reed-Solomon) Code encoding theory, which is the encoding principle of the DataMatrix code, the error correction rate in this case can be calculated as
So if the code error rate is less than 31.25%, the synthesized image may be identified correctly. As for another example, for a DataMatrix code with 14×14 modules, the error correction rate can be calculated as
Due to the added logo, the identifying of the synthesized two dimensional code by the identifying terminal may be impacted, such as the code words covered by the logo may not be identified, or the code words partially overlapped with the logo may not be read correctly. If the number of code words that are read in error is larger than the number of errors that may be corrected by the error correction scheme, then the decoding would fail. In this case, the graph edit system or software may decrease the size of the logo to make the logo covering less code words, and/or to move the logo to another location where the optical representation of the code words arrangement is somewhat less affected by the added logo. Repeating the adjusting operation, until the code error rate of the synthesized two dimensional code is not larger than the error correction rate, i.e. 27.78%, the synthesized image may be identified correctly.
a illustrates examples of synthesized images. The logo image may be fully within the two dimensional code (5), or partially within the two dimensional code (6).
As shown in the
b illustrates other examples of synthesized images. As noted above, the logo image may be fully within the two dimensional code (8), or partially within the two dimensional code (9).
In the system for synthesizing a two dimensional code and a logo in accordance with example 2 of the present invention, the synthesizing is performed automatically. The two dimensional code may be a two dimensional code with the function of error correction, such as a QR Code, a PDF417 Code and the like.
The process of the example 2 is the same as that of the example 1, except for adopting different two dimensional codes, and the principle is also that the synthesized image may be identified when the code error rate caused by the overlapped data code words and/or error correction code words is less than the error correction rate of the two dimensional code. The error correction rates of all the two dimensional codes shown in
A flow chart of a method 400 for generating a synthesized two dimensional code is shown in
The method of
The skilled in the art will appreciate that the inventions are not limited to this chart or to the corresponding description herein. The flow need not move through each illustrated box or exactly in the same order as illustrated and described herein. For example, the steps of 401 and 402 may occur at the same time.
Although some examples are described above to explain the present invention, but the scope of the present invention is not so limited. For example, the logo to be added may be transparent, translucent or opaque for different applications. Further more, the logo may be on a layer with different optical features from the layer on which the two dimensional code lies, with the two layers overlapped together. In this example, as for human's visual effect, the synthesized two dimensional code may be the same as those shown in the Figures, but the identifying means may only be able to read the two dimensional code, instead of both the logo and the two dimensional code, for the optical features of the logo layer. Other implementations still fall into the broad scope of the present invention. It is also apprehensible to persons skilled in the art that the scope of the present invention includes technical solutions in which more than one logo is involved.
Whereas many alterations and modifications of the present invention will no doubt become apparent to a person of ordinary skill in the art after having read the foregoing description, it is to be understood that any particular example shown and described by way of illustration is in no way intended to be considered limiting. Therefore, references to details of various examples are not intended to limit the scope of the claims which in themselves recite only those features regarded as the invention.
Number | Date | Country | Kind |
---|---|---|---|
200610078994.4 | Apr 2006 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2007/000740 | 3/7/2007 | WO | 00 | 10/3/2008 |