A gold bar warehouse-in and warehouse-out management method, system, device and storage medium

By using a gold bar entry and exit management method that automatically controls counter opening through image scanning and database feature matching, the problem of excessive manual intervention and low efficiency in gold bar entry and exit has been solved. This method achieves accurate correspondence between gold bar information and storage counters, improving operational efficiency and management standardization.

CN122176391APending Publication Date: 2026-06-09SHENZHEN JUBAOHUI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN JUBAOHUI TECH CO LTD
Filing Date
2026-03-12
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

The existing gold bar entry and exit management system cannot accurately correlate gold bar information with storage counters, resulting in excessive reliance on manual intervention in entry and exit operations, low efficiency, and problems such as storage errors and inconvenient retrieval.

Method used

By scanning incoming images to obtain the shape and pattern features of gold bars, and combining them with the database for feature matching and retrieval, the system automatically controls the opening of the counter. In the outgoing process, multiple methods are used to accurately confirm the gold bar category information and analyze the location to quickly select the outgoing counter, reducing manual intervention and improving operational efficiency.

Benefits of technology

It achieves automated and precise matching of gold bar entry and exit, reduces human error, improves overall operational efficiency, avoids storage location confusion and inconvenience in retrieval, meets the accuracy and efficiency requirements of high-value gold bar management, and ensures the standardization and security of warehouse management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122176391A_ABST
    Figure CN122176391A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent precious metal warehouse management, in particular to a gold bar warehouse-in and warehouse-out management method, system, device and storage medium. The method comprises the following steps: acquiring the shape and pattern features of the warehouse-in gold bar through scanning, inputting a database of pre-stored gold bar standard features, categories and counter number mapping relationship, matching and searching, and controlling the corresponding counter to be opened to complete the warehouse-in; receiving a warehouse-out request, confirming the category of the gold bar to be taken out through manual input or image scanning, searching for the corresponding un-locked warehouse-out counter, screening the counter closest to the current scanning area through position analysis, and controlling the counter to be opened to complete the warehouse-out. The application realizes the automatic and accurate association of the gold bar and the counter, reduces the manual error, improves the warehouse-in and warehouse-out efficiency, avoids the storage disorder and inconvenience in taking, relies on the whole-process data management and control to guarantee the management standard, safety and traceability, and adapts to the strict requirements of high-value gold bar management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent precious metal warehousing and inbound management technology, and in particular to a method, system, equipment and storage medium for gold bar inbound and outbound management. Background Technology

[0002] As high-value precious metals, gold bars require stringent precision and standardized management in their warehousing and outbound operations, directly impacting the safety and efficiency of precious metal assets. Current gold bar warehousing and outbound management models lack an automated and precise mechanism for linking gold bar information with storage counters, necessitating manual intervention to complete core steps such as verifying gold bar information, locating storage counters, and retrieving data.

[0003] The core technical problem is that it is impossible to accurately correlate gold bar information with storage counters, and it is difficult to quickly locate the appropriate storage counter during the outbound process. This results in excessive reliance on manual intervention in inbound and outbound operations, leading to low efficiency. At the same time, it is easy to cause problems such as disordered gold bar storage and inconvenience in retrieval, which cannot meet the requirements of high-value gold bars for accurate and efficient inbound and outbound management.

[0004] Therefore, based on the above problems, the existing technology still needs to be improved. Summary of the Invention

[0005] The purpose of this application is to provide a method, system, device and storage medium for gold bar entry and exit management, which aims to solve the problems in the existing gold bar entry and exit management that cannot accurately link gold bar information with storage counters, and that the location of exit counters is inconvenient, resulting in heavy reliance on manual operation, low efficiency and easy storage errors.

[0006] The purpose of this application is to provide a method for managing the entry and exit of gold bars, including: The gold bars are scanned upon entering the warehouse to obtain their shape and pattern features. The shape features and pattern features are input into a database containing pre-stored gold bar standard features, categories, and corresponding counter numbers. Feature matching and retrieval are performed, and the corresponding counter is opened to complete the storage. Upon receiving an outbound request, the system confirms the category information of the gold bars to be outbound by manually entering category information or by scanning the attribute identifiers and similar gold bars. It then retrieves and stores the corresponding category of gold bars that are not locked and are available for outbound. The location of the available counters is analyzed, and the counter closest to the current scanning area is selected. The nearest available counter is then opened to complete the outbound process.

[0007] By adopting the above technical solutions, the characteristic information of gold bars entering the warehouse can be accurately obtained through image scanning. Combined with the pre-stored mapping relationship in the database, the characteristics of gold bars can be automatically and accurately matched with the storage counters. There is no need for manual verification and allocation of counters, which effectively reduces the error caused by human intervention. At the same time, in the outbound process, the category information of gold bars to be outbound is accurately confirmed through multiple methods, and the optimal outbound counter is quickly selected through location analysis. This enables the rapid positioning and opening of outbound counters, significantly improving the overall operational efficiency of gold bar inbound and outbound operations. It avoids problems such as disordered gold bar storage locations and inconvenience in outbound retrieval, meeting the stringent requirements of accuracy and efficiency for high-value gold bar inbound and outbound management, and ensuring the standardization and security of gold bar warehousing management.

[0008] In one possible implementation of this application, the steps of performing feature matching retrieval and controlling the opening of the corresponding counter to complete the warehousing process include: Determine whether the feature matching retrieval results contain a corresponding category; If a matching category exists, extract the corresponding counter number, control the counter corresponding to the counter number to open, and after the warehousing is completed, update the storage quantity of the gold bars in the category and the corresponding counter occupancy status. If no matching category exists, an idle counter is allocated and temporary category information is generated and bound to the idle counter number to control the opening of the idle counter; After the gold bars are put into storage, their feature information, temporary category, and available counter number are associated and stored in the database.

[0009] By adopting the above technical solution, the specific implementation process of feature matching retrieval and counter opening in the warehousing stage is further refined. Adaptive handling methods are provided for two scenarios: whether the feature matching retrieval results match a corresponding category. When a matching category exists, the corresponding counter number can be accurately extracted and the counter opening controlled, ensuring precise correspondence between the warehousing gold bars and the preset category and storage counter. When no matching category exists, idle counters can be flexibly allocated and temporary category bindings generated, enabling efficient warehousing of gold bars of various specifications and avoiding warehousing stagnation caused by category mismatches. Simultaneously, after warehousing is completed, the database is promptly updated with the storage quantity of warehousing gold bars under the corresponding category, counter occupancy status, and associated stored gold bar feature information, temporary category, and idle counter number. This ensures that the data stored in the database is synchronized and accurately consistent with the actual storage status in real time, providing reliable data support for subsequent operations such as retrieval of available counters and location analysis in the outbound stage. This further improves the automation and standardization of gold bar warehousing management, reduces errors caused by manual intervention, and ensures the orderly and accurate management of high-value gold bar storage.

[0010] In one possible implementation of this application, the method further includes: Multiple gold bars are simultaneously scanned upon entering the warehouse. The shape and pattern features of each gold bar are extracted, and all extracted features are classified and grouped. Each gold bar is then marked with a feature group identifier. Each feature group identifier and its corresponding feature information are input into the database for parallel feature matching retrieval, and the counter occupancy status and allocation status corresponding to each matching result are detected in real time. If a counter conflict or insufficient available counters is detected for a matching category, the feature groups are prioritized and counters are allocated first to complete the gold bar entry for the high-priority feature groups. Feature groups that are not allocated to counters are temporarily cached, and the availability of counters is monitored in real time. When available counters, they are allocated in order of priority to complete the entry. During the warehousing process, the characteristic grouping identifier, corresponding counter number, and warehousing sequence of each gold bar are recorded synchronously and stored in the database.

[0011] By adopting the above technical solution, it is possible to adapt to batch operation scenarios where multiple gold bars are simultaneously put into storage, effectively solving problems such as chaotic feature extraction, low matching efficiency, counter allocation conflicts, and storage stagnation caused by insufficient available counters when putting multiple gold bars into storage in batches. By classifying and grouping the features of each gold bar and marking the feature group identifier, combined with parallel feature matching retrieval, the overall efficiency of feature matching for multiple gold bars is greatly improved, and the time consumed in batch storage operations is shortened. In case of counter allocation conflicts or insufficient available counters, the feature groups are prioritized, counters are allocated preferentially, unallocated groups are temporarily cached, and counters are monitored in real time. When the counters are idle, the system enables the rational allocation of counter resources, ensuring efficient warehousing of high-priority gold bars while preventing warehousing operations from stalling, thus improving the flexibility and fault tolerance of the batch warehousing process. Simultaneously, it records the characteristic grouping identifier, corresponding counter number, and warehousing sequence of each warehousing gold bar and stores them in the database, further improving the data dimensions of the database and ensuring the traceability of each gold bar's warehousing information. This provides more comprehensive and accurate data support for subsequent warehousing operations such as retrieving available counters and inventory checks, further enhancing the automation, efficiency, and standardization of gold bar warehousing management, and meeting the stringent requirements of batch warehousing management of high-value gold bars.

[0012] In one possible implementation of this application, the method further includes: After receiving the outbound request and confirming the category information corresponding to the gold bars to be outbound, the system retrieves all outbound counters corresponding to that category, performs fault detection and status verification on all outbound counters, and filters out valid outbound counters that are fault-free, unlocked, and in normal operating condition. If there are multiple valid counters available for outbound delivery, calculate the location distance and outbound time for each valid counter, and sort them comprehensively based on the ease of placing the gold bars inside the counters, and select the counter with the best overall outbound delivery. If all the retrieved outbound counters are faulty or locked, the system will automatically retrieve the corresponding backup counter for that category, perform feature matching verification on the backup counter, and control the backup counter to open and complete the outbound process after the verification is successful. After the outbound process is completed, the information of the faulty counter and the activation record of the backup counter are associated and stored in the database, the faulty counter is marked and a fault alert is triggered.

[0013] By adopting the above technical solutions, problems such as counter malfunctions, unreasonable selection of multiple counters, and outbound stagnation when there are no valid counters can be effectively solved in the outbound process. This further optimizes the outbound process and improves the reliability and efficiency of outbound operations. By detecting and verifying the status of available counters, valid counters that are operating normally can be selected, avoiding outbound failures and abnormal gold bar retrieval caused by counter malfunctions, thus ensuring the smooth progress of outbound operations. For situations with multiple valid available counters, the optimal counter is selected by comprehensively ranking based on location distance calculation, outbound time estimation, and the convenience of placing gold bars inside the counter. This method is more reasonable than single location selection, further shortening outbound time and improving the convenience of outbound operations. When all available counters for outbound shipment are faulty or locked, the system automatically retrieves the corresponding backup counters for that category, performs feature matching verification, and controls the activation of the backup counters. This effectively prevents outbound operations from stalling, ensures the continuity of the outbound process, and reduces the risk of errors in outbound operations. After outbound shipment is completed, the information on faulty counters and the activation record of backup counters are associated and stored in the database. At the same time, faulty counters are marked and fault alerts are triggered. This ensures that faulty counters are investigated and dealt with in a timely manner to avoid affecting subsequent outbound operations. It also improves the recording dimensions of outbound operations, ensures the traceability of outbound information, and further enhances the automation, standardization, and reliability of gold bar outbound management, meeting the stringent requirements of efficiency, stability, and security for high-value gold bar outbound management.

[0014] In one possible implementation of this application, the method further includes: After scanning the images of the gold bars entering the warehouse, the validity of the collected images is verified to determine whether the image clarity and feature integrity meet the matching requirements. If the verification fails, the scanning parameters will be automatically adjusted and the gold bar will be scanned again. The total number of rescans will not exceed a preset threshold. If the cumulative number of scans reaches a preset threshold and no qualified image is obtained, the available feature fragments in the current scanned image are extracted, and feature completion is performed by combining them with the feature information of the same type of gold bars pre-stored in the database. After generating complete feature information, it is input into the database for matching and retrieval. If the matching requirements still cannot be met after feature completion, the gold bar entering the warehouse is marked as an abnormal gold bar, a dedicated abnormal counter is assigned and its opening is controlled. After the entry is completed, an abnormal record is generated, associated with and stored in the database, and an abnormal alert is triggered.

[0015] By adopting the above technical solutions, the technical problems of feature matching and retrieval failures and process blockages caused by insufficient image clarity and missing feature integrity in the gold bar warehousing image scanning stage are effectively solved, significantly improving the stability and fault tolerance of the gold bar warehousing process. By performing validity verification on the collected warehousing images in advance, invalid images that do not meet the matching requirements can be eliminated in advance, avoiding meaningless feature matching operations in the future and reducing the waste of system computing power and operating resources. For images that fail verification, the scanning parameters are automatically adjusted and rescanned within a preset number of times, obtaining qualified images as much as possible while avoiding excessively long warehousing time and process delays caused by infinite repeated scanning. When a qualified image still cannot be obtained after the preset number of rescans, the available feature fragments of the existing image are combined with the database. By completing feature completion for gold bars of the same type, the utilization value of existing images is maximized, further reducing the probability of warehousing failure due to minor image flaws, and effectively improving the overall success rate of gold bar warehousing. Even if the matching requirements are still not met after feature completion, abnormal gold bars are marked and assigned to a dedicated abnormal counter to complete the warehousing. This not only avoids the risk of abnormal gold bars being detained or lost, but also generates abnormal records and triggers reminders, making it easy for managers to follow up and verify the cause of the abnormality in a timely manner. This achieves closed-loop management of abnormal warehousing scenarios, and enhances the environmental adaptability and robustness of the warehousing image recognition process. It reduces the interference of external light, gold bar surface condition and other factors on the warehousing process, ensuring the smooth progress of the gold bar warehousing process and further improving the refined and standardized management of the entire process of high-value gold bar storage.

[0016] In one possible implementation of this application, the method further includes: During the warehousing or outbound operation, the operation sequence and corresponding status changes are monitored in real time. If a sudden interruption of the operation is detected, the current operation progress, the characteristic information of the gold bar to be warehoused and the status information of the corresponding counter are immediately recorded and encrypted and stored in the temporary storage module of the database. After the operation is resumed, the operation data in the temporary storage module is read to verify the operation status before the interruption. After confirming that the characteristics of the gold bars in the vault and the counter status are consistent with those before the interruption and there are no abnormalities, the interrupted operation is resumed and the subsequent steps are completed. If the verification finds inconsistencies or anomalies, the operation is terminated and restored, the corresponding counter and the gold bar feature information are locked, an interruption anomaly log is generated and stored in the database, and subsequent operations at that counter are prohibited until the anomaly investigation is completed.

[0017] By adopting the above technical solutions, it is possible to effectively address sudden operational interruptions caused by unexpected factors such as equipment failure and network fluctuations during gold bar warehousing or retrieval operations. This avoids situations where interruptions lead to loss of operation progress, mismatch between gold bar characteristics and counter status data, and inability to reconnect the warehousing and retrieval processes normally, significantly improving the operational stability and fault tolerance of the entire gold bar warehousing management system. By monitoring the operation sequence and status changes in real time, operational interruptions can be detected immediately, and the current operation progress, gold bar characteristic information, and corresponding counter status information can be recorded and encrypted for timely storage. This ensures the security of critical operational data and provides a complete basis for subsequent operation recovery. After recovery, a pre-interruption status verification is performed to accurately check the consistency of data and status. Interrupted operations are only resumed when there are no anomalies, ensuring the continuous and smooth progress of the inbound and outbound processes and effectively reducing the impact of unexpected interruptions on overall management efficiency. If an anomaly is detected during the verification, the operation is immediately terminated, the corresponding counter and the characteristic information of the gold bars in the warehouse are locked, and an interruption anomaly log is generated. This can prevent problems such as gold bar storage disorder and asset control risks caused by continuing to execute operations under abnormal conditions from the source. At the same time, it provides clear data support for managers to conduct subsequent anomaly investigation and problem tracing, further strengthening the security defense line of high-value gold bar storage management and ensuring the orderly and reliable operation of the entire inbound and outbound process.

[0018] In one possible implementation of this application, the method further includes: After completing the warehousing or outbound operation, the characteristic information of the gold bars in the warehouse, the corresponding counter number, the operation sequence and status information are integrated to generate a unique warehousing and outbound traceability code; The entry and exit traceability code is associated with all corresponding operation data and stored in the database to establish a full-process traceability link for entry and exit. When a traceability request is received, the corresponding traceability data in the database is retrieved and a complete operation record is output by inputting the inbound / outbound traceability code or the feature information of the gold bar that was put into storage. The traceability data in the database is backed up and its integrity is verified regularly. If data is missing or abnormal, the corresponding information is automatically extracted from the backup data for repair, ensuring the continuity of the traceability chain.

[0019] By adopting the above technical solution, the existing gold bar entry and exit management system can be effectively solved, addressing the technical problems of fragmented operation records, lack of a complete traceability chain, and the inability to achieve full-process traceability due to easily missing or abnormal traceability data. This further improves the full-process control of gold bar entry and exit, adapting to the stringent traceability management requirements of high-value gold bars. By integrating the characteristic information of the gold bars entering the warehouse, counter numbers, operation sequence, and status information to generate a unique entry and exit traceability code, each entry and exit operation is bound to a unique traceability identifier. Combined with the associated storage of traceability data and traceability codes, a complete and traceable full-process entry and exit chain is constructed, ensuring that the entry and exit operation of each gold bar can be accurately traced, clearly presenting the entire operation process. For subsequent verification, responsibility determination, and anomaly tracing; upon receiving a tracing request, the system can quickly retrieve and output complete operation records through the tracing code or gold bar feature information, significantly improving the convenience and efficiency of tracing operations and reducing the workload and errors of manual tracing; at the same time, the system regularly backs up and verifies the integrity of tracing data, automatically repairing any missing or abnormal data, effectively avoiding the problem of broken tracing links caused by lost or disordered tracing data, ensuring the continuity of the tracing link and the reliability of tracing data, further improving the refinement and standardization of gold bar inbound and outbound management, building a solid security defense line for high-value gold bar storage management, and providing strong data support for the compliance management and risk investigation of gold bar assets.

[0020] The second objective of this application is to provide a gold bar in / out warehouse management system, which includes: Warehouse image scanning module: used to scan the gold bars upon entry into the warehouse to obtain the shape and pattern features of the gold bars. Feature matching retrieval and database entry module: This module is used to input the shape features and pattern features into a database containing pre-stored gold bar standard features, categories, and corresponding counter numbers, perform feature matching retrieval, control the opening of the corresponding counter, and complete the database entry. Outbound Request Receiving Module: Used to receive outbound requests, confirm the category information of the gold bars to be outbound by manually inputting category information or by scanning the attribute identifiers and similar gold bars, and retrieve the corresponding category gold bars that are not locked and can be outbound from the counters. Available counter screening module: used to perform location analysis on available counters, filter out the available counters closest to the current scanning area, control the nearest available counter to open, and complete the outbound process.

[0021] By adopting the above technical solutions, the characteristic information of gold bars entering the warehouse can be accurately obtained through image scanning. Combined with the pre-stored mapping relationship in the database, the characteristics of gold bars can be automatically and accurately matched with the storage counters. There is no need for manual verification and allocation of counters, which effectively reduces the error caused by human intervention. At the same time, in the outbound process, the category information of gold bars to be outbound is accurately confirmed through multiple methods, and the optimal outbound counter is quickly selected through location analysis. This enables the rapid positioning and opening of outbound counters, significantly improving the overall operational efficiency of gold bar inbound and outbound operations. It avoids problems such as disordered gold bar storage locations and inconvenience in outbound retrieval, meeting the stringent requirements of accuracy and efficiency for high-value gold bar inbound and outbound management, and ensuring the standardization and security of gold bar warehousing management.

[0022] The third objective of this application is to provide a gold bar inbound and outbound management device, which includes: The system includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed to manage the gold bar entry and exit from the vault.

[0023] The fourth objective of this application is to provide a storage medium.

[0024] The fourth objective of this application is achieved through the following technical solution: A storage medium storing a computer program capable of being loaded by a processor and executing the aforementioned gold bar entry and exit management method.

[0025] In summary, this application includes at least one of the following beneficial technical effects: 1. It can accurately obtain the feature information of gold bars entering the warehouse by scanning images upon entry. Combined with the pre-stored mapping relationship in the database, it can realize the automatic and accurate matching of gold bar features with storage counters. There is no need for manual verification and allocation of counters, which can effectively reduce the error caused by human intervention. At the same time, in the process of leaving the warehouse, it can accurately confirm the category information of gold bars to be left out through multiple methods and quickly select the optimal counter for leaving the warehouse through location analysis. It can realize the rapid positioning and opening of the leaving counter, which can significantly improve the overall operational efficiency of gold bar entry and exit. It can avoid problems such as disordered gold bar storage location and inconvenience in retrieving gold bars. It can meet the stringent requirements of accuracy and efficiency for the management of high-value gold bar entry and exit, and ensure the standardization and security of gold bar storage management.

[0026] 2. The specific implementation process of feature matching retrieval and counter opening in the warehousing stage has been further refined. Adaptive handling methods are provided for two scenarios: whether the feature matching retrieval results match a corresponding category. When a matching category exists, the corresponding counter number can be accurately extracted and the counter opening controlled, ensuring precise correspondence between the warehousing gold bars and the preset category and storage counter. When no matching category exists, idle counters can be flexibly allocated and temporary category bindings generated, enabling efficient warehousing of gold bars of various specifications and avoiding warehousing stagnation caused by category mismatches. Simultaneously, after warehousing is completed, the database is promptly updated with the storage quantity of warehousing gold bars under the corresponding category, counter occupancy status, and associated stored gold bar feature information, temporary category, and idle counter number. This ensures that the data stored in the database is synchronized and accurately consistent with the actual storage status in real time, providing reliable data support for subsequent operations such as retrieval of available counters and location analysis in the outbound stage. This further improves the automation and standardization of gold bar warehousing management, reduces errors caused by manual intervention, and ensures the orderly and accurate management of high-value gold bar storage. Attached Figure Description

[0027] Figure 1 This is a flowchart illustrating the gold bar entry and exit management method provided in this application embodiment; Figure 2 This is a schematic diagram of the virtual structure of the gold bar inbound and outbound management system provided in this application embodiment. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0029] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0030] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.

[0031] This application provides a method for managing the entry and exit of gold bars, referring to... Figure 1 The main process of the method is described as follows: S1: Scan the gold bars upon entry into the warehouse to obtain their shape and pattern features; The site features a dedicated image scanning station equipped with scanning devices suitable for gold bars. After the gold bars to be stored are placed stably at the scanning station, the computer-controlled image scanning equipment begins to perform comprehensive image acquisition. The computer receives the raw images transmitted by the scanning equipment and, based on preset standard feature extraction logic, separates and extracts the shape and pattern features of the gold bars from the acquired images. Shape features include the external outline and basic geometric dimensions of the gold bars, while pattern features include unique engravings, markings, and textures on the surface of the gold bars. The extracted feature data is converted into a unified standardized data format, providing compliant basic data for subsequent data matching.

[0032] S2: Input the shape features and pattern features into a database containing pre-stored gold bar standard features, categories and corresponding counter numbers, perform feature matching retrieval and control the corresponding counter to open, and complete the storage; The database used in this process has been initialized and its data entered before the official operation. The database pre-stores standard feature data for various compliant gold bars, gold bar category information categorized by specifications and type, and a fixed storage counter number corresponding to each category, establishing a stable one-to-one mapping relationship between various data types. The computer transmits the standardized shape and pattern features obtained in step S1 to this database, driving the database to perform a feature matching retrieval operation, comparing the features of the gold bar to be stored with the pre-stored standard features in the database. When the database retrieves matching mapping data, the computer sends a counter opening command to the counter control terminal corresponding to that mapping data. Upon receiving the command, the counter executes the opening action, and the operator places the gold bar to be stored in the counter. After placement, the storage operation is confirmed, thus completing the storage process for a single gold bar.

[0033] S3: Receive outbound request, confirm the category information of the gold bar to be outbound by manually inputting category information or by scanning the attribute identifiers and similar gold bars, and retrieve the corresponding category gold bars that are not locked and can be outbound from the counter. The computer is equipped with a human-computer interaction terminal, through which it receives outbound requests initiated by operators. Upon receiving the outbound request, the computer provides two parallel methods for confirming category information, which operators can choose according to the actual operating scenario. The first method is manual input, where operators directly input the category name, category code, and other category information corresponding to the gold bars to be outbound through the human-computer interaction terminal. The second method is image scanning and recognition, where an image scanning device scans the attribute identifiers corresponding to the outbound gold bars and similar gold bars. The computer extracts the feature data of the scanned images and compares them with standard data in the database to automatically determine the category information of the gold bars to be outbound. After confirming the category information of the gold bars to be outbound, the computer performs a filtering and retrieval in the database, selecting only counters that store gold bars of that category, are not currently locked, and have normal operating conditions. These counters are identified as outbound counters, forming a set of outbound counter data.

[0034] S4: Perform location analysis on the available counters, filter out the available counters closest to the current scanning area, control the nearest available counter to open, and complete the outbound process.

[0035] In this process, the spatial coordinates of all storage counters and the current image scanning area are pre-entered into the database to establish a location association data model. Based on this preset location association data model, the computer performs spatial location analysis and distance calculation on each counter in the set of available counters obtained in step S3, obtaining the relative distance value between each available counter and the current scanning area. The computer compares all distance values ​​and selects the available counter with the smallest relative distance, identifying this counter as the target available counter. Subsequently, the computer sends an opening command to the control terminal of the target available counter, the target counter executes the opening action, and the operator takes out the gold bar to be retrieved from the counter. After confirming the retrieval operation, the single gold bar retrieval process is completed.

[0036] Specifically, in some possible embodiments, the steps of performing feature matching retrieval and controlling the opening of the corresponding counter to complete the warehousing include: Determine whether the feature matching retrieval results contain a corresponding category; If a matching category exists, extract the corresponding counter number, control the counter corresponding to the counter number to open, and after the warehousing is completed, update the storage quantity of the gold bars in the category and the corresponding counter occupancy status. If no matching category exists, an idle counter is allocated and temporary category information is generated and bound to the idle counter number to control the opening of the idle counter; After the gold bars are put into storage, their feature information, temporary category, and available counter number are associated and stored in the database.

[0037] The process involves inputting the shape and pattern features of the gold bars to be stored into the database for feature matching. The computer then automatically determines if a pre-defined category corresponding to the gold bar's features exists in the search results. The search results simultaneously provide a category matching identifier to complete the determination. If a matching category is found, the computer extracts the unique counter number corresponding to that category from the database's mapping relationship and sends an opening command to the counter corresponding to that counter number via the counter control terminal. Once the counter is opened, the gold bars are placed, and storage is confirmed, the computer automatically retrieves the storage quantity data corresponding to that category and the corresponding counter's occupancy status data from the database. It then updates the storage quantity and switches the counter's occupancy status from "idle" to "free." The system is changed to "occupied" to ensure that the data is synchronized with the actual storage status. If no matching category is found, the computer searches all the counters marked "idle" in the database, selects one of the idle counters according to the preset allocation rules, and generates temporary category information that conforms to the unified coding standard. The temporary category information contains the core feature summary of the gold bar and the temporary classification identifier. The temporary category information is bound to the selected idle counter number. After the binding is completed, an opening command is sent to the idle counter. After the gold bar is confirmed to be stored, the complete feature information of the stored gold bar, the generated temporary category information and the corresponding idle counter number are associated and bound together and stored in the database to form a complete temporary storage record.

[0038] It's worth noting that temporary category information can be generated using a combination of "feature coding + timestamp" to ensure that temporary categories are uniquely identifiable. Simultaneously, temporary categories are associated with pre-set classification prompts, facilitating subsequent unified sorting and categorization of gold bars in temporary categories by management personnel, preventing temporarily stored gold bars from remaining in a disordered state for extended periods. The allocation rules for idle counters can also be flexibly adapted to warehousing scenarios, prioritizing idle counters associated with temporary categories that have a high degree of similarity to the gold bars to be stored. If no such counters exist, allocation is done according to warehousing area zones, effectively reducing the handling costs of gold bars during subsequent category adjustments. When updating category storage quantities and counter occupancy status, and associating temporary storage records, the computer simultaneously performs integrity checks on the updated data. Data is only written after the check passes. If the check detects missing or abnormal data, a data completion mechanism is automatically triggered and a check log is recorded, preventing data corruption from the source. In addition, the binding relationship between temporary categories and vacant counters can be set with an expiration period. If the gold bars in the temporary category are classified into the formal category within the expiration period, the computer will automatically unbind the relationship and update the counter occupancy status. If the formal classification is not completed before the expiration period, a reminder mechanism will be triggered to urge the management personnel to handle it in a timely manner, so as to realize the closed-loop management of temporary warehousing scenarios, effectively adapt to the warehousing needs of newly added specifications and special categories of gold bars, and solve the pain points of disordered temporary warehousing and inconvenient traceability in the existing management model.

[0039] Specifically, in some possible embodiments, the method further includes: Multiple gold bars are simultaneously scanned upon entering the warehouse. The shape and pattern features of each gold bar are extracted, and all extracted features are classified and grouped. Each gold bar is then marked with a feature group identifier. Each feature group identifier and its corresponding feature information are input into the database for parallel feature matching retrieval, and the counter occupancy status and allocation status corresponding to each matching result are detected in real time. If a counter conflict or insufficient available counters is detected for a matching category, the feature groups are prioritized and counters are allocated first to complete the gold bar entry for the high-priority feature groups. Feature groups that are not allocated to counters are temporarily cached, and the availability of counters is monitored in real time. When available counters, they are allocated in order of priority to complete the entry. During the warehousing process, the characteristic grouping identifier, corresponding counter number, and warehousing sequence of each gold bar are recorded synchronously and stored in the database.

[0040] In this system, designed for batch warehousing of multiple gold bars, the computer controls an image scanning device to simultaneously scan multiple bars, accurately extracting the shape and pattern features of each bar. Based on the bar's pre-defined category, specifications, and urgency, all extracted feature data is categorized and grouped, generating a unique feature group identifier for each bar, thus binding individual bar features to their corresponding groups. Subsequently, each feature group identifier and associated feature data are synchronously transmitted to a database. A multi-threaded parallel processing mechanism is then used to perform feature matching and retrieval for each group of feature data. During the retrieval process, the database continuously accesses counter status data, monitoring the counter occupancy status and real-time progress of each matching result. When some feature groups are detected to be in conflict, the system detects the presence of these issues. When there is a conflict due to the matching category's corresponding counter being occupied, or when the total number of available counters in the system cannot meet the warehousing needs of all feature groups, the feature groups are prioritized according to a preset judgment logic. High-priority feature groups are assigned corresponding counters and their warehousing is completed first. For feature groups that cannot be assigned counters temporarily, their feature data and group identifiers are stored in the system cache for temporary retention. At the same time, the idle status of counters in the database is continuously monitored. After a counter is detected to be released and becomes idle, counters are assigned to the feature groups in the cache in the determined priority order, and the subsequent warehousing process is completed. During the entire batch warehousing operation, the feature group identifier, assigned counter number, and actual warehousing time of each gold bar are collected and recorded synchronously. After the above data is associated and integrated, it is written to the database for persistent storage.

[0041] In real-world large-scale batch warehousing operations, the aforementioned batch inbound processing logic can be further adapted and optimized to meet on-site operational needs. In addition to standard categories and specifications, the feature grouping dimensions can also accommodate customer-customized requirements and warehouse area planning, making feature grouping more aligned with the specific requirements of actual warehouse management. The priority determination rules for feature grouping support dynamic configuration, allowing for flexible adjustment of judgment weights based on different time periods and business urgency, avoiding the problem of fixed priority rules failing to adapt to changing business scenarios. For temporarily cached feature groups, the system periodically verifies the validity of cached data and clears timeouts. Unprocessed invalid cached data releases system resources, and timeout reminders are set for cached data to prevent batch warehousing tasks from being delayed for a long time. During parallel feature matching retrieval, the system dynamically adjusts the number of parallel retrieval threads according to the current computing power load. While ensuring retrieval efficiency, it avoids excessive computing power occupation affecting the normal operation of other warehouse management functions. In addition, feature grouping identifiers can also be associated with subsequent inbound and outbound traceability codes, further opening up the data link between batch warehousing and subsequent full-process traceability. This ensures that gold bars in batch warehousing still have complete traceability attributes, effectively improving management efficiency and control precision in batch warehousing scenarios.

[0042] Specifically, in some possible embodiments, the method further includes: After receiving the outbound request and confirming the category information corresponding to the gold bars to be outbound, the system retrieves all outbound counters corresponding to that category, performs fault detection and status verification on all outbound counters, and filters out valid outbound counters that are fault-free, unlocked, and in normal operating condition. If there are multiple valid counters available for outbound delivery, calculate the location distance and outbound time for each valid counter, and sort them comprehensively based on the ease of placing the gold bars inside the counters, and select the counter with the best overall outbound delivery. If all the retrieved outbound counters are faulty or locked, the system will automatically retrieve the corresponding backup counter for that category, perform feature matching verification on the backup counter, and control the backup counter to open and complete the outbound process after the verification is successful. After the outbound process is completed, the information of the faulty counter and the activation record of the backup counter are associated and stored in the database, the faulty counter is marked and a fault alert is triggered.

[0043] The process involves the computer receiving an outbound request and confirming the category information of the gold bars to be outbound. It then retrieves all available counters for that category from the database and performs comprehensive fault detection and operational status verification on each counter. This verification covers core dimensions such as counter hardware operation, communication link connection, and security lock status. From this, valid outbound counters that are fault-free, unlocked, and meet all operational requirements are selected. If multiple valid outbound counters are selected, the computer calculates the actual distance between each valid outbound counter and the current scanning area based on a preset spatial coordinate model. It also estimates the actual outbound time for each counter by considering factors such as the number and placement of gold bars within the counter. Finally, it integrates the ease of placing the gold bars within the counter to comprehensively rank all valid outbound counters. Based on the sorting results, the computer selects the best available counter for gold bars to be issued and sends an opening command. If all available counters in the same category are faulty or locked, the computer will automatically retrieve the pre-configured backup counters for that category, extract the pre-stored information of the backup counters, and perform feature matching verification with the category of gold bars to be issued. If the verification is successful, an opening command will be sent to the backup counter to complete the gold bar issuance operation. After the entire issuance process is confirmed, the computer will associate and integrate the equipment number, fault detection result, fault occurrence time of the faulty counter, and the activation number, activation time, and corresponding gold bar information of the backup counter, and store them in the database. At the same time, the status of the corresponding faulty counter in the database will be marked as faulty, and a preset fault reminder signal will be triggered to notify relevant management personnel to promptly investigate and handle the fault.

[0044] In actual gold bar warehousing and outbound management scenarios, counter fault detection and status verification can achieve refined layered detection. Basic continuity and status checks are performed first, followed by refined sub-component checks on counters with initial anomalies, accurately locating fault points. This improves detection efficiency and provides precise data for subsequent maintenance. Outbound time estimation can be built using historical outbound operation data accumulated by the system to construct an intelligent estimation model. This model incorporates factors such as the complexity of the path from the counter to the scanning area, the number of gold bars stacked within the counter, and the compatibility of auxiliary equipment for retrieval and placement, making the estimated time more consistent with actual operational scenarios. The assessment of the ease of gold bar placement within the counter can be based on a quantitative scoring system. Different scores are assigned based on factors such as whether the gold bars are in easily accessible areas, whether other gold bars need to be moved for retrieval, and whether the packaging is easy to disassemble. These scores, along with location distance and outbound time, constitute a weighted scoring index for comprehensive ranking. By adjusting the weights of each index, the selection of the optimal counter becomes more scientific and flexible, adapting to the outbound needs of different warehousing scenarios. Backup counters... The system can configure backup counters using a combination of category-specific backups and general backups for the entire warehouse area. All backup counters undergo periodic automatic pre-verification to identify potential faults and update status information, ensuring immediate availability during emergency activation. Simultaneously, the feature matching verification of backup counters can utilize the database's high-speed retrieval interface for rapid comparison with the categories of gold bars to be issued, reducing the time required for emergency outbound operations. Fault alerts are categorized into different levels based on the type and scope of the fault. High-level emergency alerts are triggered for core hardware faults, while general alerts are triggered for minor communication faults. Furthermore, the faulty counter information stored in the database is linked to the equipment maintenance log, automatically recording fault frequency, repair records, and maintenance cycles. This provides data support for subsequent counter maintenance, replacement, and optimized configuration of warehouse equipment. In addition, backup counter activation records are fully integrated into the entire gold bar inbound and outbound traceability chain, ensuring complete traceability information for gold bars in emergency outbound scenarios, further enhancing the stability, emergency fault tolerance, and refined management level of the outbound process.

[0045] Specifically, in some possible embodiments, the method further includes: After scanning the images of the gold bars entering the warehouse, the validity of the collected images is verified to determine whether the image clarity and feature integrity meet the matching requirements. If the verification fails, the scanning parameters will be automatically adjusted and the gold bar will be scanned again. The total number of rescans will not exceed a preset threshold. If the cumulative number of scans reaches a preset threshold and no qualified image is obtained, the available feature fragments in the current scanned image are extracted, and feature completion is performed by combining them with the feature information of the same type of gold bars pre-stored in the database. After generating complete feature information, it is input into the database for matching and retrieval. If the matching requirements still cannot be met after feature completion, the gold bar entering the warehouse is marked as an abnormal gold bar, a dedicated abnormal counter is assigned and its opening is controlled. After the entry is completed, an abnormal record is generated, associated with and stored in the database, and an abnormal alert is triggered.

[0046] The process involves several steps. First, after scanning the gold bars upon entry into the warehouse, the computer immediately performs a validity check on the acquired images. Based on preset image judgment criteria, it checks whether the image clarity meets the feature extraction threshold and whether the shape and pattern feature points of the gold bars are completely extracted. This determines whether the image meets the basic requirements for subsequent feature matching and retrieval. If the verification fails, the computer automatically adjusts the scanning parameters, such as exposure, focal length, and scanning angle, based on the reason for the image failure. After adjustment, it controls the scanning device to rescan the gold bars, and the number of rescans is counted in real time to ensure that the cumulative number of rescans does not exceed a preset threshold. If the cumulative number of rescans reaches the preset threshold and still no qualified image is obtained, the computer performs feature recognition on the last scanned image, extracting the effectively identifiable features. The system extracts shape and pattern feature fragments, and simultaneously retrieves standard feature information of similar gold bars from the database. The extracted usable feature fragments are then fused and supplemented with the standard feature information of similar gold bars to generate complete feature information that meets the matching requirements. This complete feature information is then input into the database for feature matching retrieval. If the feature information generated after feature supplementation still fails to meet the database matching requirements, the computer will mark the gold bar as an abnormal gold bar, retrieve a pre-configured dedicated abnormal counter from the database, assign it, and send an opening command to the dedicated abnormal counter. After the gold bar completes the warehousing operation, the system automatically generates a complete abnormal record containing the gold bar's features, the scanning and verification process, and the reason for the abnormality. This abnormal record is associated with the gold bar's feature information and the dedicated abnormal counter number and stored in the database. Simultaneously, a pre-set abnormal alert is triggered to notify management personnel to promptly verify and handle the issue.

[0047] In actual gold bar warehousing image acquisition and verification scenarios, image validity verification can be based on quantifiable criteria. Image clarity can be converted into quantifiable parameters such as pixel resolution and noise rate, and feature integrity can be converted into quantifiable standards such as feature point extraction rate and feature region coverage. This makes the verification results more objective and accurate, avoiding errors caused by subjective judgment. The adjustment of scanning parameters is not a fixed adjustment in a single dimension, but can be dynamically adapted in multiple dimensions according to the specific reasons for image failure. For example, if insufficient clarity is detected due to dark lighting, exposure parameters and supplementary light intensity are adjusted first; if blurry features are detected due to inaccurate focus, further adjustments are made. The system precisely adjusts focal length parameters and records optimal scanning parameter combinations under different storage environments, forming a parameter configuration library that can be directly called upon during subsequent scans in the same environment, improving scanning and verification efficiency. During feature completion, the computer sorts the searches for similar gold bars in the database according to feature similarity, prioritizing the selection of standard feature information of the most similar gold bars for completion. The completed feature information is marked with a completion identifier and the proportion of the original feature fragment, facilitating subsequent verification by management personnel. Furthermore, the feature completion fusion logic can be customized based on the characteristics of different gold bar categories, allowing for different specifications and engraving styles. Different completion weights are assigned to ensure that the completed feature information more closely matches the actual characteristics of the gold bars. For marked abnormal gold bars, a graded label can be added to the abnormal gold bar identifier, classifying them into mild, moderate, and severe abnormalities based on the degree of feature loss and the reason for the mismatch. Different levels of abnormal gold bars correspond to different dedicated abnormality counter areas, facilitating classification, verification, and handling by management personnel. Simultaneously, the system will completely record all image scanning, verification, and rescanning process data, forming a scanning verification log, which is correlated with the operating status of the scanning equipment. Management personnel can analyze the log data to promptly identify potential faults in the scanning equipment and scanning stations. The system addresses environmental issues and provides data support for the maintenance and optimization of scanning equipment and the scanning workstation environment. In addition, the status of the dedicated abnormal counter is monitored in real time. When an abnormal gold bar is verified and processed, the system can automatically remove the abnormal label from the gold bar, re-execute the warehousing process or update the database information based on the processing result, and simultaneously update the processing result with the abnormal record to form a closed-loop management of abnormal gold bar processing. This further improves the fault tolerance and adaptability of the image scanning process, making the entire warehousing process more in line with the complex scenarios in actual warehouse management, and effectively solves problems such as gold bar warehousing stagnation and feature matching errors caused by image acquisition problems.

[0048] Specifically, in some possible embodiments, the method further includes: During the warehousing or outbound operation, the operation sequence and corresponding status changes are monitored in real time. If a sudden interruption of the operation is detected, the current operation progress, the characteristic information of the gold bar to be warehoused and the status information of the corresponding counter are immediately recorded and encrypted and stored in the temporary storage module of the database. After the operation is resumed, the operation data in the temporary storage module is read to verify the operation status before the interruption. After confirming that the characteristics of the gold bars in the vault and the counter status are consistent with those before the interruption and there are no abnormalities, the interrupted operation is resumed and the subsequent steps are completed. If the verification finds inconsistencies or anomalies, the operation is terminated and restored, the corresponding counter and the gold bar feature information are locked, an interruption anomaly log is generated and stored in the database, and subsequent operations at that counter are prohibited until the anomaly investigation is completed.

[0049] Throughout the entire process of gold bar storage and retrieval, the computer continuously monitors the execution sequence and completion status of each operational step, as well as the location status of the corresponding gold bars, the open / closed status of the counters, and data transmission status, establishing a real-time monitoring link. When an operation is suddenly interrupted due to network fluctuations, equipment failure, power outages, or human error, an emergency recording mechanism is immediately triggered. This mechanism accurately collects the current progress of the operation, completed steps, and extracts all characteristic information of the corresponding gold bars. It also synchronously records the real-time status of the associated counters (open / closed, locked / idle, fault indicators, etc.). All data is then encrypted using a preset symmetric encryption algorithm and stored in a dedicated temporary storage module in the database to ensure that interrupted data is not lost or leaked. Once the system returns to normal and the operation can be restarted, the computer automatically reads the temporary storage. The operation data stored in the storage module is encrypted and decrypted. A comprehensive verification is performed between the operation state before the interruption and the current system state, with a focus on comparing the consistency of the gold bar feature information and the matching degree of the status of the associated counter. After confirming that there is no data tampering or abnormal status, the operation is resumed from the interruption point, and the subsequent unfinished steps are executed in an orderly manner to ensure the smooth connection of the inbound and outbound process. If the verification process finds that the gold bar feature information is mismatched, the counter status is different from that before the interruption, or other abnormal situations occur, the operation recovery process is immediately terminated. The corresponding counter and the associated gold bar feature information are locked to prevent any subsequent operation commands from being triggered. At the same time, an interruption abnormality log containing the interruption time, interruption reason, abnormality verification result, and relevant counter and gold bar information is automatically generated and stored in the database for archiving. The counter can only be resumed normal use after the management personnel have completed the abnormality investigation, confirmed that there are no security risks, and unlocked the counter.

[0050] Considering the high-frequency scenarios of various sudden interruptions in actual warehousing operations, the above-mentioned interruption handling mechanism can be further optimized and improved to enhance the system's anti-interference capability and fault tolerance reliability. The temporary storage module adopts a primary-backup dual-redundancy design, with encrypted interrupted data synchronously backed up to the backup storage unit to prevent data loss due to temporary storage module failure. Simultaneously, the encryption algorithm supports dynamic key updates, periodically changing the encryption key to further enhance data storage security. Operation status verification can employ a hierarchical verification logic. First, core data (features of incoming gold bars, counter lock status) is quickly verified to ensure consistency of key information. Then, secondary data (operation sequence, progress nodes) undergoes refined verification, balancing verification efficiency and accuracy. For frequently occurring instantaneous network interruptions, a fast verification channel can be preset to shorten recovery time. The interruption exception log not only records basic exception information but can also be associated with the system operation log and equipment status data at the time of the interruption, facilitating managers to quickly locate the root cause of the interruption and distinguish between system software failures, hardware problems, and external environmental interference. The log also supports categorization by interruption type, occurrence time, and affected area. The system employs a tiered locking mechanism for locking counter and gold bar feature information. Locking is categorized into temporary and permanent locks based on the severity of the anomaly. Minor anomalies trigger temporary locks, which can be unlocked remotely by administrators. Severe anomalies (such as gold bar feature tampering or counter malfunction) trigger permanent locks, requiring on-site verification and fault repair, followed by dual-person review before unlocking. This avoids security risks associated with misidentified locks. Furthermore, the system performs statistical analysis on various interruption scenarios, identifying high-frequency interruption nodes and common causes. Operational logic is optimized for high-frequency interruption points, such as adding data pre-storage and status snapshot functions at steps prone to interruption. This pre-stores operational data and status information, further improving the smoothness of interruption recovery. Simultaneously, it provides data support for overall system optimization and equipment upgrades, effectively addressing pain points in existing technologies such as the inability to resume processes after operational interruptions, easy data loss, and inconvenient anomaly investigation. This strengthens the security and stability of the entire gold bar inbound and outbound process.

[0051] Specifically, in some possible embodiments, the method further includes: After completing the warehousing or outbound operation, the characteristic information of the gold bars in the warehouse, the corresponding counter number, the operation sequence and status information are integrated to generate a unique warehousing and outbound traceability code; The entry and exit traceability code is associated with all corresponding operation data and stored in the database to establish a full-process traceability link for entry and exit. When a traceability request is received, the corresponding traceability data in the database is retrieved and a complete operation record is output by inputting the inbound / outbound traceability code or the feature information of the gold bar that was put into storage. The traceability data in the database is backed up and its integrity is verified regularly. If data is missing or abnormal, the corresponding information is automatically extracted from the backup data for repair, ensuring the continuity of the traceability chain.

[0052] After the gold bar's entry or exit operation is completed and confirmed to be correct, the computer automatically integrates the complete feature information of the gold bar, stores or retrieves the corresponding counter number, the precise time sequence of the operation (including start time and completion time), and the status information of each stage (such as the scanning status and counter opening status during entry, and the verification status and counter unlocking status during exit). A unique entry / exit traceability code is generated according to preset coding rules. The traceability code uses a combination of feature summary, timestamp, and random check code to ensure that each entry / exit operation corresponds to a unique identifier, with no duplication or omission. Subsequently, this entry / exit traceability code is associated and bound to all corresponding operation data (including image scanning records, feature matching records, counter operation instructions, status change logs, etc.) and stored in the database, constructing a full-process traceability link from gold bar entry scanning to exit completion, realizing… The entire operation of each gold bar is traceable. When a traceability request is received from management, operators can flexibly choose to input the entry / exit traceability code or directly input the shape, pattern, and other characteristic information of the gold bar. The computer performs a precise search in the database based on the input information, quickly retrieves all corresponding traceability data, and outputs a complete operation record containing the entire operation process, details of each node, and related data. At the same time, the computer will perform backup operations on all traceability data stored in the database according to a preset period and simultaneously perform data integrity verification. The verification covers various abnormal situations such as missing data, data tampering, and data corruption. If missing or abnormal traceability data is detected, the corresponding complete information will be automatically extracted from the pre-stored backup data to complete the data repair operation, ensuring that the entire entry / exit traceability link is uninterrupted and the traceability data is authentic and valid.

[0053] In light of the storage and management needs of gold bars as high-value precious metals and actual regulatory scenarios, the above traceability mechanism can be further optimized and extended to make the traceability function more in line with practical needs and more differentiated. The coding rules for inbound and outbound traceability codes can be customized and adapted to different warehousing entities, gold bar categories, and regulatory requirements. Exclusive identifiers (such as enterprise codes, category codes, and regulatory filing codes) can be embedded in the traceability codes to facilitate collaborative traceability and compliance verification among multiple entities. The correlation dimensions of traceability data can be further expanded. In addition to core operational data, it can also be linked to operator information, warehousing environment data (such as temperature, humidity, and security status), and equipment operation data, making traceability records more complete and convincing. When abnormal situations such as damaged or lost gold bars occur, the traceability data can quickly locate the problem and identify the responsible party. The traceability retrieval function can be optimized and upgraded to support fuzzy search, batch search, and multi-condition combination search, adapting to the traceability needs of large-scale gold bar warehousing. It can also generate standardized traceability reports, supporting export and printing, to meet the verification and filing requirements of regulatory authorities. Data backup adopts a multi-node off-site backup mode, simultaneously backing up data on off-site disaster recovery nodes in addition to local backup. Backup storage is implemented to mitigate the risk of complete data loss due to local equipment failures, natural disasters, or other extreme scenarios. Backup data is also stored encrypted to ensure data security. During data repair, the computer automatically records a repair log, detailing the repair time, repair content, cause of the anomaly, and the source of the backup data. Upon completion of the repair, a verification reminder is triggered, requiring secondary confirmation by management personnel to ensure the repaired data matches the actual operation. Furthermore, the traceability chain can be integrated with the gold bar storage inventory and write-off processes. During inventory, scanning the inbound / outbound traceability code allows for quick verification of the actual storage status of the gold bars against the database records. During write-off, the traceability code confirms the flow of the gold bars, achieving deep integration of traceability functionality with the entire warehousing process. This effectively addresses the pain points of existing traceability mechanisms, such as limited traceability dimensions, insufficient data security, and disconnect from subsequent management. It meets the security management needs of high-value gold bars while complying with regulatory requirements, further highlighting the solution's creativity and practicality.

[0054] Another embodiment of this application provides a gold bar inbound and outbound management system, wherein, see reference Figure 2 A gold bar inbound and outbound management system, comprising: Warehouse image scanning module 100: used to perform warehouse image scanning on the gold bars to obtain the shape and pattern features of the gold bars; Feature matching retrieval and database entry module 200: Used to input the shape features and the pattern features into a database containing pre-stored gold bar standard features, categories and corresponding counter numbers, perform feature matching retrieval and control the opening of the corresponding counter to complete the database entry; Outbound Request Receiving Module 300: Used to receive outbound requests, confirm the category information of the gold bars to be outbound by manually inputting category information or by scanning the attribute identifiers and similar gold bars, and retrieve the corresponding category gold bars that are not locked and can be outbound from the counters. Outbound counter filtering module 400: used to perform location analysis on outbound counters, filter out the outbound counters closest to the current scanning area, control the nearest outbound counter to open, and complete the outbound process.

[0055] The gold bar entry and exit management system provided in this embodiment can realize the steps of the aforementioned embodiments due to the functions of each module and the logical connection between them. Therefore, it can achieve the same technical effect as the aforementioned embodiments. For the principle analysis, please refer to the relevant description of the steps of the aforementioned gold bar entry and exit management method, which will not be repeated here.

[0056] This application embodiment also provides a gold bar entry and exit management device, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by the above-described gold bar entry and exit management method.

[0057] This application also provides a storage medium storing a computer program that can be loaded by a processor and executed by the above-described gold bar entry and exit management method.

[0058] The storage medium provided in this embodiment can achieve the same technical effect as the aforementioned embodiments because the computer program therein, after being loaded and run on the processor, will implement the various steps of the aforementioned embodiments. For the principle analysis, please refer to the relevant description of the aforementioned method steps, which will not be repeated here.

[0059] The storage medium includes, for example, various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0060] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0061] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0062] Furthermore, features defined by the terms "first" and "second" may explicitly or implicitly include at least one of those features. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., and unless otherwise explicitly specified, is used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features.

[0063] Therefore, any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

[0064] The embodiments described in this specific implementation are preferred embodiments of this application and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for managing the entry and exit of gold bars, characterized in that, include: The gold bars are scanned upon entering the warehouse to obtain their shape and pattern features. The shape features and pattern features are input into a database containing pre-stored gold bar standard features, categories, and corresponding counter numbers. Feature matching and retrieval are performed, and the corresponding counter is opened to complete the storage. Upon receiving an outbound request, the system confirms the category information of the gold bars to be outbound by manually entering category information or by scanning the attribute identifiers and similar gold bars. It then retrieves and stores the corresponding category of gold bars that are not locked and are available for outbound. The location of the available counters is analyzed, and the counter closest to the current scanning area is selected. The nearest available counter is then opened to complete the outbound process.

2. The gold bar entry and exit management method according to claim 1, characterized in that, The steps for performing feature matching and retrieval, and controlling the opening of the corresponding counter to complete the warehousing process include: Determine whether the feature matching retrieval results contain a corresponding category; If a matching category exists, extract the corresponding counter number, control the counter corresponding to the counter number to open, and after the warehousing is completed, update the storage quantity of the gold bars in the category and the corresponding counter occupancy status. If no matching category exists, an idle counter is allocated and temporary category information is generated and bound to the idle counter number to control the opening of the idle counter; After the gold bars are put into storage, their feature information, temporary category, and available counter number are associated and stored in the database.

3. The gold bar entry and exit management method according to claim 1 or 2, characterized in that, The method further includes: Multiple gold bars are simultaneously scanned upon entering the warehouse. The shape and pattern features of each gold bar are extracted, and all extracted features are classified and grouped. Each gold bar is then marked with a feature group identifier. Each feature group identifier and its corresponding feature information are input into the database for parallel feature matching retrieval, and the counter occupancy status and allocation status corresponding to each matching result are detected in real time. If a counter conflict or insufficient available counters is detected for a matching category, the feature groups are prioritized and counters are allocated first to complete the gold bar entry for the high-priority feature groups. Feature groups that are not allocated to counters are temporarily cached, and the availability of counters is monitored in real time. When available counters, they are allocated in order of priority to complete the entry. During the warehousing process, the characteristic grouping identifier, corresponding counter number, and warehousing sequence of each gold bar are recorded synchronously and stored in the database.

4. The gold bar entry and exit management method according to claim 1 or 2, characterized in that, The method further includes: After receiving the outbound request and confirming the category information corresponding to the gold bars to be outbound, the system retrieves all outbound counters corresponding to that category, performs fault detection and status verification on all outbound counters, and filters out valid outbound counters that are fault-free, unlocked, and in normal operating condition. If there are multiple valid counters available for outbound delivery, calculate the location distance and outbound time for each valid counter, and sort them comprehensively based on the ease of placing the gold bars inside the counters, and select the counter with the best overall outbound delivery. If all the retrieved outbound counters are faulty or locked, the system will automatically retrieve the corresponding backup counter for that category, perform feature matching verification on the backup counter, and control the backup counter to open and complete the outbound process after the verification is successful. After the outbound process is completed, the information of the faulty counter and the activation record of the backup counter are associated and stored in the database, the faulty counter is marked and a fault alert is triggered.

5. The gold bar entry and exit management method according to claim 1 or 2, characterized in that, The method further includes: After scanning the images of the gold bars entering the warehouse, the validity of the collected images is verified to determine whether the image clarity and feature integrity meet the matching requirements. If the verification fails, the scanning parameters will be automatically adjusted and the gold bar will be scanned again. The total number of rescans will not exceed a preset threshold. If the cumulative number of scans reaches a preset threshold and no qualified image is obtained, the available feature fragments in the current scanned image are extracted, and feature completion is performed by combining them with the feature information of the same type of gold bars pre-stored in the database. After generating complete feature information, it is input into the database for matching and retrieval. If the matching requirements still cannot be met after feature completion, the gold bar entering the warehouse is marked as an abnormal gold bar, a dedicated abnormal counter is assigned and its opening is controlled. After the entry is completed, an abnormal record is generated, associated with and stored in the database, and an abnormal alert is triggered.

6. The gold bar entry and exit management method according to claim 1 or 2, characterized in that, The method further includes: During the warehousing or outbound operation, the operation sequence and corresponding status changes are monitored in real time. If a sudden interruption of the operation is detected, the current operation progress, the characteristic information of the gold bar to be warehoused and the status information of the corresponding counter are immediately recorded and encrypted and stored in the temporary storage module of the database. After the operation is resumed, the operation data in the temporary storage module is read to verify the operation status before the interruption. After confirming that the characteristics of the gold bars in the vault and the counter status are consistent with those before the interruption and there are no abnormalities, the interrupted operation is resumed and the subsequent steps are completed. If the verification finds inconsistencies or anomalies, the operation is terminated and restored, the corresponding counter and the gold bar feature information are locked, an interruption anomaly log is generated and stored in the database, and subsequent operations at that counter are prohibited until the anomaly investigation is completed.

7. The gold bar entry and exit management method according to claim 1 or 2, characterized in that, The method further includes: After completing the warehousing or outbound operation, the characteristic information of the gold bars in the warehouse, the corresponding counter number, the operation sequence and status information are integrated to generate a unique warehousing and outbound traceability code; The entry and exit traceability code is associated with all corresponding operation data and stored in the database to establish a full-process traceability link for entry and exit. When a traceability request is received, the corresponding traceability data in the database is retrieved and a complete operation record is output by inputting the inbound / outbound traceability code or the feature information of the gold bar that was put into storage. The traceability data in the database is backed up and its integrity is verified regularly. If data is missing or abnormal, the corresponding information is automatically extracted from the backup data for repair, ensuring the continuity of the traceability chain.

8. A gold bar inbound and outbound management system, characterized in that, include: Warehouse image scanning module: used to scan the gold bars upon entry into the warehouse to obtain the shape and pattern features of the gold bars. Feature matching retrieval and database entry module: This module is used to input the shape features and pattern features into a database containing pre-stored gold bar standard features, categories, and corresponding counter numbers, perform feature matching retrieval, control the opening of the corresponding counter, and complete the database entry. Outbound Request Receiving Module: Used to receive outbound requests, confirm the category information of the gold bars to be outbound by manually inputting category information or by scanning the attribute identifiers and similar gold bars, and retrieve the corresponding category gold bars that are not locked and can be outbound from the counters. Available counter screening module: used to perform location analysis on available counters, filter out the available counters closest to the current scanning area, control the nearest available counter to open, and complete the outbound process.

9. A gold bar inbound and outbound management device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1-7 for managing the gold bar entry and exit.

10. A storage medium, characterized in that, The system stores a computer program that can be loaded by a processor and executed as described in any one of claims 1-7 for managing the entry and exit of gold bars.