CN106296215A - A kind of method and system generating commodity code - Google Patents

A kind of method and system generating commodity code Download PDF

Info

Publication number
CN106296215A
CN106296215A CN201610605086.XA CN201610605086A CN106296215A CN 106296215 A CN106296215 A CN 106296215A CN 201610605086 A CN201610605086 A CN 201610605086A CN 106296215 A CN106296215 A CN 106296215A
Authority
CN
China
Prior art keywords
coding
commodity
code
raw material
processing
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
CN201610605086.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610605086.XA priority Critical patent/CN106296215A/en
Publication of CN106296215A publication Critical patent/CN106296215A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/903Querying
    • 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
    • G06Q30/0185Product, service or business identity fraud

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of method and system generating commodity code, wherein method includes: step 1: judge whether the product coding of corresponding goods name, if it is, described product coding is as the commodity code of corresponding goods, terminates;Otherwise, step 2 is performed;Step 2: commodity are decomposed, it may be judged whether obtain a kind of raw material and the course of processing;If it is, perform step 3;Otherwise, step 5 is performed;Step 3: whether there is the product coding of correspondence, if it does, perform step 4;Otherwise, using raw material as commodity, perform step 2;Step 4: obtain processing coding, generates commodity code by raw material coding with all processing coded combinations, terminates;Step 5: it is arranged a commodity code, terminates.Made a look up by the coding that coded method of the present invention is obtained, just can accurately obtain all raw material and the course of processing of product, product back-tracing plays extremely important effect.

Description

A kind of method and system generating commodity code
Technical field
The present invention relates to a kind of method and system generating commodity code.
Background technology
Commodity code: i.e. work out commercial product code, gives certain or certain class commodity with corresponding commercial generation according to certain rule The process of code.
Customs products code: refer to one group 8 or the Arabic numerals of 10, in order to divide the cargo type of turnover commodity. Also referred to as HS coding, the tariff number, duty paragraph.Refer to HS coding.
Commodity code rule of the prior art has:
1, uniqueness: uniqueness refers to commodity item and its authentication code one_to_one corresponding, and i.e. one commodity item only has Individual code, a code only identifies same commodity item.Commodity item code once it is determined that, never change, even if these commodity stop Only producing, stop supply, within a period of time, this code also must not be distributed to other commodity by (some national regulation is 3 years) Project.
2, without implication: refer to that code digit itself and position thereof do not indicate that any customizing messages of commodity without implication code. In EAN and UPC system, commodity code is only a kind of means identifying commodity rather than the means of commodity classification.Without implication Make commodity code have simple, flexible, reliable, make full use of the advantages such as code capacity, vitality are strong, this coded method is especially It is suitable for bigger merchandise system.
3, total digital: in EAN and UPC system, commodity code all uses Arabic numerals.
Summary of the invention
The technical problem to be solved is, without implication in encoding for existing goods, cannot play commodity tracing To effect, it is provided that a kind of method and system generating commodity code being associated with product raw material and the course of processing.
The technical scheme is that a kind of method generating commodity code, including following Step:
Step 1: commodity are searched in data base according to trade name, it may be judged whether the product that there is corresponding goods name is compiled Code, if it is, described product coding is as the commodity code of corresponding goods, terminates;Otherwise, step 2 is performed;
Step 2: commodity are decomposed, it may be judged whether obtain a kind of raw material and the course of processing;If it is, execution step 3;Otherwise, step 5 is performed;
Step 3: judge whether described raw material exists the product coding of correspondence in data base, if it does, perform step Rapid 4;Otherwise, using raw material as commodity, perform step 2;
Step 4: inquiry obtains the processing coding that all courses of processing are corresponding, by raw material coding and all processing code set Symphysis becomes commodity code, terminates;
Step 5: described commodity are defined as raw material according to commodity classification, arranges a commodity code to it, terminates.
The invention has the beneficial effects as follows: by the method for generation commodity code of the present invention, product can be produced Life and raw material and the coding of course of processing existence anduniquess corresponding relation, just can accurately obtain product by this coding lookup All raw material and the course of processing, play extremely important effect in product back-tracing.
On the basis of technique scheme, the present invention can also do following improvement.
Further, also including step 0: retrieve commodity according to trade name, query criteria data base obtains corresponding business The big class coding of the name of an article, the commodity code combination big class coding and step 4 or 5 obtained constitutes commodity basic coding, described mark Quasi-data base preserves national standard big class coding.
Further, described step 5 also includes, preserve the commodity code of described setting and at least one raw material and add The corresponding relation of work process.
Further, described big class coding, processing coding and material class number formation base coding by the way of laminated structure.
Further, for basic coding, the extra-code representing item property is added.
The technical scheme is that a kind of system generating commodity code, including: retrieval Module, decomposing module, judge module and definition coding module;
Commodity are searched in data base by described retrieval module according to trade name, it may be judged whether there is corresponding goods name Product coding, if it is, described product coding is as the commodity code of corresponding goods;Otherwise, decomposing module is triggered;
Commodity are decomposed by described decomposing module, it may be judged whether obtain a kind of raw material and the course of processing;If it is, Trigger judge module;Otherwise, definition coding module is triggered;
Described judge module, it is judged that whether described raw material exists the product coding of correspondence in data base, if it does, Inquiry obtains the processing coding that all courses of processing are corresponding, raw material coding and all processing coded combinations is generated commodity and compiles Code;Otherwise, using raw material as commodity, return decomposing module;
Described commodity are defined as raw material according to commodity classification by described definition coding module, and it is arranged commodity Coding.
The invention has the beneficial effects as follows: by the method for generation commodity code of the present invention, product can be produced Life and raw material and the coding of course of processing existence anduniquess corresponding relation, just can accurately obtain product by this coding lookup All raw material and the course of processing, play extremely important effect in product back-tracing.
On the basis of technique scheme, the present invention can also do following improvement.
Further, also including that big class searches module, retrieve commodity according to trade name, query criteria data base obtain The big class coding of corresponding goods name, constitutes commodity basic coding, described standard by big class coding with the commodity code combination obtained Data base preserves national standard big class coding.
Further, described definition coding module also includes, preserve commodity code and at least one former material of described setting Material and the corresponding relation of the course of processing thereof.
Further, described big class coding, processing coding and material class number formation base coding by the way of laminated structure.
Further, for basic coding, the extra-code representing item property is added.
The technical scheme is that the coding/decoding method of a kind of commodity code, its feature exists In, comprise the following steps:
Step 1: judge whether present encoding includes extra-code, if it has, separate extra-code, performs step 2;Otherwise, hold Row step 2;
Step 2: obtain basic coding, carries out decomposition and obtains big class coding and commodity code, or obtain big basic coding Class coding, processing coding and raw material coding.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram generating commodity code described in the embodiment of the present invention 1;
Fig. 2 is a kind of system structure schematic diagram generating commodity code described in the embodiment of the present invention 1.
In accompanying drawing, the list of parts representated by each label is as follows:
1, retrieval module, 2, decomposing module, 3, judge module, 4, definition coding module.
Detailed description of the invention
Being described principle and the feature of the present invention below in conjunction with accompanying drawing, example is served only for explaining the present invention, and Non-for limiting the scope of the present invention.
As it is shown in figure 1, for a kind of method generating commodity code described in the embodiment of the present invention 1, comprise the following steps:
Step 1: commodity are searched in data base according to trade name, it may be judged whether the product that there is corresponding goods name is compiled Code, if it is, described product coding is as the commodity code of corresponding goods, terminates;Otherwise, step 2 is performed;
Step 2: commodity are decomposed, it may be judged whether obtain a kind of raw material and the course of processing;If it is, execution step 3;Otherwise, step 5 is performed;
Step 3: judge whether described raw material exists the product coding of correspondence in data base, if it does, perform step Rapid 4;Otherwise, using raw material as commodity, perform step 2;
Step 4: inquiry obtains the processing coding that all courses of processing are corresponding, by raw material coding and all processing code set Symphysis becomes commodity code, terminates;
Step 5: described commodity are defined as raw material according to commodity classification, arranges a commodity code to it, terminates.
Also including step 0: retrieve commodity according to trade name, query criteria data base obtains the big of corresponding goods name Class encodes, and the commodity code combination big class coding and step 4 or 5 obtained constitutes commodity basic coding, described standard database The middle big class of preservation national standard encodes.
Described step 5 also includes, preserves commodity code and at least one raw material and the course of processing thereof of described setting Corresponding relation.
Described big class coding, processing coding and material class number formation base coding by the way of laminated structure.
For basic coding, add the extra-code representing item property.
Use a kind of method generating commodity code of the present invention, in concrete example, in order to unified electric business Platform realizes the order circulation of full supply chain, and we use Universal Product Code, and add machining attribute in commodity code Method, it is simple to product is quickly changed by different links.As shown in table 1:
Table 1
In table 1, white turnip SKU (commodity code) is four 0307 (code length is variable), for material class number.Often through one Individual processing link, product SKU (commodity code) changes, and increases machining attribute code after material class number, and white turnip is processed as After white turnip fourth, its commodity code is 03070506, above delivers in last layer order, and different processing modes produces different adding Work attribute codes.By that analogy, so, SKU (commodity code) just different links can carry out the decomposition smoothed in industrial chain With displaced.
When being another kind of product for multiple product Combined machining, the most direct newly-built SKU (commodity code).
As in figure 2 it is shown, for a kind of system generating commodity code described in the embodiment of the present invention 2, including: retrieval module 1, Decomposing module 2, judge module 3 and definition coding module 4;
Commodity are searched in data base by described retrieval module 1 according to trade name, it may be judged whether there is corresponding goods name Product coding, if it is, described product coding is as the commodity code of corresponding goods;Otherwise, decomposing module is triggered;
Commodity are decomposed by described decomposing module 2, it may be judged whether obtain a kind of raw material and the course of processing;If it is, Trigger judge module 3;Otherwise, definition coding module 4 is triggered;
Described judge module 3, it is judged that whether described raw material exists the product coding of correspondence in data base, if deposited , inquiry obtains the processing coding that all courses of processing are corresponding, and with all processing coded combinations, raw material coding is generated commodity Coding;Otherwise, using raw material as commodity, return decomposing module 2;
Described commodity are defined as raw material according to commodity classification by described definition coding module 4, and it is arranged commodity Coding.
Also including that big class searches module, retrieve commodity according to trade name, query criteria data base obtains corresponding business The big class coding of the name of an article, constitutes commodity basic coding, described standard database by big class coding with the commodity code combination obtained The middle big class of preservation national standard encodes.
Described definition coding module also includes, preserves the commodity code of described setting and at least one raw material and add The corresponding relation of work process.
Described big class coding, processing coding and material class number formation base coding by the way of laminated structure.
For basic coding, add the extra-code representing item property.
The coding/decoding method of a kind of commodity code, it is characterised in that comprise the following steps:
Step 1: judge whether present encoding includes extra-code, if it has, separate extra-code, performs step 2;Otherwise, hold Row step 2;
Step 2: obtain basic coding, carries out decomposition and obtains big class coding and commodity code, or obtain big basic coding Class coding, processing coding and raw material coding.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (11)

1. the method generating commodity code, it is characterised in that comprise the following steps:
Step 1: commodity are searched in data base according to trade name, it may be judged whether there is the product coding of corresponding goods name, as Fruit is, described product coding, as the commodity code of corresponding goods, terminates;Otherwise, step 2 is performed;
Step 2: commodity are decomposed, it may be judged whether obtain a kind of raw material and the course of processing;If it is, perform step 3;No Then, step 5 is performed;
Step 3: judge whether described raw material exists the product coding of correspondence in data base, if it does, perform step 4; Otherwise, using raw material as commodity, perform step 2;
Step 4: inquiry obtains the processing coding that all courses of processing are corresponding, by raw material coding and all processing code set symphysis Become commodity code, terminate;
Step 5: described commodity are defined as raw material according to commodity classification, arranges a commodity code to it, terminates.
A kind of method generating commodity code the most according to claim 1, it is characterised in that also include step 0: to commodity Retrieve according to trade name, query criteria data base obtain corresponding goods name big class coding, by big class coding with step 4 or The commodity code combination that 5 obtain constitutes commodity basic coding, preserves national standard big class coding in described standard database.
A kind of method generating commodity code the most according to claim 2, it is characterised in that also include in described step 5, Preserve commodity code and at least one raw material and the corresponding relation of the course of processing thereof of described setting.
The method of generation commodity code the most according to claim 2, it is characterised in that described big class coding, processing coding With material class number formation base coding by the way of laminated structure.
5. according to the method generating commodity code described in any one of claim 2-4, it is characterised in that for basic coding, Add the extra-code representing item property.
6. the system generating commodity code, it is characterised in that including: retrieval module, decomposing module, judge module and definition Coding module;
Commodity are searched in data base by described retrieval module according to trade name, it may be judged whether there is the product of corresponding goods name Coding, if it is, described product coding is as the commodity code of corresponding goods;Otherwise, decomposing module is triggered;
Commodity are decomposed by described decomposing module, it may be judged whether obtain a kind of raw material and the course of processing;If it is, trigger Judge module;Otherwise, definition coding module is triggered;
Described judge module, it is judged that whether described raw material exists the product coding of correspondence in data base, if it does, inquiry Obtain the processing coding that all courses of processing are corresponding, raw material coding is generated commodity code with all processing coded combinations;No Then, using raw material as commodity, return decomposing module;
Described commodity are defined as raw material according to commodity classification by described definition coding module, and it is arranged a commodity code.
A kind of system generating commodity code the most according to claim 6, it is characterised in that also include that big class searches mould Commodity are retrieved by block according to trade name, and query criteria data base obtains the big class coding of corresponding goods name, big class is encoded Constitute commodity basic coding with the commodity code combination obtained, described standard database preserves national standard big class coding.
A kind of system generating commodity code the most according to claim 7, it is characterised in that in described definition coding module Also include, preserve commodity code and at least one raw material and the corresponding relation of the course of processing thereof of described setting.
A kind of system generating commodity code the most according to claim 7, it is characterised in that described big class coding, processing Coding and material class number be formation base coding by the way of laminated structure.
10. according to a kind of system generating commodity code described in any one of claim 7-9, it is characterised in that for basis Coding, adds the extra-code representing item property.
The coding/decoding method of 11. 1 kinds of commodity codes, it is characterised in that comprise the following steps:
Step 1: judge whether present encoding includes extra-code, if it has, separate extra-code, performs step 2;Otherwise, step is performed Rapid 2;
Step 2: obtain basic coding, carries out decomposition and obtains big class coding and commodity code, or obtain big class volume basic coding Code, processing coding and raw material coding.
CN201610605086.XA 2016-07-27 2016-07-27 A kind of method and system generating commodity code Pending CN106296215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610605086.XA CN106296215A (en) 2016-07-27 2016-07-27 A kind of method and system generating commodity code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610605086.XA CN106296215A (en) 2016-07-27 2016-07-27 A kind of method and system generating commodity code

Publications (1)

Publication Number Publication Date
CN106296215A true CN106296215A (en) 2017-01-04

Family

ID=57662660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610605086.XA Pending CN106296215A (en) 2016-07-27 2016-07-27 A kind of method and system generating commodity code

Country Status (1)

Country Link
CN (1) CN106296215A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480113A (en) * 2017-07-04 2017-12-15 宁夏东睿建筑科技有限公司 A kind of information-based cloud service platform product coding method
CN110287218A (en) * 2019-06-26 2019-09-27 浙江诺诺网络科技有限公司 A kind of matched method of tax revenue sorting code number, system and equipment
CN111724093A (en) * 2019-03-22 2020-09-29 江苏优捷供应链有限公司 HS (high speed) coding management method and system for B2C commodity export
CN113888197A (en) * 2021-11-17 2022-01-04 四川启睿克科技有限公司 Goods supply tracing system and method based on identification analysis technology

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480113A (en) * 2017-07-04 2017-12-15 宁夏东睿建筑科技有限公司 A kind of information-based cloud service platform product coding method
CN111724093A (en) * 2019-03-22 2020-09-29 江苏优捷供应链有限公司 HS (high speed) coding management method and system for B2C commodity export
CN111724093B (en) * 2019-03-22 2024-05-28 江苏优捷供应链有限公司 HS (high speed) coding management method and system for B2C commodity outlet
CN110287218A (en) * 2019-06-26 2019-09-27 浙江诺诺网络科技有限公司 A kind of matched method of tax revenue sorting code number, system and equipment
CN113888197A (en) * 2021-11-17 2022-01-04 四川启睿克科技有限公司 Goods supply tracing system and method based on identification analysis technology

Similar Documents

Publication Publication Date Title
CN106296215A (en) A kind of method and system generating commodity code
CN103530808A (en) Whole-process tracing system for quality safety of fruit logistics
CN102254012B (en) Graph data storing method and subgraph enquiring method based on external memory
CN102194173A (en) Coding method for tracing vegetables and coding system used by same
CN103929187B (en) Anti-interference matrix information encoding and decoding method for merchandise outer packaging
CN101025805A (en) Product-based bill of material generating method
Park et al. Perceptions of RFID technology: a cross-national study
CN104680338A (en) Product full-service-life quality guarantee management system based on two-dimensional code
CN101957929A (en) Method for identifying object on basis of two-dimensional lattice code
CN107862092A (en) A kind of order inquiries method and system
CN108681910A (en) Retroactive method, device, terminal device based on network structure and storage medium
Singh et al. Improvement in Manufacturing System by Rearrangement in Layout Design–A Case Study
CN1877572A (en) Self-adaptive program calling method for information interchange in heterochronous environments
CN111583396B (en) Process model classification code generation method based on grouping technology
JP6842071B2 (en) Data exchange system, data exchange method, and data exchange program
CN102737347A (en) Traceability system for processing food
Pal Optimizing the Last Mile: Advanced Predictive Analytics for Delivery Time Estimation in Supply Chain Logistics
CN114119047A (en) BOM structure-based industrial product multi-level code assigning and tracing method
CN116485411A (en) Block chain-based product anti-counterfeiting system and anti-counterfeiting reliability verification method
CN209118351U (en) A kind of product back-tracing platform based on two dimensional code
Rani et al. Mining multi level association rules using fuzzy logic
CN113723972A (en) Agricultural product tracing system and method based on block chain technology
CN113592514A (en) Information encoding method, information decoding method and device
CN203012751U (en) High-processing efficiency data acquisition terminal applied to Internet of Things
CN116720812B (en) Big data wisdom warehouse management system based on data encoding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication