A high-speed electronic device in-out storage tracking system

CN122175515BActive Publication Date: 2026-09-25HUNAN EXPRESSWAY INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610656561.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-13
Publication Date
2026-09-25
Estimated Expiration
2046-05-13

AI Technical Summary

Technical Problem

[0007]1、现有技术无法自动识别与治理碎片化库存区间,无法将多个不连续的碎片化可用区间自动组合以满足单次出库需求,导致当不存在单一长连续区间时,操作人员只能反复试错或手动勾选离散编号,效率低下且易错;同时,随着操作累积形成的短小区间无法被自动识别并合并,导致碎片化程度持续加剧,进一步恶化出库效率

Benefits of technology

[0017](1)本发明通过区间构建模块将离散序列号按设备型号及批次隔离,形成连续编号区间池;区间维护模块响应入库、出库、调拨事件,实时执行区间合并与分裂,动态更新可用区间池;并在分裂后评估碎片化程度,自动标记超碎片段并尝试合并或推送整理队列。由此,能够将多个不连续的碎片区间自动组合以满足任意出库数量需求,避免反复试错或手动勾选,同时主动抑制碎片化加剧,有助于提升出库效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122175515B_ABST
    Figure CN122175515B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of warehouse logistics management, and relates to a high-speed electronic equipment in-out-storage tracking system. The system acquires the inventory record of high-speed electronic equipment with a unique serial number in real time, constructs a continuous numbering interval pool isolated according to equipment models and batches, responds to the warehousing, warehousing or allocation operation event, executes interval merging and interval splitting maintenance to update the available interval pool in real time, selects the available continuous numbering interval with a cumulative available quantity up to the standard from the available interval pool according to the warehousing request, sorts the selected available continuous numbering interval based on the priority recommendation rule matched according to the area identifier, and aggregates the selected interval into a single warehousing order and pre-locks after confirmation. The application can automatically combine fragmented intervals and actively manage the fragments, intelligently select compatible equipment based on business attributes, prevent and prevent concurrent conflicts through pre-locking, and help improve the warehousing efficiency and accuracy of high-speed electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of warehousing and logistics management technology, and relates to a high-speed electronic equipment inventory tracking system. Background Technology

[0002] High-speed electronic equipment typically has a unique serial number in warehousing and distribution management. Inventory tracking systems rely on these serial numbers for inbound, outbound, and transfer operations. When there are a large number of consecutively numbered devices in inventory, and after multiple inbound and outbound transactions, the available serial numbers will become fragmented, forming multiple discontinuous intervals.

[0003] Existing technologies typically employ the following two methods to handle the selection of item numbers during outbound shipments:

[0004] Option 1: Manually enter the starting number and quantity. Operators, based on experience or with the aid of auxiliary queries, enter a starting number and the quantity to be shipped. The system verifies whether all numbers within the continuous range are available. If any number within the range is already in use, the system reports an error, and the operator must try different starting numbers, repeating this process until a fully usable continuous range is found.

[0005] Option 2: Visualized Individual Device Selection. The system displays the device numbers of all individual devices in a list or icon format. Operators select the devices to be shipped out one by one on the interface, and then submit the batch after selection.

[0006] The aforementioned prior art has the following drawbacks:

[0007] 1. Existing technology cannot automatically identify and manage fragmented inventory intervals, nor can it automatically combine multiple discontinuous fragmented available intervals to meet the needs of a single outbound shipment. As a result, when there is no single long continuous interval, operators can only repeatedly try and fail or manually select discrete numbers, which is inefficient and prone to errors. At the same time, as the short intervals formed by the accumulation of operations cannot be automatically identified and merged, the degree of fragmentation continues to increase, further deteriorating the outbound efficiency.

[0008] 2. Existing technologies lack intelligent filtering based on business attributes. High-speed electronic devices have attributes such as regional identifiers, communication protocol versions, and encryption algorithm indexes. Roadside units in different usage areas can only be compatible with devices that have specific attributes. Existing technologies only verify based on the continuity of serial numbers and do not integrate the aforementioned business attributes into the interval recommendation process. This results in devices that cannot be used normally after leaving the warehouse due to protocol incompatibility, requiring rework. Summary of the Invention

[0009] In view of this, in order to solve the problems mentioned in the background art, a high-speed electronic equipment inventory tracking system is proposed.

[0010] The objective of this invention can be achieved through the following technical solution: This invention provides a high-speed electronic equipment inventory tracking system, comprising: an interval construction module, an interval maintenance module, an interval recommendation module, and an outbound locking module.

[0011] The interval construction module is connected to the interval maintenance module, the interval maintenance module is connected to the interval recommendation module, and the interval recommendation module is connected to the outbound locking module.

[0012] The interval construction module obtains the inventory records of high-speed electronic devices with unique serial numbers in real time and constructs a continuous number interval pool isolated by device model and batch.

[0013] The interval maintenance module responds to inbound, outbound, or transfer operation events by performing interval merging and interval splitting maintenance on the consecutively numbered interval pool, generating a real-time updated available interval pool.

[0014] The interval recommendation module, in response to an outbound request containing the target outbound quantity and the target usage area identifier, filters at least one available consecutive numbered interval from the available interval pool, such that the cumulative available quantity is greater than or equal to the target outbound quantity, and sorts the filtered available consecutive numbered intervals based on the priority recommendation rule of area identifier matching.

[0015] The outbound locking module, in response to a confirmation instruction for one or more intervals in the sorted list, aggregates the selected intervals to generate a single outbound order, and performs a locking operation on the selected intervals before the outbound order is submitted.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0017] (1) This invention isolates discrete serial numbers by equipment model and batch through an interval construction module to form a continuous numbered interval pool; the interval maintenance module responds to inbound, outbound, and transfer events, performs interval merging and splitting in real time, and dynamically updates the available interval pool; and after splitting, it assesses the degree of fragmentation, automatically marks super-fragmented segments, and attempts to merge or push them to the sorting queue. Thus, multiple discontinuous fragmented intervals can be automatically combined to meet any outbound quantity requirements, avoiding repeated trial and error or manual selection, while actively suppressing the aggravation of fragmentation, which helps to improve outbound efficiency.

[0018] (2) In the interval recommendation module of this invention, the communication protocol version and encryption algorithm index supported by the roadside unit are retrieved according to the target usage area. The available interval pool is traversed to filter intervals that match the protocol and key, and incompatible intervals are eliminated. Then, the intervals are grouped and sorted according to whether the device usage identifier is consistent with the target area, and intervals that match completely are recommended first. This ensures that the outgoing device and the roadside unit in the usage area are completely compatible at the protocol and key level, avoids rework due to attribute mismatch, and improves the accuracy of outgoing devices.

[0019] (3) In the outbound locking module of this invention, before performing the locking operation, the overlap detection is performed on all the intervals to be locked in the current request and the intervals already locked in other requests that are under approval, to determine whether there is an intersection between the closed intervals; if there is a conflict, the overlapping range is calculated and arbitration is carried out according to the order of initiation time, the overlapping part of the later initiated request is marked as a conflict and a report is returned, requiring the selection of a non-overlapping interval. This avoids multiple users competing for the same numbered interval when operating at the same time, prevents the later submitted request from being found to be occupied until the approval stage, and avoids repeated processes, ensuring data consistency and improving the efficiency of concurrent operations. Attached Figure Description

[0020] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the module connection of the present invention;

[0022] Figure 2 This is a schematic diagram illustrating the construction logic of the consecutively numbered interval pool of the present invention;

[0023] Figure 3 This is a schematic diagram illustrating the execution logic of the locking operation in this invention. Detailed Implementation

[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] Please see Figure 1 As shown, the present invention provides a high-speed electronic equipment inventory tracking system, including: an interval construction module, an interval maintenance module, an interval recommendation module, and an outbound locking module.

[0026] The interval construction module is connected to the interval maintenance module, the interval maintenance module is connected to the interval recommendation module, and the interval recommendation module is connected to the outbound locking module.

[0027] The interval construction module acquires the inventory records of high-speed electronic devices with unique serial numbers in real time and constructs a continuous number interval pool isolated by device model and batch.

[0028] To address the fragmentation issue arising from multiple inbound and outbound transactions of consecutively numbered devices in inventory, discrete numbering needs to be consolidated into a continuous interval pool to compress data volume and support batch operations. Simultaneously, devices of different models or batches cannot be used interchangeably in business operations; therefore, interval pools must be constructed separately for device models and batches to ensure consistent attributes during subsequent outbound recommendations. See also... Figure 2 As shown, the specific construction process is as follows:

[0029] Obtain the set of serial numbers of all high-speed electronic devices in the inventory database that are in stock. Cluster the set according to the device model, hardware version number and batch number. Specifically, devices with the same device model field, hardware version number field and batch number field are grouped into the same initial data cluster. Devices with different fields are grouped into different initial data clusters to form multiple initial data clusters.

[0030] Within each initial data cluster, the sequence numbers are sorted in ascending order, and the numerical difference between two adjacent sequence numbers is calculated.

[0031] If the numerical difference is equal to the preset step size, then the two corresponding sequence numbers will be grouped into the same consecutive number segment.

[0032] If the numerical difference is greater than the preset step size, the logic is broken, and the two sequence numbers are defined as the end boundary of the previous interval and the start boundary of the next interval, respectively; the preset step size is determined according to the encoding rules of the sequence number, and is usually set to 1.

[0033] The determined start and end boundaries are mapped to interval objects, and each interval object is assigned a unique pool index identifier.

[0034] The interval maintenance module, in response to inbound, outbound, or transfer operation events, performs interval merging and interval splitting maintenance on the consecutively numbered interval pool, generating a real-time updated available interval pool.

[0035] On the one hand, the inbound operation will expand the range of available numbers in the consecutive numbering interval pool. Newly inbound equipment needs to be merged with adjacent existing intervals to maintain the integrity and minimize the interval pool. On the other hand, high-speed electronic equipment has business attributes such as region identifiers and activation status. Before merging, the consistency of these attributes must be verified to prevent attribute mixing from affecting subsequent outbound recommendations. The specific merging and maintenance process is as follows:

[0036] The system monitors inbound operation events, extracts the starting and ending serial numbers of the devices to be inbound, and obtains the region identifier, activation status, and issuance lock flag of the devices. The issuance lock flag identifies whether a batch of devices has been pre-assigned to a specific issuance plan or order, and its flag content includes locked and unlocked. Merging is only allowed when the issuance lock flags of the devices to be inbound and all devices in the candidate range are unlocked, to prevent reserved devices from being mixed with general inventory.

[0037] Search the continuous numbering interval pool to see if there is a first candidate interval and a second candidate interval. The end boundary value of the first candidate interval is equal to the difference between the starting sequence number and the preset step size value, and the starting boundary value of the second candidate interval is equal to the sum of the ending sequence number and the preset step size value.

[0038] When the first or second candidate interval is found, a merge admission check is performed: the region identifier, activation status and issuance lock flag of the device to be added to the database are compared with those of the devices in the retrieved candidate interval. The merge admission check is deemed to have passed only when the region identifier, activation status and issuance lock flag of the devices are completely consistent.

[0039] If the merge admission verification passes, the following merge operation will be performed:

[0040] If only the first candidate interval exists, update the end boundary value of the first candidate interval to the end sequence number;

[0041] If only a second candidate interval exists, update the starting boundary value of the second candidate interval to the starting sequence number;

[0042] If both a first candidate interval and a second candidate interval exist, then update the end boundary value of the first candidate interval to the end boundary value of the second candidate interval, and cancel the pool index identifier of the second candidate interval.

[0043] If the merge access verification fails, the merge is prohibited, and the range of new serial numbers for the devices to be added to the continuous numbering interval pool is added as an independent new interval. At the same time, an alarm record for inconsistent area identification or status is generated.

[0044] On the other hand, outbound or transfer operations occupy some consecutive numbering, causing the original continuous intervals to be divided into several sub-intervals. A splitting operation needs to be performed to accurately reflect the fragmentation status of the inventory. After splitting, the degree of fragmentation needs to be assessed, and ultra-short or isolated intervals need to be marked and automatically reorganized to avoid excessive inventory fragmentation.

[0045] The split maintenance process is as follows: Monitor outbound or transfer operation events to determine the range of occupied sequence numbers. ,in , These are the starting and ending sequence numbers of the sequence number range, respectively.

[0046] Locate the target consecutive numbering interval to which the occupied sequence number range belongs. , , These are the starting and ending sequence numbers of the target consecutive numbering interval, respectively;

[0047] like and Then the starting boundary value of the consecutive numbered interval of the target will be modified to ;

[0048] like and Then the end boundary value of the consecutive numbered interval of the target will be modified to ;

[0049] like and Then retain the original interval and modify its ending boundary to At the same time, a new interval is created, with its starting boundary set to Its ending boundary is set to ;

[0050] After the splitting operation is completed, obtain the equipment model identifier recorded in the split interval object, retrieve the mode and standard deviation of the equipment's historical outbound quantity based on the identifier, round down the sum of the mode and standard deviation, and dynamically set the span of the fragmentation evaluation window.

[0051] Centered on each consecutive numbered interval, the number of consecutive numbered intervals contained within the window and the maximum interval between adjacent consecutive numbered intervals are counted. The interval is defined as the starting sequence number of the next interval minus the ending sequence number of the previous interval minus one. Based on density and span constraints, it is determined whether the area covered by the fragmentation evaluation window is a super-fragmented region. If it is, the shortest consecutive segment within the window is marked as a super-fragmented segment. The length of the consecutive segment is one or more consecutive numbers. In addition, if there are multiple consecutive segments with the same length and all being the shortest within the window, the absolute difference between the middle sequence number of each consecutive segment and the middle sequence number of the window is calculated. The consecutive segment with the smallest absolute difference is selected as the super-fragmented segment, where the middle sequence number is equal to half the sum of the starting sequence number and the ending sequence number.

[0052] Search the available interval pool for merged segments that are adjacent to the super-fragmented segment and have the same region identifier and activation status. If a merged segment exists and the interval between the two is within the preset permitted gap range, the interval merging operation is automatically performed to eliminate fragmentation; otherwise, the super-fragmented segment is pushed to the sorting task queue.

[0053] It should be noted that the historical outbound quantity is the outbound quantity of all successful outbound orders for the corresponding device model within a preset historical period (e.g., the past 90 days) as counted from the system operation log.

[0054] The method for determining whether the area covered by the fragmentation assessment window is a super-fragmented area is as follows: calculate the average length of the consecutive numbered intervals contained in the window, round up the ratio of the window span to the average length to obtain the upper limit of density, and if the consecutive numbered intervals contained in the window are greater than the upper limit of density, it indicates that the fragmentation density condition is met.

[0055] If the maximum interval between adjacent consecutive numbered intervals is greater than the average length, it indicates that the fragmentation span condition is met.

[0056] If either the fragmentation density condition or the fragmentation span condition is met, the area covered by the fragmentation assessment window can be determined to be a hyperfragmented region.

[0057] The preset allowable gap range is 0 to 2, allowing up to 2 missing numbers to be skipped for merging.

[0058] This invention uses an interval construction module to isolate discrete serial numbers by device model and batch, forming a continuous numbered interval pool. An interval maintenance module responds to inbound, outbound, and transfer events, performing interval merging and splitting in real time, dynamically updating the available interval pool. After splitting, it assesses the degree of fragmentation, automatically marks over-fragmented segments, and attempts to merge or push them to the consolidation queue. Thus, multiple discontinuous fragmented intervals can be automatically combined to meet any outbound quantity requirement, avoiding repeated trial and error or manual selection, while actively suppressing further fragmentation, thus helping to improve outbound efficiency.

[0059] The interval recommendation module, in response to an outbound request containing the target outbound quantity and the target usage area identifier, filters at least one available consecutive numbered interval from the available interval pool, such that the cumulative available quantity is greater than or equal to the target outbound quantity, and sorts the filtered available consecutive numbered intervals based on the priority recommendation rule of area identifier matching.

[0060] Outbound requests require selecting consecutive sequence number intervals from the available interval pool that meet the target quantity. Due to differences in communication protocol versions and encryption algorithms among roadside units of high-speed electronic equipment, intervals compatible with the protocol must first be filtered by region identifier. Then, a greedy strategy is used to determine the combination of intervals that meet the quantity requirements. Finally, the intervals are sorted by usage matching degree, interval length, and inbound time to recommend the optimal outbound solution. The specific process is as follows:

[0061] Access the region configuration database and retrieve the communication protocol version number and encryption algorithm index supported by the corresponding roadside unit based on the target region;

[0062] Traverse each consecutive numbered interval in the available interval pool, compare the protocol field recorded by the device within the interval with the retrieved communication protocol version number, and verify whether the device's preset key system matches the encryption algorithm index;

[0063] After removing the mismatched intervals, the remaining intervals form a candidate interval set;

[0064] A greedy strategy is used to select several available consecutive numbered intervals from the candidate interval set. Specifically, the difference between the number of sequence numbers contained in each interval of the candidate interval set and the target outbound quantity is calculated.

[0065] If there exists an interval with a sequence number greater than or equal to the target outbound quantity, then the first interval that meets the condition is extracted as the available continuous number interval according to the principle of minimizing the absolute value of the difference. Specifically, the candidate interval set is arranged in ascending order of the interval's starting sequence number. This ordered set is traversed, and the traversal stops when the interval with the smallest absolute difference is encountered for the first time. The interval with the smallest absolute difference encountered for the first time is taken as the available continuous number interval. If there are multiple intervals with the same absolute difference, the one with the smallest starting sequence number is selected.

[0066] If no single interval meets the conditions, the candidate interval set is sorted in descending order of the number of sequence numbers, and the intervals are added in a loop until the cumulative number of sequence numbers reaches or exceeds the target outbound quantity for the first time. All intervals involved in the accumulation are then used as available consecutive numbered intervals.

[0067] In this embodiment, the priority recommendation rule based on region identifier matching includes the following:

[0068] For the selected intervals, group them according to whether the equipment usage identifier and the target usage area identifier within the interval are completely consistent. Consistent groups are arranged before inconsistent groups, and within the same group, they are sorted from largest to smallest interval length. If there are multiple intervals of equal length, they are sorted from earliest to latest by the entry timestamp.

[0069] It should be noted that the protocol field recorded by the device within the interval is an integer encoding, which is directly compared with the protocol version number supported by the roadside unit. If they are equal, they match. The key system verifies whether the root key index preset in the device points to the same key version as the encryption algorithm index. If they are consistent, the verification is successful.

[0070] The device usage identifier is the region code burned at the factory, and the target usage region identifier is the region code specified in the outbound request; if the two are completely consistent, it is considered a match, otherwise it is considered a mismatch.

[0071] In this invention, the interval recommendation module retrieves the communication protocol versions and encryption algorithm indexes supported by roadside units based on the target usage area. It then traverses the available interval pool to filter intervals that match the protocol and key, eliminating incompatible intervals. Next, it groups and sorts intervals according to whether the device's purpose identifier matches the target area, prioritizing the recommendation of completely matching intervals. This ensures that the outgoing devices and the roadside units in the usage area are fully compatible at the protocol and key levels, avoiding rework due to attribute mismatches and improving outgoing device accuracy.

[0072] The outbound locking module, in response to a confirmation instruction for one or more intervals in the sorted list, aggregates the selected intervals to generate a single outbound order, and performs a locking operation on the selected intervals before the outbound order is submitted.

[0073] After the user confirms the recommended range, the selected range must be locked before the outbound order is officially submitted to prevent concurrent operations from contending for the same number range. Simultaneously, in a multi-user environment, multiple outbound requests may compete for overlapping ranges; therefore, conflict detection and arbitration must be performed before locking to ensure data consistency. If the locking period times out or is canceled, the resources are released; if officially submitted, the range will be split or deregistered. The specific process is as follows:

[0074] Interval overlap conflict detection and arbitration (before performing locking operations):

[0075] Get all the intervals to be locked in the current outbound request, traverse the set of intervals locked by other requests that are being approved, and determine that an interval overlap conflict has occurred when the closed intervals formed by the start number and end number of any two intervals have an intersection.

[0076] The numbering range of the overlapping parts is calculated, arbitration is performed according to the order of initiation time, the overlapping parts of the requests initiated later are marked as conflicts, and a conflict report is returned to the requests initiated later, requesting the reselection of non-overlapping intervals; the initiation time is the timestamp uniformly generated by the system server when the user clicks the confirmation instruction;

[0077] The outbound locking module is allowed to continue performing locking operations only when no interval overlap conflict occurs.

[0078] It should be noted that conflict reports are returned in list format to requests initiated later. The list includes the complete range of conflict interval numbers and the specific overlapping sub-intervals for each conflict interval. The front-end interface highlights the conflict intervals and prevents users from selecting these intervals. Users must select other non-overlapping intervals and submit again.

[0079] See Figure 3 As shown, the locking operation is performed:

[0080] Upon receiving the confirmation instruction, the status field of the selected interval is changed from available to locked reservation, and the user ID of the lock initiator and the lock expiration time stamp are recorded. The lock expiration time stamp is the sum of the current system time and the preset lock validity period. The lock validity period is configured according to the device model and is 30 minutes by default. Users can manually adjust the validity period on the front-end interface.

[0081] During the lockout period, if the outbound document is formally submitted, the interval splitting or interval cancellation process will be triggered to completely remove the occupied number range. The interval cancellation process is applicable when the locked interval is exactly the same as the number range to be outbound, that is, the interval start is equal to the outbound start and the interval end is equal to the outbound end. In other cases, the interval splitting process will be performed, splitting the original interval into two sub-intervals, left and right, according to the outbound range, and removing the outbound part.

[0082] If the lock times out or the user cancels confirmation, the status field will be rolled back to available, and the range resources will be released.

[0083] In the outbound locking module of this invention, before executing the locking operation, overlap detection is performed on all intervals to be locked in the current request and the already locked intervals of other requests under approval to determine whether there is an intersection between the closed intervals. If a conflict exists, the overlapping range is calculated and arbitration is conducted according to the order of initiation time. The overlapping part of the later-initiated request is marked as a conflict and a report is returned, requiring the selection of a non-overlapping interval. This avoids multiple users competing for the same numbered interval when operating simultaneously, prevents the later-submitted request from being found to be occupied only at the approval stage, and avoids repeated processes, ensuring data consistency and improving the efficiency of concurrent operations.

[0084] The above content is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, and all such modifications and additions should fall within the protection scope of the present invention.

Claims

1. A high-speed electronic equipment inventory tracking system, characterized in that, include: The interval construction module obtains the inventory records of high-speed electronic devices with unique serial numbers in real time and constructs a continuous number interval pool isolated by device model and batch. The interval maintenance module responds to inbound, outbound, or transfer operation events by performing interval merging and interval splitting maintenance on the consecutively numbered interval pool, generating a real-time updated available interval pool. The interval maintenance module also includes interval splitting maintenance, which further includes: After performing the splitting operation on the original interval based on the occupied sequence number range, obtain the equipment model identifier recorded in the split interval object, retrieve the mode and standard deviation of the equipment's historical outbound quantity based on the identifier, round down the sum of the mode and standard deviation, and dynamically set the span of the fragmentation evaluation window. Centered on each consecutive numbered interval, count the number of consecutive numbered intervals contained in the window and the maximum interval between adjacent consecutive numbered intervals. Based on density and span constraints, determine whether the area covered by the fragmentation evaluation window is a super-fragmented area. If it is, mark the shortest consecutive segment in the window as a super-fragmented segment. The length of the consecutive segment is one or more consecutive numbers. Search the available interval pool for merged segments that are adjacent to the super-fragmented segment and have the same region identifier and activation status. If there is a merged segment and the interval between the two is within the preset permitted gap range, the interval merging operation is automatically performed to eliminate fragmentation; otherwise, the super-fragmented segment is pushed to the sorting task queue. The interval recommendation module, in response to an outbound request containing the target outbound quantity and the target usage area identifier, filters at least one available consecutive numbered interval from the available interval pool, such that the cumulative available quantity is greater than or equal to the target outbound quantity, and sorts the filtered available consecutive numbered intervals based on the priority recommendation rule of area identifier matching. The outbound locking module, in response to a confirmation instruction for one or more intervals in the sorted list, aggregates the selected intervals to generate a single outbound order, and performs a locking operation on the selected intervals before the outbound order is submitted.

2. The high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, The construction of a continuously numbered interval pool isolated by device model and batch includes: Obtain the set of serial numbers of all high-speed electronic devices in stock from the inventory database, and cluster the set according to device model, hardware version number and batch number to form multiple initial data clusters; Within each initial data cluster, the sequence numbers are sorted in ascending order, and the numerical difference between two adjacent sequence numbers is calculated. If the numerical difference is equal to the preset step size, then the two corresponding sequence numbers will be grouped into the same consecutive number segment. If the numerical difference is greater than the preset step size, the logic is broken, and the two sequence numbers are defined as the end boundary of the previous interval and the start boundary of the next interval, respectively. The determined start and end boundaries are mapped to interval objects, and each interval object is assigned a unique pool index identifier.

3. The high-speed electronic equipment inventory tracking system according to claim 2, characterized in that, The interval maintenance module performs interval merging maintenance, including: Monitor inbound operation events, extract the starting serial number and ending serial number of the equipment to be inbound, and obtain the regional identifier, activation status and issuance lock flag of the equipment to be inbound; the issuance lock flag is used to identify whether a batch of equipment has been pre-assigned to a specific issuance plan or order, and its flag content includes locked and unlocked; Search the continuous numbering interval pool to see if there is a first candidate interval and a second candidate interval. The end boundary value of the first candidate interval is equal to the difference between the starting sequence number and the preset step size value, and the starting boundary value of the second candidate interval is equal to the sum of the ending sequence number and the preset step size value. When the first or second candidate interval is found, a merge admission check is performed: the region identifier, activation status and issuance lock flag of the device to be added to the database are compared with those of the devices in the retrieved candidate interval. If the merge access verification passes, the merge operation is executed; otherwise, the range of new serial numbers for the devices to be added to the continuous numbering interval pool is added as an independent new interval, and an alarm record for inconsistent area identification or status is generated.

4. The high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, The interval maintenance module performs interval splitting maintenance, including: Monitor outbound or transfer operation events to determine the range of occupied serial numbers. ,in , These are the starting and ending sequence numbers of the sequence number range, respectively. Locate the target consecutive numbering interval to which the occupied sequence number range belongs. , , These are the starting and ending sequence numbers of the target consecutive numbering interval, respectively; like and Then the starting boundary value of the consecutive numbered interval of the target will be modified to ; like and Then the end boundary value of the consecutive numbered interval of the target will be modified to ; like and Then retain the original interval and modify its ending boundary to At the same time, a new interval is created, with its starting boundary set to Its ending boundary is set to .

5. The high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, The step of filtering at least one available consecutive numbered interval from the available interval pool includes: Access the region configuration database and retrieve the communication protocol version number and encryption algorithm index supported by the corresponding roadside unit based on the target region; Traverse each consecutive numbered interval in the available interval pool, compare the protocol field recorded by the device within the interval with the retrieved communication protocol version number, and verify whether the device's preset key system matches the encryption algorithm index; After removing the mismatched intervals, the remaining intervals form a candidate interval set; A greedy strategy is used to select several available consecutive numbered intervals from the candidate interval set. The sum of the number of sequence numbers contained in each selected interval reaches or exceeds the target outbound quantity for the first time.

6. The high-speed electronic equipment inventory tracking system according to claim 5, characterized in that, The step of selecting several available consecutively numbered intervals from the candidate interval set using a greedy strategy includes: Calculate the difference between the number of sequence numbers contained in each interval of the candidate interval set and the target outbound quantity; If there exists an interval with a sequence number greater than or equal to the target outbound quantity, then the first interval that meets the condition is extracted as the available consecutive number interval according to the principle of minimizing the absolute value of the difference. The specific analysis method for the principle of minimizing the absolute value of the difference is as follows: the candidate interval set is sorted in ascending order by the starting sequence number of the interval. This ordered set is traversed, and the traversal stops when the interval with the smallest absolute difference is encountered for the first time. The interval with the smallest absolute difference encountered for the first time is taken as the available consecutive number interval. If there are multiple intervals with the same absolute difference, the one with the smallest starting sequence number is selected. If no single interval meets the conditions, the candidate interval set is sorted in descending order of sequence number, and the intervals are added in a loop until the cumulative sequence number reaches or exceeds the target outbound quantity for the first time. All intervals involved in the accumulation are then used as available consecutive numbered intervals.

7. A high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, The priority recommendation rules based on region identifier matching include the following: For the selected intervals, group them according to whether the equipment usage identifier and the target usage area identifier within the interval are completely consistent. Consistent groups are arranged before inconsistent groups, and within the same group, they are sorted from largest to smallest interval length. If there are multiple intervals of equal length, they are sorted from earliest to latest by the entry timestamp.

8. A high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, The step of locking the selected range before submitting the outbound order includes: Upon receiving the confirmation instruction, the status field of the selected interval is changed from available to locked reservation, and the user ID of the lock initiator and the lock expiration time stamp are recorded; If an outbound document is formally submitted during the lockout period, it will trigger a range split or range cancellation process, completely removing the occupied number range. If the lock times out or the user cancels confirmation, the status field will be rolled back to available, and the range resources will be released.

9. A high-speed electronic equipment inventory tracking system according to claim 1, characterized in that, Before performing the locking operation on the selected interval before submitting the outbound order, the process also includes interval overlap and conflict detection: Get all the intervals to be locked in the current outbound request, traverse the set of intervals locked by other requests that are being approved, and determine that an interval overlap conflict has occurred when the closed intervals formed by the start number and end number of any two intervals have an intersection. Calculate the number range of the overlapping parts, arbitrate according to the order of initiation time, mark the overlapping parts of the later initiated requests as conflicts, and return a conflict report to the later initiated requests, requesting the reselection of non-overlapping intervals; The outbound locking module is allowed to continue performing locking operations only when no interval overlap conflict occurs.

Citation Information

Patent Citations

  • Purchase-sell-stock management system based on product serial number full-process tracking

    CN112749936A

  • Article delivery method, device and system, storage medium and electronic equipment

    CN114372742A