CN108346055A - Food information retroactive method based on prefabricated single-stranded list data structure - Google Patents

Food information retroactive method based on prefabricated single-stranded list data structure Download PDF

Info

Publication number
CN108346055A
CN108346055A CN201710052887.2A CN201710052887A CN108346055A CN 108346055 A CN108346055 A CN 108346055A CN 201710052887 A CN201710052887 A CN 201710052887A CN 108346055 A CN108346055 A CN 108346055A
Authority
CN
China
Prior art keywords
information
source
food
food information
tracing
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
CN201710052887.2A
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.)
SHANGHAI ZHONGXIN INFORMATION DEVELOPMENT Co Ltd
Original Assignee
SHANGHAI ZHONGXIN INFORMATION DEVELOPMENT 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 SHANGHAI ZHONGXIN INFORMATION DEVELOPMENT Co Ltd filed Critical SHANGHAI ZHONGXIN INFORMATION DEVELOPMENT Co Ltd
Priority to CN201710052887.2A priority Critical patent/CN108346055A/en
Publication of CN108346055A publication Critical patent/CN108346055A/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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of food information retroactive methods based on prefabricated single-stranded list data structure, including:Step 1 collects food information;Step 2, prepared food information source tracing file;Step 3, food information track chain synthesis;Step 4, food information are traced to the source inquiry.The present invention can put to the enterprise of each approach on record into row information in the uncertain series connection for realizing information well of agri-food supply chains approach enterprise, all linked with one another, realize association and the concatenation of tracing information.It is advantageous that the speed for inquiry of tracing to the source will not obviously be influenced by data volume, and can be self-defined to result progress of tracing to the source according to different needs, abundant information of tracing to the source, realization is quickly traced to the source.

Description

Food information retroactive method based on prefabricated single-stranded list data structure
Technical field
The present invention relates to a kind of food information retroactive methods, specifically the food based on prefabricated single-stranded list data structure Information tracing method.
Background technology
Bread is the staff of life, eats with An Weixian.There is also more problems for current China's food security, are primarily due to food operation Classification is extensive, and access threshold is low, multi-point and wide-ranging, irregular, and supervision difficulty is larger.Therefore, country advocates using letter in recent years Breathization means establish Safety of Food Quality retrospect system, are attempted to solve food quality peace with effective regulatory measure and management method Full problem.However agri-food supply chains include multiple links such as production, processing, wholesale, retail, there are data source diversification, numbers According to huge, the problems such as data structure is not known is measured, to get through each link, realize full-range retrospect, key points and difficulties be as What effective synthesis retrospect chain simultaneously realizes information quick search of tracing to the source.
Currently, most enterprises information system, using relevant database, relational database is built upon relationship Database on the basis of model handles the data in database by means of the mathematical concepts such as algebra of sets and method.Data knot Structure is the operation principle and foundation stone of relevant database, and in existing research, what food information retroactive method mostly used is tree construction (Tree), the data structure based on tree and database index, such as patent of invention CN105046507A one kind is based on relationship type number According to the food information retroactive method in library, it is stored in interdependent node after the information acquired during Food circulation is associated with food, The enterprise passed through successively in the process of circulation is stored in a retrospect routing table again, it is tree-like during food tracing by establishing Figure is tracked or traces to the relevant information of certain food.This method can greatly facilitate relevant food to pass through in entire stream The inquiry and retrieval of information in journey, but the premise of this method is the foundation of tree construction, that is, first to know each section of tree Relationship between point and node, and there are prodigious uncertainties, the flow direction of food during food tracing is for this point Market orientation, it is difficult to all management bodies that food is determined in advance and the relationship between them.Moreover agri-food supply chains packet Multiple links such as production, processing, wholesale, retail are included, data volume is very huge, the database of tree construction, and retrospect inquiry every time needs Compare each node in tree to judge it whether in specified range, this process needs the operation of execution N steps, and (N takes Certainly in the node of tree), performance is poor.
In conclusion since food information retrospect chain synthesis and information quick search of tracing to the source are for realizing food quality peace Trace entirely most important, but the prior art not can solve this problem still.
Invention content
The present invention be solve the problems, such as it is existing, it is desirable to provide a kind of food information based on prefabricated single-stranded list data structure chases after It traces back method, can realize food information retrospect chain synthesis and information quick search of tracing to the source, guarantor is provided for the quality safety of food Barrier.
The present invention includes:
Step 1 collects food information;
Step 2, prepared food information source tracing file;
Step 3, food information track chain synthesis;
Step 4, food information are traced to the source inquiry.
Wherein, in step 1, the enterprise on agri-food supply chains is divided into single management body, referred to as one section Point establishes management body filing and registration table, establishes food information tracking table.
Wherein, each node is by element (image of data element)+pointer (instruction following element storage location) structure At wherein element is exactly the storage unit for storing data, and pointer is exactly the address date for connecting each node.
Wherein, when each node of food approach, record food is marched into the arena information, production information and appearance information, and master is managed in association Body information, and in each appear on the scene corresponding data is inserted into food information tracking table.
Wherein, the prepared food information source tracing file is inserted into corresponding data into table when appearing on the scene per minor node Meanwhile adding critical field and id that the when of tracing to the source inquiry needs.
Wherein, prepared food information source tracing file is known as a storage unit, which is made of each node, node Data structure be that the appearance traceability code of a upper node is directed toward the traceability code of marching into the arena of next section.
Wherein, to specific traceability code trace to the source inquiry when, prefabricated food information is found according to the traceability code first and is traced back Source file encodes, i.e., traceability code of marching into the arena is inquired and then find in the related data area of the coding, further according to traceability code of marching into the arena Find the appearance information of a link.
Compared to the prior art, the present invention has following advantage:
1)Accurate synthesis retrospect chain:The present invention can well be realized in the case that agri-food supply chains approach enterprise is uncertain The series connection of information puts to the enterprise of each approach on record into row information, and traceability code is generated when each link appears on the scene, and is obtained when marching into the arena One link traceability code is simultaneously associated with a upper link information, all linked with one another, realizes association and the concatenation of tracing information.
2)Fast implement inquiry of tracing to the source.By prefabricated message file of tracing to the source, the speed for inquiry of tracing to the source is improved.For specified Traceability code trace to the source inquiry when, prefabricated food information is found according to the traceability code first and is traced to the source document No., is being looked into this way It there is no need to traverse entire database when inquiry, but is inquired in the related data area of the coding, finds prefabricated chase after Trace back code and id, and relevant batch information and procedural information are found further according to traceability code and id.It is advantageous that the speed for inquiry of tracing to the source Degree will not obviously be influenced by data volume, and can need to carry out result of tracing to the source in self-defined, abundant letter of tracing to the source according to different Breath, realization are quickly traced to the source.
3)Information truth of tracing to the source is effective.Based on prefabricated information synthesis retrospect chain of tracing to the source, data result from actual production The tracing information synthesized will not be had an impact with data that in the process of circulation, the later stage distorts in the process, it can greatly The authenticity and validity of information of tracing to the source are improved, the behavior for contributing to specification company information to report improves enterprise and food is given birth to Produce the responsibility consciousness in process.
Description of the drawings
Fig. 1 is schematic diagram of tracing to the source;
Fig. 2 is production batch number schematic diagram;
Fig. 3 is traceability code schematic diagram;
The hum pattern of tracing to the source of Fig. 4 one embodiment of the invention.
Specific implementation mode
The present invention is further described in conjunction with attached drawing.
The present embodiment provides a kind of methods for realizing food information retrospect based on prefabricated single-stranded list data structure.Single linked list is A kind of data structure of chain type access, with the data element in the arbitrary storage unit storage linear list of a group address.In chained list Data indicated with node, the composition of each node:Element (image of data element)+pointer (instruction successor Plain storage location), element is exactly the storage unit for storing data, and pointer is exactly the address date for connecting each node.Prefabricated number According to be for convenience quick search, user inquire retrospect result before, existing retrospect on prefabricated food information traceability chain Information can not only improve the response speed of inquiry in this way, moreover it is possible to prevent enterprise in subsequent altered data.
The method of the present embodiment includes:
The first step:Establish food information tracking table.The enterprise on agri-food supply chains is divided into according to management functions type Single management body, establishes management body filing and registration table, and each management body is known as a node.Food information is established to chase after Track table, when each node of food approach, record food is marched into the arena information, production information and appearance information, and management body information is associated with, And corresponding data is inserted into food information tracking table in each appear on the scene.It is as shown below that food information tracks table:
id in-trace-code out-trace-code in-id out-id process-id comp-code sys-type
1 11 12 13 14 15 16 17
2 21 22 23 24 25 26 27
In above table:
1, in-trace-code indicates traceability code of marching into the arena
2, out-trace-code indicates appearance traceability code
3, in-id indicates the information table id that marches into the arena
4, out-id indicates appearance information table id
5, process-id indicates each link process information table id
6, comp-code indicates main body coding
7, sys-type indicates type of subject
Second step:Prepared food information source tracing file.That is prepared food information source tracing file, when appearing on the scene per minor node into table While being inserted into corresponding data, the critical field and id that the when of tracing to the source inquiry needs are added in prefabricated file, can be improved in this way It traces to the source the speed and accuracy rate of inquiry, and the arbitrary altered data of enterprise can be prevented.
Third walks:Food information tracks chain synthesis.I.e. according to single linked list principle, each management body on agri-food supply chains For a single-stranded node, the composition of each node:(the instruction following element storage of element (image of data element)+pointer Position).One prefabricated food information file of tracing to the source is known as a storage unit, which is made of each node, node Data structure be that the appearance traceability code of a upper node is directed toward the traceability code of marching into the arena of next section.
In-code out-code atom
0 1 a
1 2 a
2 3 a
In above table:
1, In-code indicates traceability code of marching into the arena
2, out-code indicates appearance traceability code
3, atom prepared foods information source tracing document No.
4th step:Food information is traced to the source inquiry.Referring to Fig. 1, to specific traceability code trace to the source inquiry when, first according to the retrospect Code finds prefabricated food information and traces to the source document No., in this way there is no need to traverse entire database when inquiry, but It is inquired in the related data area of the coding, then finds traceability code of marching into the arena, a upper link is found further according to traceability code of marching into the arena Appearance information.
Data acquisition flow is carried out first.Production batch is established in beginning of production, different production batch correspond to different volumes Number.The production information of the production batch product is numbered with production batch and is bound.The production of the production batch can after completing Different clients can be flowed to(That is the player whose turn comes next), difference flow direction establish different Discharge Lots, different Discharge Lots correspond to different retrospects Code.When product flows into customer, traceability code is obtained, customer binds the information such as the processing of product and the traceability code, processes The different players whose turn comes next may be flowed to when appearing on the scene at sale again, different flow directions establish different sale Discharge Lots, and difference sale, which appears on the scene, to be criticized The different traceability code of secondary correspondence.And so on, it marches into the arena bring a link traceability code into each time, appeared on the scene each time according to flow direction not With different traceability codes is generated, all traceability codes of same source production batch bind same production batch number.Specifically:
The first step establishes production batch table in the source link of food, and different batches corresponds to different numbers, and production batch is Node 1.
1, the manufacturing enterprise in source establishes company information table, and production batch is associated with company information;
2, referring to Fig. 2:Production batch coding rule can from food classification, business code, date of manufacture, serial number etc. into Row considers;
3, the information such as time, input used, responsible person of production batch table record each link of food production.
Second step, the food production of the production batch are completed to enter processing link later, may flow to different clients(Under i.e. Family), Discharge Lot is established in the appearance of production link, Discharge Lot is node 2.
Different Discharge Lot tables is established when 1, appearing on the scene according to client's difference, Discharge Lot registers the time for competiton, appear on the scene production Product information, customer information etc., and generate appearance product back-tracing code;
2, referring to Fig. 3, appearance product information is associated with production batch table, and traceability code is the first time demal of production batch number;
3, all clients establish company information table, and Discharge Lot is with manufacturing enterprise's information association.
Third walks, in processing link(Customer)When marching into the arena, Charge Lot is established, Charge Lot is node 3.
1, Charge Lot table is enrolled into field time, product information of marching into the arena, supplier(Upper family)Information;
2, product information of marching into the arena is associated with the Discharge Lot table of node 2, and obtains the product back-tracing code of node 2;
3, supplier(Upper family)Information is the company information of node 2, associated with company information table;
4, process information table is established, the information such as process time, input used, the responsible person of each link are recorded, and is marched into the arena Batch table is associated.
4th step establishes processing Discharge Lot when processing link appears on the scene, and processing link Discharge Lot is node 4.
Different Discharge Lot tables is established when 1, appearing on the scene according to client's difference, Discharge Lot records the time for competiton, appear on the scene production Product information, customer information etc., and generate appearance product back-tracing code;
2, appearance product information is associated with Charge Lot table, and traceability code is second of demal of production batch number;
3, Discharge Lot is with processing enterprise's information association.
5th step establishes consumptive link Charge Lot when consumptive link is marched into the arena, and consumptive link Charge Lot is node 5.
1, Charge Lot table is recorded into field time, product information of marching into the arena, supplier(Upper family)Information;
2, product information of marching into the arena is associated with the Discharge Lot table of node 4, and obtains the product back-tracing code of node 4;
3, supplier(Upper family)Information is the company information of node 3, associated with company information table.
Based on above-mentioned flow, this programme is expanded on further by taking pork as an example below.
Pork may pass through in reaching consumer's hand multiple links such as cultivates, butchers, is wholesale, being sold, and present case is assumed Certain to be traced block pork P approach breeding enterprises C1, meat producing plant C2, enterprise of supermarket C3It reaches in consumer's hand.
The first step, breeding enterprise information collection.
1, breeding enterprise C1It is the source of retrospect, establishes breeding enterprise C1Management body table Table 1, warp is recorded in table Seek the coding code1 and other record informations of main body.Management body coding rule is 8 serial numbers, it is assumed that breeding enterprise C1 Main body coding be 31000001.
2, breeding process information table Table P1 are established, are distinguished by cultivation batch, breeding process information is recorded, it is different Cultivation batch corresponds to different batch number Num.
3, breeding process terminates, from breeding enterprise C1Appearance information table Table C1 are established when appearance, appearance information is because supporting Batch difference and client's difference are grown, different traceability code out-code is generated.Appearance information table is by batch number Num and manages master Body encodes code1 and is associated with breeding process information table Table P1 and management body table Table 1.
4, it is now assumed that it is n that cultivation batch 3100000116091001, which goes out number,1Product reach meat producing plant C2, appear on the scene Shi Shengcheng traceability codes 31000001134567821989.
5, food information tracking table is established
It is retrospect source with the cultivation batch, the food information tracking table of cultivation batch name is established, to cultivate batch For 3100000116091001, it is as follows to establish food information tracking table:
id in-trace-code out-trace-code in-id out-id process-id comp-code sys-type
1 0 31000001134567821989 Table P1 Table C1 Table P1 31000001 1
6, prepared food information source tracing file
It is retrospect source with the cultivation batch, the prefabricated file of cultivation batch name is established, to cultivate batch For 3100000116091001, the information tracing of prefabricated cultivating link file of tracing to the source is as follows:
[{"out_trace_code":"31000001134567821989","process_id":" 7ab2d2ff3ebf40d0aa1a01ebed6eec1c","comp_code":"31000001","sys_type":"1","out_ id":"7ce59643893a4e3ebbbf544a34e198da" }]
Second step, meat producing plant information collection.
1, the product of cultivation batch 3100000116091001 reaches meat producing plant C2, establish meat producing plant C2Operation master Body surface Table 2, its record information of the coding code2 of record management body in table.Management body coding rule is 8 bit stream water Number, it is assumed that meat producing plant C2Main body coding be 31001234.
2, the batch products are established and reach meat producing plant C2Charge Lot table Table J2, read breeding enterprise C1It appears on the scene Traceability code 31000001134567821989.
3, slaughtering process information table Table P2 are established in slaughtering process, are distinguished by batch is butchered, and record cultivated Journey information, butcher batch is associated with Charge Lot table, butchers batch for one and corresponds to a Charge Lot.
4, slaughtering process terminates, from meat producing plant C2Appearance information table Table C are established when appearance2, appearance information is because appearing on the scene Batch difference and client's difference, generate different traceability code out-code.Appearance information table is led by butchering batch number and managing Body encodes code2 and is associated with slaughtering process information table Table P2 and management body table Table 2.
5, it is now assumed that it is n to butcher batch 31001234160910001 to go out number2Product reach supermarket C3, when appearance gives birth to At traceability code 31001234134567812345.
6, food information tracking table is established
On the basis of being to trace the tracking of information table for the cultivating link that source is established to cultivate batch 3100000116091001, Slaughter tache data are inserted into, it is as follows:
id in-trace-code out-trace-code in-id out-id process-id comp-code sys-type
1 0 31000001134567821989 Table J1 Table C1 Table J1 31000001 1
2 31000001134567821989 31001234134567812345 Table J2 Table C2 Table P2 31001234 2
8, prepared food information source tracing file
It is being to trace the information tracing of the cultivating link that source is established to trace to the source file base to cultivate batch 3100000116091001 On plinth, it is inserted into Slaughter tache information tracing and traces to the source file, it is as follows:
[{"out_trace_code":"31000001134567821989","process_id":" 7ab2d2ff3ebf40d0aa1a01ebed6eec1c","comp_code":"31000001","sys_type":"1","out_ id":"7ce59643893a4e3ebbbf544a34e198da","in_trace_code":" 31000001134567821989","in_id":"7ab2d2ff3ebf40d0aa1a01ebed6eec1c"},{"out_ trace_code":"31001234134567812345","process_id":" 2d8472a22dc544fc8afe1764a659395b","comp_code":"31001234","sys_type":"2","out_ id":"a89a2229befd442586320e13fc879520" }]
Third walks, supermarket's company information acquisition.
2, the product for butchering batch 31001234160910001 reaches supermarket C3, establish supermarket C3Management body table Table 3, its record information of the coding code3 of record management body in table.Management body coding rule is 8 serial numbers, false If supermarket C3Main body coding be 31001356.
3, the batch products are established and reach supermarket C3Charge Lot table Table J3, read meat producing plant C2Appear on the scene retrospect Code 31001234134567812345.
4, data distributing is marched into the arena to weighing-appliances such as supermarket's electronic scales, and when consumer buys commodity, Supermarket management person passes through Electronic scale selection commodity are associated with information of marching into the arena, and printing shopping receipt is completed endowed.
5, food information tracking table is established
On the basis of being to trace the tracking of information table for the cultivating link that source is established to cultivate batch 3100000116091001, Supermarket's link data are inserted into, it is as follows:
id in-trace-code out-trace-code in-id out-id process-id comp-code sys-type
1 0 31000001134567821989 Table J1 Table C1 TableP1 31000001 1
2 31000001134567821989 31001234134567812345 Table J2 Table C2 Table P2 31001234 2
3 31001234134567812345 31001234134567817896 Table J3 31001356 3
7, prepared food information source tracing file
It is being to trace the information tracing of the cultivating link that source is established to trace to the source file base to cultivate batch 3100000116091001 On plinth, it is inserted into supermarket's link information and traces to the source file, it is as follows:
[{"out_trace_code":"31000001134567821989","process_id":" 7ab2d2ff3ebf40d0aa1a01ebed6eec1c","comp_code":"31000001","sys_type":"1","out_ id":"7ce59643893a4e3ebbbf544a34e198da","in_trace_code":" 31000001134567821989","in_id":"7ab2d2ff3ebf40d0aa1a01ebed6eec1c"},{"out_ trace_code":"31001234134567812345","process_id":" 2d8472a22dc544fc8afe1764a659395b","comp_code":"31001234","sys_type":"2","out_ id":"a89a2229befd442586320e13fc879520","in_trace_code":31001234134567812345," in_id":null,{"out_trace_code":"31001234134567817896","process_id":" null "," comp_code":"31001356","sys_type":"3"}]
4th step, retrospect chain synthesis.
One prefabricated food information file of tracing to the source is known as a storage unit, which is made of each node, section The data structure of point is that the appearance traceability code of a upper node is directed toward the traceability code of marching into the arena of next section.
In-code out-code atom
0 31000001134567821989 3100000116091001
31000001134567821989 31001234134567812345 3100000116091001
31001234134567812345 31001234134567817896 3100000116091001
5th step, food information are traced to the source inquiry.
Consumer scans trace the traceability code 31001234134567817896 on receipt, trace to the source inquiry when, first Prefabricated food information is found according to the traceability code to trace to the source document No. 3100000116091001, in this way when inquiry just Entire database need not be traversed, but is inquired in the related data area of the coding, traceability code of marching into the arena then is found 31001234134567812345, the appearance information of a upper link, information of tracing to the source such as figure below institute are found further according to traceability code of marching into the arena Show:
The innovative point of the present embodiment is:
1, prefabricated message file of tracing to the source in information gathering process:Prepared food information source tracing file, toward table when appearing on the scene per minor node While being inserted into corresponding data in lattice, in prefabricated file addition trace to the source inquiry when the critical field that needs and id, in this way can be with The speed and accuracy rate of inquiry of tracing to the source are improved, and the arbitrary altered data of enterprise can be prevented.
2, it is based on single linked list principle synthesis retrospect chain:According to single linked list principle, each management body on agri-food supply chains For a single-stranded node, the composition of each node:(the instruction following element storage of element (image of data element)+pointer Position).One prefabricated food information file of tracing to the source is known as a storage unit, which is made of each node, node Data structure be that the appearance traceability code of a upper node is directed toward the traceability code of marching into the arena of next section.
And then the advantage of this implementation is:
1, accurate synthesis retrospect chain:Retrospect chain synthesis refers to relevant important information on link agri-food supply chains, key The accurate transmission of the relationship and data that are between determining each enterprise.The present invention can agri-food supply chains approach enterprise not The series connection of information is realized in the case of determination well, it is advantageous that putting on record into row information the enterprise of each approach, each Link generates traceability code when appearing on the scene, and upper link traceability code is obtained when marching into the arena and is associated with a upper link information, all linked with one another, realizes The association of tracing information and concatenation.
2, inquiry of tracing to the source is fast implemented.By prefabricated message file of tracing to the source, the speed for inquiry of tracing to the source is improved.For specified Traceability code trace to the source inquiry when, prefabricated food information is found according to the traceability code first and is traced to the source document No., is being looked into this way It there is no need to traverse entire database when inquiry, but is inquired in the related data area of the coding, finds prefabricated chase after Trace back code and id, and relevant batch information and procedural information are found further according to traceability code and id.It is advantageous that the speed for inquiry of tracing to the source Degree will not obviously be influenced by data volume, and can need to carry out result of tracing to the source in self-defined, abundant letter of tracing to the source according to different Breath, realization are quickly traced to the source.
3, information truth of tracing to the source is effective.Based on prefabricated information synthesis retrospect chain of tracing to the source, data result from actual production The tracing information synthesized will not be had an impact with data that in the process of circulation, the later stage distorts in the process, it can greatly The authenticity and validity of information of tracing to the source are improved, the behavior for contributing to specification company information to report improves enterprise and food is given birth to Produce the responsibility consciousness in process.
Embodiments of the present invention are described above in conjunction with accompanying drawings and embodiments, and the structure that embodiment provides is not constituted pair The limitation of the present invention, those skilled in the art in the art can be according to needing to adjust, within the scope of the appended claims Various deformations or amendments are made in protection domain.

Claims (7)

1. a kind of food information retroactive method based on prefabricated single-stranded list data structure, it is characterised in that including:
Step 1 collects food information;
Step 2, prepared food information source tracing file;
Step 3, food information track chain synthesis;
Step 4, food information are traced to the source inquiry.
2. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 1, feature It is:In step 1, the enterprise on agri-food supply chains is divided into single management body, referred to as a node, establishes warp Main body filing and registration table is sought, food information tracking table is established.
3. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 2, feature It is:Each node is made of element (image of data element)+pointer (instruction following element storage location), wherein member Element is exactly the storage unit for storing data, and pointer is exactly the address date for connecting each node.
4. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 2 or 3, special Sign is:When each node of food approach, record food is marched into the arena information, production information and appearance information, and management body information is associated with, And corresponding data is inserted into food information tracking table in each appear on the scene.
5. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 1, feature It is:The prepared food information source tracing file, i.e., when appearing on the scene per minor node into table while insertion corresponding data, addition Trace to the source the critical field needed when inquiring and id.
6. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 5, feature It is:Prepared food information source tracing file is known as a storage unit, which is made of each node, the data knot of node Structure is that the appearance traceability code of a upper node is directed toward the traceability code of marching into the arena of next section.
7. a kind of food information retroactive method based on prefabricated single-stranded list data structure according to claim 1, feature It is:To specific traceability code trace to the source inquiry when, prefabricated food information file of tracing to the source is found according to the traceability code first and is compiled Code, i.e., inquire and then find traceability code of marching into the arena in the related data area of the coding, upper one is found further according to traceability code of marching into the arena The appearance information of link.
CN201710052887.2A 2017-01-24 2017-01-24 Food information retroactive method based on prefabricated single-stranded list data structure Pending CN108346055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710052887.2A CN108346055A (en) 2017-01-24 2017-01-24 Food information retroactive method based on prefabricated single-stranded list data structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710052887.2A CN108346055A (en) 2017-01-24 2017-01-24 Food information retroactive method based on prefabricated single-stranded list data structure

Publications (1)

Publication Number Publication Date
CN108346055A true CN108346055A (en) 2018-07-31

Family

ID=62961883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710052887.2A Pending CN108346055A (en) 2017-01-24 2017-01-24 Food information retroactive method based on prefabricated single-stranded list data structure

Country Status (1)

Country Link
CN (1) CN108346055A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348535A (en) * 2020-11-04 2021-02-09 新华中经信用管理有限公司 Traceability application method and system based on block chain technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203102371U (en) * 2012-06-12 2013-07-31 北京物资学院 Tracking system of dairy product supply chain information based on Internet of Things
CN104951906A (en) * 2015-07-16 2015-09-30 成都昇创科技有限公司 Product source tracing method and device
CN105046503A (en) * 2015-06-29 2015-11-11 立德高科(北京)数码科技有限责任公司 Dairy product traceability two-dimension code, traceability method based on two-dimension code and traceability system based on two-dimension code
CN105976185A (en) * 2016-04-28 2016-09-28 陕西永诺信息科技有限公司 Agricultural product quality safety whole-process monitoring and tracing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203102371U (en) * 2012-06-12 2013-07-31 北京物资学院 Tracking system of dairy product supply chain information based on Internet of Things
CN105046503A (en) * 2015-06-29 2015-11-11 立德高科(北京)数码科技有限责任公司 Dairy product traceability two-dimension code, traceability method based on two-dimension code and traceability system based on two-dimension code
CN104951906A (en) * 2015-07-16 2015-09-30 成都昇创科技有限公司 Product source tracing method and device
CN105976185A (en) * 2016-04-28 2016-09-28 陕西永诺信息科技有限公司 Agricultural product quality safety whole-process monitoring and tracing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348535A (en) * 2020-11-04 2021-02-09 新华中经信用管理有限公司 Traceability application method and system based on block chain technology
CN112348535B (en) * 2020-11-04 2023-09-12 新华中经信用管理有限公司 Traceability application method and system based on blockchain technology

Similar Documents

Publication Publication Date Title
Chen et al. Phylogenetic relatedness explains highly interconnected and nested symbiotic networks of woody plants and arbuscular mycorrhizal fungi in a Chinese subtropical forest
CN108229590A (en) A kind of method and apparatus for obtaining multi-tag user portrait
CN106303955A (en) For the method and apparatus that hotspot and POI are mated
JP4676498B2 (en) Method and system for extracting association rules
Thamo et al. Measurement of greenhouse gas emissions from agriculture: economic implications for policy and agricultural producers
Ncube The southern African poultry value chain: Corporate strategies, investments and agro-industrial policies
CN106934035A (en) Concept drift detection method in a kind of multi-tag data flow based on class and feature distribution
CN106447362A (en) Method of preventing fake and shoddy commodities from entering into circulation field and device thereof
Miao et al. Automation of leaf counting in maize and sorghum using deep learning
CN110728605A (en) Block chain based open type supervision platform and execution method thereof
US20130054654A1 (en) Geographic information system for collecting data and tracking agricultural and food-related properties by type and use
CN106919969A (en) Security of fowl product traceability system and its implementation based on Internet of Things
CN111178912A (en) Grain quality tracing method and system based on block chain
CN104616204A (en) Multi-element fine and intelligent carcass meat grading method for automatic pig slaughtering line
CN108346055A (en) Food information retroactive method based on prefabricated single-stranded list data structure
Cintrano et al. Hybridization of evolutionary operators with elitist iterated racing for the simulation optimization of traffic lights programs
WO2016040919A4 (en) Read cycles for identifying rfid tags
Brown et al. Distance metrics matter: analysing optimisation algorithms for the last mile problem
CN106528575B (en) Data interconnection method and device
US20180322214A1 (en) Data display method
Ding et al. Intelligent optimal selection of garment sizes by using immune algorithm and AHP method
CN106022833A (en) Commodity customized method based on big data processing
Tanrıverdi Blockchain Solutions for Agro-Food Chain Systems
CN109800831A (en) A kind of crash protection method based on RFID food tracing
CN104599100A (en) Internet of Things technology based food process monitoring system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200041, room 710, 302 Changping Road, Shanghai, Jingan District

Applicant after: Shanghai Xinlian Information Development Co., Ltd

Address before: 200041, room 710, 302 Changping Road, Shanghai, Jingan District

Applicant before: SHANGHAI ZHONGXIN INFORMATION DEVELOPMENT Co.,Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180731