A method for constructing product packaging layer identification based on GS1 coded identification graphics
By using the collaborative encryption method of GS1 coding identification graphics and management system, the product packaging level is identified, solving the problems of error correction and verification in the product transportation and sales process, and realizing efficient transportation management and privacy protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2026-03-13
AI Technical Summary
During product transportation and sales, how can we effectively identify product packaging layers to enable error correction and verification during transportation, and avoid increased costs caused by mis-opening, confusion, and repackaging?
Using a GS1-based coding and identification graphic method, the system receives parsing requests from the data collection terminal through the management system. By combining geographical location information and collaborative encryption of packaging levels, it achieves identity verification of the data collection terminal and verification of the product transportation process, identifies the transportation and sales packaging levels, and performs corrections and verifications without opening the transportation packaging.
It enables accurate identification and verification of product transportation, avoids increased costs caused by repackaging, protects product information privacy, and reduces the risk of illegal activities.
Smart Images

Figure CN120822530B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of data identification, data representation, recording media, and processing of recording media, and in particular to a method for constructing product packaging layer identification based on GS1 coded identification graphics. Background Technology
[0002] With relatively well-developed infrastructure, inter-regional trade has become a common form of trade. Maritime trade has also grown significantly with the advancement of navigation technology.
[0003] On the one hand, product distribution can bring consumers a richer life experience; on the other hand, controlling products during transportation and sales also increases the difficulty. For example, for beverages packaged in refills, the smallest unit for sale is the refill. If it is mistakenly opened into single bottles at the sales end, it will make after-sales tracking of the beverage difficult. Another example is that the same beverage, from the same batch, with different packaging levels, is to be sold in different shopping malls (A and B) in a certain city. If oversights occur during transportation or sorting, causing confusion between products destined for different destinations, it will cause inconvenience to the sales end. If the problem is only discovered after the product has been opened, repackaging it will increase costs.
[0004] Therefore, how to identify product packaging layers to correct and verify errors in product transportation and sales has become an urgent problem to be solved.
[0005] For example, patent publication number CN115034346B, titled "A Method, Apparatus, and Storage Medium for Unique Product Coding Based on GS1 Encoding" (Main Classification Number: G06K19 / 06), uses the GS1 globally unified coding system as a technical means to formulate a unified coding specification. Starting from the product's manufacturer and basic attributes, it establishes a unique product code in time and space. On the one hand, this demonstrates that data identification, data representation, recording media, and recording media processing technologies have great potential in the field of GS1 coding; on the other hand, it also shows that there is still a broad prospect for technological expansion in this field. Summary of the Invention
[0006] This application provides a method for constructing product packaging layer identification based on GS1 encoded identification graphics, so as to at least partially solve the above-mentioned technical problems.
[0007] The embodiments of this application adopt the following technical solutions:
[0008] In a first aspect, embodiments of this application provide a method for constructing product packaging layer identification based on GS1 coded identification graphics. The method is based on a management system, which includes a management terminal and a data acquisition terminal. The method includes:
[0009] The management terminal receives a first parsing request sent by the acquisition terminal; the first parsing request carries the first geographical location information of the acquisition terminal, and the transportation identification information obtained by scanning the transportation code identifier of the target product; the transportation identification information includes: transportation GTIN and coded transportation information; the transportation code identifier is set on the transportation packaging;
[0010] If the first geographic location information matches the transportation route planned for the target product before it leaves the warehouse, then the transportation packaging level represented by the transportation GTIN is identified as the first level.
[0011] Based on the last specified digits of the decoded shipping information, the sales packaging level it represents is determined as the second level; the last specified digits are obtained by fusing at least a portion of the content of the sales packaging level and the sales identification information when the shipping identification information was determined historically; the management terminal locally stores the mapping relationship between the shipping identification information and the sales identification information; the sales identification information is set on the sales packaging of the target product;
[0012] If the first level matches the second level, the decoded transportation information is returned to the acquisition terminal.
[0013] In an optional embodiment of this specification, the method further includes:
[0014] The sales identification information includes at least one of the following: batch number, serial number, consumer product variant, and relevant date.
[0015] In an optional embodiment of this specification, determining the transport identification information includes:
[0016] Based on the sales packaging level and the sales identification information, a specified calculation is performed to obtain the first available data;
[0017] Perform a hash calculation on the first available data to obtain the second available data;
[0018] The specified number of digits in the second available data is added to the end of the information obtained from the transportation-based attribute data to obtain the transportation information.
[0019] In an optional embodiment of this specification, the method further includes:
[0020] When the sales identification information includes the serial number, the specified calculation is performed based on the serial number and the sales packaging level.
[0021] In an optional embodiment of this specification, the method further includes:
[0022] When the sales identification information does not contain the serial number, the specified calculation is performed based on the first mixed field and the sales packaging level; the first mixed field is a mixture of the batch number and the relevant date; or,
[0023] When the sales identification information does not contain the serial number, the specified calculation is performed based on the second mixed field and the sales packaging level; the second mixed field is a mixture of the consumer product variant and the relevant date.
[0024] In an optional embodiment of this specification, the method further includes:
[0025] If the first geographical location information does not match the transportation route, the first person in charge matching the transportation GTIN is found locally on the management terminal, and a first alarm message is sent to the first person in charge.
[0026] In an optional embodiment of this specification, the method further includes:
[0027] If the first geographical location information does not match the transportation route, the identifier of the collection terminal is determined and marked as a risk collection terminal.
[0028] In an optional embodiment of this specification, the method further includes:
[0029] The management terminal receives a second parsing request sent by the acquisition terminal; the second parsing request carries the second geographical location information of the acquisition terminal, the sales GTIN, and the coded sales identifier information obtained by scanning the sales code identifier of the target product;
[0030] If the second geographic location information matches the destination of the transportation route, and the sales GTIN matches the record in the local management terminal, then the decoded sales identification information is returned to the collection terminal.
[0031] In an optional embodiment of this specification, the method further includes:
[0032] If the second geographical location information does not match the destination of the transportation route, a second person in charge matching the sales GTIN is found locally on the management terminal, and a second alarm message is sent to the second person in charge.
[0033] In an optional embodiment of this specification, the management system further includes a coding terminal:
[0034] After detecting that the target product has completed the sales packaging, the coding terminal performs graphic construction based on the sales GTIN and the encoded sales identification information of the target product to obtain the sales code identifier of the target product.
[0035] After the target product is detected to have completed the transport packaging, a graphic is constructed based on the transport GTIN and the encoded transport information to obtain the transport code identifier of the target product;
[0036] When the target product is detected to be about to be shipped out, a transportation route is planned for the target product based on the transportation information.
[0037] Secondly, embodiments of this application also provide an apparatus for constructing product packaging layer identification based on GS1 coded identification graphics, the apparatus being used to implement the method in the first aspect.
[0038] Thirdly, embodiments of this application also provide an electronic device, including:
[0039] Processor; and
[0040] A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect.
[0041] Fourthly, embodiments of this application also provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device including multiple applications, cause the electronic device to perform the steps of the method described in the first aspect.
[0042] The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects:
[0043] The method provided in this application takes advantage of the fact that the transportation route and destination of a product cannot be arbitrarily changed during transportation. When the data collection end needs to obtain the specific content of the limited transportation identification information of the target product, it achieves identity verification of the data collection end through collaborative "encryption" between geographical location information and packaging layers, while also enabling correction and verification of the product transportation process. Furthermore, the correction and verification process does not require opening the target product's shipping packaging, avoiding the increased costs associated with repackaging. Moreover, using the method described in this specification, even if the data collection end passes verification, it can only obtain transportation-related information, which helps to protect privacy during product delivery and reduces illegal activities caused by the leakage of product information. Attached Figure Description
[0044] Figure 1 This is a schematic diagram illustrating the process of constructing a product packaging layer identification method based on GS1 coded identification graphics, as provided in the embodiments of this specification.
[0045] Figure 2 This is a schematic diagram of the structure of an electronic device in an embodiment of this specification. Detailed Implementation
[0046] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. Similar elements in different embodiments are referred to by related similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of the present application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to the present application are not shown or described in the specification. This is to avoid obscuring the core parts of the present application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.
[0047] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.
[0048] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).
[0049] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0050] like Figure 1 As shown, the method for constructing product packaging layer identification based on GS1 coded identification graphics in this specification includes the following steps:
[0051] S100: The management terminal receives the first parsing request sent by the acquisition terminal.
[0052] The methods described in this manual are based on a management system, which includes a management terminal and a data acquisition terminal. The management terminal can be a server cluster, and the data acquisition terminal can be a mobile terminal. The management terminal and the data acquisition terminal can communicate with each other. The management terminal can communicate and connect with several data acquisition terminals; this manual only uses one of these data acquisition terminals as an example for illustration.
[0053] Unless otherwise specified, the methods described in this manual are based on the management terminal.
[0054] Ideally, the data collection terminal should be a verified device by the management system. However, in reality, it's difficult to completely prevent criminals from stealing information about target products and then using this information to disguise illegal products and commit illicit activities. Therefore, before allowing the data collection terminal to access target product information, verification of the data collection terminal is necessary. Simultaneously, to protect the transportation safety of the target products, the transportation process must be monitored.
[0055] The target product in this specification refers to the product that needs to be transported under the supervision of the methods described herein. There is a one-to-one correspondence between the target product and the transport packaging.
[0056] In an optional embodiment of this specification, the management system further includes a coding terminal. Before the management terminal and the data acquisition terminal interact with the target product, the coding terminal performs coding on the target product. The process is as follows: After detecting that the target product has completed its sales packaging, the coding terminal performs graphical construction based on the sales identification information and the sales GTIN of the target product to obtain the sales code identifier of the target product; the sales code identifier is set on the sales packaging. The sales packaging is the packaging used when the target product is sold, and it is the smallest unit of packaging for the sale of the target product. For example, if the target product is a canned beverage, then the sales packaging is a can package. Subsequently, after detecting that the target product has completed its transport packaging, the coding terminal performs graphical construction based on the encoded transport information (e.g., shipping address, destination address, consignee information, transport vehicle information, etc., these transport-based attribute data) and the transport GTIN to obtain the transport code identifier of the target product. The specific encoding method is executed by the management terminal based on a preset script, ensuring that the encoded information is only plaintext information after decoding. All related technologies that can be used to implement encoding are applicable to this specification, where conditions permit. All related technologies that can be used to implement graphics construction are applicable to this specification, where conditions permit.
[0057] Transport packaging refers to the packaging used when transporting the target product. For example, if the target product is a canned beverage, after the beverage is packaged in cans, it is then packaged in two layers of six cans each. Next, it is packaged in three layers of four cans each. After that, 16 cans are placed on a pallet, and protective film is wrapped around the outside of the pallet to complete the fourth layer of packaging, i.e., transport packaging. During transportation, the product is transported in pallet units. Furthermore, there may be fifth-level packaging; for example, if 24 pallets are placed in a container, the container itself constitutes fifth-level packaging, i.e., transport packaging.
[0058] Multi-level packaging can protect the target product and avoid damage during transportation. On the other hand, the transport packaging is marked with a transport code instead of a sales code. The sales code is set on the innermost layer of packaging. Unless the transport packaging is damaged, the sales code cannot be scanned. Therefore, some information related to sales (such as the serial number (21), which can also be called the serial number) will not be leaked during transportation, which helps to prevent criminals from stealing this information to commit illegal acts.
[0059] As for how to place sales and shipping codes on their corresponding packaging, this can be implemented based on relevant technologies. For example, they can be sprayed or affixed as stickers.
[0060] In this manual, GTIN stands for Global Trade Item Number, the most widely used identification code in the coding system. A trade item refers to a product or service. GTIN is a code (called a code structure) that provides a unique identifier for a global trade item. There are four different GTIN code structures: GTIN-13, GTIN-14, GTIN-8, and GTIN-12. These four structures can uniquely encode goods in different packaging forms. Regardless of the trade item being applied to, each identification code must be used as a whole. A complete identification code ensures global uniqueness within the relevant application area. GTIN (Global Trade Item Number) is an important component of the GS1 (Global Language of Business) system and is a core identification code within the GS1 coding system.
[0061] The first character 0 in a GTIN typically indicates the smallest unit of sale. However, products are usually not shipped individually from the smallest unit; for example, suppliers don't ship canned beverages one can at a time. The specific level that higher-level identification codes refer to is defined by the management, and even if others know the shipping GTIN, it's difficult to gain detailed information about the product's packaging. For example, beverages can be packaged in cans or 5L storage bags, and these bags may use the same boxes and pallet sizes as the cans.
[0062] The transport code identifier based on the GS1 encoding identifier graphic in this specification can be a barcode or a QR code.
[0063] The first parsing request is generated by the data acquisition terminal after scanning the transport code identifier. Since the information is encoded and the packaging level in the transport GTIN is defined by the management terminal, the data acquisition terminal cannot obtain interpretable information at this time.
[0064] The first parsing request carries the first geographical location information of the acquisition terminal (e.g., which can be determined by the GPS chip of the acquisition terminal), and the transport identification information obtained by scanning the transport code identifier of the target product. The transport identification information includes: coded transport information and transport GTIN; the transport code identifier is affixed to the transport packaging.
[0065] In an optional embodiment of this specification, communication between the management terminal and other terminals may use the HTTP / HTTPS protocol or the MQTT protocol.
[0066] HTTPS (Hypertext Transfer Protocol Secure) is an HTTP channel designed for security. It builds upon HTTP by adding SSL encryption and authentication to ensure secure transmission. The HTTP / HTTPS protocol primarily follows these principles:
[0067] 1. Authentication of both communicating parties. HTTPS authenticates both communicating parties through the SSL / TLS protocol. The server needs to provide a digital certificate to the client to prove its identity, and the client uses a public key to encrypt request data, ensuring the security of the transmission process.
[0068] 2. Data Encryption Protection. A combination of symmetric and asymmetric encryption is used to ensure data privacy: Symmetric encryption: The same key is used for both encryption and decryption, suitable for efficient transmission of large amounts of data (such as file transfers). Asymmetric encryption: Public and private keys are separated; the client uses the public key to encrypt requests, and the server uses the private key to decrypt, ensuring data is not stolen.
[0069] 3. Protocol version iteration and optimization
[0070] HTTP / 1.1 improved efficiency by introducing persistent connections and pipelining, while HTTP / 2 further optimized it with mechanisms such as binary framing and multiplexing to reduce resource waste.
[0071] MQTT (Message Queuing Telemetry Transport) is a message protocol based on the publish-subscribe paradigm under the ISO standard (ISO / IEC PRF 20922). It operates on top of the TCP / IP protocol. The design of the MQTT protocol follows the following natural principles:
[0072] 1. Lightweight and efficiency-first. The protocol header is as small as 2 bytes and the data packet is as small as 4 bytes, which greatly reduces network resource consumption and is suitable for low-bandwidth, high-latency network environments (such as common scenarios of IoT devices).
[0073] 2. Decoupling of communication parties. Publishers and subscribers do not need to be directly associated; message routing is achieved through a broker, reducing inter-device dependencies.
[0074] 3. Layered reliability assurance. Quality of Service (QoS) is divided into three levels:
[0075] QoS 0 (at most once): Tolerates data loss (such as environmental monitoring).
[0076] QoS 1 (at least once): Ensures message delivery but may be duplicated (subscribers need to deduplicate).
[0077] QoS 2 (Exactly Once): Avoids duplication and loss through a handshake mechanism (critical command scenarios).
[0078] 4. Adapts to dynamic changes. Supports reconnection after disconnection and session recovery (persistent sessions). A will message mechanism can be triggered when a client goes offline abnormally, ensuring system stability.
[0079] S102: If the first geographical location information matches the transportation route planned for the target product before it leaves the warehouse, then the transportation packaging level represented by the transportation GTIN is identified as the first level.
[0080] In an optional embodiment of this specification, when the coding terminal detects that the target product is about to leave the warehouse (at this time, the information of the transport vehicle performing this transport has been determined, such as the license plate number), it plans the transport route for the target product based on the transport information and stores it locally. Related technologies that can be used to provide route planning services are applicable to this specification, where conditions permit. Optionally, the driver of the transport vehicle can plan the transport route for this transport using their terminal device (e.g., a mobile phone), and then upload the transport route to the management terminal. Before the driver completes the upload operation, the status of the target product cannot be marked as "out of warehouse".
[0081] In related technologies, any technical means used to determine the matching degree between data are applicable to this specification, where conditions permit. Optionally, if the geographical location represented by the first geographical location information is on the transportation route, it is determined to be a match. Otherwise, it is determined to be a mismatch. The first digit of the GTIN typically represents a single digit representing the packaging level. The specific packaging level corresponding to this digit is preset by the management terminal. This can be set by the target product manufacturer based on enterprise rules, and then the corresponding parameters are entered into the corresponding script on the management terminal, enabling the management terminal to perform packaging level identification.
[0082] In an optional embodiment of this specification, if the first geographical location information does not match the transportation route planned for the target product before it leaves the warehouse, the first person in charge matching the transportation GTIN is found locally on the management terminal, and a first alarm message is sent to the first person in charge to inform that the target product corresponding to the transportation GTIN is at risk.
[0083] Furthermore, if the first geographical location information does not match the transportation route planned for the target product before it leaves the warehouse, the identifier of the collection terminal is determined and marked as a risk collection terminal.
[0084] S104: Based on the last specified number of bits of the decoded transportation information, determine the sales packaging level it represents as the second level.
[0085] For example, the last specified number of digits could be "the last 6 digits".
[0086] It should be noted that the GTIN (Transport GTIN) of the transport code identifier and the GTIN (Sales GTIN) of the sales code identifier in this manual may be different, as they represent different packaging levels. The management system locally stores the correspondence between the transport GTIN of the transport code identifier, the sales GTIN of the sales code identifier, the contract number, the shipping document number, and the identification of the transport vehicle. This correspondence can be identified and verified through lookup.
[0087] The last specified number of digits is obtained by fusing at least a portion of the sales packaging level and sales identification information when the transportation identification information was historically determined; the management terminal locally stores the mapping relationship between the transportation identification information and the sales identification information; the sales identification information is set on the smallest sales unit of the target product. The fusion in this specification has a certain "encryption" effect, which can realize the mapping between data, but does not expose the data itself.
[0088] In an optional embodiment of this specification, the sales identification information includes at least one of the following: batch number (GS1 code (10), which represents a product batch and is defined by the manufacturer), serial number (GS1 code (21), which represents a unique serial identifier), consumer product variant (GS1 code (22), which is defined by the manufacturer), and related date (information related to the date, such as the production date).
[0089] In an optional embodiment of this specification, the process of determining the shipping identification information is as follows: performing a specified calculation on the sales packaging level and the sales identification information to obtain first usable data. The specified calculation in this specification is a preset calculation method in the management terminal. In related technologies, any technical means capable of realizing data interaction is applicable to this specification, provided conditions permit. In GS1 encoding, both the sales packaging level and the sales identification information are strings of numbers, which provides a basis for calculation. For example, the sales packaging level and the sales identification information can be multiplied. However, the inverse operation of this process is difficult, making it hard to deduce the sales packaging level and sales identification information from the resulting product. Another example is sampling the sales identification information and replacing the specified value with the number corresponding to the sales packaging level. Although this process is reversible, it requires multiple trials, and such attacks are easily detected.
[0090] Next, a hash calculation is performed on the first available data to obtain the second available data. The hash calculation further enhances privacy protection. Then, a specified number of digits (either the first few or the last few digits) from the second available data are added to the last digit of the transport-based attribute data (which is also an encoded string of numbers), thus obtaining the transport information.
[0091] To improve the efficiency of this "encryption" effect, in an optional embodiment, when the sales identification information includes the serial number, the serial number is used in conjunction with the sales packaging level for a specified calculation. If the serial number is not unique, multiple serial numbers can be encoded before the specified calculation. For example, the last digit of each serial number can be arranged in ascending order to obtain a sequence, which is then used in conjunction with the sales packaging level for the specified calculation.
[0092] When the sales identification information does not contain the serial number, a first mixed field and the sales packaging level are used for the specified calculation; the first mixed field is a mixture of the batch number and the relevant date; or, when the sales identification information does not contain the serial number, a second mixed field and the sales packaging level are used for the specified calculation; the second mixed field is a mixture of the consumer product variant and the relevant date. The specific method used to obtain the second mixed field can be determined by the management end to avoid different shipping packages corresponding to the same second mixed field. In an optional embodiment of this specification, when both batch number and consumer product variant exist, the management end queries local data to determine the delivery status of the same batch of target products relative to their respective destinations. If at the current moment, there are no target products in transit, the second mixed field is obtained based on the batch number. If at the current moment, there are target products in transit, the second mixed field is obtained based on the consumer product variant. If, at the current moment, a target product is en route and no available consumer product variant exists (there are two possibilities: none at all; or there is, but it is occupied by another shipping package), the management terminal assigns a random code to the shipping package. A second mixed field is obtained by combining the random code with the relevant date. The random code is recorded in a file storing mapping relationships on the management terminal, serving as one of the mapping units for subsequent queries. The random code is generated by a random code generation script and is random in nature. Only the management terminal has permission to access the random code.
[0093] In related technologies, any techniques that can be used to achieve data mixing are applicable to this specification, where conditions permit. For example, the last digit of the GS1 code representing the batch number can be summed with the last digit of the GS1 code representing the related date to achieve data mixing. The algorithm for achieving data mixing is also pre-configured on the management end. Data mixing is beneficial for privacy protection.
[0094] Using serial numbers for calculations has a higher priority, which is beneficial for improving data processing efficiency. In practical applications, there may be situations where batch numbers, related dates, and sales packaging levels are all the same. In such cases, the identification process described in this manual can be performed by matching geographical locations.
[0095] S106: If the first level matches the second level, the decoded transport information is returned to the acquisition terminal.
[0096] Whether the first and second levels match can be determined based on the query results of data stored locally on the management end. If there is a correspondence between the two in the local storage, then they match. Otherwise, they do not match.
[0097] The first level can be directly determined by the first digit of the transport GTIN. The management system looks up the transport GTIN locally and uses the corresponding sales GTIN as the verification GTIN. Then, it merges at least part of the sales packaging level and sales identification information represented in the verification GTIN, and compares the last specified digits with the last specified digits of the decoded transport information. If they match (i.e., they are identical), the packaging level represented by the verification GTIN is taken as the second level.
[0098] The method provided in this application takes advantage of the fact that the transportation route and destination of a product cannot be arbitrarily changed during transportation. When the data collection end needs to obtain the specific content of the limited transportation identification information of the target product, it achieves identity verification of the data collection end through collaborative "encryption" between geographical location information and packaging layers, while also enabling correction and verification of the product transportation process. Furthermore, the correction and verification process does not require opening the target product's shipping packaging, avoiding the increased costs associated with repackaging. Moreover, using the method described in this specification, even if the data collection end passes verification, it can only obtain transportation-related information, which helps to protect privacy during product delivery and reduces illegal activities caused by the leakage of product information.
[0099] Furthermore, this specification also provides a technical solution for packaging-level verification performed at the destination. In this embodiment, the management terminal receives a second parsing request sent by the collection terminal; the second parsing request carries the second geographical location information of the collection terminal, the sales GTIN, and the coded sales identification information obtained by scanning the sales code identifier of the target product; the sales GTIN and sales code identifier are both set on the sales packaging of the target product. At this moment, the transport packaging has been opened. Ideally, the transport packaging should not be opened during transportation.
[0100] If the second geographic location information matches the destination of the planned transportation route for the target product before it leaves the warehouse, and the sales GTIN matches the local record on the management terminal (i.e., they are the same), then the decoded sales identification information is returned to the collection terminal. This collection terminal may be different from the one used to collect the first geographic location information. The purpose is to verify whether the target product has reached its destination.
[0101] If the second geographical location information does not match the destination of the planned transportation route for the target product before its shipment, indicating that the opening of the transport packaging is an abnormal behavior, then a second responsible person matching the sales GTIN is located locally on the management terminal, and a second alarm message is issued to the second responsible person. Optionally, a first alarm message is also issued to the first responsible person at the same time as issuing the second alarm message to the second responsible person.
[0102] Furthermore, this specification also provides an apparatus for constructing product packaging layer identification based on GS1 coded identification graphics, the apparatus being used to implement the method in the first aspect.
[0103] The device is capable of performing the methods in any of the foregoing embodiments and can achieve the same or similar technical effects, which will not be elaborated here.
[0104] Figure 2 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 2 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.
[0105] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0106] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0107] The processor reads the corresponding computer program from non-volatile memory into memory and then runs it, forming a device at the logical level for product packaging layer identification based on GS1 encoded identification patterns. The processor executes the program stored in memory and specifically performs any of the aforementioned methods for product packaging layer identification based on GS1 encoded identification patterns.
[0108] The above is as stated in this application. Figure 1 The method for constructing product packaging layer identification based on GS1 encoded identification graphics disclosed in the illustrated embodiments can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0109] The electronic device can also perform Figure 1 A method for constructing product packaging layer identification based on GS1 coded identification graphics is proposed and implemented. Figure 1 The functions of the embodiments shown are not described in detail here.
[0110] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, perform the aforementioned method for constructing product packaging hierarchy identification based on any GS1 encoded identification graphic.
[0111] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0112] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0113] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0114] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0115] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0116] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0117] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0118] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0120] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for constructing product packaging layer identification based on GS1 coded identification graphics, characterized in that, The method is based on a management system, which includes a management terminal and a data acquisition terminal. The method includes: The management terminal receives a first parsing request sent by the acquisition terminal; the first parsing request carries the first geographical location information of the acquisition terminal, and the transportation identification information obtained by scanning the transportation code identifier of the target product; the transportation identification information includes: transportation GTIN and coded transportation information; the transportation code identifier is set on the transportation packaging; If the first geographic location information matches the transportation route planned for the target product before it leaves the warehouse, then the transportation packaging level represented by the transportation GTIN is identified as the first level. Based on the last specified digits of the decoded shipping information, the sales packaging level it represents is determined as the second level; the last specified digits are obtained by fusing at least a portion of the content of the sales packaging level and the sales identification information when the shipping identification information was determined historically; the management terminal locally stores the mapping relationship between the shipping identification information and the sales identification information; the sales identification information is set on the sales packaging of the target product; If the first level matches the second level, the decoded transportation information is returned to the acquisition terminal. The sales identification information includes at least one of the following: batch number, serial number, consumer product variant, and relevant date; Determining the transport identification information includes: Based on the sales packaging level and the sales identification information, a specified calculation is performed to obtain the first available data; Perform a hash calculation on the first available data to obtain the second available data; The specified number of digits in the second available data is added to the end of the information obtained from the transportation-based attribute data to obtain the transportation information.
2. The method as described in claim 1, characterized in that, The method further includes: When the sales identification information includes the serial number, the specified calculation is performed based on the serial number and the sales packaging level.
3. The method as described in claim 2, characterized in that, The method further includes: When the sales identification information does not contain the serial number, the specified calculation is performed based on the first mixed field and the sales packaging level; the first mixed field is a mixture of the batch number and the relevant date; or, When the sales identification information does not contain the serial number, the specified calculation is performed based on the second mixed field and the sales packaging level; the second mixed field is a mixture of the consumer product variant and the relevant date.
4. The method as described in claim 1, characterized in that, The method further includes: If the first geographical location information does not match the transportation route, the first person in charge matching the transportation GTIN is found locally on the management terminal, and a first alarm message is sent to the first person in charge.
5. The method as described in claim 1, characterized in that, The method further includes: If the first geographical location information does not match the transportation route, the identifier of the collection terminal is determined and marked as a risk collection terminal.
6. The method as described in claim 1, characterized in that, The method further includes: The management terminal receives a second parsing request sent by the acquisition terminal; the second parsing request carries the second geographical location information of the acquisition terminal, the sales GTIN, and the coded sales identifier information obtained by scanning the sales code identifier of the target product; If the second geographic location information matches the destination of the transportation route, and the sales GTIN matches the record in the local management terminal, then the decoded sales identification information is returned to the collection terminal.
7. The method as described in claim 6, characterized in that, The method further includes: If the second geographical location information does not match the destination of the transportation route, a second person in charge matching the sales GTIN is found locally on the management terminal, and a second alarm message is sent to the second person in charge.
8. The method as described in claim 1, characterized in that, The management system also includes a coding terminal: After detecting that the target product has completed the sales packaging, the coding terminal performs graphic construction based on the target product's sales GTIN and the encoded sales identifier information to obtain the target product's sales code identifier. After the target product is detected to have completed the transport packaging, a graphic is constructed based on the transport GTIN and the encoded transport information to obtain the transport code identifier of the target product; When the target product is detected to be about to be shipped out, a transportation route is planned for the target product based on the transportation information.
Citation Information
Patent Citations
Product unique identification method, apparatus, and storage medium based on GS1 coding
CN115034346B
Article circulation system tracing method and system
CN111047335A
Product anti-channel conflict checking method and device based on credible identifier and medium
CN116562896A