CN103136670A - Security code generating method and security information detecting method - Google Patents
Security code generating method and security information detecting method Download PDFInfo
- Publication number
- CN103136670A CN103136670A CN201110385659XA CN201110385659A CN103136670A CN 103136670 A CN103136670 A CN 103136670A CN 201110385659X A CN201110385659X A CN 201110385659XA CN 201110385659 A CN201110385659 A CN 201110385659A CN 103136670 A CN103136670 A CN 103136670A
- Authority
- CN
- China
- Prior art keywords
- information
- font
- product
- counterfeiting
- code value
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004519 manufacturing process Methods 0.000 claims description 28
- 238000005507 spraying Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000007921 spray Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 238000012271 agricultural production Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a security code generating method which is characterized by comprising the following steps: (1) obtaining first information of a product; (2) generating second information corresponding to all bit information in the first information, and confirming a font attribute value corresponding to the second information; and (3) valuating the font attribute value to all bit information of the first information. The invention further provides a security information detecting method. All bit information in the first information, in different fonts, is sprayed and coated on the product, and therefore not only is the product enabled to have the first information which is protected by law, but also information relate to security information, through the different fonts of the first information, is implied. Due to the facts that the first information, in the different fronts, printed on the product, is protected by law in each circulation of the product, and the security information is prevented from being broken or erased, the possibilities of being anti-counterfeiting and preventing goods from being confused can be achieved.
Description
Technical field
The present invention relates to the anti-counterfeiting information technical field, particularly a kind of method of generating anti-counterfeiting code and detection anti-counterfeiting information.
Background technology
Along with the development of society and the raising of living standards of the people, the product quality of every profession and trade is required to improve constantly, particularly in fields such as medicine, food, the means of agricultural production, dangerous material, very urgent to the requirement of the quality control of product and safe tracing.
Usually adopt at present the modes such as antifalsification label, bar code, RFID wireless radio frequency identification mark, solve the product false proof problem.
Because above-mentioned anti-counterfeiting information is not subject to the state's laws protection, so still there are the following problems for the anti-counterfeiting information of employing aforesaid way:
For spraying above-mentioned anti-counterfeiting information, need used device and transform production line, increased enterprise cost.
In addition, the undesirable still can palm off and wipe out antifalsification label, and the real anti-counterfeiting information of product can't be provided safeguard to product quality.
How to make a kind of need not and spray, and the higher anti-counterfeiting information of security, be a problem demanding prompt solution.
Summary of the invention
For addressing the above problem, the invention provides a kind of method of generating anti-counterfeiting code, this anti-counterfeiting information need not to be sprayed on product, but implies the anti-counterfeiting information of product in being subjected to the information of legal constraints by changing font.
The embodiment of the present invention provides a kind of method of generating anti-counterfeiting code, comprises the following steps:
A. obtain the first information of product;
B. generate the second information corresponding with every information in the described first information, and determine the corresponding font attribute value of described the second information;
C. give every information in the described first information with described font attribute value assignment.
On the information such as original date of manufacture of product, shelf-life, production batch, by changing the Character Style, produce implication.Realize product false proof, anti-channel conflict functions, avoid dealer and lawless person to destroy.
Wherein, the first information comprises date of manufacture information, date of expiration information and/or batch information.
Due to date of manufacture information, date of expiration information and/or batch information be the information that product has in the process of circulation usually, possibility destroyed, that wipe is little, thereby makes anti-counterfeiting information safer.
Wherein, described date of manufacture information comprises date information.
Change by the every information in common information being carried out font, with regard to the portability anti-counterfeiting information, thereby make anti-counterfeiting information more concealed, be difficult for being found and destroying.
Wherein, described date of manufacture information comprises date hour minute information.
By the expansion date of manufacture, thereby can generate more anti-counterfeiting information, satisfy production requirement.
Wherein, described font comprises: normal font, runic, italic, bold Italic, large character, large character runic, large character runic and/or large character bold Italic.
By the variation of these fonts, can produce abundant anti-counterfeiting information, satisfy production requirement.
Wherein, before step B, also comprise:
Corresponding information sets font;
Step B comprises: font and information corresponding to set font according to every information in the described first information obtain second information corresponding with the described first information.
By the default corresponding information of font, thereby can generate more and anti-counterfeiting information form.
The embodiment of the present invention also provides a kind of method that detects anti-counterfeiting information, comprises the following steps:
E. obtain the first information with different fonts that product presents;
F. determine second information corresponding to each font of the described first information;
G. according to the described first information and the second information, generate the anti-counterfeiting information of described product;
H. judge the true and false of described anti-counterfeiting information.
Anti-counterfeiting information in the anti-counterfeiting information storehouse of using during by the anti-counterfeiting information that obtains after the product first information is resolved and production compares, and judging the true and false of described anti-counterfeiting information, thereby can realize monitoring and management to product information.
Description of drawings
The method flow schematic diagram of a kind of generating anti-counterfeiting code that Fig. 1 provides for the embodiment of the present invention.
Fig. 2 is the middle first information embodiment illustrated in fig. 1 and the second information corresponding relation schematic diagram.
A kind of schematic flow sheet that detects the method for anti-counterfeiting information that Fig. 3 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method of generating anti-counterfeiting code.Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.Referring to Fig. 1, the embodiment of the present invention provides a kind of method of generating anti-counterfeiting code, and the method comprises the following steps:
S100. obtain the first information of product.
Product is on market in the process of circulation; can be subject to the supervision of state's laws rules; by to state's laws rules and market study; can obtain some information indispensable in the products in circulation link; for example, the date of manufacture on product, shelf-life or batch etc. information be subject to the state's laws protection, commodity all will spray above-mentioned information usually; before creating above-mentioned information spraying, obtain above-mentioned information.
With a kind of information in these information as the first information, utilize the first information to generate the anti-counterfeiting information of product, the first information can comprise date of manufacture, shelf-life or batch etc. information, in this example take the date of manufacture as example, describe the process that the present invention utilizes above-mentioned Information generation anti-counterfeiting information in detail, for example, on 09 24th, 2011 date of manufacture, the first information is 8 dates of manufacture 20110924 so.
S110. generate the second information, in this example, the second information digit is corresponding one by one with the first information, is 8 bit digital, and 10221030.Be understood that, the second information also can comprise letter except numeral.
S120. according to ad hoc approach, each that the second information is comprised the not digital conversion of coordination is corresponding different fonts code value.Wherein, the method can be look-up table, records different fonts code value corresponding to different digital in the table of looking into, as:
the code value F0 of 0 corresponding common normal font (supposing that the font code value is F0), 1 corresponding runic code value (supposing that the font code value is F1), 2 corresponding italic code values (supposing that the font code value is F2), 3 corresponding bold Italic code values (supposing that the font code value is F3), 4 corresponding large character code values (supposing that the font code value is F4), 5 corresponding large character runic code values (supposing that the font code value is F5), 6 corresponding large character italic code values (supposing that the font code value is F6) corresponding 6, large character bold Italic (supposing that the font code value is F7) corresponding 7 etc., backhand for another example, right italic, underscore etc., the above-mentioned type posture that is referred to as, can also be with above-mentioned various fonts and as regular script, the Song typeface, Li Shu Ti, children's circle, imitation Song-Dynasty-Style typeface, the font classification combinations again such as Shu Ti, can further represent more numeral or alphabetical, repeat no more.
S130. with the font code of each institute's conversion in the second information as the property value assignment to each position corresponding to the first information, thereby the attribute of the font code of each bit digital of the first information is by assignment respectively.
As shown in Figure 2, the attribute of every digital font code by assignment after, the font of first message digit " 2 " of the first information 20110924 is runic, deputy font is normal (routine) font, the 3rd and the 4th 's font is italic, and the font of the 5th is runic, and the font of the 6th is normal (routine) font, the font of the 7th is bold Italic, and the font of the 8th is normal (routine) font.
S140. with each bit digital of the first information according to being presented by the font code of assignment, correspond to the date of manufacture on product of will spraying in this example, have the date of manufacture of different fonts for coordination not.
the effect that is specifically presented, can be referring to Fig. 2, by upper, realized when being sprayed on product on different fonts the every information in the first information, not only each information in the first information can be sprayed on product, and the font by changing, while also is sprayed on the anti-counterfeiting information of this product on this product hidingly, for example, in this example, the first information was 20110924 (on 09 24th, 2011 dates of manufacture), the information format of spraying is: 20110924, 20110924 have 2 of runic and bold Italic, 0 of runic and regular, 9 and 4 of 1 and regular of italic.By presetting the information of each font representative, second information that can obtain being implied is 10221030, although the second information 10221030 is not printed on commodity, can determine by every font of the first information.
Wherein, the combination of the first information and the second information can be used as anti-counterfeiting information, can different anti-counterfeiting information be set for each product with first information.
referring to upper example, when the first information has 8 information, each information can have 8 kinds of fonts, and (0 represents normal font, 1 represents runic, 2 represent italic, 3 represent bold Italic, 4 represent large character, 5 represent large character runic, 6 represent large character italic, 7 represent large character bold Italic etc.), just can form 88 powers, i.e. 16777216 anti-counterfeiting information, the production date (change of one day one date of manufacture) that sprays as required, namely can there be every day 16777216 security codes (anti-counterfeiting information) to use, according to one day 24 hours uninterrupted productions, can guarantee that the fastest speed of production is as follows: 16777216 equaled 11650 divided by 24 hours divided by 60 minutes, that is: can satisfy 11650 of per minute turnout, the product demand of producing on fully can satisfying the market.
In addition, also can be extended to band temporal mode (comprising the little time-division of date) date of manufacture (comprising the date), for example, 201109240835 (2011 09 month 8: 35 on the 24th) increase by 4 figure places, and the quantity of security code can increase to 8 12 powers, that is: 68719476736,68719476736 equaled 47721858 divided by 24 hours divided by 60 minutes, that is: the per minute turnout can satisfy 47721858, enough meets the need of market.
The first information is sprayed on product by above-mentioned font, not only can express the date of manufacture is on 09 24th, 2011, also can pass through the font of the printing of this information, the anti-counterfeiting information of this product is hidden in this information by the font of printing, Hidden codes on each part commodity is not identical, guarantees that like this security code of each part product all has uniqueness and non-reproduction.Because the first information that is printed on different fonts on product is subject to the protection of law in each intermediate links of commodity, can prevents that anti-counterfeiting information is destroyed and wipe, thereby can realize possibility false proof and that prevent kinds of goods generation falsifying.
In addition, enterprise can be according to self actual needs, adopts the variable character figure place, as for attractive in appearance, only adopts normal, runic, italic, four kinds of modes of bold Italic.Also can represent kinds of characters with different fonts, as: normal font represents that A, runic represent that B, italic represent that C, bold Italic represent D etc., also can expand to the first information on the information such as the term of validity, shelf-life, production batch.
The embodiment of the present invention also provides a kind of method that detects anti-counterfeiting information, and referring to Fig. 3, the method comprises the following steps:
S200. obtain the first information with different fonts that presents of product; In this example, can be to obtain image information by the mode that mobile phone cam is taken pictures.
S210. the information that obtains is uploaded to specific authentication server, is resolved the image information that obtains by authentication server, determine second information corresponding to each font of the described first information.
The font that every information by the first information presents, can obtain with the first information with respect to the second information.The corresponding information of the font of the every information of the first information sees the description of step S140 for details.
S220. authentication server according to the described first information and the second information, generates the anti-counterfeiting information of described product;
The anti-counterfeiting information of this product can be generated according to the first information and the second information, for example, the first information and the second information anti-counterfeiting information can be combined to form.
S230. authentication server judges the true and false of described anti-counterfeiting information.
Anti-counterfeiting information in step S230. uses during by the anti-counterfeiting information that obtains after the product first information is resolved and production anti-counterfeiting information storehouse compares, judging the true and false of described anti-counterfeiting information, thereby can realize monitoring and management to product information.
Above-described embodiment is identical with the first information with the second information digit and corresponds to one by one example and describe, wherein, also can carry out corresponding with the first information again after with the second information conversion by certain algorithm, for example, simply, with the second information head and the tail message exchange, or carry out again above-mentioned steps S 120 after other variations, can be applied to the present invention equally, and the second information bit is further encrypted.
If the second information digit less than first information position, need be specified the second corresponding first information of information bit everybody in advance.In this case, need to specify certain font for not comprising the second information, as the Song typeface of appointment normal font for not comprising the second information.
In addition, the second information can also adopt multidigit to come a corresponding font, for example in this example, in step S 120, corresponding the second information is 10221030, if multidigit is set, during as a font of every two correspondences, the second information correspondence goes out 10,22,10,30 respectively for going out 4 font codes (accordingly, can pre-stored 10 to 99, or the font code corresponding to two place values of requirement), these 4 font codes difference assignment can be set to the specific bit of the first information 20110924, as rear 4; Or font code of every two correspondences, as first and the corresponding font code of second, or first and font code of the 3rd employing; Or the corresponding font code in the position of setting number, as font code of front 5 correspondences, respectively corresponding 3 font codes in 3 of back.Accordingly, adopt corresponding algorithm (i.e. corresponding rule) to parse the second information in step S210.Adopt in such a way, can be so that the figure place of the second information can be more than the figure place of the first information.
The above is only preferred embodiment of the present invention; not in order to limit the present invention; for example; the module of difference in functionality can be realized by an integrated chip etc.; all within the spirit and principles in the present invention; any modification of doing, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.
Claims (7)
1. a generating anti-counterfeiting code method, is characterized in that, comprises the following steps:
A. obtain the first information of product, the described first information comprises n position;
B. generate the second information, and according to the second Information generation m font code value; Described m≤n;
C. described each font code value is given everybody of appointment of the described first information as font attribute value assignment.
2. method according to claim 1, is characterized in that, also comprises after step C:
D. everybody of the described first information presented according to the font attribute value of composing respectively.
3. method according to claim 1 and 2, is characterized in that, step B comprises:
Everybody is divided into described m group, every group of x units that comprises appointment successively with the second information; Described x 〉=1;
According to each font code value corresponding to each value that pre-stored x units forms, determine the second corresponding m of an information font code value.
4. method according to claim 3, is characterized in that, the described assignment of step C comprises:
A font code value is given at least one position of the appointment of the described first information as font attribute value assignment.
5. method according to claim 1, is characterized in that, the first information comprises date of manufacture information, date of expiration information and/or batch information;
One of below described date and time information comprises at least: year, month, day, hour, minute, second.
6. method according to claim 1, is characterized in that, described font comprises:
Font classification and following optional one or optional two or more type posture in conjunction with forming: normal font, runic, italic, large character, underscore.
7. a method that detects anti-counterfeiting information, is characterized in that, comprises the following steps:
E. obtain the first information with different fonts that product presents, the described first information comprises n position;
F. identify everybody font of the first information, and determine the every corresponding m of font font code value of appointment; Described m≤n;
G. determine that described m font code value generates the second corresponding information;
H. according to the anti-counterfeiting information of the described first information and the second described product of information structuring;
I. judge the true and false of described anti-counterfeiting information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110385659XA CN103136670A (en) | 2011-11-28 | 2011-11-28 | Security code generating method and security information detecting method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110385659XA CN103136670A (en) | 2011-11-28 | 2011-11-28 | Security code generating method and security information detecting method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103136670A true CN103136670A (en) | 2013-06-05 |
Family
ID=48496473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110385659XA Pending CN103136670A (en) | 2011-11-28 | 2011-11-28 | Security code generating method and security information detecting method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103136670A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104376352A (en) * | 2013-08-14 | 2015-02-25 | 深圳正峰印刷有限公司 | Generating method and device of anti-fake printed lines |
| CN104766114A (en) * | 2015-05-08 | 2015-07-08 | 许泽人 | Commodity identification code and producing technology for commodity identification code |
| CN110249369A (en) * | 2017-03-16 | 2019-09-17 | 宝洁公司 | Print the method with the product code of modified character |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1959733A (en) * | 2006-08-30 | 2007-05-09 | 俞熹 | Digital antifalse method, and l antifalse marker |
-
2011
- 2011-11-28 CN CN201110385659XA patent/CN103136670A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1959733A (en) * | 2006-08-30 | 2007-05-09 | 俞熹 | Digital antifalse method, and l antifalse marker |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104376352A (en) * | 2013-08-14 | 2015-02-25 | 深圳正峰印刷有限公司 | Generating method and device of anti-fake printed lines |
| CN104376352B (en) * | 2013-08-14 | 2017-06-27 | 深圳正峰印刷有限公司 | Method and device for producing anti-counterfeit printing |
| CN104766114A (en) * | 2015-05-08 | 2015-07-08 | 许泽人 | Commodity identification code and producing technology for commodity identification code |
| CN110249369A (en) * | 2017-03-16 | 2019-09-17 | 宝洁公司 | Print the method with the product code of modified character |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102184380A (en) | Color-superposition two-dimension code system and application method thereof | |
| CN103700000A (en) | Code printing-free type fiber anti-counterfeiting method | |
| EP2936409B1 (en) | Method and system for marking an item, an item so marked and a method and system for authenticating a marked item | |
| CN105719144B (en) | Food safety tracing method and system based on two-dimension code | |
| CN101987536B (en) | Anti-counterfeiting digital printing method and query method based on digital color identification system | |
| CN103136670A (en) | Security code generating method and security information detecting method | |
| CN105216470A (en) | A kind of method manufacturing anti-fake identification mark | |
| CN104680217B (en) | A kind of product information dot matrix coding/decoding system application process | |
| CN104636929A (en) | Information management system based on two-dimensional code and information management method based on two-dimensional code | |
| CN103342053A (en) | Image-based two-dimension code and image-based two-dimension code generating system and method | |
| CN104156750B (en) | A kind of generation method of anti-fake label and its anti-fake label of generation | |
| CN102855578A (en) | Anti-counterfeiting method and anti-counterfeiting mark | |
| CN105205430A (en) | Increment service system based on cigarette two-dimension code | |
| CN108681847A (en) | A kind of retrospect of cold fresh food and shelf-life inquiry system based on block chain technology | |
| CN101556599A (en) | Article anti-counterfeit system with two-dimension code coupled with key | |
| CN106411516B (en) | Fixed password generation method, device, dynamic token | |
| CN103226771A (en) | Article authentication and anti-counterfeiting system based on combination of NFC fingerprint mobile phone and RFID (Radio Frequency Identification) | |
| CN104636931A (en) | Two-dimensional code production method for tobacco industry | |
| CN105574570A (en) | Generation method, system, label, and anti-counterfeiting method of spiral color codes | |
| CN106508106B (en) | For RF identification read write line to label communication means | |
| CN203535664U (en) | A CPK electronic label, an anti-counterfeit system, and a CPK electronic label packing device | |
| CN201721757U (en) | Combination structure of dynamic code anti-counterfeiting recognizer and electronic password lock | |
| CN104318442A (en) | Involved part interaction based mobile internet information anti-fake system | |
| CN101271531A (en) | Colorful code | |
| CN105243553A (en) | An anti-counterfeiting system based on cigarette two-dimensional code and two-dimensional code information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130605 |