CN108985796A - Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes - Google Patents

Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes Download PDF

Info

Publication number
CN108985796A
CN108985796A CN201810718770.8A CN201810718770A CN108985796A CN 108985796 A CN108985796 A CN 108985796A CN 201810718770 A CN201810718770 A CN 201810718770A CN 108985796 A CN108985796 A CN 108985796A
Authority
CN
China
Prior art keywords
code
coding
unified
chinese medicine
meat dish
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810718770.8A
Other languages
Chinese (zh)
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.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201810718770.8A priority Critical patent/CN108985796A/en
Publication of CN108985796A publication Critical patent/CN108985796A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a coding method compatible with meat, vegetable and Chinese medicinal material tracing codes, which relates to the field of WEB application software in the Internet industry, and is used for carrying out compatible processing on encoding rules, storage and identification on meat, vegetable and Chinese medicinal material tracing codes reported by an enterprise subsystem to obtain unified codes: header + unified social credit code + timestamp + province code + city code + random code + check code; uniformly managing batch codes and tracing codes to all meat, vegetables and Chinese medicinal material tracing systems to obtain uniform codes of the meat, vegetables and Chinese medicinal materials; and the coding information reported by the city management platform and the industry management platform is subjected to unified and standardized processing, so that the unification of coding and query of the city management platform and the industry management platform is realized. The invention realizes the chain synthesis and the unified display of important product tracing platform data, realizes the unification of coding and inquiring of a provincial and prefectural management platform and an industry management platform, and improves the unified management level of meat, vegetables and Chinese medicinal material tracing systems.

Description

A kind of coding method of compatible meat dish and Chinese medicine traceability code
Technical field
The present invention relates to internet industry WEB application software field, specifically a kind of compatible meat dish and Chinese medicine are chased after It traces back the coding method of code.
Background technique
The product back-tracings systems such as original districts and cities' meat dish traceability system, Chinese medicine traceability system have respective traceability code, Batch code coding rule, ununified coding criterion, staple product retrospect platform need to collect the retrospect number such as meat dish, Chinese medicine According to, and realize the synthesis of retrospect chain, thus there is retrospect chain caused by traceability code, batch code disunity can not synthesize simultaneously The problem of barcode scanning is shown.
Summary of the invention
The present invention is directed to the demand and shortcoming of current technology development, provides a kind of compatible meat dish and Chinese medicine traceability code Coding method.
The coding method of a kind of compatible meat dish and Chinese medicine traceability code of the present invention solves what above-mentioned technical problem used Technical solution is as follows: a kind of coding method of compatible meat dish and Chinese medicine traceability code, the meat dish reported to enterprise's subsystem The compatible processing in terms of coding rule, storage, identification is carried out with Chinese medicine traceability code, obtains Unified coding;To all meat dishes and Chinese medicine traceability system is managed collectively batch code, traceability code, obtains meat dish and Chinese medicine Unified coding;And districts and cities are managed flat Platform, trade management platform report encoded information to carry out unified standard processing, realize districts and cities' management platform and trade management platform The unification of coding and inquiry.
Specifically, carrying out the compatible processing of coding rule in meat dish and Chinese medicine traceability code, coding rule has: 1) unique Property;2) expandability;3) simplicity;4) scientific;5) compatible.
Specifically, carrying out the compatible processing in terms of coding rule, storage, identification to meat dish and Chinese medicine traceability code, obtain Unified coding:
Header+unification social credibility code+timestamp+province's coding+city's coding+random code+check code.
Specifically, the check code product process includes:
1) MD5 calculating is carried out to Unified coding+key, obtains the abstract result of 16 bytes;
2) to every one group of 4 bytes of result of abstract, it is divided into 4 groups;
3) XOR operation is carried out respectively to each group, obtain the result of 4 bytes;
4) two groups are further divided into, every group carries out XOR operation respectively, obtains the result of two bytes;
5) it adds after source code, totally 44.
Specifically, being managed collectively batch code, traceability code to all meat dishes and Chinese medicine traceability system, meat dish batch code is obtained Unified coding:
The node code that circulates in meat dish batch code corresponds to unified social credibility code in the Unified coding;Meat dish batch code Header mends C in Unified coding;Operator's main code contains province, city and region's coding in meat dish batch code, takes out provinces and cities' coding, corresponding institute State province's coding and city's coding in Unified coding;Serial number corresponds to random code in the Unified coding in meat dish batch code;Meat dish batch Timestamp is meaningless in the Unified coding of subcategory number, all mends 0.
Specifically, the node code that circulates in the meat dish batch code corresponds to unified social credibility code in the Unified coding, Mend 0 in insufficient position.
Specifically, being managed collectively batch code, traceability code to all meat dishes and Chinese medicine traceability system, meat dish traceability code is obtained Unified coding:
Operator's main code corresponds to unified social credibility code in the Unified coding in meat dish traceability code;Meat dish traceability code Unified coding in header mend D;Operator's main code contains province, city and region's coding in meat dish traceability code, takes out provinces and cities' coding, corresponding Province's coding and city's coding in the Unified coding;Serial number corresponds to random code in the Unified coding in meat dish traceability code;Meat dish Timestamp is meaningless in the Unified coding of batch code, all mends 0.
Specifically, operator's main code corresponds to unified social credibility generation in the Unified coding in the meat dish traceability code Code, insufficient position mend 0.
Specifically, being managed collectively batch code, traceability code to all meat dishes and Chinese medicine traceability system, Chinese medicine retrospect is obtained The Unified coding of code:
Business code corresponds to unified social credibility code in the Unified coding in Chinese medicine traceability code;Chinese medicine traceability code Unified coding in header mend E;Timestamp in the corresponding Unified coding of exchange hour stamp in Chinese medicine traceability code;Chinese medicine chases after The Ma Zhong that traces back is saved in the corresponding Unified coding of coding and is saved coding;Classification code claims coded combination corresponding with tracing to the source in Chinese medicine traceability code Random code and city's coded combination in the Unified coding.
Specifically, business code corresponds to unified social credibility code in the Unified coding in the Chinese medicine traceability code, Mend 0 in insufficient position.
The coding method of a kind of compatible meat dish and Chinese medicine traceability code of the present invention, what is had compared with prior art has Beneficial effect is: the present invention is managed collectively batch code, traceability code, Unified coding to all meat dishes and Chinese medicine traceability system;It solves The problem of retrospect chain caused by meat dish and Chinese medicine traceability code, batch code disunity can not synthesize and barcode scanning is shown, realizes Staple product retrospect platform data chain synthesizes and uniformly shows, and reports coding to districts and cities' management platform, trade management platform Information carries out unified standard processing, realizes the unification of districts and cities of the whole province management platform and trade management plateau coding and inquiry, mentions It is high horizontal to the unified management of meat dish and Chinese medicine traceability system.
Detailed description of the invention
Illustrate the embodiment of the present invention or technology contents in the prior art in order to clearer, below to the embodiment of the present invention Or required attached drawing does simple introduction in the prior art.It will be apparent that attached drawing disclosed below is only of the invention one Section Example to those skilled in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings, but within the scope of the present invention.
Attached drawing 1 is the compatible regular schematic diagram of this example meat dish batch code;
Attached drawing 2 is the compatible regular schematic diagram of the present embodiment meat dish traceability code;
Attached drawing 3 is the compatible regular schematic diagram of the present embodiment Chinese medicine traceability code.
Specific embodiment
The technical issues of to make technical solution of the present invention, solving and technical effect are more clearly understood, below in conjunction with tool Body embodiment is checked technical solution of the present invention, is completely described, it is clear that described embodiment is only this hair Bright a part of the embodiment, instead of all the embodiments.Based on the embodiment of the present invention, those skilled in the art are not doing All embodiments obtained under the premise of creative work out, all within protection scope of the present invention.
Embodiment
The present embodiment proposes the coding method of a kind of compatible meat dish and Chinese medicine traceability code, the meat reported to enterprise's subsystem Dish and Chinese medicine traceability code carry out the compatible processing of coding rule, storage, identification etc., obtain Unified coding;To all meat Dish and Chinese medicine traceability system are managed collectively batch code, traceability code, obtain meat dish and Chinese medicine Unified coding;And districts and cities are managed Platform, trade management platform report encoded information to carry out unified standard processing, realize districts and cities of the whole province management platform and industry pipe The unification of platform coding and inquiry.
The coding method of the present embodiment compatible meat dish and Chinese medicine traceability code, is encoded in meat dish and Chinese medicine traceability code The compatible processing of rule, coding rule have: 1) uniqueness;In China, a coded object should only have a code, One code only uniquely indicates a coded object;2) expandability;Code should there are standby capacity appropriate, to adapt to not The disconnected needs expanded;3) simplicity;The structure and form of code answer it is simple and clear, convenient for manually enter;4) scientific;Code Structure designs the links that should fully consider actual circulation, meets practical business process;5) compatible;Compatible built meat dish, Chinese medicine etc. traces plateau coding rule.
The coding method of the present embodiment compatible meat dish and Chinese medicine traceability code, encodes meat dish and Chinese medicine traceability code The compatible processing of rule, storage, identification etc., obtains Unified coding:
Header+unification social credibility code+timestamp+province's coding+city's coding+random code+check code, as shown in the table:
Wherein, check code product process includes:
1) MD5 calculating is carried out to Unified coding+key, obtains the abstract result of 16 bytes;
2) to every one group of 4 bytes of result of abstract, it is divided into 4 groups;
3) XOR operation is carried out respectively to each group, obtain the result of 4 bytes;
4) two groups are further divided into, every group carries out XOR operation respectively, obtains the result of two bytes;
5) it adds after source code, totally 44.
The coding method of the present embodiment compatible meat dish and Chinese medicine traceability code, unites to all meat dishes and Chinese medicine traceability system One management batch code, traceability code, obtains the Unified coding of meat dish batch code, traceability code:
The node code that circulates in meat dish batch code corresponds to unified social credibility code, insufficient position in above-mentioned Unified coding and mends 0;For Mark is that meat dish batch code is converted into Unified coding, and header mends C;Operator (seller) main code contains province in meat dish batch code Urban district coding takes out provinces and cities' coding, province's coding and city's coding in corresponding above-mentioned Unified coding;Serial number is corresponding in meat dish batch code Random code in above-mentioned Unified coding is all 7, is not necessarily to cover;Timestamp is meaningless in the Unified coding of meat dish batch code, all Mend 0;As shown in Fig. 1.
Operator (seller) main code corresponds to unified social credibility code in above-mentioned Unified coding in meat dish traceability code, insufficient Position mends 0, is that meat dish traceability code is converted into Unified coding to identify, header mends D;Operator (seller) main body in meat dish traceability code Code is encoded containing province, city and region, takes out provinces and cities' coding, province's coding and city's coding in corresponding above-mentioned Unified coding;It is flowed in meat dish traceability code Random code in the corresponding above-mentioned Unified coding of water number, is all 7, is not necessarily to cover;In the Unified coding of meat dish batch code timestamp without Meaning all mends 0;As shown in Fig. 2.
The coding method of the present embodiment compatible meat dish and Chinese medicine traceability code, unites to all meat dishes and Chinese medicine traceability system One management batch code, traceability code, obtains the Unified coding of Chinese medicine traceability code:
Business code corresponds to unified social credibility code, insufficient position in above-mentioned Unified coding and mends 0, be in Chinese medicine traceability code Mark is that Chinese medicine traceability code is converted into Unified coding, and header mends E;The corresponding above-mentioned system of exchange hour stamp in Chinese medicine traceability code Timestamp in one coding, is all 10, is not necessarily to cover;It saves to save in the corresponding above-mentioned Unified coding of coding in Chinese medicine traceability code and compile Code, is all 2, is not necessarily to cover;In Chinese medicine traceability code classification code with trace to the source claim coded combination correspond in above-mentioned Unified coding with The city Ji Mahe coded combination is all 9, is not necessarily to cover;As shown in Fig. 3.
Use above specific case elaborates the principle of the present invention and embodiment, these embodiments are It is used to help understand core of the invention technology contents, the protection scope being not intended to restrict the invention, technical side of the invention Case is not limited in above-mentioned specific embodiment.Based on above-mentioned specific embodiment of the invention, those skilled in the art Without departing from the principle of the present invention, any improvement and modification to made by the present invention should all be fallen into of the invention special Sharp protection scope.

Claims (10)

1. a kind of coding method of compatible meat dish and Chinese medicine traceability code, which is characterized in that the meat dish reported to enterprise's subsystem The compatible processing in terms of coding rule, storage, identification is carried out with Chinese medicine traceability code, obtains Unified coding;To all meat dishes and Chinese medicine traceability system is managed collectively batch code, traceability code, obtains meat dish and Chinese medicine Unified coding;And districts and cities are managed flat Platform, trade management platform report encoded information to carry out unified standard processing, realize districts and cities' management platform and trade management platform The unification of coding and inquiry.
2. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 1, which is characterized in that in meat dish The compatible processing of coding rule is carried out with Chinese medicine traceability code, coding rule has: 1) uniqueness;2) expandability;3) concise Property;4) scientific;5) compatible.
3. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 2, which is characterized in that meat dish The compatible processing in terms of coding rule, storage, identification is carried out with Chinese medicine traceability code, obtains Unified coding:
Header+unification social credibility code+timestamp+province's coding+city's coding+random code+check code.
4. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 3, which is characterized in that the school Testing a yard product process includes:
1) MD5 calculating is carried out to Unified coding+key, obtains the abstract result of 16 bytes;
2) to every one group of 4 bytes of result of abstract, it is divided into 4 groups;
3) XOR operation is carried out respectively to each group, obtain the result of 4 bytes;
4) two groups are further divided into, every group carries out XOR operation respectively, obtains the result of two bytes;
5) it adds after source code, totally 44.
5. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 4, which is characterized in that all Meat dish and Chinese medicine traceability system are managed collectively batch code, traceability code, obtain the Unified coding of meat dish batch code:
The node code that circulates in meat dish batch code corresponds to unified social credibility code in the Unified coding;The unification of meat dish batch code Header mends C in coding;Operator's main code contains province, city and region's coding in meat dish batch code, takes out provinces and cities' coding, the corresponding system Province's coding and city's coding in one coding;Serial number corresponds to random code in the Unified coding in meat dish batch code;Meat dish batch code Unified coding in timestamp it is meaningless, all mend 0.
6. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 5, which is characterized in that the meat The node code that circulates in dish batch code corresponds to unified social credibility code, insufficient position in the Unified coding and mends 0.
7. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 4, which is characterized in that all Meat dish and Chinese medicine traceability system are managed collectively batch code, traceability code, obtain the Unified coding of meat dish traceability code:
Operator's main code corresponds to unified social credibility code in the Unified coding in meat dish traceability code;The system of meat dish traceability code Header mends D in one coding;Operator's main code contains province, city and region's coding in meat dish traceability code, takes out provinces and cities and encodes, described in correspondence Province's coding and city's coding in Unified coding;Serial number corresponds to random code in the Unified coding in meat dish traceability code;Meat dish batch Timestamp is meaningless in the Unified coding of code, all mends 0.
8. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 7, which is characterized in that the meat Operator's main code corresponds to unified social credibility code, insufficient position in the Unified coding and mends 0 in dish traceability code.
9. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 4, which is characterized in that all Meat dish and Chinese medicine traceability system are managed collectively batch code, traceability code, obtain the Unified coding of Chinese medicine traceability code:
Business code corresponds to unified social credibility code in the Unified coding in Chinese medicine traceability code;The system of Chinese medicine traceability code Header mends E in one coding;Timestamp in the corresponding Unified coding of exchange hour stamp in Chinese medicine traceability code;Chinese medicine traceability code Coding is saved in the middle corresponding Unified coding of province's coding;In Chinese medicine traceability code classification code with trace to the source claim coded combination it is corresponding described in Random code and city's coded combination in Unified coding.
10. a kind of coding method of compatible meat dish and Chinese medicine traceability code according to claim 9, which is characterized in that described Business code corresponds to unified social credibility code, insufficient position in the Unified coding and mends 0 in Chinese medicine traceability code.
CN201810718770.8A 2018-07-03 2018-07-03 Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes Pending CN108985796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810718770.8A CN108985796A (en) 2018-07-03 2018-07-03 Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810718770.8A CN108985796A (en) 2018-07-03 2018-07-03 Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes

Publications (1)

Publication Number Publication Date
CN108985796A true CN108985796A (en) 2018-12-11

Family

ID=64536692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810718770.8A Pending CN108985796A (en) 2018-07-03 2018-07-03 Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes

Country Status (1)

Country Link
CN (1) CN108985796A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368507A (en) * 2020-02-28 2020-07-03 煤炭科学技术研究院有限公司 Product code generation method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194173A (en) * 2011-06-18 2011-09-21 浙江大学 Coding method for tracing vegetables and coding system used by same
CN103310381A (en) * 2012-03-13 2013-09-18 深圳市海吉星国际农产品物流管理有限公司 Method and system for realizing agricultural product safety traceability
CN103810567A (en) * 2014-01-26 2014-05-21 南京海昌中药集团有限公司 Storing and tracing method for plantation management information of TCM (Traditional Chinese Medicine) decoction pieces
CN104299079A (en) * 2014-10-09 2015-01-21 浪潮软件股份有限公司 Method for issuing tracing code to tracing electronic scale
CN105096075A (en) * 2014-05-14 2015-11-25 四川正源中溯科技有限公司 Chinese herbal medicine traceability system and method
EP3032474A1 (en) * 2014-12-12 2016-06-15 Net Alliance Co Ltd Management system for food safety and managing method for the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194173A (en) * 2011-06-18 2011-09-21 浙江大学 Coding method for tracing vegetables and coding system used by same
CN103310381A (en) * 2012-03-13 2013-09-18 深圳市海吉星国际农产品物流管理有限公司 Method and system for realizing agricultural product safety traceability
CN103810567A (en) * 2014-01-26 2014-05-21 南京海昌中药集团有限公司 Storing and tracing method for plantation management information of TCM (Traditional Chinese Medicine) decoction pieces
CN105096075A (en) * 2014-05-14 2015-11-25 四川正源中溯科技有限公司 Chinese herbal medicine traceability system and method
CN104299079A (en) * 2014-10-09 2015-01-21 浪潮软件股份有限公司 Method for issuing tracing code to tracing electronic scale
EP3032474A1 (en) * 2014-12-12 2016-06-15 Net Alliance Co Ltd Management system for food safety and managing method for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368507A (en) * 2020-02-28 2020-07-03 煤炭科学技术研究院有限公司 Product code generation method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108510286A (en) Whole industry product socialization traceability system, method and platform based on OID codings
CN103685484B (en) Analyzing method and analyzing device for internet-of-things uniform identification codes
CN105184083A (en) Digital identity code used for medical instrument whole-process quality tracing and coding method thereof
CN105005683A (en) Caching system and method for solving data normalization problem of regional medical system
CN110990664A (en) Big data operation management system
CN103455574B (en) The method and apparatus of Internet of Things unifying identifier coding multimode recognition
CN104680338A (en) Product full-service-life quality guarantee management system based on two-dimensional code
CN107526804B (en) Railway investment project data statistics system and method
CN112100181A (en) Data resource management method based on sand table
CN104461544A (en) Dynamic code generation device and method
CN111444681A (en) Data decomposition transmission method based on BIM (building information modeling)
CN109034615A (en) A kind of tool management system based on two-dimension code label
CN204229459U (en) A kind of type approval test sample rfid system
CN108985796A (en) Coding method compatible with meat, vegetable and Chinese medicinal material tracing codes
CN114840519A (en) Data labeling method, equipment and storage medium
CN111210535A (en) Intelligent inspection system for scheduling master station system equipment
CN104091242A (en) Electronic archive ID card management system based on two-dimension code technology and operating method
Yang et al. Use of the Burrows–Wheeler similarity distribution to the comparison of the proteins
CN113722533A (en) Information pushing method and device, electronic equipment and readable storage medium
CN112308738A (en) Water affair data analysis processing system
CN101149824A (en) Method and system for treating intermittent code
CN111309996A (en) Intelligent library auxiliary management system
Shehab et al. An automated barcode system for tracking and control of engineering deliverables
CN109272072A (en) A kind of method and system that grain depot warehoused asset is managed based on two dimensional code
CN111784363A (en) Electronic tracing system based on Internet of things

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211