Inventory chain node authentication method and device, electronic equipment and storage medium

By constructing a dynamic virtual logic chain and cross-validation mechanism, the problem of traditional warehouse management systems being unable to detect inventory anomalies in real time has been solved. This enables real-time authentication of inventory status and anomaly alerts, improving the security and traceability of warehouses storing valuable items.

CN121544180BActive Publication Date: 2026-03-27RUIXI (SUZHOU) INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-19
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Traditional warehouse management systems cannot detect abnormal changes in the physical location and status of inventory in real time, and lack verification of the correlation between items, resulting in lagging security of valuable goods warehouses and failing to meet the requirements for real-time, proactive, and traceable security monitoring.

Method used

By constructing a dynamic virtual logical chain, logical predecessor and successor nodes are assigned to all items based on inventory status information, logical chain relationship data is generated, inventory integrity summary value is calculated and compared with historical values, cross-validation is performed in conjunction with real-time storage location status, and alarms and logical chain self-repair are executed in response to anomalies.

Benefits of technology

It enables real-time, proactive, and automated authentication and anomaly alerts for inventory status, significantly improving warehouse security and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121544180B_ABST
    Figure CN121544180B_ABST
Patent Text Reader

Abstract

The application provides a kind of inventory chain node authentication method, device, electronic equipment and storage medium, related warehouse management technical field, method includes: obtaining the inventory state information of each location in current warehouse;Based on inventory state information, a virtual logical chain is constructed for all items in the current inventory system;Based on the logical chain relationship data, a current inventory integrity digest value is calculated and generated, and compared with the pre-stored historical inventory integrity digest value to obtain a comparison result;Based on the logical chain relationship data and the real-time acquired location physical state, cross-validation is carried out to obtain the inventory state verification result;In response to inconsistent comparison results or inventory state verification results indicating abnormalities, alarm and logical chain self-repair operations are performed.In this way, by constructing a dynamic virtual logical chain and a cross-validation mechanism, real-time, proactive and automated authentication and abnormal alarm of inventory state are achieved, significantly improving the safety level and traceability of the warehouse.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of warehouse management, and in particular to a chain node authentication method and device for inventory, an electronic device and a storage medium. BACKGROUND

[0002] Traditional warehouse management systems (WMS) usually rely on periodic manual inventory or barcode / RFID-based in-out records to manage inventory. These technologies have obvious defects: first, inventory information is isolated, and the system only knows that the goods are "in stock" or "out of stock", and cannot real-time perceive whether the current physical location and state of the goods are abnormal; second, there is a lack of correlation verification between goods, and once unauthorized movement, replacement or loss occurs, it is difficult to quickly find and locate the problem, and there is a security lag. For open warehouses storing valuable goods, the above defects pose a serious challenge to inventory security, and cannot meet the real-time, proactive and traceable security monitoring needs. SUMMARY

[0003] Therefore, the present application aims to provide a chain node authentication method and device for inventory, an electronic device and a storage medium, which realize real-time, proactive and automatic authentication and abnormal alarm of inventory state by constructing a dynamic virtual logical chain and a cross-verification mechanism, and significantly improve the warehouse security level and traceability.

[0004] In a first aspect, the present application provides a chain node authentication method for inventory, which comprises: obtaining inventory state information of each storage location in the current warehouse, the inventory state information at least including storage location ID, storage location physical state and goods identification information; based on the inventory state information, constructing a virtual logical chain for all goods in the current inventory system; wherein each goods node is dynamically assigned a logical predecessor node and a logical successor node to obtain logical chain relationship data; based on the logical chain relationship data, calculating a current inventory integrity digest value and comparing it with a pre-stored historical inventory integrity digest value to obtain a comparison result; based on the logical chain relationship data and the real-time obtained storage location physical state, performing cross-verification to obtain an inventory state verification result; and in response to inconsistent comparison results or inventory state verification results indicating abnormalities, performing alarm and logical chain self-repair operations.

[0005] In a preferred embodiment of the present application, the above-mentioned construction of a virtual logical chain for all goods in the current inventory system based on inventory state information comprises: when a new goods entry event is detected, extracting the goods ID of the new entry goods and the storage location ID of the new entry goods from the inventory state information; based on a preset neighbor allocation strategy and the logical chain relationship data, dynamically assigning at least one logical predecessor goods ID and one logical successor goods ID to the new entry goods to generate a logical neighbor relationship pair; and based on the logical neighbor relationship pair, updating the logical chain relationship data stored in the current inventory system.

[0006] In the preferred embodiment of the present application, the above-mentioned preset neighbor allocation strategy and logical chain relationship data are used to dynamically allocate at least one logical predecessor item ID and one logical successor item ID for a new warehouse item, and generate a logical neighbor relationship pair, including: based on at least one of the physical proximity strategy, the random strategy or the category association strategy, screening a candidate neighbor node set from the item nodes; from the candidate neighbor node set, selecting at least two item nodes, and setting the corresponding item node IDs as the logical predecessor item ID and the logical successor item ID of the new warehouse item, respectively.

[0007] In the preferred embodiment of the present application, the above-mentioned generation of the current inventory integrity digest value based on the logical chain relationship data includes: serializing and splicing the identification information and neighbor relationship of all item nodes in the logical chain relationship data in a predetermined format to generate a to-be-digested string; and performing a cryptographic hash operation on the to-be-digested string to obtain the inventory integrity digest value.

[0008] In the preferred embodiment of the present application, the above-mentioned cross-verification based on the logical chain relationship data and the real-time acquired physical state of the storage location to obtain the inventory state verification result includes: randomly selecting multiple item nodes as verification anchor points from the logical chain relationship data; for each verification anchor point, performing forward verification and backward verification in parallel: querying the state of the logical successor node and the logical predecessor node of the verification anchor point in the current actual storage location, and comparing it with the corresponding relationship recorded in the logical chain relationship data to generate a node-level comparison result; aggregating the node-level comparison results of all verification anchor points to comprehensively determine the inventory state verification result.

[0009] In the preferred embodiment of the present application, the above-mentioned querying of the state of the logical successor node and the logical predecessor node of the verification anchor point in the current actual storage location includes: sending a state query request to the sensing device of the storage location where the target node is located; receiving response data returned by the sensing device, the response data containing the current storage location occupancy state and the scanned item identification; matching the returned item identification with the target node item identification recorded in the logical chain relationship data to obtain an identification matching result, and combining the current storage location occupancy state to obtain the actual state information of the corresponding node.

[0010] In the preferred embodiment of the present application, the method further includes: authorizing the out-of-warehouse processing flow, including:

[0011] receive a legal out instruction containing a target item ID; find a logical predecessor item ID and a logical successor item ID corresponding to the target item ID based on the logical chain relationship data; in the logical chain relationship data, modify the successor of the logical predecessor item ID to the logical successor item ID, and modify the predecessor of the logical successor item ID to the logical predecessor item ID, to complete the pre-update of the logical chain; based on the pre-updated logical chain relationship data, recalculate and generate a new current inventory integrity digest value; based on the target item ID, the new current inventory integrity digest value, and a timestamp, generate a one-time digital out voucher; verify the validity of the one-time digital out voucher, and take away the target item corresponding to the target item ID after verification, and confirm that the target item has been removed through the bin sensor.

[0012] In a second aspect, the embodiment of the present application further provides a kind of inventory chain node authentication device, comprising: inventory state information acquisition module, for obtaining the inventory state information of each bin in current warehouse, inventory state information at least includes bin ID, bin physical state and item identification information;Virtual logic chain construction module, for being based on inventory state information, for all items in current inventory system Construction of a virtual logic chain;Wherein, each item node is dynamically allocated logical predecessor node and logical successor node, and logic chain relationship data is obtained;Inventory integrity digest value calculation module, for being based on logic chain relationship data Calculation generates current inventory integrity digest value, and compared with the pre-stored historical inventory integrity digest value to obtain comparison result;Cross-validation module, for being based on logic chain relationship data and real-time acquisition bin physical state Cross-validation, obtain inventory state verification result;Operation execution module, for responding to the inconsistent comparison result or inventory state verification result indicating abnormality, execute alarm and logic chain self-repair operation.

[0013] In a third aspect, the embodiment of the present application further provides an electronic device, comprising a processor and a memory, the memory stores computer executable instructions capable of being executed by the processor, and the processor executes the computer executable instructions to realize the inventory chain node authentication method of the first aspect.

[0014] In a fourth aspect, the embodiment of the present application further provides a computer readable storage medium, the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are called and executed by the processor, the computer executable instructions cause the processor to realize the inventory chain node authentication method of the first aspect.

[0015] The embodiment of the present application brings the following beneficial effects:

[0016] The embodiment of the present application provides an inventory chain node authentication method, device, electronic equipment and storage medium, through obtaining the inventory state information of each storage location in the current warehouse, a virtual logic chain is constructed for all the goods in the current inventory system based on the inventory state information, a current inventory integrity digest value is calculated based on the logic chain relationship data, and the pre-stored historical inventory integrity digest value is compared to obtain a comparison result, cross verification is performed based on the logic chain relationship data and the real-time obtained physical state of the storage location, an inventory state verification result is obtained, in response to the inconsistent comparison result or the inventory state verification result indicating an exception, an alarm and a logic chain self-repair operation are performed. In the method, through the dynamic virtual logic chain and the cross verification mechanism, real-time, active and automatic authentication and abnormal alarm of the inventory state are realized, and the warehouse safety level and traceability are significantly improved.

[0017] Other features and advantages of the present disclosure will be described in the following description, or can be inferred from the description, or can be determined without doubt, or can be known by implementing the above-mentioned technologies of the present disclosure.

[0018] In order to make the above-mentioned purposes, features and advantages of the present disclosure more obvious and easy to understand, the following preferred embodiments are specifically described, and the accompanying drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0020] Figure 1 A flowchart of an inventory chain node authentication method provided by the embodiment of the present application is provided.

[0021] Figure 2 A flowchart of another inventory chain node authentication method provided by the embodiment of the present application is provided.

[0022] Figure 3 A flowchart of another inventory chain node authentication method provided by the embodiment of the present application is provided.

[0023] Figure 4 A structural schematic diagram of an inventory chain node authentication device provided by the embodiment of the present application is provided.

[0024] Figure 5 A structural schematic diagram of an electronic equipment provided by the embodiment of the present application is provided. DETAILED DESCRIPTION

[0025] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described clearly and completely below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0026] Traditional warehouse management systems (WMS) usually rely on periodic manual inventory or barcode / RFID-based in-out records to manage inventory. These technologies have obvious defects: first, inventory information is isolated, and the system only knows that the goods are "in stock" or "out of stock", and cannot perceive whether the current physical location and state of the goods are abnormally changed in real time; second, there is a lack of correlation verification between goods, and once unauthorized movement, replacement or loss occurs, it is difficult to quickly find and locate the problem, and there is a security lag. For open warehouses storing valuable goods, the above defects pose a serious challenge to inventory security and cannot meet the real-time, proactive and traceable security monitoring needs.

[0027] Based on this, the inventory chain node authentication method, device, electronic equipment and storage medium provided by the embodiments of the present application can obtain the inventory state information of each storage location in the current warehouse, construct a virtual logical chain for all goods in the current inventory system based on the inventory state information, calculate and generate a current inventory integrity digest value based on the logical chain relationship data, compare the current inventory integrity digest value with the pre-stored historical inventory integrity digest value to obtain a comparison result, cross-verify based on the logical chain relationship data and the real-time obtained physical state of the storage location to obtain an inventory state verification result, and perform alarm and logical chain self-repair operations in response to inconsistent comparison results or inventory state verification results indicating abnormalities. In this way, by constructing a dynamic virtual logical chain and a cross-verification mechanism, real-time, proactive and automatic authentication and abnormal alarm of the inventory state are realized, and the warehouse security level and traceability are significantly improved.

[0028] In order to facilitate the understanding of the present embodiment, first, a kind of inventory chain node authentication method disclosed by the embodiments of the present application will be introduced in detail.

[0029] Embodiment 1

[0030] The embodiments of the present application provide a kind of inventory chain node authentication method, Figure 1 The flow chart of the inventory chain node authentication method provided by the embodiments of the present application is shown in Figure Figure 1 The inventory chain node authentication method can include the following steps:

[0031] Step S101, obtain the inventory state information of each storage location in the current warehouse.

[0032] The inventory status information at least includes a storage location ID, a storage location physical state, and article identification information.

[0033] The inventory status information refers to a data set describing the real-time situation of the storage location and the articles thereon.

[0034] The storage location ID refers to a unique identifier of each physical shelf or storage location, such as “A-01-05” (A area 1 row 5).

[0035] The storage location physical state refers to the occupancy of the storage location perceived by a sensor, usually “occupied”, “idle”, or “abnormal”.

[0036] The article identification information is a unique digital identity attached to the article, such as the EPC code of an RFID tag, the content of a two-dimensional code, or the SKU code obtained by visual recognition.

[0037] The system can poll or receive data packets reported from each intelligent storage location (such as a shelf equipped with an RFID reader and a weight sensor) through an Internet of Things gateway.

[0038] The data packet format is as follows: {“storage location ID”: “A-01-05”, “physical state”: “occupied”, “article identification”: “RFID: 4800A1B2C3D4E5F6”}.

[0039] Specifically, a sensor (such as an RFID reader, a weight sensor, or a visual recognition module) can be equipped at each storage location to detect whether there is an article present, and has a unique storage location ID. For valuable articles, a label with a unique digital identity (such as an encrypted RFID tag or a two-dimensional code) can be provided.

[0040] When a new article is stored, the system reads its unique ID through a scanner and enters the article information (such as name, specification, value, etc.) into the database; the system detects an idle storage location (storage location ID) and places the article there. The storage location sensor detects that the state changes to “occupied” and reports the (storage location ID, state: occupied) signal to the system.

[0041] Step S102, based on the inventory status information, a virtual logical chain is constructed for all articles in the current inventory system.

[0042] Each article node is dynamically assigned a logical predecessor node and a logical successor node to obtain logical chain relationship data.

[0043] The virtual logical chain is a data structure created internally in the system, connected by article nodes through logical relationships (predecessor / successor). Its key feature is that it is independent of the physical storage location of the article.

[0044] Wherein, the logical predecessor / successor node refers to the "logical neighbor" assigned by the system to the current node. The predecessor and successor constitute a bidirectional verification relationship.

[0045] Wherein, the item node represents a logical entity of an independent item, and its core attribute is item ID.

[0046] Wherein, the logical chain relationship data is a data structure that records all nodes and their logical neighbor relationships, usually a table or a set of edges in a graph database.

[0047] Step S103, based on the logical chain relationship data, the current inventory integrity summary value is calculated and compared with the pre-stored historical inventory integrity summary value to obtain the comparison result.

[0048] Wherein, the current inventory integrity summary value is a fixed length (such as SHA-256 is 256 bits) string (hash value) calculated by a cryptographic hash function based on the logical chain relationship data at the current time. It is the "digital fingerprint" of the entire logical chain topology structure, and any slight change will cause the summary value to change dramatically.

[0049] Wherein, the historical inventory integrity summary value refers to the summary value stored by the system after the last successful verification or update, which serves as the basis for comparison.

[0050] Wherein, the comparison result represents whether the logical chain data has been tampered with since the last time; if the current inventory integrity summary value and the historical inventory integrity summary value are consistent, it means that the data has not been tampered with. If they are not consistent, it means that the data may have been illegally modified.

[0051] Further, for large distributed warehouses, regional summaries can be generated for each warehouse area, and these regional summaries can be aggregated into a global summary through a Merkle tree. This allows quick localization of the area where the anomaly occurred and improves the verification efficiency of large-scale systems.

[0052] Specifically, based on the logical chain relationship data, the current inventory integrity summary value can be calculated and generated, which can include: serializing and splicing the identification information and neighbor relationship of all item nodes in the logical chain relationship data according to a predetermined format to generate a to-be- summarized string; performing a cryptographic hash operation on the to-be-summarized string to obtain the inventory integrity summary value.

[0053] Wherein, the serialization and splicing is to convert the entire logical chain relationship data table into a uniquely determined string. For example, all (item ID, predecessor ID, successor ID) triples are sorted by item ID and connected by a specific separator.

[0054] Wherein, the cryptographic hash operation is to apply SHA-256 algorithm to the above string to generate a 64-bit hexadecimal digest value, which has anti-collision property and cannot be reversed to the original data.

[0055] Step S104, cross-verification is performed based on the logical chain relationship data and the real-time acquired physical state of the storage location, and a storage state verification result is obtained.

[0056] Wherein, cross-verification is an active monitoring mechanism that checks whether the logical relationship matches the actual physical state through sampling.

[0057] Wherein, the storage state verification result is the overall conclusion of the sampling inspection of this cross-verification, which is usually "normal" or "abnormal", and can include an abnormal node list.

[0058] Step S104, in response to the inconsistent comparison result or the storage state verification result indicating an abnormality, an alarm and a logical chain self-repair operation are performed.

[0059] Wherein, an abnormality notification can be sent to the manager, and the alarm can be performed in the form of sound and light, short message, system pop-up window, etc.

[0060] Wherein, the logical chain self-repair operation is to automatically associate the logical predecessor and successor nodes of the system when it is confirmed that a certain item node is abnormally lost, so as to maintain the integrity and continued verifiability of the remaining chain.

[0061] Further, the method further includes an authorized outbound processing flow, which can specifically include: receiving a legal outbound instruction containing a target item ID; based on the logical chain relationship data, finding the logical predecessor item ID and the logical successor item ID corresponding to the target item ID; in the logical chain relationship data, modifying the successor of the logical predecessor item ID to the logical successor item ID, and modifying the predecessor of the logical successor item ID to the logical predecessor item ID, to complete the pre-update of the logical chain; based on the pre-updated logical chain relationship data, a new current inventory integrity digest value is recalculated and generated; based on the target item ID, the new current inventory integrity digest value and the timestamp, a one-time digital outbound voucher is generated; the validity of the one-time digital outbound voucher is verified, and after the verification is passed, the target item corresponding to the target item ID is taken away, and the target item is confirmed to have been removed by the storage location sensor.

[0062] Wherein, the legal outbound instruction is an outbound task sheet generated by the WMS system, which contains a target item ID (Item_055).

[0063] Where, the logic chain pre-update: the system modifies the data immediately before the physical removal: change the successor of Item_001 to Item_789, and change the predecessor of Item_789 to Item_001. This is equivalent to "removing" Item_055 in the logical world. It ensures that the system logic state always leads the physical state, avoiding false alarms triggered by legal removal.

[0064] Where, recalculate the digest: based on the updated chain, generate a new global digest Hash_new.

[0065] Where, generate a one-time digital credential: digitally sign the removal order number + Item_055 + Hash_new + timestamp to generate a two-dimensional code or digital token, and send it to the PDA device of the removal operator. This credential is strongly bound to the system state at this moment, and has a time limit (such as 5 minutes).

[0066] Where, verify the credential and perform physical removal: the operator arrives at the location of Item_055 and scans the credential with the PDA. After the system verifies that the signature is valid and not expired, it authorizes the location to be unlocked. The operator takes the item away, the sensor detects that the location becomes "idle" and reports it, and the system confirms that the removal is complete, forming an operation closed loop.

[0067] In practical applications, we can take the actual management of a jewelry warehouse as an example:

[0068] The jewelry warehouse is a valuable item warehouse of a jewelry company, and there are 100 intelligent safes in the warehouse, numbered CB-001 to CB-100. The types of items in the warehouse include diamond rings, necklaces, bracelets, etc. Each item has a unique RFID tag, and the system integrates this authentication module. Each safe is equipped with an RFID reader, a weight sensor, and a camera.

[0069] When obtaining inventory status information, the system automatically polls all safes every 60 seconds, and the obtained data is as follows: CB-012: {"location ID": "CB-012", "physical state": "occupied", "item identifier": "RFID: DIA-RING-2023-001"}; CB-045: {"location ID": "CB-045", "physical state": "idle", "item identifier": ""}; CB-078: {"location ID": "CB-078", "physical state": "occupied", "item identifier": "RFID: GOLD-NECK-2023-015"}.

[0070] When constructing a virtual logic chain, the current logic chain state is as follows:

[0071] Item Node 1 - Logical Predecessor 1 - Logical Successor 1: DIA-RING-2023-001 - GOLD-NECK-2023-015 - PEARL-EARR-2023-008; Item Node 2 - Logical Predecessor 2 - Logical Successor 2: GOLD-NECK-2023-015 - PEARL-EARR-2023-008 - DIA-RING-2023-001; Item Node 3 - Logical Predecessor 3 - Logical Successor 3: PEARL-EARR-2023-008 - DIA-RING-2023-001 - GOLD-NECK-2023-015.

[0072] Among them, the three items are physically stored in CB-012, CB-078, and CB-033 respectively, and the positions are discontinuous but logically form a ring chain.

[0073] When generating and comparing the digest value, the historical digest value at the closing time of the library yesterday: "a1b2c3d4e5f6... (SHA-256 value)"; The current digest value calculated by the first inspection today: "a1b2c3d4e5f6... ", the comparison result is consistent, it is determined that the system logical chain data has not been tampered with since the closing of the library last night.

[0074] When performing cross-validation, the system randomly selects three anchor points: DIA-RING-2023-001, GOLD-NECK-2023-015, and a random item, checks the actual state of its logical predecessor and successor for each anchor point, and the verification result is that all match, and the inventory state verification result is normal.

[0075] Suppose there is an anomaly, and it needs to perform an abnormal response, for example, at 2 pm, the comparison result suddenly becomes inconsistent, then immediately trigger the sound and light alarm, the warehouse red light flashes; Send a short message to the warehouse supervisor's mobile phone: "Warning: inventory integrity digest anomaly, please check immediately"; The system automatically starts the self-repair process to try to locate the problem; Record the security event log, prepare for audit tracking.

[0076] The inventory chain node authentication method provided by the embodiment of the present application can obtain the inventory state information of each storage location in the current warehouse, construct a virtual logical chain for all items in the current inventory system based on the inventory state information, calculate a current inventory integrity digest value based on the logical chain relationship data, compare the current inventory integrity digest value with a pre-stored historical inventory integrity digest value to obtain a comparison result, cross-verify the logical chain relationship data and the real-time obtained physical state of the storage location to obtain an inventory state verification result, and perform an alarm and a logical chain self-repair operation in response to inconsistent comparison results or inventory state verification results indicating an exception. In this way, real-time, active and automatic authentication and abnormal alarm of the inventory state are achieved through the construction of a dynamic virtual logical chain and a cross-verification mechanism, and the warehouse safety level and traceability are significantly improved.

[0077] Embodiment 2

[0078] The embodiment of the present application also provides another inventory chain node authentication method; the method is implemented on the basis of the above-mentioned embodiment method; and the method mainly describes a specific implementation manner of constructing a virtual logical chain for all items in the current inventory system based on inventory state information.

[0079] Figure 2 The flowchart of another inventory chain node authentication method provided by the embodiment of the present application is shown in Figure 2 The method of constructing a virtual logical chain for all items in the current inventory system based on inventory state information can include the following steps:

[0080] Step S201, when a new item storage event is detected, the item ID of the newly stored item and the storage location ID of the newly stored item are extracted from the inventory state information.

[0081] When the new item storage event is detected, the new item ID and the actual storage location ID of the item are obtained.

[0082] Step S202, at least one logical predecessor item ID and one logical successor item ID are dynamically assigned to the newly stored item based on a preset neighbor allocation strategy and logical chain relationship data, and a logical neighbor relationship pair is generated.

[0083] The neighbor allocation strategy includes a physical proximity strategy, a random strategy and a category association strategy.

[0084] The physical proximity strategy selects a plurality of item nodes closest to the newly stored storage location in the physical position as candidates, which facilitates manual visual inspection. For example, the new item is placed in B-02-03, and the system selects the items on B-02-02 and B-02-04 as the candidate neighbors of the new item.

[0085] Among them, the random strategy is to randomly select candidates from all existing item nodes. It greatly increases the difficulty of attackers to predict the logical chain structure, and improves security.

[0086] Among them, the category association strategy is to select the same item nodes as the new item category, batch or supplier as candidates. It enhances the traceability at the business level. For example, a new notebook of a certain model is entered, and the system selects other notebooks of the same model in the library as its logical neighbors.

[0087] Further, the neighbor allocation strategy can also include a risk-based dynamic strategy. The system can dynamically allocate more distant and diverse logical neighbors for high-value items and increase their probability of being selected in cross-validation, achieving intelligent allocation of security resources.

[0088] Specifically, based on the preset neighbor allocation strategy and logical chain relationship data, at least one logical predecessor item ID and one logical successor item ID are dynamically allocated for the new warehouse item to generate a logical neighbor relationship pair, which can include: based on at least one of the physical proximity strategy, the random strategy or the category association strategy, the candidate neighbor node set is selected from the item nodes; from the candidate neighbor node set, at least two item nodes are selected, and the corresponding item node IDs are set as the logical predecessor item ID and the logical successor item ID of the new warehouse item.

[0089] Step S203, based on the logical neighbor relationship pair, updating the logical chain relationship data stored in the current inventory system.

[0090] In practical applications, taking the safe storage of 10 new diamond rings as an example:

[0091] The operator creates a storage order in WMS and scans the RFID of the first ring: DIA-RING-2024-001; the system allocates an empty safe CB-022; when the ring is placed in CB-022, the sensor detects the weight change, the RFID reading is successful, and the new item storage event is triggered.

[0092] Item ID = DIA-RING-2024-001, Bin ID = CB-022; the system uses the "category association + random" combination strategy to find all diamond ring category items from existing items; find: DIA-RING-2023-001, DIA-RING-2023-005, etc.; then randomly select a few from all items; randomly selected: GOLD-BRAC-2023-012 (gold bracelet).

[0093] Candidate Neighbor Set: {DIA-RING-2023-001, DIA-RING-2023-005, GOLD-BRAC-2023-012}. Final Allocation Logic Predecessor: DIA-RING-2023-001 (same category, easy to manage); Logic Successor: GOLD-BRAC-2023-012 (random selection, increase security complexity).

[0094] Update the logic chain relationship data, add a new record: (DIA-RING-2024-001, DIA-RING-2023-001, GOLD-BRAC-2023-012); modify the original record: the successor of DIA-RING-2023-001 is changed from PEARL-EARR-2023-008 to DIA-RING-2024-001; the predecessor of GOLD-BRAC-2023-012 is changed from its original predecessor to DIA-RING-2024-001.

[0095] Therefore, the new ring is not only associated with the same category of items, but also cross-associated with different categories of items, forming a more secure verification network.

[0096] Further, a dynamic and many-to-many "verification relationship set" can be established for each item node. Specifically, the system dynamically allocates a group (such as 3-5) of verification partner nodes (Item_B, Item_C, Item_D...) for a new warehouse item Item_A. At the same time, the system also adds Item_A to the verification partner set of several existing nodes. All nodes and their verification relationships form a dynamic verification relationship graph. In this way, a single verification can check the status of a node and its multiple partners, with higher information density, and it is difficult for attackers to infer the overall topology structure by snooping locally. Moreover, since there are still rich verification paths between other nodes, the loss or tampering of a single node will not cause the system to "break".

[0097] Further, the real-time risk score of each item node can be calculated, and the intelligent verification strategy can be driven accordingly. Specifically, risk modeling is performed: the score is based on multiple factors such as item value, movement frequency, regional physical security level, historical abnormal records, etc. Intelligent verification scheduling is performed: the probability of being selected for verification of high-risk nodes is dynamically increased, and the number of verification partners is also dynamically increased during verification. For low-risk nodes, the verification frequency is reduced to save resources. In this way, adaptive allocation of security monitoring computing power and communication resources is achieved, focusing on high-risk targets, changing "uniform defense" to "precise defense", and the risk model can be iteratively optimized based on historical attack patterns or abnormal data, with the potential for self-learning.

[0098] Embodiment 3

[0099] The embodiment of the present application also provides another inventory chain node authentication method; the method is realized on the basis of the method of the above-mentioned embodiment; the method mainly describes the specific implementation mode of cross verification based on logical chain relationship data and real-time acquired physical state of the storage location, and obtaining the inventory state verification result.

[0100] Figure 3 The flow chart of another inventory chain node authentication method provided by the embodiment of the present application is shown as in Figure 3 The cross verification based on logical chain relationship data and real-time acquired physical state of the storage location, and obtaining the inventory state verification result can include the following steps:

[0101] Step S301, randomly selecting a plurality of article nodes as verification anchor points from the logical chain relationship data.

[0102] Among them, randomly selecting the verification anchor points is that the system randomly extracts N nodes (such as 5% of the total number of nodes) from the logical chain. This guarantees the unpredictability and efficiency of the verification.

[0103] Step S302, for each verification anchor point, performing forward verification and backward verification in parallel: querying the state of the logical successor node and the logical predecessor node of the verification anchor point in the current actual storage location, and comparing with the corresponding relationship recorded in the logical chain relationship data, to generate a node-level comparison result.

[0104] Among them, parallel forward / backward verification is to initiate a query to the "logical successor" and "logical predecessor" of each anchor point at the same time. For example, Item_001 is drawn, and the actual state of its logical successor Item_055 and logical predecessor Item_100 is queried at the same time.

[0105] Among them, aggregation and judgment is to collect all the comparison results of the anchor points. If more than a preset threshold passes the verification, it is judged as "normal"; otherwise, it is "abnormal", and the failure details are recorded.

[0106] Among them, when sending a query request, the system can attach a random number. The edge device needs to use a preset key to generate a message authentication code (MAC) for "random number + scanned article identification ciphertext" and return. The system verifies the MAC to confirm the authenticity and real-time of the data, and prevent replay attacks and forgery.

[0107] Specifically, the logic of querying the actual state of the logical successor and the logical predecessor of the query verification anchor point in the current actual storage location can include: sending a state query request to the sensing device of the storage location where the target node is located; receiving response data returned by the sensing device, the response data containing the current storage location occupancy state and the scanned item identifier; matching the returned item identifier with the target node item identifier recorded in the logical chain relationship data to obtain an identifier matching result, and combining the current storage location occupancy state to obtain the actual state information of the corresponding node.

[0108] Step S303, aggregate all node-level comparison results of the verification anchor points, and comprehensively determine the inventory state verification result.

[0109] In actual application, taking the automatic cross-validation of the system at a certain time point as an example:

[0110] Randomly select verification anchor points, and the system randomly selects 5 (10%) from 50 items as anchor points; randomly selected: DIA-RING-2024-001, GOLD-NECK-2023-015, PEARL-EARR-2023-008, etc.

[0111] Parallelly execute forward / backward verification, taking DIA-RING-2024-001 as an example:

[0112] Forward verification: check its successor GOLD-BRAC-2023-012; backward verification: check its predecessor DIA-RING-2023-001; parallel execution: the system simultaneously sends a query request to CB-045 (where GOLD-BRAC-2023-012 is stored) and CB-012 (where DIA-RING-2023-001 is stored).

[0113] Query the actual state, query CB-045: send request: {“instruction”: “state query”, “storage location”: “CB-045”}; sensor response: {“storage location ID”: “CB-045”, “physical state”: “occupied”, “item identifier”: “RFID: GOLD-BRAC-2023-012”}; identifier matching: the returned GOLD-BRAC-2023-012 is consistent with the logical chain record.

[0114] Query CB-012: send request: {“instruction”: “state query”, “storage location”: “CB-012”}; abnormal response: {“storage location ID”: “CB-012”, “physical state”: “idle”, “item identifier”: “”}; identifier matching fails: CB-012 in the logical chain should store DIA-RING-2023-001, but it is actually empty.

[0115] Aggregation and judgment, 4 of 5 anchor points are verified, 1 fails (backward verification of DIA-RING-2024-001 fails); comprehensive judgment: inventory status verification result="abnormal"; trigger immediate execution of alarm and self-repair of right 1.

[0116] Embodiment 4

[0117] Corresponding to the above method embodiment, the embodiment of the application provides an inventory chain node authentication device, Figure 4 A structural schematic diagram of an inventory chain node authentication device provided by the embodiment of the application is shown in the figure, which can include: Figure 4

[0118] The inventory state information acquisition module 401 is configured to acquire inventory state information of each storage location in the current warehouse, and the inventory state information at least includes a storage location ID, a storage location physical state and item identification information.

[0119] The virtual logical chain construction module 402 is configured to construct a virtual logical chain for all items in the current inventory system based on the inventory state information; wherein each item node is dynamically assigned a logical predecessor node and a logical successor node to obtain logical chain relationship data.

[0120] The inventory integrity digest value calculation module 403 is configured to calculate and generate a current inventory integrity digest value based on the logical chain relationship data, and compare the current inventory integrity digest value with a pre-stored historical inventory integrity digest value to obtain a comparison result.

[0121] The cross-validation module 404 is configured to perform cross-validation based on the logical chain relationship data and the real-time acquired storage location physical state to obtain an inventory state verification result.

[0122] The operation execution module 405 is configured to perform an alarm and logical chain self-repair operation in response to inconsistent comparison results or inventory state verification results indicating an abnormality.

[0123] The inventory chain node authentication device provided by the embodiment of the application can acquire inventory state information of each storage location in the current warehouse, construct a virtual logical chain for all items in the current inventory system based on the inventory state information, calculate and generate a current inventory integrity digest value based on the logical chain relationship data, compare the current inventory integrity digest value with a pre-stored historical inventory integrity digest value to obtain a comparison result, perform cross-validation based on the logical chain relationship data and the real-time acquired storage location physical state to obtain an inventory state verification result, and perform an alarm and logical chain self-repair operation in response to inconsistent comparison results or inventory state verification results indicating an abnormality. In this way, by constructing a dynamic virtual logical chain and a cross-validation mechanism, real-time, active and automatic authentication and abnormality alarm of the inventory state are realized, and the warehouse safety level and traceability are significantly improved. ​

[0124] In some embodiments, the virtual logical chain construction module is further configured to, when a new item in-warehouse event is detected, extract, from the inventory state information, an item ID of the new in-warehouse item and a storage location ID where the new in-warehouse item is located; dynamically assign, based on a preset neighbor allocation strategy and the logical chain relationship data, at least one logical predecessor item ID and one logical successor item ID for the new in-warehouse item to generate a logical neighbor relationship pair; and update the logical chain relationship data stored in the current inventory system based on the logical neighbor relationship pair.

[0125] In some embodiments, the virtual logical chain construction module is further configured to filter, based on at least one of a physical proximity strategy, a random strategy or a category association strategy, a candidate neighbor node set from the item nodes; and select, from the candidate neighbor node set, at least two item nodes, and set the corresponding item node IDs as the logical predecessor item ID and the logical successor item ID of the new in-warehouse item, respectively.

[0126] In some embodiments, the inventory integrity summary value calculation module is further configured to serialize and splice, in a predetermined format, the identification information and the neighbor relationship of all item nodes in the logical chain relationship data to generate a to-be-summarized string; and perform a cryptographic hash operation on the to-be-summarized string to obtain the inventory integrity summary value.

[0127] In some embodiments, the cross-validation module is further configured to randomly select a plurality of item nodes from the logical chain relationship data as validation anchor points; perform, for each validation anchor point, forward validation and backward validation in parallel: query the state of the logical successor node and the logical predecessor node of the validation anchor point in the current actual storage location, and compare the corresponding relationship recorded in the logical chain relationship data to generate a node-level comparison result; aggregate the node-level comparison results of all validation anchor points to comprehensively determine an inventory state validation result.

[0128] In some embodiments, the cross-validation module is further configured to send a state query request to a sensing device of a storage location where a target node is located; receive response data returned by the sensing device, the response data including a current storage location occupancy state and a scanned item identification; match the returned item identification with the target node item identification recorded in the logical chain relationship data to obtain an identification matching result, and combine the current storage location occupancy state to obtain actual state information of the corresponding node.

[0129] In some embodiments, the cross-validation module is further configured to receive a legal out-of-warehouse instruction containing a target item ID; based on the logical chain relationship data, find the logical predecessor item ID and the logical successor item ID corresponding to the target item ID; in the logical chain relationship data, modify the successor of the logical predecessor item ID to the logical successor item ID, and modify the predecessor of the logical successor item ID to the logical predecessor item ID, to complete the pre-update of the logical chain; based on the pre-updated logical chain relationship data, recalculate and generate a new current inventory integrity digest value; based on the target item ID, the new current inventory integrity digest value and the timestamp, generate a one-time digital out-of-warehouse voucher; verify the validity of the one-time digital out-of-warehouse voucher, and take away the target item corresponding to the target item ID after verification, and confirm that the target item has been removed through the warehouse location sensor.

[0130] The device provided by the embodiments of the present application has the same implementation principle and technical effects as the foregoing method embodiments. For brevity, the part not mentioned in the device embodiment part can be referred to the corresponding content in the foregoing method embodiments.

[0131] Embodiment 5

[0132] The embodiments of the present application also provide an electronic device for running the above inventory chain node authentication method; referring to Figure 5 The electronic device shown in the structural schematic diagram of the electronic device, the electronic device includes a memory 500 and a processor 501, wherein the memory 500 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 501 to realize the above inventory chain node authentication method.

[0133] Further, Figure 5 The electronic device shown also includes a bus 502 and a communication interface 503, and the processor 501, the communication interface 503 and the memory 500 are connected through the bus 502.

[0134] The memory 500 may contain a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 503 (which can be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 502 can be an ISA bus, a PCI bus or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of expression, Figure 5 Only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0135] The processor 501 can be an integrated circuit chip having a signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 501 or the instruction in the form of software. The processor 501 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; 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, discrete hardware components. Each method, step and logic block diagram disclosed in the embodiment of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiment of the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software modules in the code processor for execution. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium in the art. The storage medium is located in the memory 500, and the processor 501 reads the information in the memory 500, and combines the hardware to complete the steps of the method of the above embodiment.

[0136] The embodiment of the present application also provides a computer readable storage medium, the computer readable storage medium stores computer executable instructions, when the processor calls and executes the computer executable instructions, the computer executable instructions cause the processor to implement the above-mentioned inventory chain node authentication method, and the specific implementation can be referred to the method embodiment, and will not be repeated here.

[0137] The computer program product for performing the inventory chain node authentication method provided by the embodiment of the present application comprises a computer readable storage medium storing non-volatile program codes executable by the processor, and the instructions included in the program codes can be used to execute the method described in the foregoing method embodiment, and the specific implementation can be referred to the method embodiment, and will not be repeated here.

[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.

[0139] In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. The described device embodiments are merely schematic, and for example, the division of the units is only a logical function division, and there can be another division manner in actual implementation; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, or the among different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electric, mechanical or other forms.

[0140] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. In actual implementation, some or all of the units can be selected according to the actual needs to achieve the purposes of the embodiments of the present application.

[0141] In addition, each function unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically as a separate unit, or two or more units can be integrated in one unit.

[0142] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art, or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0143] Finally, it should be noted that the above-described embodiments are merely specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, but not to limit the present application, and the protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still make modifications or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features therein, within the technical range disclosed by the present application. The modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for authenticating chain nodes in an inventory system, characterized in that, The method includes: Obtain the inventory status information of each storage location in the current warehouse. The inventory status information includes at least the storage location ID, the physical status of the storage location, and the item identification information. Based on the inventory status information, a virtual logical chain is constructed for all items in the current inventory system. Each item node is dynamically assigned a logical predecessor node and a logical successor node to obtain logical chain relationship data. When a new item entry event is detected, the item ID of the new item and the storage location ID of the new item are extracted from the inventory status information. Based on the preset neighbor allocation strategy and the logical chain relationship data, at least one logical predecessor item ID and one logical successor item ID are dynamically allocated to the newly added item, generating logical neighbor relationship pairs. Based on the logical neighbor relationship pairs, update the logical chain relationship data currently stored in the inventory system; The current inventory integrity summary value is calculated based on the logical chain relationship data, and compared with the pre-stored historical inventory integrity summary value to obtain the comparison result; Cross-validation is performed based on the logical chain relationship data and the real-time physical status of the storage location to obtain the inventory status verification result. Multiple item nodes are randomly selected from the logical chain relationship data as verification anchor points. For each verification anchor point, forward verification and backward verification are performed in parallel: query the status of the logical successor node and logical predecessor node of the verification anchor point in the current actual storage location, and compare it with the corresponding relationship recorded in the logical chain relationship data to generate node-level comparison results; The node-level comparison results of all verification anchors are aggregated, and the inventory status verification result is obtained by comprehensive judgment. In response to inconsistencies in the comparison results or abnormalities in the inventory status verification results, an alarm and logic chain self-repair operation is performed. The method further includes: an authorized outbound processing flow, including: Receive a valid outbound instruction containing the target item ID; Based on the logical chain relationship data, find the logical predecessor item ID and logical successor item ID corresponding to the target item ID; In the logical chain relationship data, the successor of the logical predecessor item ID is modified to the logical successor item ID, and the predecessor of the logical successor item ID is modified to the logical predecessor item ID, thus completing the pre-update of the logical chain. Based on the pre-updated logical chain relationship data, a new current inventory integrity summary value is recalculated and generated. A one-time digital outbound voucher is generated based on the target item ID, the new current inventory integrity summary value, and the timestamp. Verify the validity of the one-time digital outbound voucher, and after successful verification, retrieve the target item corresponding to the target item ID, and confirm that the target item has been removed through the storage location sensor.

2. The method according to claim 1, characterized in that, Based on the preset neighbor allocation strategy and the logical chain relationship data, the system dynamically assigns at least one logical predecessor item ID and one logical successor item ID to the newly added item, generating logical neighbor relationship pairs, including: Based on at least one of the physical proximity strategy, random strategy, or category association strategy, a set of candidate neighbor nodes is selected from the item node; From the set of candidate neighbor nodes, select at least two item nodes, and set the corresponding item node IDs as the logical predecessor item ID and logical successor item ID of the newly added item.

3. The method according to claim 1, characterized in that, The step of calculating and generating the current inventory integrity summary value based on the logical chain relationship data includes: The identification information and neighbor relationships of all item nodes in the logical chain relationship data are serialized and concatenated according to a predetermined format to generate a summary string; A cryptographic hash operation is performed on the string to be digested to obtain the inventory integrity digest value.

4. The method according to claim 1, characterized in that, The status of the logical successor and logical predecessor nodes of the query verification anchor point in the current actual storage location includes: Send a status query request to the sensing device at the location of the target node; Receive response data returned by the sensing device, the response data including the current storage location occupancy status and the scanned item identifier; The returned item identifier is matched with the target node item identifier recorded in the logical chain relationship data to obtain the identifier matching result, and the actual status information of the corresponding node is obtained by combining the current storage location occupancy status.

5. An inventory chain node authentication device, characterized in that, The apparatus for implementing the inventory chain node authentication method according to any one of claims 1 to 4, the apparatus comprising: The inventory status information acquisition module is used to acquire the inventory status information of each storage location in the current warehouse. The inventory status information includes at least the storage location ID, the physical status of the storage location, and the item identification information. The virtual logical chain construction module is used to construct a virtual logical chain for all items in the current inventory system based on the inventory status information; wherein, each item node is dynamically assigned a logical predecessor node and a logical successor node to obtain logical chain relationship data; The inventory integrity summary value calculation module is used to calculate and generate the current inventory integrity summary value based on the logical chain relationship data, and compare it with the pre-stored historical inventory integrity summary value to obtain the comparison result; The cross-validation module is used to perform cross-validation based on the logical chain relationship data and the real-time acquired physical status of the storage location to obtain the inventory status verification result. The operation execution module is used to perform alarm and logic chain self-repair operations in response to inconsistencies in the comparison results or abnormalities in the inventory status verification results.

6. An electronic device, characterized in that, It includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the inventory chain node authentication method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the inventory chain node authentication method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Logistics strategy verification method, device and electronic equipment

    CN109409800A

  • RFID-based laboratory dangerous chemical tracing method and system

    CN118096183A