Method, device, electronic equipment and storage medium for scanning file shelves

By clustering and optimizing the paths of missed locations in unmanned archive storage, cluster center points were determined to optimize the scanning path, thus solving the problem of missed scans and improving the efficiency and accuracy of archive inventory.

CN116502993BActive Publication Date: 2026-11-24SHENJIANG UNIVERSAL DATA INFORMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310290820.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2026-11-24
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

In unmanned archive storage facilities, existing technologies suffer from missed scans, resulting in low archive inventory efficiency. Furthermore, when scanning again, most of the archives have already been scanned, further impacting inventory efficiency.

Method used

By clustering multiple missed scan locations, the cluster center points are determined as path points and inserted into the path point set. Based on these path points, the missing scan path is determined, and the scanning device is controlled to scan the file rack along the path.

Benefits of technology

The scanning path was optimized, which improved the efficiency of the unmanned archive storage system for archive inventory, ensuring that any missed locations could be scanned in one go, thus improving the accuracy and efficiency of the inventory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116502993B_ABST
    Figure CN116502993B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, electronic device, and storage medium for scanning a file shelf. The method includes: controlling a scanning device to scan the file shelf along a first preset path to obtain a first scan result; determining multiple missed scan locations based on the first scan result; clustering the multiple missed scan locations to obtain cluster center points, and inserting the cluster center points as first path points into a first path point set; determining a supplementary scan path based on the first path point set; the supplementary scan path passing through the first path points in the first path point set; and controlling the scanning device to scan the file shelf along the supplementary scan path. Using the technical solution provided by this disclosure, after the initial scan, the algorithm for optimizing the scanning path can be based on the distribution of missed scan locations on the file shelf, effectively improving the file inventory efficiency of an unmanned archive storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of archive storage management technology, and in particular to a method, apparatus, electronic device, and storage medium for scanning archive shelves. Background Technology

[0002] The intelligent unmanned archive storage facility combines automatic control technology, RFID automatic identification technology, and a back-end database management system to achieve real-time monitoring and inventory of archives by scanning archive boxes containing RFID tags.

[0003] Figure 1 This is a front view of the file shelves and scanning equipment in an existing unmanned archive storage facility. Figure 2 This is a side view of file shelves and scanning equipment in an existing unmanned archive storage facility. Figure 1 and Figure 2 As shown, RFID tags are affixed to the files. Figure 1 and Figure 2 (Not shown in the image), the scanning device can identify RFID tags on the files. The scanning device is connected to a gripper arm, which moves along the X and Y axes to move the scanning device and scan the files displayed in different compartments of the file shelf.

[0004] Inventorying files on a specific shelf involves verifying that all files that should be on the shelf are actually there. During the actual scanning process, due to the limited scanning range of the scanning equipment, it's necessary to control the equipment to move along a designated path to scan the entire shelf. However, factors such as the density of RFID tags and the material of the shelf can affect the RFID radio frequency signal, leading to missed scans during a single scan—files on the shelf may not be detected by the RFID scanner. To ensure accuracy, these missed files need to be scanned again. Since these missed files are randomly distributed across the shelf, rescanning the entire shelf would involve re-scanning most already scanned files along the scanning path, impacting inventory efficiency. Summary of the Invention

[0005] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides a method, apparatus, electronic device and storage medium for scanning a file rack.

[0006] In a first aspect, this disclosure provides a method for scanning a filing cabinet, including:

[0007] The scanning device is controlled to scan the file rack along a first preset path to obtain a first scan result;

[0008] Based on the first scan results, multiple missed scan locations were identified;

[0009] Clustering is performed on the multiple missed scan locations to obtain cluster center points, and the cluster center points are used as first path points and inserted into the first path point set;

[0010] Based on the first path point set, a leak detection scanning path is determined; the leak detection scanning path passes through the first path point in the first path point set.

[0011] The scanning device is controlled to scan the file rack along the gap-filling scanning path.

[0012] Secondly, this disclosure also provides an archive inventory device suitable for unmanned archive storage rooms, comprising:

[0013] The initial scanning module is used to control the scanning device to scan the file rack along a first preset path to obtain the first scanning result;

[0014] The missed scan location determination module is used to determine multiple missed scan locations based on the first scan result;

[0015] The clustering module is used to cluster the multiple missed scan locations to obtain cluster center points, and insert the cluster center points as first path points into the first path point set;

[0016] The leak detection scanning path determination module is used to determine a leak detection scanning path based on the first path point set; the leak detection scanning path passes through the first path point in the first path point set.

[0017] The omission scanning module is used to control the scanning device to scan the file rack along the omission scanning path.

[0018] Thirdly, this disclosure also provides an electronic device, including: a processor and a memory;

[0019] The processor executes the steps of any of the above methods by calling programs or instructions stored in memory.

[0020] Fourthly, this disclosure also provides a computer-readable storage medium that stores a program or instructions that cause a computer to perform the steps of any of the above methods.

[0021] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0022] The technical solution provided in this disclosure involves clustering multiple missed scan locations to obtain cluster center points, which are then used as first path points and inserted into a first path point set. Based on the first path point set, a supplementary scanning path is determined. The supplementary scanning path passes through the first path points in the first path point set. The scanning device is controlled to scan the file shelf along the supplementary scanning path. Since the scanning device can scan multiple missed scan locations at once when it is at a cluster center point, the technical solution provided in this disclosure optimizes the scanning path algorithm based on the distribution of missed scan locations on the file shelf after the initial scan, effectively improving the file inventory efficiency of the unmanned file storage system. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a front view of the file shelves and scanning equipment in an existing unmanned archive storage facility.

[0026] Figure 2 A side view of file shelves and scanning equipment in an existing unmanned archive storage facility;

[0027] Figure 3 A flowchart illustrating a method for scanning a filing cabinet, provided as an embodiment of this disclosure;

[0028] Figure 4 A flowchart illustrating another method for scanning a filing cabinet provided in this disclosure embodiment;

[0029] Figure 5 A schematic diagram of a file rack provided in an embodiment of this disclosure;

[0030] Figure 6 A planning result diagram of a first preset path provided in an embodiment of this disclosure;

[0031] Figure 7 A schematic diagram illustrating a clustering result provided in an embodiment of this disclosure;

[0032] Figure 8 A diagram showing the planning result of a gap-filling scanning path provided in an embodiment of this disclosure;

[0033] Figure 9This is a schematic diagram of the structure of a device for scanning a file rack according to an embodiment of this disclosure;

[0034] Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0035] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0036] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0037] Figure 3 This flowchart illustrates a method for scanning a file shelf according to an embodiment of the present disclosure. This method is used for inventorying files within the file shelf. The scanning method can be performed by a device that scans the file shelf, which can be implemented in software and / or hardware and integrated into any computing-capable electronic device, such as a robot used for file management. See also... Figure 3 The method for scanning the filing cabinet includes:

[0038] S110. Control the scanning device to scan the file rack along the first preset path to obtain the first scanning result.

[0039] The purpose of this step is to perform an initial scan of the filing shelf. The first scan results include the specific locations of the identified files on the shelf.

[0040] This disclosure does not limit the shape of the first preset path. In practice, to improve scanning efficiency, the shape of the first preset path can optionally be set to a zigzag path or a meander path, etc. The reason for this setting is that it can cover all grid cells during the initial scan.

[0041] In some embodiments, prior to S110, the method further includes: determining a first preset path.

[0042] There are various methods for “determining the first preset path”, and this disclosure does not limit them. In some embodiments, the method for “determining the first preset path” includes: determining the shape of the first preset path; determining second path points and the order in which the second path points are passed based on the shape of the first preset path; and connecting the second path points based on the order in which the second path points are passed to obtain the first preset path.

[0043] S120. Based on the first scan result, determine multiple missed scan locations.

[0044] Optionally, when performing this step, the first scan result can be compared with the locations of all available files on the file shelf to determine the missed scan locations.

[0045] S130. Cluster the multiple missed scan locations to obtain cluster center points, and insert the cluster center points as the first path points into the first path point set.

[0046] In practice, missed scan locations are randomly distributed. Several missed scan locations may exist within the scanning range of the same scanning point. That is, when the scanning device passes through that scanning point, it can scan all of these missed scan locations at once.

[0047] If the scanning device is at a certain scanning point, it can scan multiple missed locations at once; this scanning point is the cluster center. The first path point is the point that the missing scan path must traverse when determining the subsequent missing scan path. The first path point set is a collection of multiple first path points.

[0048] In this step, the purpose of clustering is to find cluster centers that can scan multiple missed locations at once, and add the cluster centers as first path points to the first path point set to ensure that the subsequent missed scan paths pass through the cluster centers.

[0049] In this step, there are multiple specific implementation methods for "clustering multiple missed scan locations to obtain cluster centers", and this disclosure does not limit this. In one embodiment, the specific implementation method for "clustering multiple missed scan locations to obtain cluster centers" includes: determining candidate locations; among multiple missed scan locations, determining associated locations related to the candidate locations; the distance between the associated locations and the candidate locations is less than or equal to the scanning radius of the scanning device; if the number of associated locations is greater than or equal to a first threshold, the candidate locations are determined as cluster centers.

[0050] The alternative location can be any location on the file shelf. In other words, the alternative location can be a missed scan location, or it can be a location that was not missed scanned. The alternative location can be pre-specified, or it can be estimated based on the distribution of missed scan locations.

[0051] The first threshold number is used to determine whether the candidate location can be determined as the cluster center. This disclosure does not impose any restrictions on the specific value of the first threshold number.

[0052] For example, assuming location A is selected as a candidate location, the distance of each missed scan location from location A is determined. If the distance of a missed scan location from location A is less than or equal to the scanning radius of the scanning device, the missed scan location is determined as an associated location with location A. If the distance of a missed scan location from location A is greater than the scanning radius of the scanning device, the missed scan location is determined as an unrelated location to location A, i.e., it is not considered an associated location with location A. The number of associated locations with location A is counted among all missed scan locations. If the number of associated locations with location A is greater than or equal to a first threshold, location A is determined as the cluster center. If the number of associated locations with location A is less than the first threshold, location A is not determined as the cluster center.

[0053] In other embodiments, optionally, discrete points are identified among multiple missed scan locations, and these discrete points are not associated with any cluster center point; the discrete points are then added as first path points to a first path point set.

[0054] Discrete points refer to locations that the scanning device cannot detect at any cluster center. Since discrete points cannot be detected at any cluster center, they are added to the first path point set to ensure comprehensive coverage of missed areas.

[0055] S140. Based on the first path point set, determine the gap-filling scan path; the gap-filling scan path passes through the first path point in the first path point set.

[0056] There are multiple ways to implement this step, and this disclosure does not limit this approach. For example, the first path points in the first path point set can be randomly connected to obtain the missing scan path.

[0057] In some embodiments, in order to improve the efficiency of the leak detection scan, the implementation method of this step may include: determining the starting point of the leak detection scan path; determining the leak detection scan path based on the starting point of the leak detection scan path and the first path point set, wherein the leak detection scan path is the shortest leak detection scan path that passes through all the first path points in the first path point set.

[0058] This disclosure does not restrict the specific location of the starting point of the missing scan path. Optionally, the starting point of the missing scan path can be a missed scan location or a non-missed scan location. The starting point of the missing scan path can be the first path point in the first path point set, or it can be a different path point from the first path point set.

[0059] Optionally, the starting point of the gap-filling scan path includes: the ending point of the first preset path or the point closest to the edge of the file shelf in the first path point set. The purpose of this setting is to obtain the shortest gap-filling scan path and improve the efficiency of gap-filling scan.

[0060] Furthermore, determining the missing scan path based on the starting point of the missing scan path and the first path point set may include: repeatedly executing the next station determination step until the order in which all first path points in the first path point set are obtained; and determining the missing scan path based on the order in which all first path points in the first path point set are passed.

[0061] Optionally, the next station determination step includes: determining the first path point closest to the previous station in the first path point set; determining the first path point closest to the previous station as the next station; wherein, when the next station determination step is executed for the first time, the previous station is the starting point of the missing scan path; when the next station determination step is executed for the Qth time, the previous station is the next station determined when the next station determination step is executed for the Q-1th time; Q is a positive integer greater than or equal to 2.

[0062] For example, if in S120, five missed scan locations are identified as missed scan location 1, missed scan location 2, missed scan location 3, missed scan location 4, and missed scan location 5, and the starting point of the missing scan path is not one of these five missed scan locations, then during the first execution of the next site determination step, the location closest to the starting point among the five missed scan locations is determined. Assuming missed scan location 3 is closest to the starting point, it is designated as the next site relative to the starting point. That is, the missing scan path must first pass through the starting point and then through missed scan location 3. Next, the next site determination step is executed a second time. During this second execution, the location closest to the starting point among the remaining four missed scan locations (excluding missed scan location 3) is determined. Assuming missed scan location 4 is closest to the starting point, it is designated as the next site relative to missed scan location 3. That is, the missing scan path must first pass through missed scan location 3 and then through missed scan location 4. Then, the next site determination step is executed a third time. This process is repeated to obtain the order in which all the first path points in the first path point set are passed.

[0063] There are various specific implementation methods for "determining the missing scan path based on the order in which all first path points in the first path point set are passed", and this disclosure does not limit this method. In some embodiments, "determining the missing scan path based on the order in which all first path points in the first path point set are passed" includes: connecting each first path point in sequence according to the order in which all first path points in the first path point set are passed to obtain the missing scan path.

[0064] S150, Control the scanning equipment to scan the file rack along the gap-filling scanning path.

[0065] The technical solution provided in this disclosure involves clustering multiple missed scan locations to obtain cluster center points, which are then used as first path points and inserted into a first path point set. Based on the first path point set, a supplementary scanning path is determined. The supplementary scanning path passes through the first path points in the first path point set. The scanning device is controlled to scan the file shelf along the supplementary scanning path. Since the scanning device can scan multiple missed scan locations at once when it is at a cluster center point, the technical solution provided in this disclosure optimizes the scanning path algorithm based on the distribution of missed scan locations on the file shelf after the initial scan, effectively improving the file inventory efficiency of the unmanned file storage system.

[0066] In practice, there may be cases where files are still missed even after a supplementary scan. To address this, Figure 4 A flowchart illustrating another method for scanning a filing cabinet as provided in this disclosure. See also... Figure 4 The method for scanning the filing cabinet includes:

[0067] S210: Control the scanning device to scan the file rack along the first preset path to obtain the first scanning result, and execute S220.

[0068] S220. Based on the previous scan results, identify multiple missed scan locations and execute S230.

[0069] S230. Determine whether the number of missed scan locations is less than or equal to the second threshold number; if not, proceed to S240; if yes, proceed to S270.

[0070] The second threshold number is used to determine whether subsequent fill-in scans are needed. This disclosure does not impose any restrictions on the specific value of the second threshold number.

[0071] S240. Cluster the multiple missed scan locations to obtain cluster center points, use the cluster center points as first path points, insert them into the first path point set, and execute S250.

[0072] S250. Based on the first path point set, determine the missing scan path; the missing scan path passes through the points in the first path point set, then execute S260.

[0073] S260, Control the scanning device to scan the file rack along the gap-filling scanning path, and execute S270.

[0074] S260, End.

[0075] The purpose of this setup is to ensure the accuracy of the final inventory results by performing multiple fill-in scans.

[0076] The following will illustrate this with specific examples.

[0077] Figure 5This is a schematic diagram of a file rack provided in an embodiment of this disclosure. When it is necessary to... Figure 5 When taking inventory of the file shelves, firstly, for Figure 5 Establish a coordinate system for the file shelves. Figure 5 In a file shelf, layers divide the shelf horizontally, with layer numbers increasing from bottom to top; columns divide the shelf vertically, with column numbers increasing from left to right; and cells are subdivided spaces within a layer and column, with cell numbers increasing from left to right. Each cell holds only one file. According to this system, any file in a file shelf can be identified by its layer number, section number, and cell number. Assume a file shelf has n layers and m columns, and the i-th layer and j-th column has k cells, where 1 ≤ i ≤ n, 1 ≤ j ≤ m, and i, j, k, n, and m are all positive integers. Using the lower left corner of the file shelf as the origin of a rectangular coordinate system, a coordinate system describing the spatial location of the files can be established. The center point of a file is taken as its location on the file shelf, denoted as P. i,j,g , indicating that the file is located in the i-th layer, j-th column, g-th cell, 1≤g≤k, and g is a positive integer. P i,j,g (X) is P i,j,g The X-axis coordinate value of the file, P i,j,g (Y) is P i,j,g The Y-axis coordinate value of the file.

[0078] The first preset path is determined to be a zigzag shape. Since zigzag scanning uses a reciprocating scanning method, the number of reciprocating scans needs to be determined based on the coverage area of ​​the file rack on the Y-axis and the scanning radius of the RFID scanning device. Additionally, the scanning starting point needs to be determined. Next, based on the scanning starting point and the zigzag path, each scanning path point is determined. Then, according to the order in which the zigzag path is traversed, each scanning path point is inserted into the second path point set L1. The scanning device moves according to the order in which the path points in the second path point set L1 are inserted, completing the initial scan.

[0079] Specifically, using N = |P 1,1,1 (Y)-P n,1,1 (Y)|mod R, calculates the number of reciprocating cycles N of the scanning device, where "mod" indicates the remainder.

[0080] (P) 1,1,1 (X),P 1,1,1 (Y)+R / 2) is used as the starting point of the first preset path and inserted into the second path point set L1. A variable X is set, and values ​​from 1 to N-1 are assigned to X sequentially. If X is odd, first (P) 1,m,k (X),(P 1,1,1 (Y)+R / 2)+(x-1)*R) is inserted into the second path point set L1, and then (P1,m,k(X),(P1,1,1 (Y)+R / 2)+x*R) is inserted into the second path point set L1. If X is even, first insert (P) into the path point set L1. 1,1,1 (X),(P 1,1,1 (Y)+R / 2)+(x-1)*R) is inserted into the second path point set L1, and then (P 1,1,1 (X),(P 1,1,1 Insert (Y)+R / 2)+x*R) into the second path point set L1. Assign N to X. If N is odd, then (P 1,1,1 (X),(P 1,1,1 (Y)+R / 2)+N*R) is inserted into the second path point set L1 as the endpoint. If N is even, (P) 1,m,k (X),(P 1,1,1 (Y)+R / 2)+N*R) is inserted into the second path point set L1 as the endpoint.

[0081] Where R is the scanning radius of the RFID scanning device. Figure 6 This is a planning result diagram of a first preset path provided in an embodiment of this disclosure. The first preset path obtained using the above method is as follows: Figure 6 As shown.

[0082] After the initial scan, missed scan locations can be identified. These missed scan locations are then clustered. Let U represent the set of missed scan locations. R is the scanning radius of the RFID scanner. MinPt is a first threshold value used to determine how many candidate locations to use as cluster centers. In this example, MinPt is 1 / 10 of the number of grid cells that the RFID scanner can scan when its position is fixed. Covered represents the missed scan locations that can be scanned by the scanner when it is at a cluster center. Temp represents the set of temporary locations, and L2 represents the first path point set, i.e., the first path point set obtained based on S130.

[0083] When determining the first path point set L2, multiple candidate locations are first identified. Then, for each candidate location, it is determined whether it can serve as a cluster center.

[0084] In one example, the method for determining whether a candidate location can be used as a cluster center includes: assuming the candidate location is (P... x,y,z (X), P x,y,z (Y)) , and repeat the associated location determination step until all the missed scan locations in the missed scan location set U are traversed. Then, based on the number of associated locations obtained, determine whether the candidate location can be used as a cluster center point.

[0085] The steps for determining the associated location include: calculating the missed scan locations (P) in the missed scan location set U. x’,y’,z’(X), P x’,y’,z’ (Y)) and (P) x,y,z (X), P x,y,z Is the Euclidean distance of (Y) less than or equal to R? If (P) x’,y’,z’ (X), P x’,y’,z’ (Y)) and (P) x,y,z (X), P x,y,z The Euclidean distance (Y) is less than or equal to R, meaning that when the scanning device is in (P) x,y,z (X), P x,y,z When (Y) is detected, the missed scan position (P) can be detected. x’,y’,z’ (X), P x’,y’,z’ (Y)). (P) x’,y’,z’ (X), P x’,y’,z’ (Y) is added to the Temp location set Temp.

[0086] After traversing all the missed scan locations in the missed scan location set U, calculate all the AND values ​​stored in the temporary location set Temp with respect to (P). x,y,z (X), P x,y,z The number of associated locations (Y) is determined. It checks if the number of associated locations stored in the temporary location set Temp is greater than or equal to MinPts. If the number of associated locations stored in the temporary location set Temp is greater than or equal to MinPts, then (P) is considered associated. x,y,z (X), P x,y,z (Y) is determined as the cluster center. The associated locations stored in the temporary location set Temp, along with (P) x,y,z (X), P x,y,z (Y) is stored in Covered, and then the temporary location set Temp is cleared. If the number of associated locations stored in the temporary location set Temp is less than MinPts, (P) is not cleared. x,y,z (X), P x,y,z If (Y) is determined to be the cluster center, the temporary location set Temp is immediately cleared. The purpose of clearing the temporary location set Temp is to allow the Temp set to be reused when determining whether different candidate locations can serve as cluster centers.

[0087] Figure 7 This is a schematic diagram illustrating a clustering result provided in an embodiment of this disclosure. The clustering result obtained using the above method is as follows: Figure 7 As shown.

[0088] After determining whether all candidate locations can serve as cluster centers, the locations in Covered are compared with the missed locations obtained after the first scan to identify the missed locations not covered by Covered. These missed locations are then used as discrete points.

[0089] All cluster centers and discrete points are treated as first path points and added to the first path point set L2.

[0090] Define L2 as the first path point set, which is the first path point set obtained from S130. S is the sequential storage set of the first path points. Last is a variable used to store the path point last inserted into S. Before determining the order in which the first path points in the first path point set L2 are traversed, S is an empty set. Last is not assigned a value. When determining the order in which the first path points in the first path point set L are traversed, first set (P... n,1,1 (X),P n,1,1 (Y) is inserted into S as the starting point of the missing scan path. The missing scan positions in the first path point set L2 are sequentially assigned to Last, and (P) is calculated. n,1,1 (X),P n,1,1 Calculate the Euclidean distance from (Y) to each Last and record the results. Among all the calculation results, determine the distance (P) n,1,1 (X),P n,1,1 The first path point with the smallest Euclidean distance from (Y) is selected and inserted into S as the next station (i.e., the second station). The second station inserted into S is then removed from L2. Next, each missed scan position in the first path point set L2 is assigned to Last in sequence, and the Euclidean distance from the second station to each Last is calculated and the results are recorded. Among all the calculation results, the first path point with the smallest Euclidean distance from the second station is determined and inserted into S as the next station (i.e., the third station). The third station inserted into S is then removed from L2. This process is repeated until L2 becomes an empty set and S includes all missed scan positions in the original L.

[0091] Subsequently, the first path points in S are connected sequentially according to their insertion order to obtain the missing scan path. Figure 8 This diagram illustrates the planning result of a gap-filling scan path provided in an embodiment of this disclosure. The gap-filling scan path obtained using the above method is shown below. Figure 8 As shown.

[0092] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0093] Figure 9This is a schematic diagram of the structure of a device for scanning a file rack according to an embodiment of this disclosure, as shown below. Figure 9 As shown, the device includes:

[0094] The initial scanning module 310 is used to control the scanning device to scan the file rack along a first preset path to obtain a first scanning result;

[0095] The missed scan location determination module 320 is used to determine multiple missed scan locations based on the first scan result;

[0096] Clustering module 330 is used to cluster the multiple missed scan locations to obtain cluster center points, and insert the cluster center points as first path points into the first path point set;

[0097] The leak detection scanning path determination module 340 is used to determine a leak detection scanning path based on the first path point set; the leak detection scanning path passes through the first path point in the first path point set.

[0098] The omission scanning module 350 is used to control the scanning device to scan the file rack along the omission scanning path.

[0099] Furthermore, clustering module 330 is used for:

[0100] Identify alternative locations;

[0101] Among the multiple missed scan locations, an associated location is determined that is related to the candidate location; the distance between the associated location and the candidate location is less than or equal to the scanning radius of the scanning device.

[0102] If the number of associated locations is greater than or equal to the first threshold, the candidate location is determined as the cluster center.

[0103] Furthermore, the device also includes a discrete point determination module, which is used for:

[0104] Among the multiple missed scan locations, discrete points are determined, which are not associated with any of the cluster center points;

[0105] The discrete points are added to the first path point set as first path points.

[0106] Furthermore, the missing scan path determination module is also used for:

[0107] Determine the starting point of the gap-filling scan path;

[0108] Based on the starting point of the leak detection scanning path and the first path point set, a leak detection scanning path is determined. The leak detection scanning path is the shortest leak detection scanning path that passes through all the first path points in the first path point set.

[0109] Furthermore, the missing scan path determination module is also used for:

[0110] Repeat the next station determination step until the order in which all first path points in the first path point set are obtained is obtained.

[0111] The missing scan path is determined based on the order in which all first path points in the first path point set are passed.

[0112] Furthermore, the next station determination step includes:

[0113] In the first set of path points, determine the first path point that is closest to the previous station;

[0114] The first path point that is closest to the previous station is determined as the next station;

[0115] Specifically, when the next station determination step is executed for the first time, the previous station is the starting point of the leak detection scan path; when the next station determination step is executed for the Qth time, the previous station is the next station determined when the next station determination step is executed for the Q-1th time; Q is a positive integer greater than or equal to 2.

[0116] Furthermore, the starting point of the leak detection path includes:

[0117] The endpoint of the first preset path or the point in the first path point set closest to the edge of the file shelf.

[0118] The apparatus disclosed in the above embodiments can implement the process flow of the methods disclosed in the above method embodiments and has the same or corresponding beneficial effects. To avoid repetition, it will not be described again here.

[0119] Figure 10 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this disclosure, such as... Figure 10 As shown, the electronic device includes:

[0120] One or more processors 301, Figure 10 Taking processor 301 as an example;

[0121] Memory 302;

[0122] The electronic device may further include an input device 303 and an output device 304.

[0123] The processor 301, memory 302, input device 303, and output device 304 in the electronic device can be connected via a bus or other means. Figure 10 Taking the example of a connection between China and Israel via a bus.

[0124] The memory 302, as a non-transitory computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for scanning the file shelf in this embodiment of the present disclosure. The processor 301 executes various functional applications and data processing of the server by running the software programs, instructions, and modules stored in the memory 302, thereby implementing the method for scanning the file shelf described in the above embodiment.

[0125] The memory 302 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 302 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 302 may optionally include memory remotely located relative to the processor 301, and these remote memories can be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0126] Input device 303 can be used to receive input digital or character information, and to generate signal inputs related to user settings and function control of the electronic device. Output device 304 may include display devices such as a display screen.

[0127] This disclosure also provides a computer-readable storage medium storing a program or instructions that, when executed by a computer, perform a method for scanning a filing cabinet, the method comprising:

[0128] The scanning device is controlled to scan the file rack along a first preset path to obtain a first scan result;

[0129] Based on the first scan results, multiple missed scan locations were identified;

[0130] Clustering is performed on the multiple missed scan locations to obtain cluster center points, and the cluster center points are used as first path points and inserted into the first path point set;

[0131] Based on the first path point set, a leak detection scanning path is determined; the leak detection scanning path passes through the first path point in the first path point set.

[0132] The scanning device is controlled to scan the file rack along the gap-filling scanning path.

[0133] Optionally, when executed by a computer processor, the computer-executable instructions can also be used to perform the technical solution of scanning the file rack provided in any embodiment of this disclosure.

[0134] Based on the above description of the implementation methods, those skilled in the art will clearly understand that this disclosure can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.

[0135] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0136] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for scanning a filing cabinet, characterized in that, include: The scanning device is controlled to scan the file rack along a first preset path to obtain a first scan result; Based on the first scan results, multiple missed scan locations were identified; Clustering is performed on the multiple missed scan locations to obtain cluster center points, and the cluster center points are used as first path points and inserted into the first path point set; Among the multiple missed scan locations, discrete points are determined, which are not associated with any of the cluster center points; The discrete points are added to the first path point set as first path points; Based on the first path point set, a leak detection scanning path is determined; the leak detection scanning path passes through the first path point in the first path point set. Control the scanning device to scan the file rack along the fill-in scan path; The process of clustering the multiple missed scan locations to obtain cluster center points includes: Identify alternative locations; Among the multiple missed scan locations, an associated location is determined that is related to the candidate location; the distance between the associated location and the candidate location is less than or equal to the scanning radius of the scanning device. If the number of associated locations is greater than or equal to the first threshold, the candidate location is determined as the cluster center point; The step of determining the missing scan path based on the first path point set includes: Determine the starting point of the gap-filling scan path; Based on the starting point of the leak detection scanning path and the first path point set, a leak detection scanning path is determined. The leak detection scanning path is the shortest leak detection scanning path that passes through all the first path points in the first path point set.

2. The method according to claim 1, characterized in that, The step of determining the leak detection path based on the starting point of the leak detection path and the first path point set includes: Repeat the next station determination step until the order in which all first path points in the first path point set are obtained is obtained. The missing scan path is determined based on the order in which all first path points in the first path point set are passed.

3. The method according to claim 2, characterized in that, The next station determination step includes: In the first set of path points, determine the first path point that is closest to the previous station; The first path point that is closest to the previous station is determined as the next station; Specifically, when the next station determination step is executed for the first time, the previous station is the starting point of the leak detection scan path; when the next station determination step is executed for the Qth time, the previous station is the next station determined when the next station determination step is executed for the Q-1th time; Q is a positive integer greater than or equal to 2.

4. The method according to claim 1, characterized in that, The starting point of the leak detection scan path includes: The endpoint of the first preset path or the point in the first path point set closest to the edge of the file shelf.

5. An apparatus for scanning a filing cabinet, used to perform the steps of the method as described in any one of claims 1 to 4, characterized in that, include: The initial scanning module is used to control the scanning device to scan the file rack along a first preset path to obtain the first scanning result; The missed scan location determination module is used to determine multiple missed scan locations based on the first scan result; The clustering module is used to cluster the multiple missed scan locations to obtain cluster center points, and insert the cluster center points as first path points into the first path point set; Among the multiple missed scan locations, discrete points are determined, which are not associated with any of the cluster center points; The discrete points are added to the first path point set as first path points; The leak detection scanning path determination module is used to determine a leak detection scanning path based on the first path point set; the leak detection scanning path passes through the first path point in the first path point set. The omission scanning module is used to control the scanning device to scan the file rack along the omission scanning path.

6. An electronic device, characterized in that, include: Processor and memory; The processor executes the steps of the method as described in any one of claims 1 to 4 by invoking programs or instructions stored in the memory.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions that cause a computer to perform the steps of the method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Robot cleaning path planning method and chip

    CN107368079A

  • Method and device for generating operation path of unmanned vehicle

    CN114565197A