CN102922883B - Intelligent film printer capable of recognizing film and method for recognizing film - Google Patents

Intelligent film printer capable of recognizing film and method for recognizing film Download PDF

Info

Publication number
CN102922883B
CN102922883B CN201210482817.8A CN201210482817A CN102922883B CN 102922883 B CN102922883 B CN 102922883B CN 201210482817 A CN201210482817 A CN 201210482817A CN 102922883 B CN102922883 B CN 102922883B
Authority
CN
China
Prior art keywords
film
printer
label
deciphering module
proceed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210482817.8A
Other languages
Chinese (zh)
Other versions
CN102922883A (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.)
HUNAN HAIYUAN MEDICAL TECHNOLOGY CO.,LTD.
Original Assignee
CHANGSHA HAIRUN BIOTECH Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHANGSHA HAIRUN BIOTECH Co Ltd filed Critical CHANGSHA HAIRUN BIOTECH Co Ltd
Priority to CN201210482817.8A priority Critical patent/CN102922883B/en
Publication of CN102922883A publication Critical patent/CN102922883A/en
Application granted granted Critical
Publication of CN102922883B publication Critical patent/CN102922883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Labeling Devices (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses an intelligent film printer capable of recognizing a film and a method for recognizing the film. The intelligent film printer comprises the film with a label, a scanning module, a decrypting module, and the film printer for printing the film; the label is generated in such a way that original information data of the film inputted by a computer is encrypted by a DES algorithm and then recoded; the scanning module scans the information of the encrypted label and then transmits the information of the encrypted label to the decrypting module through a serial communication bus; and the decrypting module decrypts the label information by the DES algorithm to obtain the original information data of the film, and transmits the signal for detecting the effectiveness of the film to the film printer according to the original information data of the film. Therefore, the film to be printed is recognized intelligently to cause the film to have an anti-fake function and prevent the film from being copied in an unauthorized manner. The intelligent film printer and the method are easy to realize, and are strong in practicability.

Description

A kind of method that can identify the intelligent film printer of film and identify film
Technical field
The present invention relates to medicine equipment, mainly relate to a kind of medical film printer, relate in particular to a kind of intelligent film printer that can identify film.
Background technology
Medical printing film is mainly used in B ultrasonic and the gastroscopic picture and text report of hospital, have that definition is high, waterproof, not cracky, the remarkable advantage such as can preserve for a long time, be used widely in hospital.
Along with medical printing film is widely used, also there is on the market the low-quality goods of a lot of personations, bring very large impact to regular producer, be both also grievous injury and consumer's rights and interests.
Summary of the invention
Technical problem to be solved by this invention is: for above-mentioned the deficiencies in the prior art, provide a kind of and can identify the intelligent film printer of film and the method for identification film, this intelligent film printer can Intelligent Recognition legal film (being effective film), personation film (being invalid film) refusal is printed and alarm, reached and prevent that film is by the object of bootlegging with this.
Want in order to solve the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of intelligent film printer that can identify film, the film printer that it comprises printing film, is characterized in: also comprise film, scan module and the deciphering module of printing the label that has tape label information, this label is coding generation again after utilizing computer to adopt DES algorithm to be encrypted the film original information data of input, this scan module is connected with deciphering module by serial communication bus, so that this scan module is passed to deciphering module by serial communication bus after the label information of encrypting on film is scanned, this deciphering module is connected with described film printer by control signal wire, so that deciphering module adopts DES algorithm, to label information, deciphering obtains film original information data, and the signal after film validity being detected according to this film original information data is passed to film printer.
The method of above-mentioned intelligent film printer identification film, step is as follows:
A, utilize computer to adopt DES algorithm to be encrypted the film original information data of input, re-use label and generate software the film original information data after encrypting is encoded into the label of tape label information; This label information comprises printer numbering, film manufacturer numbering, film production batch number, this batch of total number of film, film sequence number;
B, with label machine by the label printing generating to nonprinting region position on film;
C, scan module scan the label information on film, and label information after encryption scanning being obtained by serial communication bus is passed to deciphering module;
D, deciphering module adopt DES algorithm to be decrypted and to obtain film original information data the label information of encrypting, then according to film original information data, film validity are detected, and the signal after detecting is passed to film printer.
Above-mentioned deciphering module is as follows to the step of film validation checking:
A, judge that whether built-in with deciphering module printer in film numbering curing printer numbering be identical, if different, proceed to step F; If identical, proceed to step B;
B, judge that whether the film production batch number in film equals the internal pair production batch number of deciphering module, if be less than, proceeds to step F; If equaled, proceed to step C; If be greater than, using this film production batch number internal pair production batch number new in deciphering module, and proceed to step D after solidifying preservation;
C, judge that whether the inside film print count value of deciphering module equals this batch of total number of film in film, if be greater than, proceeds to step F; If equaled, this film production batch number is added 1 in deciphering module new internal pair production batch number, and solidify after preserving and proceed to step D; If be less than, inner film print count value added to 1 and also after curing preservation, proceed to step e;
D, by the zero clearing of inner film print count value, and solidify preserve after proceed to step e;
E, film are effective, and film validation checking finishes;
F, film are invalid, and film validation checking finishes.
Above-mentioned label is bar code or Quick Response Code, corresponding, and above-mentioned scan module is bar code scan module or Quick Response Code scan module, with binary data output information that bar code or Quick Response Code figure are scanned and decoded.
Above-mentioned film printer can be ink-jet printer or laser printer.
So; this intelligent film printer can Intelligent Recognition legal film (being effective film); personation film (being invalid film) refusal is printed and alarm; thereby can carry out Intelligent Recognition to being printed film; make film have antiforge function, prevent that film is by unauthorized copying, the present invention can effectively prevent that fake and forged film from causing damage to patient's rights and interests; the legitimate rights and interests of simultaneously also having protected regular film producer, have very high practicality and are easy to and realize.
Brief description of the drawings
Fig. 1 is block diagram of the present invention.
Fig. 2 is film label product process figure of the present invention.
Fig. 3 is film scanning identification process figure of the present invention.
Fig. 4 is film validity check flow chart of the present invention.
Detailed description of the invention
As shown in Figure 1 to Figure 3, the present invention is a kind of intelligent film printer that can identify film, and it comprises film, scan module 1, deciphering module 2 and film printer 3; This scan module 1 is connected with deciphering module 2 by serial communication bus, and this deciphering module 2 is connected with this film printer 3 by control signal wire, wherein:
On this film, print the label that has tape label information, referring to Fig. 2, this label is to go up the film original information data of input (as printer numbering at computer (as PC computer), film manufacturer numbering, film production batch number, this batch of total number of film and film sequence number etc.) adopt DES data algorithm to be encrypted after, again the film original information data after encrypting is carried out to barcode encoding or Quick Response Code coding, and export bar code or Quick Response Code figure, be that generating labels (adopts label to generate Software Create, for prior art, do not repeat them here), label is now with the label information after encrypting, label information is exactly film original information data.Then, the label of generation prints to the position (referring to the position outside film surrounding frame, not affect actual print What as principle) of nonprinting region on film by label machine (can adopt existing conventional label machine).
This scan module 1 is bar code scan module (as LV12 scan module) or Quick Response Code scan module (as LV3000 Quick Response Code scan module), with binary data output information that bar code or Quick Response Code figure are scanned and decoded.Referring to Fig. 3, this scan module 1 is that the label information of encrypting on film carries out scan decoder to the label on film, converts the bar code of scanning or Quick Response Code (label information of encrypting) to numerical data, passes to deciphering module by serial communication bus; This deciphering module 2(hardware is as ATMEGA128 single-chip microcomputer, and the scan module in literary composition and the hardware of deciphering module have just exemplified a feasible embodiment, but not as limit.) data that scan module 1 is converted are decrypted, be that deciphering module adopts DES algorithm to obtain film original information data to the label information deciphering of encrypting, and according to this film original information data, film validity is detected, again the signal after detecting is passed to film printer (ink-jet printer or laser printer), signal after detection is: in the time that film is effective, 2 of deciphering modules send print signal to film printer 3 and print; When film is invalid, 2 of deciphering modules send and stop print command and scarce paper signal to film printer, and non-print machine is printed, and sends buzzing alarm call simultaneously.
The method of intelligent film printer identification film of the present invention, its concrete steps are as follows:
A, at the upper input of computer (as PC computer) film original information data, adopt DES algorithm to be encrypted, re-using label generates software the film original information data after encrypting (comprising printer numbering, film manufacturer numbering, film production batch number, this batch of total number of film and film sequence number etc.) is carried out to barcode encoding or Quick Response Code coding, and export bar code or Quick Response Code figure, be encoded into the label of the label information of band encryption; The content of this label information is the content of film original information data, referring to Fig. 2;
B, with label machine by the label printing generating to nonprinting region position on film, be generally the position outside film surrounding frame, not affect actual print What as principle, facilitate scan module scanning;
The label information of encrypting on film is carried out scan decoder by C, scan module, by the bar code of scanning or the Quick Response Code (label information after encrypting, or film original information data after claiming to encrypt) convert numerical data to, and the label information of encryption scanning being obtained by serial communication bus passes to deciphering module, referring to Fig. 3;
D, deciphering module are decrypted and obtain film original information data the label information of encrypting with DES algorithm the data acquisition receiving, and according to this film original information data, film validity is detected, in the time that film is effective, deciphering module sends print signal to film printer and prints; When film is invalid, deciphering module sends and stops print command and scarce paper signal to film printer, and non-print machine is printed, and buzzer sends buzzing alarm call simultaneously, referring to Fig. 3.
So, first film in film detects that signal after finishing sends to that printer prints or is non-print in batch, again to next film in this batch of film scan, deciphering, validation checking, printing or non-print, complete whole identification to this batch of film according to this and print, then enter the identification printing of next group film.
This deciphering module is as follows to the step of film validation checking in batch, in conjunction with referring to Fig. 4:
A, judging whether built-in with the deciphering module printer numbering of printer in film numbering, identical (the built-in printer numbering of deciphering module is curing in the software of deciphering module, the numbering that is every printer has been solidified and has been stored in the software of deciphering module in the time dispatching from the factory production), if different, proceed to step F; If identical, proceed to step B;
B, judge that whether the film production batch number in film equals the internal pair production batch number of deciphering module, if be less than, proceeds to step F; If equaled, proceed to step C; If be greater than, using this film production batch number internal pair production batch number new in deciphering module, and proceed to step D after solidifying preservation;
C, judge that whether the inside film print count value of deciphering module equals this batch of total number of film in film, if be greater than, proceeds to step F; If equaled, this film production batch number is added 1 in deciphering module new internal pair production batch number, and solidify after preserving and proceed to step D; If be less than, inner film print count value added to 1 and also after curing preservation, proceed to step e;
D, by the zero clearing of inner film print count value, and solidify preserve after proceed to step e;
E, film are effective, and film validation checking finishes;
F, film are invalid, and film validation checking finishes.
When detection, owing to there being this batch of total number of film in the label information on each film, film of the every printing of printer, deciphering module just counts in inside and count value is cured, can power down preserve, in the time that count value equals this batch of total number of film in label, this batch of film all detects as effective film, and printed, just no longer print.What print is exactly the film of new lot again, the counting again of starting from scratch.
So, can prevent from not having bar code or Quick Response Code figure on people's duplicate film of scheming, if copied a collection ofly, can only be also to use that batch, and one of that batch is finished, just film has ceased to be in force automatically.

Claims (4)

1. a method for intelligent film printer identification film, is characterized in that: the method step is as follows:
A, utilize computer to adopt DES algorithm to be encrypted the film original information data of input, re-use label and generate software the film original information data after encrypting is encoded into the label of tape label information; This label information comprises printer numbering, film manufacturer numbering, film production batch number, this batch of total number of film, film sequence number;
B, with label machine by the label printing generating to nonprinting region position on film;
C, scan module scan the label information on film, and label information after encryption scanning being obtained by serial communication bus is passed to deciphering module;
D, deciphering module adopt DES algorithm to be decrypted and to obtain film original information data the label information of encrypting, then according to film original information data, film validity are detected, and the signal after detecting is passed to film printer;
Wherein, the above-mentioned deciphering module of mentioning is as follows to the step of film validation checking:
A), judge that whether built-in with deciphering module printer in film numbering curing printer numbering be identical, if different, proceed to step F; If identical, proceed to step B;
B), judge that whether the film production batch number in film equals the internal pair production batch number of deciphering module, if be less than, proceeds to step F; If equaled, proceed to step C; If be greater than, using this film production batch number internal pair production batch number new in deciphering module, and proceed to step D after solidifying preservation;
C), judge that whether the inside film print count value of deciphering module equals this batch of total number of film in film, if be greater than, proceeds to step F; If equaled, this film production batch number is added 1 in deciphering module new internal pair production batch number, and solidify after preserving and proceed to step D; If be less than, inner film print count value added to 1 and also after curing preservation, proceed to step e;
D), by the zero clearing of inner film print count value, and solidify preserve after proceed to step e;
E), film is effective, film validation checking finishes;
F), film is invalid, film validation checking finishes.
2. the method for intelligent film printer identification film as claimed in claim 1, is characterized in that: described label is bar code or Quick Response Code.
3. the method for intelligent film printer identification film as claimed in claim 2, is characterized in that: described scan module is bar code scan module or Quick Response Code scan module, with binary data output information that bar code or Quick Response Code figure are scanned and decoded.
4. the method for intelligent film printer identification film as claimed in claim 1, is characterized in that: described film printer is ink-jet printer or laser printer.
CN201210482817.8A 2012-11-23 2012-11-23 Intelligent film printer capable of recognizing film and method for recognizing film Active CN102922883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210482817.8A CN102922883B (en) 2012-11-23 2012-11-23 Intelligent film printer capable of recognizing film and method for recognizing film

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210482817.8A CN102922883B (en) 2012-11-23 2012-11-23 Intelligent film printer capable of recognizing film and method for recognizing film

Publications (2)

Publication Number Publication Date
CN102922883A CN102922883A (en) 2013-02-13
CN102922883B true CN102922883B (en) 2014-12-03

Family

ID=47637871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210482817.8A Active CN102922883B (en) 2012-11-23 2012-11-23 Intelligent film printer capable of recognizing film and method for recognizing film

Country Status (1)

Country Link
CN (1) CN102922883B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103820616B (en) * 2014-03-18 2016-04-20 中冶南方工程技术有限公司 A kind of method and apparatus that the heating mantles of bell type annealing furnace is identified
CN105172395B (en) * 2015-09-17 2018-01-09 深圳市红源资产管理有限公司 A kind of printer authoring system and method
CN106303136B (en) * 2016-08-18 2018-03-20 深圳市君安康医疗科技有限公司 The false proof method of counting of film, apparatus and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681806A (en) * 2011-03-11 2012-09-19 佳能株式会社 Output apparatus, system, control method, and storage medium storing a program
CN102760242A (en) * 2012-05-16 2012-10-31 孟智平 Encoding and decoding method for three-dimensional codes and using method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8269989B2 (en) * 2004-09-28 2012-09-18 Sharp Kabushiki Kaisha Printing system, printing apparatus, document replacement apparatus, and printer driver
JP4665805B2 (en) * 2006-03-17 2011-04-06 カシオ計算機株式会社 Printing device
JP5371517B2 (en) * 2008-04-25 2013-12-18 キヤノン株式会社 Apparatus, system, method and program capable of handling two-dimensional code
CN101837686A (en) * 2009-08-31 2010-09-22 蔡信东 Medicinal laser printing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681806A (en) * 2011-03-11 2012-09-19 佳能株式会社 Output apparatus, system, control method, and storage medium storing a program
CN102760242A (en) * 2012-05-16 2012-10-31 孟智平 Encoding and decoding method for three-dimensional codes and using method

Also Published As

Publication number Publication date
CN102922883A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN101295343B (en) Two-dimensional code multi-enciphering anti-fake printing method
CN102902997B (en) A kind of Quick Response Code hybrid coding, decoding device and method
CN100565546C (en) A kind of method of checking contents of paper file whether to be distorted
CN102722737B (en) A kind of paper document tamper resistant method
CN103198344B (en) Tax control secure two-dimensional code coding, decoding processing method
CN102916804B (en) Two-dimension code coding and decoding method and device based on local color verification
CN102922883B (en) Intelligent film printer capable of recognizing film and method for recognizing film
CN104281954A (en) Anti-counterfeiting method for product
CN103530668A (en) Part tracing method and part identifying method
CN110022314B (en) Big data secure transmission method based on matrix two-dimensional code
CN103646331B (en) Wine anti-counterfeit source tracing method based on enciphered bar code mark
CN105701757B (en) Product anti-counterfeiting method and device based on digital watermark and graphic code
CN102609543A (en) Multifunctional two-dimensional code product traceability system and traceability method
US9613327B2 (en) Adapting an incremental information object
US20120224693A1 (en) Method and System for Security Authentication of Radio Frequency Identification
CN104899751A (en) Method for identifying cigarette authenticity based on self-encrypted self-checking two-dimensional code
CN111178477A (en) Commodity two-dimensional code generation method
CN101950370A (en) Method for coding combined two-dimensional code
CN104680392A (en) Identity-based product tracing system and method
CN106022187A (en) High-efficient O2O implementation method
CN108334919A (en) A kind of product false proof verification method and its system based on Quick Response Code
CN102306312A (en) Novel anti-counterfeiting system and method for carrying out identification on anti-counterfeit label
CN102842053B (en) A kind of false proof figure code label and manufacture method thereof
TW487883B (en) Encrypting communication system and encrypting communication method
KR101346924B1 (en) Encryption and decoding method of two dimensional code pattern, distribution management method, and readign equipment by using the same

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160303

Address after: Yuelu District City, Hunan province 410205 Changsha Valley No. 229 by Sea Garden Court Road production plant three 5-7 layer

Patentee after: HUNAN HY BIOPOCT TECHNOLOGY CO., LTD.

Address before: 627 No. 410000 Hunan province Changsha high-tech zones Lugu Avenue

Patentee before: Changsha Hairun Biotech Co., Ltd.

CP03 Change of name, title or address

Address after: 410205 floors 7, 8 and 9, building 3, Haiping Park, No. 229 Guyuan Road, high tech Zone, Changsha, Hunan

Patentee after: HUNAN HAIYUAN MEDICAL TECHNOLOGY CO.,LTD.

Address before: 410205 5th-7th floor, haipingyuan production plant, No. 229 Guyuan Road, Yuelu District, Changsha City, Hunan Province

Patentee before: HUNAN HAIYUAN MEDICAL TECHNOLOGY CO.,LTD.

CP03 Change of name, title or address