CN115886055A - Marking system and decoding system for livestock carcasses - Google Patents

Marking system and decoding system for livestock carcasses Download PDF

Info

Publication number
CN115886055A
CN115886055A CN202211009211.2A CN202211009211A CN115886055A CN 115886055 A CN115886055 A CN 115886055A CN 202211009211 A CN202211009211 A CN 202211009211A CN 115886055 A CN115886055 A CN 115886055A
Authority
CN
China
Prior art keywords
code
dimensional code
data
traceability information
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211009211.2A
Other languages
Chinese (zh)
Other versions
CN115886055B (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.)
Zrd Instrument Technology Nantong Co ltd
Original Assignee
Zrd Instrument Technology Nantong 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 Zrd Instrument Technology Nantong Co ltd filed Critical Zrd Instrument Technology Nantong Co ltd
Publication of CN115886055A publication Critical patent/CN115886055A/en
Application granted granted Critical
Publication of CN115886055B publication Critical patent/CN115886055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A22BUTCHERING; MEAT TREATMENT; PROCESSING POULTRY OR FISH
    • A22CPROCESSING MEAT, POULTRY, OR FISH
    • A22C17/00Other devices for processing meat or bones
    • A22C17/10Marking meat or sausages
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/01Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for special character, e.g. for Chinese characters or barcodes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Food Science & Technology (AREA)
  • Zoology (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Wood Science & Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a marking system and a decoding system for livestock carcasses, wherein the marking system comprises an image generation module and an image spray printing module; the image generation module comprises a traceability information storage part, a data segmentation part and an encoding part, wherein the traceability information storage part stores traceability information data, the data segmentation part divides the traceability information data into N data segments, and the encoding part generates corresponding N structural link two-dimensional codes from the N data segments in a structural link mode; and the image jet printing module jet prints the N structure-linked two-dimensional codes on the surface of an object to be jet printed. The invention adopts the technology of Internet of things, can separate complex information on a plurality of small codes with simple structure link modes, and respectively spray-prints the small codes on parts with relatively flat surfaces of the livestock carcasses, thereby improving the definition of code spraying, enabling the livestock carcasses and the like to be traceable in a circulation link and ensuring the food safety.

Description

Marking system and decoding system for livestock carcasses
Technical Field
The invention relates to a marking system and a decoding system for livestock carcasses, which are mainly applied to the field of food traceability.
Background
At present, marks are marked on the body surfaces of slaughtered livestock and poultry carcasses, a method of stamping is mainly adopted, the method is not attractive, the pollution to the body surfaces of the livestock and poultry carcasses is serious, and the circulation of products is influenced. The applied marks can only be simple repeated information, and the information content cannot be changed with each individual. The mark can not truly reflect the carcass and body information of slaughtered livestock and poultry. The problems can be solved by dynamically spraying and printing the two-dimensional code on the skin of the livestock and poultry carcass through the ink-jet printer.
The existing two-dimensional graphic Code comprises QRCode (Quick Response Code), chinese-sensible Code, PDF417, data Matrix and the like, and each two-dimensional Code has own advantages and disadvantages. If the decoding is jet-printed on white paper or other clean surfaces, the decoding difference is not obvious; if the spray printing is carried out on the wet, stained and irregular skin like a live pig carcass, the decoding effect is not ideal. In the two-dimensional codes, the QRCodes which are most widely applied and are common in life are good in effect by combining the consideration of distortion resistance, stain resistance, moisture dispersion and the like. The QRCode is a two-dimensional code originated in Japan, and is widely applied to various fields at present, the QRCode has large information capacity and wide coding range, but the decoding efficiency is still low when the QRCode is sprayed and printed on the surface of a pig carcass, and the main reasons are as follows:
(1) The QRCode coding and decoding standard shows that the minimum version of the QRCode coding and decoding standard comprises 21 × 21=441 code points, the code points are sprayed and printed on the surface of a wet and irregular pig carcass, and after ink is dispersed, the ink is very fuzzy and distorted, so that the identification difficulty is increased.
(2) The QRCode style is composed of dark and light color code points, the purpose of a two-dimensional code cannot be seen from the appearance of a graph, and the QRCode can only be viewed after code scanning.
(3) When QRCode decodes, the identification depth module usually uses a gray level image and then binarizes to obtain 0 and 1 arrays, the identification mode is very effective for spray-printed white background black codes, the live pig carcass is generally spray-printed with edible blue ink, and the carcass skin color is background color, so that the identification accuracy is insufficient.
(4) The QRCode standard is complex, and its contents include position detection pattern, positioning pattern, correction pattern, format information, version information, data and error correction code word, etc. It is difficult to make a two-dimensional code without the aid of third-party tools.
(5) The coding region of the current spray-printed two-dimensional code is in a square grid shape, the dark color is 1, and the light color is 0. When the two-dimensional code is jet-printed, because many dark square areas of 1 can adhere together, disperse on the pigskin surface and can influence the colour in light color area, even lead to that the two-dimensional code can not be discerned even have higher fault-tolerant rate again.
In addition, current use ink jet numbering machine to spout seal tracing to source two-dimensional code, this tracing to source two-dimensional code includes the quarantine, the raiser, information such as slaughterhouse, and still contain the redundant code that adds for guaranteeing the fault-tolerant rate in the two-dimensional code, it is more complicated to lead to the two-dimensional code, more code dot has and occupy more area, and livestock carcass surface has more pore, line profit even, it is difficult by the discernment to very easily lead to the two-dimensional code on livestock carcass surface, and simultaneously, the position of livestock carcass surface unevenness is more, hardly find the level and smooth region that is fit for spouting seal large tracts of land two-dimensional code. Moreover, the content of the existing two-dimensional code is the source tracing information of the livestock carcasses, the information is fixed, and the addition and modification cannot be carried out in the later period.
In summary, a tracing two-dimensional graphic code capable of being spray-printed on the surface of a livestock carcass, especially a live pig carcass, is required, and the graphic code needs to have the advantages of few code points, diffusion resistance, simple coding, capability of customizing characters or pictures, high recognition rate, easiness in information expansion and the like.
Disclosure of Invention
The invention aims to provide a marking system which can divide complex information on a plurality of small codes with simple structure link modes and respectively spray-print the small codes on a relatively flat part of the skin of a livestock carcass so as to improve the definition of code spraying.
In order to realize the invention, the invention provides a marking system, which comprises an image generation module and an image jet printing module; the image generation module comprises a traceability information storage part, a data segmentation part and an encoding part, wherein the traceability information storage part is used for storing traceability information data, the data segmentation part is used for dividing the traceability information data into N data segments, and the encoding part is used for generating N corresponding structure-linked two-dimensional codes through the N data segments in a structure-linked mode; the image jet printing module jet prints N structural link two-dimensional codes on the surface of an object to be jet printed, wherein N is a positive integer, and the object to be jet printed is a livestock carcass, such as pork dyad and the like.
Further, the jet printing module is used for respectively jet printing the N structural link two-dimensional codes on the flat part of the surface of the object to be jet printed.
Further, the position detection graph of the structure-linked two-dimensional code is composed of a circular ring graph and a solid circular graph positioned in the circular ring graph.
Further, the image generation module further comprises an image generation display part; the traceability information storage part stores traceability information input pictures, and the image generation display part displays the traceability information input pictures so that operators can input and improve the traceability information of each livestock.
Furthermore, the image generation module further comprises a URL generation part, the URL generation part is used for generating a URL corresponding to each livestock, the traceability information storage part correspondingly stores the traceability information of each livestock and the URL, and the URL address forms the traceability information data.
Furthermore, the traceability information storage part stores traceability information; the tracing information forms tracing information data.
Further, the data segmentation part classifies the traceability information into N data segments according to the concrete content of the traceability information data.
Further, the image jet printing module is used for jet printing the N structure-linked two-dimensional codes on the surface of the object to be jet printed, and comprises a jet printing control part and a jet printing part; the code spraying part comprises a spray printing unit with a spray printing opening; the jet printing control part comprises a jet printing control unit and a trigger switch unit, the trigger switch unit is used for being triggered to generate different types of trigger signals, and the jet printing control unit is used for respectively controlling the jet printing unit to start, pause and stop the jet printing structure to link the two-dimensional code according to the different types of trigger signals.
The invention further provides a traceability two-dimensional code decoding system which comprises a two-dimensional code scanning part, a two-dimensional code temporary storage part, a decoding judgment part, a two-dimensional code analysis part and a decoding display part, wherein the two-dimensional code scanning part scans and identifies the structural link two-dimensional code positioned on the skin of the livestock carcass, the two-dimensional code temporary storage part stores the scanned structural link two-dimensional code, the decoding judgment part judges whether the temporary storage part contains a group of complete two-dimensional codes with structural link modes or not according to the coincidence sequence information, parity check data and symbol quantity information contained in the structural link two-dimensional code, when the judgment result is positive, the structural link two-dimensional code currently stored in the two-dimensional code temporary storage part is judged to be a group of structural link two-dimensional codes, the two-dimensional code analysis part analyzes the group of structural link two-dimensional codes to obtain traceability information data, and the decoding display part displays the traceability information of the livestock carcass according to the traceability information data.
The invention also provides a tracing two-dimensional code decoding system, which comprises a two-dimensional code scanning part, a picture storage part, a two-dimensional code temporary storage part, a two-dimensional code analysis part and a decoding display part; the picture storage part stores an analysis selection picture, and the decoding display part displays the analysis selection picture to enable a user to select whether to scan and check corresponding contents by a single code or scan and check all tracing information contents after all two-dimensional codes; once a user selects single code scanning and viewing, the two-dimensional code analysis part analyzes the structural link two-dimensional code scanned by the two-dimensional code scanning part to obtain corresponding partial tracing information, and the decoding display part displays a partial tracing information display picture containing the partial tracing information; once a user selects to scan all the two-dimensional codes, the two-dimensional code temporary storage part stores the structural link two-dimensional codes scanned by the two-dimensional code scanning part, and once the two-dimensional code temporary storage part stores a complete set of two-dimensional codes with structural link modes; the two-dimensional code analysis part analyzes the group of structure link two-dimensional codes to obtain traceability information data, and the decoding display part displays the traceability information of the livestock carcass according to the traceability information data.
By adopting the marking system and the decoding system, complex information is separated on a plurality of small codes with simple structure link modes, compared with the prior art that only one complex large two-dimensional code contains all information, and a single small code contains less information, so that the number of data areas is small, the marking system and the decoding system are easy to identify after being sprayed and printed on the skin of an uneven livestock carcass with pores, and the problem of ink diffusion can be well solved on the surface of a damp and hot pigskin.
Furthermore, the area of a single small code is smaller relative to a complex large two-dimensional code, the whole body of the livestock body is not flat and has pores and oil water, and a flat area suitable for spray printing is usually found to be small and is difficult to contain the complex large two-dimensional code.
Meanwhile, the annular pattern and the solid circular pattern in the annular pattern form the position detection pattern, so that the livestock carcass surface with pores and oil and water can be well dealt with, and the livestock carcass surface has high recognition degree.
In addition, compared with the two-dimension code which directly contains the tracing information, the method adopts the URL address corresponding to the tracing information as the tracing information data to be contained in the two-dimension code, so that the data volume is small, the tracing information can be continuously updated in the later period, for example, the buying and selling information of the livestock body behind is traced, the tracing information is used as further tracing information to be added into the original tracing information and is stored in the tracing information storage part, therefore, the two-dimension code is firstly sprayed on the surface of the livestock body, and after the two-dimension code is subsequently scanned, all updated tracing information can still be obtained from the image generation module, namely the tracing server according to the URL address.
Moreover, the decoding system can scan the single structure link two-dimensional codes one by one and respectively display corresponding contents, and can also scan a group of completed structure link two-dimensional codes one by one and display all contents.
Drawings
Fig. 1 is a block diagram of a tracing system according to an embodiment of the present invention;
FIG. 2 is a block diagram of an image generation module according to an embodiment of the present invention;
FIG. 3 is a block diagram of an image print module according to an embodiment of the present invention;
FIG. 4 is a flow chart of the marking operation of the marking system according to the first embodiment of the present invention;
FIG. 5 is a block diagram of a decoding system according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating the decoding operation of the decoding system according to one embodiment of the present invention;
FIG. 7 is a block diagram of an image generation module according to a second embodiment of the present invention;
FIG. 8 is a flow chart of the marking operation of the marking system according to the second embodiment of the present invention;
FIG. 9 is a diagram illustrating a comparison between two-dimensional codes containing the same content and a set of two-dimensional codes linked to a structure according to a second embodiment of the present invention;
FIG. 10 is a block diagram of a decoding system according to a second embodiment of the present invention;
fig. 11 is a block diagram of a decoding system according to a third embodiment of the present invention;
FIG. 12 is a flowchart illustrating the decoding operation of the decoding system according to the third embodiment of the present invention;
FIG. 13 is a graphical code pattern of the present invention;
FIGS. 14a, 14b and 14c are three patterns of graphic codes according to the present invention;
FIG. 15 is a data distribution diagram of a data encoding region of the present invention;
FIG. 16 is a flowchart of encoding a graphic code according to the present invention;
FIG. 17 is a flowchart of decoding a graphic code according to the present invention;
FIG. 18 is an exemplary diagram of several common eye shapes;
FIG. 19 is a graph of the size of a code eye;
FIG. 20 is a diagram of a common code point pattern example;
FIG. 21 is a diagram of code point size;
FIG. 22 shows a combination of a large code and a small code of a private code;
FIG. 23 shows a standard code size code and code size code combination;
FIG. 24 is a combination of private code and standard code;
fig. 25 is a flowchart of a two-dimensional code combined graph generating method.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The terms "first," "second," and "third," etc. in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions.
Example one
Fig. 1 is a block diagram of a tracing system according to an embodiment of the present invention.
As shown in fig. 1, the traceability system 100 for livestock carcasses in the present embodiment includes a marking system and a decoding system 30, and the marking system includes an image generation module 10 and an image jet printing module 20.
FIG. 2 is a block diagram of an image generation module according to an embodiment of the present invention; fig. 4 is a flow chart of the marking operation of the marking system according to the first embodiment of the present invention.
As shown in fig. 2 and 4, the image generation module 10 includes a traceability information storage unit 11, an image generation display unit 12, a data segmentation unit 13, a URL generation unit 14, and an encoding unit 15. The traceability information storage part 11 stores traceability information input pictures, and the image generation display part 12 displays the traceability information input pictures, so that an operator can input, add and modify the traceability information of each livestock. The URL generation unit 14 generates a URL corresponding to the source information of the head livestock. The traceability information storage unit 11 stores traceability information of the pig and the URL in association with each other. The URLs constitute the tracing information data.
The data segmentation part 13 averagely divides the tracing information data into N data segments according to the data size, where N is a positive integer, further, N is greater than or equal to 2 and less than or equal to 16, and further, N is 2, 3, or 4.
The encoding part 15 is configured to generate N corresponding structure-linked two-dimensional codes from the N data segments in a structure-linked manner to form a group of structure-linked two-dimensional code groups. The position detection graph of each structure link two-dimensional code is composed of a circular ring graph and a solid circular graph positioned in the circular ring graph.
Fig. 3 is a block diagram of an image printing module according to an embodiment of the present invention.
As shown in fig. 3, the image jet printing module 20 jet prints N number of structure-linked two-dimensional codes on the surface of the object to be jet printed, and includes a jet printing control unit 21 and a jet printing unit 22. The ejection control unit 21 is triggered to control the ejection unit 22 to eject or stop printing.
The code spraying part can be automatically moved on the skin of the livestock body, or the code spraying part 22 can be manually held by a hand to be pressed on the skin of the livestock body to move.
According to some embodiments of the invention, the code spraying part comprises a spray printing unit and a handheld unit fixedly connected with the spray printing unit, and the spray printing unit is provided with a spray printing port. The jet printing control section 21 includes a jet printing control unit and a trigger switch unit provided on the hand-held unit. Before spouting the seal, the trigger switch unit is triggered (for example press etc.) and generates trigger signal, spouts seal the control unit and receives this trigger signal after acquireing the structure that corresponds with current livestock carcass and links two-dimensional code group, controls again and spouts seal this structure and link two-dimensional code group of seal portion 22, and in spouting the seal process, the trigger switch unit is triggered (for example press etc.) and generates trigger signal, spouts seal the control unit and receives this trigger signal after control spout seal portion 22 stops or pause spout the seal.
Specifically, the trigger switch unit includes a start trigger switch, a stop trigger switch, and a pause trigger switch. The start trigger switch is triggered (e.g., pressed) to generate a start trigger signal, and the inkjet printing control unit receives the start trigger signal and controls the inkjet printing unit 22 to perform inkjet printing.
The stop trigger switch is triggered (e.g., pressed) to generate a stop trigger signal, and the inkjet printing control unit receives the stop trigger signal and controls the inkjet printing unit 22 to stop inkjet printing on the current configuration-linked two-dimensional code group.
The pause trigger switch is triggered (for example, pressed) to generate a pause trigger signal, and the inkjet printing control unit receives the pause trigger signal and controls the inkjet printing unit 22 to pause the inkjet printing of the current structure-linked two-dimensional code group.
In other embodiments, the trigger switch unit may be formed by one trigger switch according to actual needs, and the pause jet printing trigger signal and the stop jet printing trigger signal may be generated by different pressed times of the trigger switch during the jet printing process.
According to an embodiment of the present invention, the image jet printing module 20 further includes a jet printing prompting unit 23, and when the jet printing of a structural link two-dimensional code is completed, the jet printing control unit controls the jet printing prompting unit 23 to send a prompting signal. The cue signal is an audio signal.
The specific code spraying process comprises the following steps: before spraying the code, an operator searches for a relatively flat part on a livestock body to serve as a to-be-sprayed printing area, then presses a code spraying part on the to-be-sprayed printing area, and presses a trigger switch unit, the trigger switch unit is triggered (such as pressed) to generate a trigger signal, along with the movement of the spray printing part 22 on the skin of the livestock body, the spray printing control unit receives the trigger signal and then controls the spray printing part 22 to perform spray printing action along with the movement of the spray printing part on the skin of the livestock body, if the to-be-sprayed printing area is large and can continuously spray and print a plurality of two-dimensional codes, the spray printing part 22 continues to spray and print the lower structure link two-dimensional codes, when the position to be sprayed and printed is no longer suitable for spray printing, a touch switch is pressed when a prompt signal rings, the spray printing control unit receives the trigger signal and then controls the spray printing part to stop spray printing action and not to spray and print the next two-dimensional code, and then the operator continues to detect the upper and lower part of the livestock body suitable for spray printing as the current to-be-sprayed printing area, and then presses the code spraying area to serve as the to-be-sprayed and the trigger switch unit to perform spray printing area.
When the trigger switch unit is pressed, the inkjet printing section 22 continues to inkjet print the structural connection two-dimensional code that is not currently inkjet printed.
Therefore, the plurality of structural linking two-dimensional codes in the invention can be adjacent to each other or not according to the parts suitable for spray printing on the livestock carcass.
FIG. 5 is a block diagram of a decoding system according to an embodiment of the present invention; FIG. 6 is a flowchart illustrating the decoding operation of the decoding system according to an embodiment of the present invention.
As shown in fig. 5 and 6, the decoding system 30 includes a two-dimensional code scanning unit 31, a two-dimensional code temporary storage unit 32, a decoding determination unit 33, a two-dimensional code analysis unit 34, a communication unit 35, a code scanning control unit 36, and a decoding display unit 37.
The two-dimensional code scanning section 31 scans the structural link two-dimensional code located on the skin of the livestock carcass.
The two-dimensional code temporary storage unit 32 stores the two-dimensional code of the structure link scanned by the two-dimensional code scanning unit 31.
The decoding judgment part 33 judges whether the temporary storage part contains a group of complete two-dimensional codes with the structural link mode according to the coincidence sequence information, the parity check data and the symbol number information contained in the structural link two-dimensional codes, and when the judgment result is no, the decoding display part 37 continues to display the scanning page, and the two-dimensional code scanning part 31 continues to keep the scanning state; if the determination result is yes, it is determined that the two-dimensional code of the structural link stored in the current two-dimensional code temporary storage unit 32 is a complete set of two-dimensional codes of the structural link, the two-dimensional code analyzing unit 34 analyzes the set of two-dimensional codes of the structural link to obtain a URL address, the communication unit 35 obtains the tracing information from the image generation module 10 according to the URL address, and the decoding display unit 37 displays the tracing information.
When the two-dimensional code scanning unit 31 is kept in the scanning state, the two-dimensional code scanning unit 31 suspends scanning when the code scanning control unit 36 is triggered, and when the two-dimensional code scanning unit 31 is kept in the suspended state, the two-dimensional code scanning unit 31 continues to keep the scanning state when the code scanning control unit is triggered.
The code scanning control unit 36 may be triggered by a physical key, or may be: the scan page has a scan pause key and a scan key, and is triggered by clicking the scan pause key and the scan key on the scan page displayed on the decode display unit 37.
In an embodiment of the present invention, the traceability system 100 for the surface of a livestock carcass includes a traceability server, an inkjet printer communicatively connected to the traceability server, and a decoding terminal communicatively connected to the traceability server, where the decoding terminal is a two-dimensional code scanning device, and may be a mobile phone with a camera, a tablet, or the like.
The traceability server comprises a traceability information storage part 11, an image generation part and an image generation display part 12, the code spraying machine comprises a data segmentation part 13, a coding part 15 and an image spray printing module 20, and the code spraying machine acquires traceability information corresponding to the livestock carcass of the current image to be sprayed from the traceability server through a communication network; the tracing server may include a tracing information storage unit 11, an image generation unit, an image generation display unit 12, a data segmentation unit 13, and a coding unit 15, the inkjet printer may include an image inkjet printing module 20, and the inkjet printer may acquire data information of the two-dimensional code with the linked structure from the tracing server via a communication network.
The decoding terminal has a decoding system 30 thereon.
Example two
In the second embodiment, the same portions as those in the first embodiment are given the same reference numerals, and the same description is omitted.
FIG. 7 is a block diagram of an image generation module according to a second embodiment of the present invention; fig. 8 is a flow chart of the marking operation of the marking system according to the second embodiment of the present invention.
As shown in fig. 7 and fig. 8, a difference of the first embodiment is that in the second embodiment, the image generating module 210 includes a tracing information storage 211, an image generating display 212, a data segmenting section 213, and an encoding section 214.
The traceability information storage unit 211 stores traceability information input screens, and the image generation display unit 212 displays the traceability information input screens to allow an operator to input traceability information of each animal. The traceability information storage unit 211 stores the inputted traceability information. The tracing information forms tracing information data.
The data segmentation unit 213 classifies the traceability information into N data segments according to the specific content of the traceability information data.
Fig. 9 is a comparison diagram of two-dimensional codes containing the same content and a set of structurally linked two-dimensional codes in the second embodiment of the present invention.
As shown in fig. 9, the traceability information for food safety, such as the information sprayed on the surface of pigskin, generally comprises four parts of source, certificate, inspection and enterprise: 1) Source, live pig source farm information; (2) Certificate, certificate of live pig entering slaughterhouse, including animal inspection and quarantine qualification certificate, etc.; (3) Examination, pre-slaughter examination record table, post-slaughter quarantine record table, clenbuterol detection and the like; (4) information such as qualifications of the enterprises and pig slaughtering points; therefore, the tracing information data is divided into four data segments including source, certificate, check and enterprise.
The encoding unit 214 generates N corresponding two-dimensional code having N structure links by using the N data segments in the structure link manner. The position detection pattern of each structure-linked two-dimensional code is composed of a circular ring pattern and a solid circle pattern located inside the circular ring pattern, where N is 4 in this embodiment, as shown in fig. 9.
Fig. 10 is a block diagram of a decoding system according to a second embodiment of the present invention.
As shown in fig. 10, the decoding system 230 includes a two-dimensional code scanning unit 231, a two-dimensional code analyzing unit 233, and a decoding display unit 232.
The two-dimensional code scanning part 231 scans the structure link two-dimensional code on the livestock carcass skin, the two-dimensional code analyzing part 233 analyzes the currently scanned structure link two-dimensional code to obtain corresponding partial traceability information, the decoding display part 232 displays the partial traceability information and returns a scanning key and an end key, the return scanning key is used for enabling a user to continue scanning, and the end key is used for enabling the user to stop scanning.
EXAMPLE III
In the third embodiment, the same parts as those in the first and second embodiments are given the same reference numerals, and the same description is omitted.
FIG. 11 is a block diagram of a decoding system according to a third embodiment of the present invention; FIG. 12 is a flowchart illustrating the decoding operation of the decoding system according to the third embodiment of the present invention.
As shown in fig. 11 and 12, unlike the first and second embodiments, the decoding system 330 in the third embodiment includes a two-dimensional code scanning unit 331, a screen storage unit 334, a two-dimensional code temporary storage unit 332, a decoding determination unit 333, a two-dimensional code analysis unit 335, a communication unit 336, a code scanning control unit 337, and a decoding display unit 338.
The screen storage unit 334 stores an analysis selection screen, and the decoding display unit 338 displays the analysis selection screen to allow the user to select whether to view the corresponding content by single-code scanning or to view all the source information content after scanning all the two-dimensional codes.
When a user selects single-code scanning to view corresponding contents, the two-dimensional code scanning portion 331 scans the structural link two-dimensional codes on the skins of the livestock carcasses, the two-dimensional code analyzing portion 335 analyzes the currently scanned structural link two-dimensional codes to obtain corresponding partial tracing information, the decoding display portion 338 displays the partial tracing information and returns to a scanning key and an end key, the scanning key is returned to enable the user to continue scanning, and the end key is used for enabling the user to stop scanning.
When the user selects to scan all the two-dimensional codes and check all the tracing information contents, the two-dimensional code temporary storage part 332 stores the structural link two-dimensional codes scanned by the two-dimensional code scanning part 331, the decoding judgment part 333 judges whether the two-dimensional code temporary storage part 332 contains a group of two-dimensional codes with a complete structural link mode according to the coincidence sequence information, the parity data and the symbol number information contained in the structural link two-dimensional codes, and when the judgment is negative, the decoding display part 338 continues to display the scanned pages, and the two-dimensional code scanning part 331 continues to keep the scanning state; if the result is yes, it is determined that the two-dimensional code linked by the structure stored in the two-dimensional code temporary storage section 332 is a group of two-dimensional codes linked by the structure, and the two-dimensional code analyzing section 335 analyzes the group of two-dimensional codes linked by the structure to obtain all tracing information data. At this time, when the tracing information data is tracing information, the decoding display unit 338 displays the tracing information; when the tracing information data is the tracing information and is the URL, the communication unit 336 acquires the tracing information from the image generation module according to the URL address, and the decoding display unit 338 displays the tracing information.
The function of the code scanning control portion 337 is the same as that of the first embodiment, and will not be described herein.
Example four
The aforementioned two-dimensional codes completely conform to QRCode (Quick Response Code) standards, chinese-sensible Code, PDF417, data Matrix and the like are called as "standard codes", but the standard codes are complex and need to be simplified and customized to reduce Code words, so that the two-dimensional codes are more suitable for spraying codes on animal carcass skins, and the simplified and customized codes are called as "private codes". The encoding and decoding rules of the "private code" and the two-dimensional code pattern generation rules are described below.
Fig. 13 is a graphical code pattern of the present invention. As can be seen from the figure, the graphic code mainly comprises six parts, the position detection graphics 101, 102 and 103 are used for accurately positioning the graphic code, the first user-defined area 104 and the second user-defined area 105 can enable a user to display elements such as characters or pictures in a user-defined mode, and the rest of the area occupying most of the area is the data coding area 106. In order to multiplex algorithm and save resources, the two-dimensional code of the invention refers to the mature QRCode standard, selects QRCode version 4 (33 x 33) as reference, and consists of 33 x 33 modules, wherein, the position detection graph accords with QRCode version 4 (33 x 33) and consists of 37 x 7 position detection graphs; the first customized area 104 is a rectangular area of 17 × 7, the second customized area 105 is a rectangular area of 7 × 17, and the first customized area 104 and the second customized area 105 are used for placing customized characters or pictures. The data encoding area 106 is a 24 × 24 square area for representing the source code subjected to the encoding process.
Three position detection graphs 101, 102 and 103 with the same appearance are respectively positioned at the upper left corner, the lower left corner and the upper right corner of the symbol, the position and the direction of the graph code can be uniquely determined, each position detection graph can be regarded as being composed of 3 overlapped concentric squares which are respectively 7 multiplied by 7 dark color modules, 5 multiplied by 5 light color modules and 3 multiplied by 3 dark color modules. The module width ratio of the standard position detection pattern is 1:1:3:1:1, the possibility of encountering similar patterns at other places in the graphic code is extremely low, so that the possible positions of the graphic code can be quickly identified, and the three position detection patterns can uniquely determine the position and the direction of the graphic code, thereby realizing the accurate decoding of a data coding region.
The first custom area 104 and the second custom area 105 are used for displaying text description or picture description of the graphic code, and a user can visually know the drawings of the graphic code before deciding to scan the graphic code. The user-defined area can also be designed with more beautiful characters or Logo, which is beneficial to the propaganda of enterprises.
In addition, the self-defined areas 104 and 105 can also be used for placing the text of the tracing code Character string, and reading the tracing code is realized by using an OCR (Optical Character Recognition) technology, so as to make up for the phenomenon of failure in decoding the graphic code caused by the wet or uneven surface of the live pig carcass.
The data encoding region 106 includes an encoding region and a mask pattern number region, wherein the encoding region includes a data codeword region and an error correction codeword region, which are regions where data codewords and error correction codewords are encoded with symbol characters. It can be seen from fig. 13 that each data word in the region occupies an area of 2 × 2 modules, and occupies 4 modules, that is, 4 times of a single module, so that the image of the designed larger color block is clearer after photographing, and the decoding accuracy is improved accordingly, which is also the main reason that the decoding efficiency of the graphic code of the present invention is better than that of the standard two-dimensional code. The data encoding area 106 is a 24 × 24 square area.
In practical application, generally, in a larger slaughterhouse, the pigs enter a cold storage after being slaughtered, and code spraying is carried out when the pigs are out of the cold storage, namely code spraying is carried out on the frozen pig carcasses; and a code is sprayed immediately after the slaughtering is selected by a smaller slaughterhouse, and then the slaughterhouse is transported and sold, namely, the code is sprayed on the hot fresh pig carcass. In a large number of code spraying tests, the surface of the frozen pig carcass is hard, the moisture content is low, the decoding effect is good after code spraying, the surface of the hot fresh pig carcass is soft, the moisture content is high, ink jet printing is easy to disperse, namely blue ink is adhered together, and particularly a position detection pattern without error correction code words is formed. Aiming at the situation, the size of the jet printing code points can be dynamically adjusted before the code is sprayed, the condition that blue modules are mutually adhered is avoided, for example, the code point width proportion of each position detection graph is 1:1:3:1:1 is adjusted to 1:1.5:2.5:1.5:1 or other suitable ratio to increase the spacing between dark code points and also to narrow the width of the code points in the data encoding region 106 to prevent ink bleed from the carcass of the hot fresh pig. Through the field code spraying test, the scheme has remarkable effect.
Fig. 14a, 14b and 14c are three patterns of graphic codes of the present invention, except that the custom regions 104 and 105 can be laid out at other positions than the position detection patterns 101, 102 and 103, and the remaining position is the data encoding region 106.
Assuming that the traceback code in the data encoding region 106 is a 19 digit decimal number, the encoding scheme is determined below. As shown in Table 1, encoding a decimal 19-bit number requires 64 bits (10 ^19 ≈ 2^ 64) for conversion into binary, the bit stream to be generated is one codeword per 8 bits, and the number of data codewords is 8. According to the error correction algorithm of open source Seed-Solomon error control coding, the error correction algorithm ensures that the symbols can not lose data when encountering damage, different error correction levels can be selected, if 8 error correction code words are selected, the error correction capacity is 4, and the error correction level is 4/(8 + 8) = 25%. The 8 data codewords and the 8 error correction codewords require 128 bits, corresponding to a minimum pattern size of 12 x 12.
Length of digit Binary bit Data code word Error correction capability Error correcting code word Error correction level Size of pattern
19 64 8 1 2 10% 9*9
19 64 8 2 4 16% 10*10
19 64 8 3 6 21% 11*11
19 64 8 4 8 25% 12*12
TABLE 1 error correction level and Pattern size for encoding 19-bit numbers
The data encoding region 106 in fig. 13 demonstrates a pattern of 12 × 12=144 modules, which is the pattern size for the longest 19-bit digital code, but is not limited to the format of 144 modules, and modules may be modified, added or subtracted to accommodate the digital length requirement to be encoded, depending on the digital length that needs to be encoded.
The higher the error correction level, the more error correction code words are required and the larger the pattern size. The code spraying machine can select a proper pattern size according to the current clean condition of the surface of the live pig carcass before spray-printing the graphic code, and can select a higher error correction level to improve the decoding rate when spraying and printing a larger pattern; when a small pattern is jet-printed, a lower error correction level can be selected, so that fewer code points are ensured, and the pattern is clearer.
FIG. 15 is a data distribution diagram of a data encoding region of the present invention. The data encoding region includes an encoding region and a mask region, the encoding region including a digital codeword region and an error correction codeword region, the digital codeword region including D1-D8, the error correction codeword region including E1-E8, and the mask region including M1 and M2, according to FIG. 15. After the data code word, error correction code word, and pattern size are determined, data filling into the data encoding region 106 is started. And generating error correction code words by using Seed-Solomon according to the number and the error correction level of the data code words, and placing the error correction code words behind the data code words. As shown in FIG. 15, from the bottom right corner, from bottom to top, from right to left, S-shaped padding, D1-D8 are 8 data codewords, E1-E8 are 8 error correction codewords, and M1 and M2 are mask codewords. Of course, other placing modes can be selected, and decoding can be performed according to the same position during decoding. Finally, the coded areas are masked only to place the dark and light modules more uniformly and to prevent the generation of patterns of position detection patterns.
The masking method refers to the QRCode standard, and eight mask patterns are used to mask the coding region pattern in the data coding region 106, i.e., XOR operation is performed at the corresponding positions of the pattern. The XOR operation places the pattern of coded areas on each mask pattern in turn and inverts the blocks corresponding to the dark blocks of the mask pattern (light to dark, or vice versa), selects the optimal set of 8 mask results following the following four principles, and records the corresponding mask pattern numbers in the M1 and M2 codewords.
(1) The presence of position detection patterns in the data encoding region 106 should be avoided as much as possible;
(2) It should be avoided as much as possible that the colors of adjacent modules in a row/column are the same by more than 5;
(3) The occurrence of large color blocks of the same color should be avoided as much as possible;
(4) The dark ratio in the whole symbol is optimal around 50%.
And after all the data are determined, the whole graphic code is filled completely, and can be sprayed and printed on the surface of a product by using an ink-jet printer.
Fig. 16 is a flowchart of encoding a graphic code according to the present invention. Tracing back the graphic code encoding flow chart briefly illustrates the encoding of 19-bit digits, as shown in table 1, the encoding flow of a module with 25% error correction level, data encoding area size of 12 × 12 code points and whole graphic code size of 33 × 33 includes:
(1) And generating a module array of the two-dimensional code, and setting module graphic attribute parameters. Generating a 33 × 33 module array for placing all elements, wherein the number of pixel points of the whole module array can be customized, and is generally a multiple of 33; meanwhile, the element attributes of the module array are defined, such as whether the module is a position detection pattern region or a data coding region or a mask region, whether the fill pattern of the module is a square or a dot, the size specification of the fill pattern, and the like.
(2) Three position detection patterns are generated. Generating position detection patterns 101, 102 and 103 shown in fig. 13 at the upper left corner, the lower left corner and the upper right corner, respectively, each occupying 7 × 7 modules; when generating the position detection pattern, the code dot width ratio may be 1:1:3:1:1, or 1:1.5:2.5:1.5:1, or other suitable ratio.
(3) And (6) encoding data. As shown in table 1, 19-bit digits of the original data are converted into binary data and 8 data codewords are generated, and Reed-Solomon is used to generate 8 error correction codewords for the 8 data codewords;
(4) The data encoding area is filled. Filling all code words, D1-D8 data code words and E1-E8 error correction code words in the data encoding region 106 according to FIG. 15;
(5) A mask is attached. Masking the data codeword and the error correction codeword, and recording the number of the selected mask in M1 and M2;
(6) And filling a custom area. Filling characters, pictures or tracing code character strings for OCR recognition in the first custom area 104 and the second custom area 105;
(7) Finally, a traceback code pattern as shown in fig. 13 is obtained.
FIG. 17 is a flowchart illustrating decoding of a graphic code according to the present invention. The decoding step from reading a graphic code to input data is the reverse of the encoding procedure, comprising:
(1) And identifying a depth module. Identifying a dark and light module, positioning and acquiring a symbol image, and determining an array of which the dark and light modules are identified as '1' and '0' according to the RGB numerical range of blue print ink and the skin color of the live pig carcass;
(2) And searching a position detection pattern. Finding position detection patterns 101, 102 and 103 to accurately locate the data encoding area;
(3) The data encoding region eliminates the mask. Reading mask pattern numbers recorded by M1 and M2, and obtaining a bitmap of a data coding region by using mask pattern reference to perform XOR processing to eliminate a mask;
(4) Recovering the data and the error correction codeword. Reading symbol characters according to a module arrangement rule, and recovering data and error correction code words of information;
(5) Error checking is performed with the error correction code word. The data is error-detected using Reed-Solomon and if an error is found, the error is corrected immediately.
(6) And decoding the data code word. And decoding the data code words according to the data coding rule to recover the decimal digits with 19 bits.
(7) The traceback code strings from the defined regions 201 and 201 are identified (as needed) using OCR techniques.
(8) Finally, the decoded digital string result is output.
EXAMPLE five
According to the foregoing description, the filling pattern of each module in the module array in the two-dimensional code is generally square, but considering the characteristics of the skin of the livestock and poultry carcass, the pores are densely distributed, contain moisture and are easy to diffuse, the distribution of the moisture is positively correlated with the distribution of the pores, and the diffusion of the ink is positively correlated with the distribution of the moisture, so that when the filling pattern is selected, a good decoding effect can be obtained by selecting a circle or a dot as the basic pattern.
For the selection of code eye and code dot patterns in the two-dimensional code, the following are mainly available:
1) The code eye, namely the position detection graph, is formed by overlapping a code eye outer frame, a code eye middle frame and a code eye inner frame, the colors of the code eye outer frame, the code eye middle frame and the code eye inner frame are respectively dark, light and dark, and the shapes of the code eye outer frame, the code eye middle frame and the code eye inner frame can be selected from standard squares, round corner squares, rhombuses and the like. Fig. 18 is an illustration of several common eyebox shapes, including standard square, rounded square, inside and outside circular, and circular. Fig. 19 is a size chart of a code eye. In addition to the shape, the sizes of the frame 120 and the frame 121 can be selected, where a is the maximum size of the frame 121, C is the maximum size of the frame 120, B is the maximum size of the frame, and a: b: c =3:5:7, so that the width ratio of the light and dark patterns in the middle of the code eye is 1:1:3:1:1. as mentioned above, the width ratio of the position detection pattern may be defined by the standard 1:1:3:1:1 is adjusted to 1:1.5:2.5:1.5:1, or 0.5:1.5:2.5:1.5:1 or other proper proportion, thereby reducing diffusion, improving the recognition rate, the general principle is that dark part is less, light part is as much as possible, the width proportion scope of the position detection figure is:
[0.25,1.0):(1.0,2.5]:[1.5,3.0):(1.0,2.5]:[0.25,1.0)。
preferably, the width ratio range of the position detection pattern is:
[0.25,0.75]:[1.25,2.5]:[1.5,2.75]:[1.25,2.5]:[0.25,0.75]
the size of a single code point in the code eye is 1 multiplied by 1 module square grid.
As mentioned above, when the code is sprayed on the pig carcass, the width ratio range of the position detection pattern is dynamically adjusted according to the dryness and wetness degree of the pork surface, or the width ratio ranges of the position detection pattern are respectively set according to hot fresh meat or cold fresh meat to be sprayed, so that the code scanning success rate can be improved.
2) Code points, i.e. code points filled in a single block square in the data encoding region, fig. 20 is a diagram illustrating a common code point pattern, and fig. 21 is a diagram illustrating a code point size. The code point patterns filled in the module can be square, round corner square, round and the like. The size of the code points can be adjusted, the sizes of the square grid filling, the 3/4 square grid filling, the 1/2 square grid filling, the 1/4 square grid filling and the like are selected, and the decoding success rate within the range of 3/4 to 1/4 square grid filling is higher in view of the actual code scanning success rate. The size of a single module square is a, for a standard code, the occupation space of a single standard code point 125 of the data coding region is 1 × 1 module square, and the range of the maximum size F is:
0.25a≤F≤a;
preferably, 0.5a ≦ F ≦ 0.75a.
For the private code of the present invention, the footprint of a single private code dot 124 of the data encoding region is a 2 × 2 modular square, with a size D =2a, and the maximum size E ranges from:
0.5a≤E≤2a;
preferably, 0.75a ≦ E ≦ 1.5a.
In addition, the position of the code point in the square grid can also be set, the center is centered, the positions of the upper part, the lower part, the left part, the right part and the like can be selected and adjusted, and generally, the center is more suitable.
In the foregoing, when the code is sprayed on the pig carcass, the size of the code point is dynamically adjusted according to the dryness and wetness degree of the pork surface, or the size of the code point is respectively set according to the hot fresh meat or the cold fresh meat which is sprayed, so that the code scanning success rate can be improved.
According to statistics on the code scanning success rate of spraying the square codes and the circular codes on the standard codes, the code scanning success rate of the square codes is 18.5%, and the code scanning success rate of the circular codes is 29.1%. If the private code circular code is adopted, the code scanning success rate can reach more than 70%.
EXAMPLE six
Consider that beasts and birds carcass epidermis is not very smooth level and smooth, and some positions are flat to be fit for spouting the sign indicating number, and some local undulation folds are more, are not fit for spouting the sign indicating number, but at continuous operation's in-process, uncontrollable factor is many, in order to improve the recognition rate of two-dimensional code, and the code success rate is swept in the mode that big sign indicating number and little sign indicating number mixed use is improved to this embodiment adoption.
In the first case, the large code and the small code are identical in content. For example, the side length of a large two-dimensional code is 5cm, and the side length of a small two-dimensional code is 2.5cm, the recognition effects of the two codes are not much different at a flat and smooth part; however, in a portion with many undulated wrinkles, the large code size is large, the code point is large, the interference resistance is large, but the influence of surface deformation or dirt is easily caused, the area is large, and the probability of interference is also large. The small code has small size, only a small block is needed to be flat and smooth, and the probability of the whole interference is small. In practice, the full-large code, the full-small code and the mixed use mode of the large code and the small code can be adopted to improve the code spraying quality and improve the code scanning success rate.
In the second case, the large code and the small code are not identical in content. For example, if the length of the side of the large two-dimensional code is 5cm and the length of the side of the small two-dimensional code is 2.5cm, if the size of the code point of the large code is the same as that of the small code, the code area of the large code data is about 4 times of the data stored in the code area of the small code data theoretically, so that the large code can store more data, or a higher error correction level is adopted, and the decoding success rate is improved. In this way, when the tracing two-dimensional code is generated for the same tracing code, the contents of the large code and the small code may be different, thereby providing more information or service.
EXAMPLE seven
The standard codes, the private codes, the big codes, the small codes and the like are mentioned, and the tracing codes can be combined in various forms, so that the code scanning success rate is ensured.
FIG. 22 shows a private code size code combination. The tracing code consists of 15 digits. The tracing-source code big code 130 is above, below is the tracing-source code private code big code 131, below is the tracing-source code private code small code 132 and the corresponding tracing-source code small code 133. The tracing code and the tracing two-dimensional code appear in pairs, the tracing code can be read and identified, and the tracing code and the tracing two-dimensional code appear in pairs, so that the tracing code has an encryption anti-counterfeiting effect.
Fig. 23 is a standard code size code combination. Including a traceable code big code, a standard code big code 135, a traceable code small code, and a standard code small code 136. Under the same tracing code, code points of the standard code are denser than those of the private code, the data volume is large, and the code points of the private code are large, sparse and easy to identify. Because the standard code accords with the QRCode standard, a special code scanning tool is not needed, and a WeChat code scanning tool carried by the mobile phone can read the standard code, so that the tracing is convenient. The private code can be read only by customized code scanning software, and the software can be in the form of an app, an applet, a public number and the like.
Fig. 24 is a combination of a private code and a standard code. The tracing code big code, the standard code big code 135, the tracing code small code and the private code small code are arranged from top to bottom. The combination of the standard code and the private code can facilitate different people to obtain the traceability, inspection and quarantine information of the livestock and poultry carcasses by using different tools.
Example eight
The two-dimensional code combination is to improve the success rate of code-spraying decoding, distinguish the code-scanning requirements of users of different types, meet different code-scanning tools, and the like, and the method for generating the two-dimensional code combination graph is described in detail below.
Fig. 25 is a flowchart of a two-dimensional code combined graph generating method. Assume that the two-dimensional code combined graph includes a two-dimensional code a and a two-dimensional code B.
Firstly, the specifications of the two-dimension code A and the two-dimension code B and the fixed contents in the two-dimension code A and the two-dimension code B are set. The specification comprises standards, sizes, patterns and the like, the fixed content is the content which is fixed and unchanged in the current code spraying operation process, such as a link website, and the two-dimension code A and the two-dimension code B can be linked to different websites.
And then, obtaining the source tracing code of the livestock and poultry carcasses to be printed currently.
And then, generating a two-dimension code A, a two-dimension code B and character images of the tracing codes according to the preset rules, fixed contents, the tracing codes and the like, so that only the images need to be combined during subsequent jet printing.
And finally, simultaneously spraying and printing the two-dimension code A and the two-dimension code B on the skin of the livestock and poultry carcass in an ink-jet mode.
In order to better jet printing, the system also comprises a jet printing area detection unit which determines the size, distribution and combination mode of the two-dimensional code, the error correction level of the data coding area and the like by detecting the wrinkle condition, the pollution condition and the like of the to-be-jet-printed area of the skin of the livestock and poultry carcass. Wherein, the wrinkled condition means that the epidermis is flat; the pollution condition is that whether the epidermis has the hair, bloodstain or other pollutant that do not scrape clean, detects not only whether have fold or pollution, detects fold or contaminated area to confirm the size and spout the seal position of two-dimensional code. The size of the two-dimension code means that the two-dimension code is a big code or a small code; the distribution refers to the position of the two-dimensional code sprayed in the area to be printed; the combination mode refers to the combination of large codes and small codes of two-dimensional codes, the combination of standard codes and private codes, the combination of two-dimensional codes and character images of tracing codes and the like, and aims to facilitate decoding and reading and meet the requirements of different user objects on code scanning. And after the detection is finished, dynamically spraying and printing the two-dimension code A or the two-dimension code B on the skin of the livestock and poultry carcass by the system according to the detection condition.
Finally, it should be noted that: the above embodiments are merely exemplary embodiments applicable to the conventional breadth for illustrating and not limiting the present invention, and those skilled in the art can make modifications or equivalent substitutions to the present invention without departing from the spirit and scope of the present invention, which shall be covered by the claims of the present invention.

Claims (10)

1. A marking system for livestock carcasses is characterized by comprising an image generation module and an image spray printing module; the image generation module comprises a traceability information storage part, a data segmentation part and an encoding part, wherein the traceability information storage part is used for storing traceability information data, the data segmentation part is used for dividing the traceability information data into N data segments, and the encoding part is used for generating N corresponding structure-linked two-dimensional codes through the N data segments in a structure-linked mode; the image jet printing module jet prints N structural link two-dimensional codes on the surface of an object to be jet printed, wherein N is a positive integer.
2. The marking system according to claim 1, wherein the jet printing module jet prints the N structural link two-dimensional codes on flat portions of the surface of the object to be jet printed, respectively.
3. The marking system as claimed in claim 1, wherein the position detection pattern of the structure-linked two-dimensional code is composed of a circular ring pattern and a solid circular pattern located within the circular ring pattern.
4. The marking system of claim 1, wherein the image generation module further comprises an image generation display; the traceability information storage part stores traceability information input pictures, and the image generation display part displays the traceability information input pictures so that an operator can input and perfect the traceability information of each livestock.
5. The marking system according to any one of claims 1 to 4, wherein the image generation module further comprises a URL generation part, the URL generation part is used for generating a URL corresponding to the traceability information of each animal, the traceability information storage part correspondingly stores the traceability information of each animal and the URL, and the URL address forms the traceability information data.
6. The marking system according to any one of claims 1 to 4, wherein the traceability information storage portion stores traceability information; the tracing information forms tracing information data.
7. The marking system as claimed in claim 6, wherein the data segmentation section classifies the traceability information into N data segments according to the specific content of the traceability information data.
8. The marking system as claimed in any one of claims 1 to 4, wherein the image jet printing module is used for jet printing the N structure-linked two-dimensional codes on the surface of the object to be jet printed, and comprises a jet printing control part and a jet printing part; the jet printing part comprises a jet printing unit with a jet printing opening; the jet printing control part comprises a jet printing control unit and a trigger switch unit, the trigger switch unit is used for being triggered to generate different types of trigger signals, and the jet printing control unit is used for respectively controlling the jet printing unit to start, pause and stop the jet printing structure to link the two-dimensional code according to the different types of trigger signals.
9. The utility model provides a decode system for livestock carcass, its characterized in that includes two-dimensional code scanning portion, two-dimensional code temporary storage portion, decodes judgement portion, two-dimensional code analysis portion and decodes the display part, two-dimensional code scanning portion scans the structure link two-dimensional code that lies in on the livestock carcass epidermis and discerns, two-dimensional code temporary storage portion is to scanning the structure link two-dimensional code is saved, it judges according to structure link that the two-dimensional code contains accord with sequence information, parity check data and symbol quantity information whether contain the two-dimensional code of a set of complete structure link mode in the temporary storage portion to decode judgement portion, when judging as yes, judges currently the structure link two-dimensional code of two-dimensional code temporary storage portion storage is a set of structure link two-dimensional code, two-dimensional code analysis portion is to this a set of structure link two-dimensional code and is analyzed and is obtained traceability information data, the display part is according to traceability information data display livestock carcass.
10. A decoding system for livestock carcasses is characterized by comprising a two-dimensional code scanning part, a picture storage part, a two-dimensional code temporary storage part, a two-dimensional code analysis part and a decoding display part; the picture storage part stores an analysis selection picture, and the decoding display part displays the analysis selection picture to enable a user to select whether to scan and check corresponding contents by a single code or scan and check all tracing information contents after all two-dimensional codes; once a user selects single code scanning and viewing, the two-dimensional code analysis part analyzes the structural link two-dimensional code scanned by the two-dimensional code scanning part to obtain corresponding partial tracing information, and the decoding display part displays a partial tracing information display picture containing the partial tracing information; once a user selects to scan all the two-dimensional codes, the two-dimensional code temporary storage part stores the structural link two-dimensional codes scanned by the two-dimensional code scanning part, and once a complete set of two-dimensional codes with structural link modes are stored in the two-dimensional code temporary storage part; the two-dimensional code analysis part analyzes the group of structure link two-dimensional codes to obtain traceability information data, and the decoding display part displays the traceability information of the livestock carcass according to the traceability information data.
CN202211009211.2A 2021-10-29 2022-08-22 Marking system and decoding system for livestock carcasses Active CN115886055B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111268363.XA CN114027351A (en) 2021-10-29 2021-10-29 Marking system and decoding system for livestock carcasses
CN202111268363X 2021-10-29

Publications (2)

Publication Number Publication Date
CN115886055A true CN115886055A (en) 2023-04-04
CN115886055B CN115886055B (en) 2023-10-13

Family

ID=80135715

Family Applications (4)

Application Number Title Priority Date Filing Date
CN202111268363.XA Pending CN114027351A (en) 2021-10-29 2021-10-29 Marking system and decoding system for livestock carcasses
CN202210619215.6A Pending CN114885973A (en) 2021-10-29 2022-06-02 Graphic code for livestock and poultry carcass skin code spraying, generation method and code spraying device
CN202210619204.8A Active CN115251126B (en) 2021-10-29 2022-06-02 Two-dimensional code, corresponding coding and decoding method, code spraying and code reading device
CN202211009211.2A Active CN115886055B (en) 2021-10-29 2022-08-22 Marking system and decoding system for livestock carcasses

Family Applications Before (3)

Application Number Title Priority Date Filing Date
CN202111268363.XA Pending CN114027351A (en) 2021-10-29 2021-10-29 Marking system and decoding system for livestock carcasses
CN202210619215.6A Pending CN114885973A (en) 2021-10-29 2022-06-02 Graphic code for livestock and poultry carcass skin code spraying, generation method and code spraying device
CN202210619204.8A Active CN115251126B (en) 2021-10-29 2022-06-02 Two-dimensional code, corresponding coding and decoding method, code spraying and code reading device

Country Status (1)

Country Link
CN (4) CN114027351A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117253170A (en) * 2023-09-27 2023-12-19 河北祥盛农业科技有限公司 Batch identification method, identification system and slaughterhouse information management system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273044B (en) * 2023-10-27 2024-03-29 广州通赢科技有限公司 Lattice diagram construction method and lattice diagram identification method
CN117291631A (en) * 2023-10-27 2023-12-26 广州通赢科技有限公司 Hidden commodity tracing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424498A (en) * 2013-09-10 2015-03-18 王越 Method and device for transforming two-dimensional codes at high speed
CN105243571A (en) * 2015-11-25 2016-01-13 清远市粤阳一号农业科技有限公司 Implementing method for F2O source tracing marketing
CN109527052A (en) * 2018-12-04 2019-03-29 智锐达仪器科技南通有限公司 A kind of livestock ketone body epidermis marking device, system and marking method
CN110495487A (en) * 2019-06-06 2019-11-26 智锐达仪器科技南通有限公司 A kind of livestock ketone body marking device and marking method
CN112544676A (en) * 2020-12-23 2021-03-26 智锐达仪器科技南通有限公司 Livestock carcass tracing method, corresponding ink-jet printer and system

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3916306A1 (en) * 1989-05-19 1990-11-22 Banss Kg Maschf DEVICE FOR APPLYING CODES TO Slaughter Animals
JPH1049610A (en) * 1996-08-02 1998-02-20 Toppan Printing Co Ltd Method for forming two-dimensional code picture
US6267296B1 (en) * 1998-05-12 2001-07-31 Denso Corporation Two-dimensional code and method of optically reading the same
JP4052190B2 (en) * 2002-10-29 2008-02-27 株式会社デンソー Two-dimensional code formation structure
CN102446264A (en) * 2010-10-15 2012-05-09 航天信息股份有限公司 Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice
CN103310252B (en) * 2012-10-29 2014-10-22 成都菲普迪斯科技有限公司 CCQR (Colorful Coded Quick Response) anti-counterfeiting mark
EP2937818B1 (en) * 2012-12-19 2022-04-20 Denso Wave Incorporated Information code, information code generation method, information code reader device, and information code usage system
CN103428575B (en) * 2013-08-19 2017-04-12 符晓友 Encoding and decoding control method of information overlaid in media stream or media file images
DE102015008431B4 (en) * 2014-07-08 2021-01-21 Franziskus X. Thoma Quality and origin assurance procedure S.P.L.-2.Sxx / for tracking of carcasses e.g. (SN) pigs etc. in ongoing slaughterhouses. A machine-readable code applied by laser and plain text on the carcass
CN206480013U (en) * 2016-04-12 2017-09-08 立德高科(昆山)数码科技有限责任公司 The Quick Response Code and two-dimension code label of a kind of novel type
CN207082267U (en) * 2016-06-17 2018-03-09 纷美(北京)贸易有限公司 For the product packaging of liquid food, sheet material and packaging material
CN107122816A (en) * 2017-03-20 2017-09-01 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of self-defined view finding figure Quick Response Code and generation method
CN107832652A (en) * 2017-09-28 2018-03-23 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN109324607A (en) * 2018-08-13 2019-02-12 济南大学 Two-dimensional code identification method and robot visual guidance method for self-locating based on it
CN111311244A (en) * 2018-12-11 2020-06-19 北京意锐新创科技有限公司 Passive code scanning method and device based on QR (quick response) code
CN109754046B (en) * 2019-01-31 2022-09-27 北京迈格威科技有限公司 Two-dimensional code, encoding method, decoding method, device and equipment of two-dimensional code
CN110084349A (en) * 2019-04-30 2019-08-02 尤尼泰克(嘉兴)信息技术有限公司 A kind of method for drafting and geometry pixel two dimensional code of two dimensional code pixel
CN112187284A (en) * 2019-07-05 2021-01-05 杭州海康机器人技术有限公司 Encoding method, encoding pattern reading method, and imaging device
CN110384127B (en) * 2019-07-27 2022-03-22 智锐达仪器科技南通有限公司 Livestock carcass marking method and marking device
CN110991203A (en) * 2019-12-10 2020-04-10 浩云科技股份有限公司 Two-dimensional code communication method, encoding method, decryption method and device
CN112487834A (en) * 2020-12-23 2021-03-12 智锐达仪器科技南通有限公司 Livestock carcass skin traceability code spray printing method, ink jet printer, traceability code and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424498A (en) * 2013-09-10 2015-03-18 王越 Method and device for transforming two-dimensional codes at high speed
CN105243571A (en) * 2015-11-25 2016-01-13 清远市粤阳一号农业科技有限公司 Implementing method for F2O source tracing marketing
CN109527052A (en) * 2018-12-04 2019-03-29 智锐达仪器科技南通有限公司 A kind of livestock ketone body epidermis marking device, system and marking method
CN110495487A (en) * 2019-06-06 2019-11-26 智锐达仪器科技南通有限公司 A kind of livestock ketone body marking device and marking method
CN112544676A (en) * 2020-12-23 2021-03-26 智锐达仪器科技南通有限公司 Livestock carcass tracing method, corresponding ink-jet printer and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117253170A (en) * 2023-09-27 2023-12-19 河北祥盛农业科技有限公司 Batch identification method, identification system and slaughterhouse information management system
CN117253170B (en) * 2023-09-27 2024-04-02 河北祥盛农业科技有限公司 Batch identification method, identification system and slaughterhouse information management system

Also Published As

Publication number Publication date
CN115251126A (en) 2022-11-01
CN115886055B (en) 2023-10-13
CN115251126B (en) 2023-11-21
CN114885973A (en) 2022-08-12
CN114027351A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN115886055B (en) Marking system and decoding system for livestock carcasses
Grillo et al. High capacity colored two dimensional codes
CN100517367C (en) System and method for extracting invisible information
US9390357B2 (en) Readable matrix code
CN1310187C (en) Apparatus and method for recognizing code
JP5952178B2 (en) Four-dimensional (4D) color barcode for encoding and decoding large data
CN101088100B (en) Method and apparatus for decoding mixed code
US20150339838A1 (en) Image mask providing a machine-readable data matrix code
CN1200385C (en) Machine readable code and method and device of encoding and decoding same
CN106295454B (en) For handling the data processing equipment and method of 2D color bar code
Kopec Multilevel character templates for document image decoding
JP2000200321A (en) Method for detecting place of two-dimensional bar code and reading same
JP2004527042A5 (en)
JPH07200712A (en) Method and apparatus for readout of bar code
JP2001195536A (en) Code, and method and device for encoding/decoding code
JP2007026428A (en) Two-dimensional code generation method and reading method, and executable program
JPH10261041A (en) Method for locating position of mechanically readable marker in image
US7280254B2 (en) Method for maintaining uniform spatial frequency over a dataglyph block
CN109543803B (en) Coding system and decoding system capable of editing primary-secondary color two-dimensional codes
JP2007325651A (en) Flat puzzle
CN110175661A (en) The generation method and device in two dimensional code sharing path
US20110075172A1 (en) Print information acquiring method, print information acquiring apparatus, profile generating method, and computer-readable recording medium with program recorded therein
JP7293725B2 (en) A device that associates objects with information
CN117115793A (en) Livestock carcass skin traceability character code identification method and traceability evidence application program
CN112976825A (en) Three-dimensional code compatible with two-dimensional code and realized based on printing and printing, and printing method, identification method and compiling method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant