A traceability system and method combining a digital planting GAP system with secondary nodes
Through a traceability system combining the digital planting GAP system with secondary nodes, the identification resolution code is used for data coding and query, the problem of lack of full-link traceability in the existing technology is solved, and efficient information circulation and resource management are achieved.
Patent Information
- Application Number
- CN202411477418.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-10-22
AI Technical Summary
The existing technology lacks a traceability mechanism that combines the digital planting GAP system with secondary nodes, resulting in the inability to achieve full-link traceability.
Design a traceability system that combines digital planting GAP system with secondary nodes, and transmits data through the traceability system and secondary nodes to realize information circulation in production, processing, circulation and sales links, and use identification resolution code for data coding and query.
The secondary node identification resolution code is used to separate the data from the planting end and other ends, solving the problem of inefficient coding caused by network delay in traditional docking methods, realizing full-link traceability, and avoiding resource waste.
Smart Images

Figure CN118982364B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of industrial Internet, and specifically relates to a traceability system and method combining a digital planting GAP system with a secondary node. Background Art
[0002] The industrial Internet identification resolution system is an important part of the industrial Internet network system and a nerve center that supports the interconnection and interoperability of the industrial Internet. By assigning unique ID cards to physical resources such as machines and products and virtual resources such as algorithms and processes and performing rapid positioning and information query, the integration and sharing of information resources across enterprises, industries, and regions is realized. It is the prerequisite for the precise docking of global supply chain systems and enterprise production systems, product life cycle management, and intelligent services. There are already many digital planting GAP systems on the market for the quality management of Chinese medicinal materials production, and there are also many application cases for traceability systems and traceability methods based on secondary nodes. However, in actual application, there is still a lack of a traceability mechanism that combines the digital planting GAP system with the secondary node.
[0003] In order to solve the shortcomings of the existing technology, people have conducted long-term exploration and proposed various solutions. For example, Chinese patent document CN202010779286.3 discloses a product traceability system and traceability method based on industrial Internet identity resolution, which includes an application layer, a product identity resolution traceability application terminal, a traceability system server, a distributed storage server, an identity resolution secondary node service platform, a product traceability management platform, a traceability module, an anti-channeling module, an anti-counterfeiting module, a product upstream module, a product downstream module and a production enterprise management module.
[0004] The above solution has solved the problem of existing product traceability to a certain extent, but the solution still has many shortcomings, such as the failure to combine the digital planting GAP system with the secondary node to achieve full-link traceability. Summary of the invention
[0005] The purpose of the present invention is to provide a traceability system with a reasonable design that combines a digital planting GAP system with a secondary node in order to solve the above problems.
[0006] Another object of the present invention is to provide a traceability method combining a digital planting GAP system with secondary nodes with good information flow effect in order to solve the above problems.
[0007] To achieve the above-mentioned purpose, the present invention adopts the following technical solutions: a traceability system combining a digital planting GAP system with a secondary node, including a digital planting system transmitting data with the secondary node through a traceability system, and the traceability system includes production links, processing links, circulation links and sales links.
[0008] In the above-mentioned traceability system combining a digital planting GAP system with secondary nodes, the production link includes the primary coding unit, planting unit, cultivation unit, harvesting unit and transportation unit; the processing link includes the entry inspection unit, processing waiting unit, secondary coding unit, exit inspection unit and processing warehousing unit; the circulation link includes the order service unit, sorting unit, logistics service unit, sales warehousing unit and distribution service unit; the sales link includes the pricing unit and the procurement service unit.
[0009] In the above-mentioned traceability system combining a digital planting GAP system with a secondary node, the secondary node adopts any one or more combinations of VAA, GS1, Handle, OID, and Ecode.
[0010] A traceability method combining a digital planting GAP system with a secondary node comprises the following steps:
[0011] S1: The digital planting system initiates a batch request for obtaining identification resolution codes, the traceability system obtains batch applications for codes, converts them into single applications and forwards them, and the secondary node generates identification resolution codes;
[0012] S2: The traceability system encapsulates the individual results into batch results, and the digital planting system obtains the batch code and caches it;
[0013] S3: The digital planting system codes the business data and uploads the data together with the identification code of the relationship data. The traceability system verifies the data and writes back the data according to the identification code. The secondary node modifies the registration data.
[0014] S4: In the digital planting system, the user scans the identification code, the traceability system queries the organizational data relationship map, and the secondary node returns the information representing the parsed code according to the query request;
[0015] S5: The digital implant system returns information and the user interface is rendered and displayed.
[0016] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, the generation of an identification resolution code by the secondary node in step S1 includes the following steps:
[0017] S11: Extract code lists, extract relationships, and integrate external knowledge. Input the identification code request, extract code lists in an unsupervised manner, add node relationships to the code through knowledge graphs and heuristic rules, and then integrate digital planting related knowledge.
[0018] S12: Perform code extraction, label generation and label sorting, extract the code meaning from the input code, map the code meaning to the knowledge graph and find the parent code as the backup label, sort the backup labels by the linked list sorting algorithm, and select several labels that meet the code meaning as the code label;
[0019] S13: Determine the identification code organization format and storage medium.
[0020] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, the identification code in step S13 is in binary form and stored in a QR code or RFID.
[0021] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, the batch code cache in step S2 includes the following steps:
[0022] S21: The internal node of the digital implantation system receives the identification parsing code format, determines the code storage location, and calculates and updates the cache time;
[0023] S22: determining a cache time according to a code call frequency, wherein the higher the code call frequency, the longer the cache time;
[0024] S23: When there is no cache space in the internal storage unit of the digital implantation system, the coded content with expired cache time is marked and deleted during cache replacement. If there is no content with expired cache time, the coded content with the smallest cache time is replaced.
[0025] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, the data verification in step S3 uses a checksum method to perform coding detection, wherein the transmitter collects the codes and supplements the remaining bits, and the supplemented part is attached to the end of the collection code, and then sent to the receiver; the receiver receives the code and the checksum and transmits them to the checker, which divides the code into multiple sub-codes of equal length, and complements the result after all the sub-codes are collected. If the supplemented result is zero, it indicates that there is no error in the code and data, otherwise it indicates that the data is wrong.
[0026] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, the traceability system in step S4 queries the organizational data relationship map, including the following steps:
[0027] S41: Retrieve the target block that matches the hash value of the first-level traceability information;
[0028] S42: Find the corresponding node of the target block successfully matched in step S1 as the encoding node;
[0029] S43: Find all related nodes by searching the labels of the coded nodes;
[0030] S44: Each node is sorted according to the timestamp of the traceability information block, and a traceability record table arranged in time sequence by hash value is obtained;
[0031] S45: A matching block pool is formed according to the traceability record table of the related nodes of the encoding node, and the hash value is continued to be matched in the matching block pool until the retrieval is completed.
[0032] In the above-mentioned traceability method combining a digital planting GAP system with a secondary node, in step S4, the traceability system queries the organizational data relationship map, including the following steps:
[0033] S46: Input the query search conditions of the first-level traceability information;
[0034] S47: Using an iteration or traversal method to retrieve and obtain the query result;
[0035] S48: Return the matching query structure and verify the first-level traceability information;
[0036] S49: Locate the second-level traceability information that needs to be verified from the returned query results.
[0037] Compared with the existing technology, the advantages of the present invention are: through the secondary node identification resolution code, the data isolation between the planting end and other ends is broken; the method of batch application and caching of identification resolution codes solves the problem of low coding efficiency caused by network delay in the traditional docking method; the traceability system has multiple query methods, making full use of the identification resolution secondary node system, avoiding the waste of resources caused by the traditional traceability system storing a large amount of data locally; the planting end business system data uses the secondary node identification resolution code as the business primary key, realizes deep integration with the identification resolution code, and is more convenient for subsequent system docking. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a system principle diagram of the present invention.
[0039] Figure 2 It is a schematic diagram of the method of the present invention.
[0040] Figure 3 It is a flow chart of generating identification resolution code of the present invention. DETAILED DESCRIPTION
[0041] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0042] like Figure 1-3As shown, a traceability system combining a digital planting GAP system with a secondary node includes a digital planting system that transmits data with a secondary node through a traceability system. The traceability system includes production links, processing links, circulation links, and sales links. This system relies on the coding system of the secondary node of the identity resolution, and provides coding services to the digital planting system through the traceability system. The digital planting system obtains the identity resolution code from the business system in batches through a cache mechanism. After the business data is generated, the identity resolution code is taken from the cache as the business primary key of the business data. The advantage of this approach is that it can avoid the impact of network fluctuations on the coding of the digital planting system. Through the above steps, the data in the digital planting system are all assigned the secondary node identity resolution code. At this time, the digital planting system uploads the system data together with the identity resolution code and the source identity code to the traceability system, and the traceability system writes the data back to the secondary node. In this way, in the secondary node, there are all business data and business chain data. In this way, at the user end, in the traceability system, the traceability information query of any data can be completed according to the identity resolution code.
[0043] The GAP in this embodiment covers the whole process management of Chinese medicinal materials production, including quality management: involving quality risk assessment, production management and quality control measures; organization and personnel: stipulating the enterprise organizational structure and personnel qualification requirements; facilities, equipment and tools: including planting or breeding facilities, processing facilities, storage warehouses and packaging facilities, etc.; base site selection: site selection standards and environmental protection requirements for production bases; seeds, seedlings or other propagation materials: including requirements and management of seeds and seedlings; planting and breeding: involving planting technical regulations, field management, breeding technical regulations, etc.; harvesting and processing at the place of origin: including harvesting technical regulations, harvesting management and processing at the place of origin management; packaging, release and storage and transportation: involving packaging materials, labels, release system, storage and transportation requirements; documents: stipulating the requirements for document management system and record keeping; quality inspection: establishing quality control system and inspection procedures; internal audit: regularly organizing internal audits and trend analysis; complaints, returns and recalls: establishing relevant systems and operating procedures.
[0044] Among them, the digital planting GAP system is a system that integrates modern information technology and GAP, aiming to improve the efficiency, quality and sustainability of agricultural production. Including but not limited to: Information technology integration: using technologies such as the Internet of Things (IoT), big data, cloud computing and artificial intelligence (AI) to achieve real-time monitoring and intelligent decision-making of the agricultural production process; environmental monitoring: monitoring environmental factors such as soil moisture, temperature, pH value, light intensity, etc. through a sensor network to ensure that crops grow under optimal conditions; intelligent irrigation system: automatically adjust irrigation volume according to crop water demand and soil moisture to achieve precise irrigation and save water resources; pest and disease management: use image recognition and data analysis technology to identify and warn pests and diseases early and reduce the use of chemical pesticides; crop management: optimize crop planting patterns, planting density and fertilization plans through data analysis to improve crop yield and quality; resource management: monitoring and management Manage the use of agricultural resources, such as fertilizers, pesticides, water resources, etc., to improve resource utilization efficiency; Quality control: Strict quality control is carried out in every link from planting to harvesting to ensure that agricultural products meet GAP standards; Traceability system: Establish a complete agricultural product traceability system to record the planting, processing, transportation and sales information of agricultural products to enhance consumer trust; Data analysis and decision support: Collect and analyze agricultural production data, provide decision support for farm managers, and optimize production plans; Education and training: Provide digital skills and GAP norms training for agricultural practitioners to improve their professional capabilities and ability to adapt to new technologies; Market access: Through digital platforms, help agricultural products better access the market and improve the efficiency and transparency of sales channels.
[0045] Specifically, the production link includes the first-level coding unit, planting unit, cultivation unit, harvesting unit and transportation unit; the processing link includes the entry inspection unit, processing waiting unit, second-level coding unit, exit inspection unit and processing warehousing unit; the circulation link includes the order service unit, sorting unit, logistics service unit, sales warehousing unit and distribution service unit; the sales link includes the pricing unit and procurement service unit.
[0046] The secondary node refers to the secondary node of industrial Internet identity resolution, which is an important component of the industrial Internet system. It is mainly used to realize the global unique identification and information resolution services of industrial equipment, products, parts, etc. The following are some key features and functions of the secondary node: Globally unique identification: Assign a globally unique identifier (such as a digital ID or QR code) to each object in the industrial Internet to ensure that the object is identifiable and traceable globally; Information resolution service: Provide identifier-based information query and resolution services to help users quickly obtain relevant information of the object, such as product specifications, production batches, instructions for use, etc.; Data management and integration: As a key node for data management and integration, the secondary node can collect, store and process data from different sources to achieve unified management and application of data; Service discovery and integration: Help users discover and integrate various industrial services, such as remote monitoring, predictive maintenance, supply chain management, etc.; Security and privacy protection: Through Through encryption, access control and other means, ensure the security of data transmission and storage, and protect user privacy; interoperability: support interoperability between different systems and platforms, and promote the interconnection of industrial equipment and systems; scalability and flexibility: have good scalability and flexibility, and can adapt to the needs of industrial applications of different scales and types; promote intelligence: through identification resolution services, support intelligent management and optimization of industrial equipment, improve production efficiency and product quality; support industrial ecosystem: as a key infrastructure in the industrial ecosystem, the secondary node supports the development of various industrial applications and services, and promotes the overall development of the industrial Internet; standardization: follow relevant international and domestic standards to ensure compatibility and interoperability between different systems and components.
[0047] In-depth, the secondary node adopts any one or more combinations of VAA, GS1, Handle, OID, and Ecode. The identification service system that the secondary node relies on includes an identification management module, an identification resolution module, a user management module, and a node management module. The identification management module includes units such as identification allocation, identification deletion, identification data update, identification data viewing, and statistical information viewing; the user management module includes units such as prefix management, user login, user logout, and update information; the node management module includes units such as node startup authentication, node information update, and operation status upload. Since the secondary node supports multiple communication methods, heterogeneous identification fusion resolution can be realized.
[0048] A traceability method combining a digital planting GAP system with a secondary node comprises the following steps:
[0049] S1: The digital planting system initiates a batch request for obtaining identification resolution codes, the traceability system obtains batch applications for codes, converts them into single applications and forwards them, and the secondary node generates identification resolution codes;
[0050] S2: The traceability system encapsulates the individual results into batch results, and the digital planting system obtains the batch code and caches it;
[0051] S3: The digital planting system codes the business data and uploads the data together with the identification code of the relationship data. The traceability system verifies the data and writes back the data according to the identification code. The secondary node modifies the registration data.
[0052] S4: In the digital planting system, the user scans the identification code, the traceability system queries the organizational data relationship map, and the secondary node returns the information representing the parsed code according to the query request;
[0053] S5: The digital implant system returns information and the user interface is rendered and displayed.
[0054] In addition, in step S1, the secondary node generates an identification resolution code based on the knowledge graph for encoding and label generation, and obtains the upper-level code for subsequent business data coding, including the following steps:
[0055] S11: Extract code lists, extract relationships, and integrate external knowledge. Input the identification code request, extract code lists in an unsupervised manner, add node relationships to the code through knowledge graphs and heuristic rules, and then integrate digital planting related knowledge.
[0056] S12: Perform code extraction, label generation and label sorting, extract the code meaning from the input code, map the code meaning to the knowledge graph and find the parent code as the backup label, sort the backup labels by the linked list sorting algorithm, and select several labels that meet the code meaning as the code label;
[0057] S13: Determine the identification code organization format and storage medium.
[0058] At the same time, the identification code in step S13 is in binary form and stored in a QR code or RFID. The QR code has multiple code systems such as QR and Data Matrix, which can directly store five identification formats of VAA. The storage space of RFID tags, especially UHF RFID tags, has multiple lengths, such as 96 bits, 128 bits, 256, etc.
[0059] In addition, the batch code caching in step S2 includes the following steps:
[0060] S21: The internal node of the digital implantation system receives the identification parsing code format, determines the code storage location, and calculates and updates the cache time;
[0061] S22: determining a cache time according to a code call frequency, wherein the higher the code call frequency, the longer the cache time;
[0062] S23: When there is no cache space in the internal storage unit of the digital implantation system, the coded content with expired cache time is marked and deleted during cache replacement. If there is no content with expired cache time, the coded content with the smallest cache time is replaced.
[0063] It can be seen that the data verification in step S3 uses a checksum method to perform coding detection, wherein the transmitter collects the codes and supplements the remaining bits, and the supplemented part is attached to the end of the collective code, and then sent to the receiver; the receiver receives the code and the checksum and transmits them to the checker, which divides the code into multiple sub-codes of equal length, and complements the result after all the sub-codes are collected. If the supplemented result is zero, it indicates that there is no error in the code and data, otherwise it indicates that the data is wrong.
[0064] Obviously, when the traceability system queries the organizational data relationship map in step S4 and completes the traceability query and obtains the verification result, the traceability code is updated and accumulated and a traceability query record is created. The manager can view the query time, query personnel information and query object. Specifically, the following steps are included:
[0065] S41: Retrieving a target block matched by a hash value of first-level traceability information, wherein the first-level traceability information represents the traceability information queried for the first time;
[0066] S42: Find the corresponding node of the target block successfully matched in step S1 as the encoding node;
[0067] S43: all related nodes are found through label retrieval of the coding node. If the label of the coding node is a processing manufacturer of Chinese medicinal materials, the related nodes represent sellers and growers of Chinese medicinal materials. The coding node label includes the relationship between the related nodes.
[0068] S44: Each node is sorted according to the timestamp of the traceability information block, and a traceability record table arranged in time sequence by hash value is obtained; wherein each node must belong to the corresponding blockchain generated according to the timestamp;
[0069] S45: A matching block pool is formed according to the traceability record table of the related nodes of the encoding node, and the hash value is continued to be matched in the matching block pool until the retrieval is completed.
[0070] Preferably, different from the above-mentioned hash matching retrieval method, the traceability system in step S4 may also use an iterative or traversal method to search the organizational data relationship graph, which specifically includes the following steps:
[0071] S46: Input the query search conditions of the first-level traceability information;
[0072] S47: Using an iteration or traversal method to retrieve and obtain the query result;
[0073] S48: Return the matching query structure and verify the first-level traceability information;
[0074] S49: Locate the second-level traceability information that needs to be verified from the returned query results.
[0075] To sum up, the principle of this embodiment is: to cache the secondary node identification resolution code in batch application instead of taking it on-demand, and subsequently supplement the data by writing back to complete the closed-loop operation of the identification resolution code application; to obtain data from the secondary node in a variety of ways to form a data graph; the planting-end business system deeply integrates the identification resolution code, and uses the identification resolution code to conduct business flow within the system.
[0076] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
[0077] Although this article uses more terms such as secondary node, digital planting system, and traceability system, it does not exclude the possibility of using other terms. These terms are used only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional restrictions is contrary to the spirit of the present invention.
Claims
1. A method for a traceability system combining a digital planting GAP system with a secondary node, characterized in that: The digital planting system is used to transmit data with the secondary node through the traceability system. The traceability system includes production, processing, circulation and sales links; the production link includes a primary coding unit, a planting unit, a cultivation unit, a harvesting unit and a transportation unit; the processing link includes an entry inspection unit, a processing waiting unit, a secondary coding unit, an exit inspection unit and a processing warehousing unit; the circulation link includes an order service unit, a sorting unit, a logistics service unit, a sales warehousing unit and a distribution service unit; the sales link includes a pricing unit and a procurement service unit; the secondary node adopts any one or more combinations of VAA, GS1, Handle, OID and Ecode, including the following steps: S1: The digital planting system initiates a batch request for obtaining identification resolution codes, the traceability system obtains batch applications for codes, converts them into single applications and forwards them, and the secondary node generates identification resolution codes; S11: Extract code lists, extract relationships, and integrate external knowledge. Input the identification code request, extract code lists in an unsupervised manner, add node relationships to the code through knowledge graphs and heuristic rules, and then integrate digital planting related knowledge. S12: Perform code extraction, label generation and label sorting, extract the code meaning from the input code, map the code meaning to the knowledge graph and find the parent code as the backup label, sort the backup labels by the linked list sorting algorithm, and select several labels that meet the code meaning as the code label; S13: Determine the identification code organization format and storage medium; S2: The traceability system encapsulates the individual results into batch results, and the digital planting system obtains the batch code and caches it; S3: The digital planting system codes the business data and uploads the data together with the identification code of the relationship data. The traceability system verifies the data and writes back the data according to the identification code. The secondary node modifies the registration data. S4: In the digital planting system, the user scans the identification code, the traceability system queries the organizational data relationship map, and the secondary node returns the information representing the parsed code according to the query request; S5: The digital implant system returns information and the user interface is rendered and displayed.
2. The method of a traceability system combining a digital planting GAP system and a secondary node according to claim 1, characterized in that: In step S13, the identification code is in binary form and stored in a QR code or RFID.
3. The method of a traceability system combining a digital planting GAP system and a secondary node according to claim 1, characterized in that: The batch code caching in step S2 includes the following steps: S21: The internal node of the digital implantation system receives the identification parsing code format, determines the code storage location, and calculates and updates the cache time; S22: determining a cache time according to a code call frequency, wherein the higher the code call frequency, the longer the cache time; S23: When there is no cache space in the internal storage unit of the digital implantation system, the coded content with expired cache time is marked and deleted during cache replacement. If there is no content with expired cache time, the coded content with the smallest cache time is replaced.
4. The method of a traceability system combining a digital planting GAP system and a secondary node according to claim 1, characterized in that: In the step S3, the data check adopts the checksum method to perform coding detection, wherein the transmitter collects the codes and supplements the remaining bits, and the supplemented part is attached to the end of the collected code, and then sent to the receiver; the receiver receives the code and the checksum and transmits them to the checker, which divides the code into multiple sub-codes of equal length, and complements the result after all the sub-codes are collected. If the supplemented result is zero, it indicates that there is no error in the code and data, otherwise it indicates that the data is wrong.
5. The method of a traceability system combining a digital planting GAP system and a secondary node according to claim 1, characterized in that: In step S4, the traceability system queries the organizational data relationship map, including the following steps: S41: Retrieve the target block that matches the hash value of the first-level traceability information; S42: Find the corresponding node of the target block successfully matched in step S1 as the encoding node; S43: Find all related nodes by searching the labels of the coded nodes; S44: Each node is sorted according to the timestamp of the traceability information block, and a traceability record table arranged in time sequence by hash value is obtained; S45: A matching block pool is formed according to the traceability record table of the related nodes of the encoding node, and the hash value is continued to be matched in the matching block pool until the retrieval is completed.
6. The method of a traceability system combining a digital planting GAP system and a secondary node according to claim 5, characterized in that: In step S4, the traceability system queries the organizational data relationship map, including the following steps: S46: Input the query search conditions of the first-level traceability information; S47: Using an iteration or traversal method to retrieve and obtain the query result; S48: Return the matching query structure and verify the first-level traceability information; S49: Locate the second-level traceability information that needs to be verified from the returned query results.
Citation Information
Patent Citations
Product tracing system and method based on industrial Internet identifier analysis
CN112243023A
A module with a batch code sending mode function
CN109685187A
Organic agricultural product safety traceability system and method based on cloud computing
CN111861515A