Article classification storage method, system, and storage medium
By collecting horizontal and vertical projection information of items and using infrared light devices to determine the shape and size of the items, the problem of inaccurate storage location of irregular items is solved, and automated management of items is realized.
Patent Information
- Application Number
- CN202210512380.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-05-12
AI Technical Summary
In existing technologies, the shape and size of items are not accurately obtained, especially for irregular items, which leads to inaccurate determination of storage locations and affects the efficiency of item management and storage.
By collecting the horizontal and vertical projection information of the items to be stored, the actual shape and size of the items are determined using infrared light transmitting and receiving devices, and the storage location is bound together with the identity information.
Accurately obtaining the actual shape and size of items improves the matching accuracy of item storage locations and automates item receiving and inventory management.
Smart Images

Figure CN114897960B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of article storage technology, and in particular to an article classification and storage method, system and storage medium. Background Technology
[0002] Intelligent logistics and warehousing technologies enable the classification, storage, and refined management of goods, achieving intelligent processes for receiving, storing, sorting, and retrieving goods. One key requirement for goods storage is the ability to store items in different sized locations based on their shape and size, and to associate each storage location with its identification information for easy retrieval by automated or semi-automated equipment. Current technologies typically use image recognition to obtain the shape and size of items. This involves capturing images of the item from specific angles using a camera, identifying the shape and size based on these images, and determining the corresponding storage location based on the acquired shape and size parameters. However, this approach is costly to obtain accurate shape and size information. Furthermore, for irregularly shaped items, the limited image angles mean that the obtained shape and size information may not accurately reflect the item's true shape and size.
[0003] There is currently no effective solution to the problem of inaccurate acquisition of object shape and size in related technologies. Summary of the Invention
[0004] This embodiment provides a method, system, and storage medium for classifying and storing items to solve the problem of inaccurate acquisition of item shape and size in related technologies.
[0005] Firstly, this embodiment provides a method for classifying and storing items, applied to an item measurement system, the method comprising:
[0006] Collect the identity information and horizontal projection information of the items to be stored; and
[0007] Collect the vertical projection information of the item to be stored;
[0008] The storage location of the item to be stored is determined based on the horizontal and vertical projection information, and the identity information is bound to the storage location.
[0009] In some embodiments, the item measurement system includes a light emitting device and a light receiving device arranged parallel to both sides of the item to be stored. The light emitting device includes a plurality of infrared light emitting ends arranged in a matrix, and the light receiving device includes a plurality of infrared light receiving ends arranged in a matrix. Acquiring the vertical projection information of the item to be stored includes:
[0010] Receives the optical signal emitted by the infrared light emitting end and converts it into a corresponding electrical signal;
[0011] The vertical projection area of the item to be stored is determined based on the electrical signal;
[0012] The vertical projection information of the item to be stored is obtained based on the vertical projection area.
[0013] In some embodiments, determining the vertical projection area of the item to be stored based on the electrical signal includes:
[0014] The column boundary points of the infrared light receiver matrix are obtained based on the voltage value of the infrared light receiver; and
[0015] The row boundary points of the infrared light receiver matrix are obtained based on the voltage value of the infrared light receiver.
[0016] Obtain the area enclosed by the row dividing point and the column dividing point. The row dividing point, the column dividing point, and the enclosed area constitute the vertical projection area of the item to be stored.
[0017] In some embodiments, obtaining the column boundary points of the infrared light receiver matrix based on the voltage value of the infrared light receiver includes:
[0018] Using the position of any infrared light receiver in the matrix as the center point, obtain the first voltage value and the second voltage value corresponding to two infrared light receivers that are adjacent to the center point in the column direction.
[0019] Obtain the voltage difference between the first voltage value and the second voltage value, and the maximum value between the first voltage value and the second voltage value;
[0020] If the ratio of the voltage difference to the maximum value is greater than a set threshold, then the center point is determined as the column boundary point.
[0021] In some embodiments, collecting the identity information and horizontal projection information of the item to be stored includes:
[0022] Scan the QR code of the item to be stored to obtain the item's identity information;
[0023] Acquire a horizontal projection image of the item to be stored;
[0024] Image recognition is performed on the horizontal projection image to obtain the horizontal projection information of the item to be stored.
[0025] In some embodiments, the items to be stored include multiple samples arranged in an array, and scanning the QR code of the items to be stored to obtain their identity information includes:
[0026] Scan the QR code of the item to be stored to obtain the item's identity information;
[0027] Scan the QR code and location code of the sample to obtain the sample's identity information and its location information in the items to be stored;
[0028] The identity information of the sample and the location information of the sample in the items to be stored are bound to the identity information of the items to be stored.
[0029] In some embodiments, determining the storage location of the item to be stored based on the horizontal projection information and the vertical projection information includes:
[0030] The length and width of the item to be stored are determined based on the horizontal projection information;
[0031] The pallet size corresponding to the items to be stored is determined based on the length and width.
[0032] The height of the item to be stored is determined based on the vertical projection information;
[0033] The storage location of the items to be stored is determined based on the tray size and the height.
[0034] Secondly, this embodiment provides an item classification and storage system applied to an item measurement system, the item classification and storage system comprising:
[0035] The first acquisition module is used to collect the identity information and horizontal projection information of the items to be stored.
[0036] The second acquisition module is used to acquire the vertical projection information of the item to be stored;
[0037] The first determining module is used to determine the storage location of the item to be stored based on the horizontal projection information and the vertical projection information, and to bind the identity information to the storage location.
[0038] In some embodiments, the item measurement system includes a light emitting device and a light receiving device arranged parallel to both sides of the item to be stored. The light emitting device includes a plurality of infrared light emitting ends arranged in a matrix, and the light receiving device includes a plurality of infrared light receiving ends arranged in a matrix. The second acquisition module includes:
[0039] The conversion module is used to receive the optical signal emitted by the infrared light emitting end and convert it into a corresponding electrical signal;
[0040] The second determining module is used to determine the vertical projection area of the item to be stored based on the electrical signal;
[0041] The acquisition module is used to acquire the vertical projection information of the item to be stored based on the vertical projection area.
[0042] Thirdly, this embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the item classification and storage method described in the first aspect above.
[0043] Compared with related technologies, the item classification and storage method provided in this embodiment obtains the shape and size of the horizontal and vertical projections of the items to be stored by collecting the horizontal and vertical projection information of the items to be stored respectively. Based on the shape and size of the horizontal and vertical projections, the actual shape and size information of the items to be stored is obtained. Based on the actual shape and size information, the storage location of the items to be stored is determined, and the collected identity information is bound to the storage location. This solves the problem of inaccurate collection of shape and size information of irregularly shaped items in related technologies.
[0044] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0045] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0046] Figure 1 This is a hardware structure block diagram of the terminal of the item classification and storage method according to an embodiment of this application;
[0047] Figure 2 This is a flowchart of an embodiment of the article classification and storage method of this application;
[0048] Figure 3 This is a schematic diagram showing the positions of the light emitting device and the light receiving device according to an embodiment of this application;
[0049] Figure 4 This is a flowchart illustrating the process of collecting vertical projection information of an item to be stored, according to an embodiment of this application.
[0050] Figure 5 This is a flowchart illustrating the determination of the vertical projection area of the item to be stored, according to an embodiment of this application.
[0051] Figure 6 This is a schematic diagram of the matrix coordinates of the infrared light receiver in an embodiment of this application;
[0052] Figure 7 This is a flowchart illustrating the process of obtaining column boundary points based on the voltage value of the infrared light receiver, according to an embodiment of this application.
[0053] Figure 8 This is a flowchart of a preferred embodiment of the article classification and storage method of this application;
[0054] Figure 9 This is a structural block diagram of the item classification and storage system according to an embodiment of this application. Detailed Implementation
[0055] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0056] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: A alone, A and B simultaneously, and B alone. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.
[0057] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of the terminal for the item classification and storage method in this embodiment. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.
[0058] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the item classification and storage method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal 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.
[0059] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0060] For scenarios involving logistics, warehousing, and various laboratories with storage needs for large quantities and diverse categories of items, items are typically categorized before being stored. Based on their structural dimensions, items are grouped into storage locations of different sizes to facilitate management, retrieval, and save storage space. This is especially important for laboratory items, which often include samples of various sizes, consumables, reagents, chemicals, and hazardous materials. It is crucial to link the item's identification information, such as name, category, batch number, and expiration date, to the storage space to prevent loss, misplacement, or misuse, which could lead to serious consequences.
[0061] This embodiment provides a method for classifying and storing items. Figure 2 This is a flowchart of the item classification and storage method in this embodiment, such as... Figure 2 As shown, the process includes the following steps:
[0062] Step S201: Collect the identity information and horizontal projection information of the items to be stored.
[0063] The identification information of items to be stored can include the item's ID, name, category, batch, etc. It is usually entered into the item information system before storage and can be collected by scanning QR codes, labels, etc. on the surface of the item.
[0064] The horizontal projection information of an item includes the shape and size of its projection onto a horizontal plane. If the item has an irregular shape, determining its actual size solely based on its end face dimensions is likely to yield inaccurate information. This could lead to storage space limitations, potential compression or deformation of the item during storage. By acquiring horizontal projection information, the true external dimensions of the item in all directions except height can be obtained.
[0065] Horizontal projection information can be acquired by emitting visible or infrared light signals from above or below an object, obtaining a horizontal projection on the other side of the object composed of light signals obscured by the object, and then identifying the different brightness levels of the light signals in this horizontal projection, or by converting the light signals into electrical signals and identifying them. Identification can be achieved using photosensitive devices, electrical signal processing devices, or image recognition technology. The size of this horizontal projection can be the same as the size of the object itself, or it can be obtained by scaling it up and calculating to reconstruct the true size of the object.
[0066] Step S202: Collect the vertical projection information of the item to be stored.
[0067] The method for collecting vertical projection information can be similar to that for collecting horizontal projection information. Based on the vertical projection information, the true outer contour dimensions of the object in the height direction can be obtained. The order of steps S201 and S202 can be interchanged.
[0068] Step S203: Determine the storage location of the item to be stored based on the horizontal projection information and the vertical projection information, and bind the identity information to the storage location.
[0069] After obtaining the horizontal and vertical projection information, the maximum length, width, and height of the object's outer contour can be obtained directly based on the horizontal and vertical projection information. Storage locations can be allocated based on these maximum values. Alternatively, the horizontal projection area of the object can be integrated based on the shape and size of the vertical projection to obtain a fully filled object. A suitable storage location can be allocated for the object based on the size of the fully filled object, and the object's identity information can be bound to the storage location for storage.
[0070] Through the above steps S201 to S203, by collecting the horizontal and vertical projection information of the item to be stored, the shape and size of the horizontal and vertical projections of the item to be stored are obtained. Based on the shape and size of the horizontal and vertical projections, the actual shape and size information of the item to be stored is obtained. Based on the actual shape and size information, the storage location of the item to be stored is determined, and the collected identity information is bound to the storage location. This solves the problem of inaccurate collection of shape and size information of irregularly shaped items in related technologies. Based on the actual shape and size information of the item, a suitable storage location is matched, and the item identity information is bound to the storage location, thereby realizing the automation of item entry and inventory management.
[0071] In some embodiments, the item measurement system includes a light emitting device 31 and a light receiving device 32 arranged parallel to each other on both sides of the item to be stored, which are used to collect vertical projection information of the item to be stored. Figure 3 This is a schematic diagram showing the positions of the light emitting device 31 and the light receiving device 32 in this embodiment, as shown below. Figure 3 As shown, the light emitting device 31 includes a plurality of infrared light emitting ends 33 arranged in a matrix, and the light receiving device includes a plurality of infrared light receiving ends 34 arranged in a matrix. When the light emitting device 31 emits infrared light, the plurality of infrared light emitting ends 33 simultaneously emit infrared light, and the infrared light receiving ends 34 at corresponding positions can receive the infrared light. When the infrared light at a certain position is blocked by the item to be stored, the infrared light receiving end 34 at the corresponding position may not receive the infrared light, or the intensity of the received infrared light may be weak. Therefore, the vertical projection information of the item to be stored can be determined based on infrared light signals of different intensities.
[0072] When placing items to be stored, they can be placed close to the infrared light receiver 34. When the items to be stored are close to the infrared light receiver, the effect of diffuse reflection of infrared light on the receiver can be effectively reduced, and the angle at which the light emitted from the infrared light emitter reaches the items to be stored can be more gradual, reducing the reflection of infrared light on the surface of the items to be stored.
[0073] Figure 4 This is a flowchart of the process for collecting the vertical projection information of the item to be stored in this embodiment, as shown below. Figure 4As shown, the process includes the following steps:
[0074] Step S401: Receive the optical signal emitted by the infrared light transmitter and convert it into a corresponding electrical signal.
[0075] Each infrared receiver in the matrix arrangement receives an infrared light signal and converts it into a corresponding electrical signal. This electrical signal can be either voltage or current, and its amplitude corresponds to the intensity of the received infrared light. The intensity of the infrared light received by the receiver is affected by various factors, including whether the location is blocked by the item to be stored, scattering of the light signal during transmission, and diffuse reflection after the light shines on the item. The infrared receiver converts the received infrared light signal into an electrical signal based on its intensity; the higher the intensity of the infrared light signal, the higher the amplitude of the electrical signal.
[0076] Step S402: Determine the vertical projection area of the item to be stored based on the electrical signal.
[0077] Due to the obstruction of the items to be stored, the infrared light signal received at some points in the matrix of the light receiving device is weak, resulting in a lower corresponding electrical signal amplitude. Therefore, it can be determined whether a point is obstructed based on the electrical signal amplitude of each infrared light receiver in the matrix. The determination can be based on a pre-set voltage or current threshold, or other algorithms, to determine whether the point where each infrared light receiver is located is an obstruction area of the items to be stored. Then, the set of points where the infrared light receivers are obstructed is determined as the vertical projection area of the items to be stored.
[0078] Step S403: Obtain the vertical projection information of the item to be stored based on the vertical projection area.
[0079] The vertical projection area can be a regular geometric shape such as a rectangle or circle, or an irregular arbitrary shape. Based on this vertical projection area, the outline shape of the vertical projection and the specific dimensions of each part of the shape are obtained, thus acquiring the vertical projection information of the item to be stored.
[0080] Through the above steps S401 to S403, the light signal received by the infrared light receiver is converted into an electrical signal, and the amplitude of the electrical signal is used to determine whether the location of each infrared light receiver belongs to the occlusion area of the item to be stored. The set of points belonging to the occlusion area of the item to be stored is determined as the vertical projection area of the item to be stored, and the outline shape and size of the vertical projection are obtained. This provides an implementation method for obtaining vertical projection information. Compared with the image recognition method in the prior art, this method has a lower cost and the obtained vertical projection information more comprehensively reflects the shape and size of the item.
[0081] In some embodiments, a method relates to determining the vertical projection area of an item to be stored by means of an electrical signal. Figure 5 This is a flowchart illustrating the determination of the vertical projection area of the item to be stored in this embodiment, as shown below. Figure 5 As shown, the process includes the following steps:
[0082] Step S501: Obtain the column boundary points of the infrared light receiver matrix based on the voltage value of the infrared light receiver.
[0083] Row or column boundary points define the boundaries of the entire vertical projection area. It's necessary to determine whether each point in the matrix is a row or column boundary point, and then determine the shape and size of the vertical projection area based on the location of each row or column boundary point. Specifically, the column boundary point is the dividing point between the occluded and unoccluded areas along the column direction of the infrared light receiving matrix.
[0084] like Figure 6 As shown, Figure 6 This is a schematic diagram of the matrix coordinates of the infrared light receiver in this embodiment. Figure 6 The matrix in the diagram is 9x9, but the actual number of rows and columns can be set as needed. The rows of the infrared receiver matrix are identified by (a, b, c, ..., i, ...), and the columns by (1, 2, 3, ..., n, ...). Column boundaries can be further divided into upper and lower boundaries. The upper boundary corresponds to the upper boundary of the outline of the item to be stored, and the lower boundary corresponds to the lower boundary of the outline of the item to be stored. For example... Figure 6 As shown, assuming the point with coordinates (f, 3) is the lower dividing point, the coordinates of the adjacent point below it are (e, 3), and the coordinates of the adjacent point above it are (g, 3). If determined by voltage, the voltage at the adjacent point (e, 3) below the lower dividing point should be greater than that at the adjacent point (g, 3) above it. The upper dividing point is the opposite.
[0085] Due to the diffuse reflection of infrared light, the voltage value at the column boundary may fall between the voltage values of the blocked and unblocked areas. The criteria for determining the column boundary can be the voltage value of the point itself, the voltage value of adjacent points, or the voltage difference between adjacent points.
[0086] Step S502: Obtain the row boundary points of the infrared light receiver matrix based on the voltage value of the infrared light receiver.
[0087] Similar to the method for obtaining column boundaries, row boundaries can also be obtained based on the voltage value of the point itself, the voltage value of adjacent points, or the voltage difference between adjacent points. Row boundaries can be divided into left and right boundaries. Similarly, the voltage of the adjacent point to the left of the left boundary should be greater than the voltage of the adjacent point to the right, and vice versa for the right boundary. The order of steps S501 and S502 can be interchanged.
[0088] Step S503: Obtain the area enclosed by the row dividing point and the column dividing point. The row dividing point, the column dividing point, and the enclosed area constitute the vertical projection area of the item to be stored.
[0089] Each point in the infrared light receiver matrix is analyzed to determine whether it is a row or column boundary. Points identified as row or column boundaries are then enclosed to form an area, which also includes the points where the row and column boundaries are located. This area constitutes the vertical projection area of the item to be stored.
[0090] Through the above steps S501 to S503, by obtaining the row and column boundary points of the infrared light receiving matrix, and based on the location of the row and column boundary points and the enclosed area, the vertical projection area of the item to be stored is obtained, providing an implementation method for determining the vertical projection area of the item to be stored.
[0091] In some embodiments, a specific method relates to obtaining column boundary points of an infrared light receiver matrix based on the voltage value of the infrared light receiver. Figure 7 This is a flowchart of the process for obtaining column boundary points based on the voltage value of the infrared light receiver in this embodiment, as follows: Figure 7 As shown, the process includes the following steps:
[0092] Step S701: Using the position of any infrared light receiver in the matrix as the center point, obtain the first voltage value and the second voltage value corresponding to the two infrared light receivers adjacent to the center point in the column direction.
[0093] During infrared light propagation, scattering in the air and diffuse reflection caused by the roughness of the surface of the transmitter, receiver, and the stored item result in variations in the intensity of infrared light received at different locations. The voltage value at the column boundary point may be close to the voltage value of the obstructed area, close to the voltage value of the unobstructed area, or differ from both. Considering the influence of different power supply voltages or different lighting environments, a fixed threshold can be used instead of a fixed threshold to determine the column boundary point. Instead, the determination can be based on the voltage values of two adjacent points above and below the column. For example, Figure 6 Using the point with coordinates (f, 3) as the center point, the first voltage value of 2.1V and the second voltage value of 0.5V at the two points (e, 3) and (g, 3) are obtained.
[0094] Step S702: Obtain the voltage difference between the first voltage value and the second voltage value, and the maximum value between the first voltage value and the second voltage value;
[0095] Taking the example in step S701 as an example, the voltage difference between the first voltage value and the second voltage value is 1.6V, and the maximum value between the first voltage value and the second voltage value is 2.1V.
[0096] Step S703: If the ratio of the voltage difference to the maximum value is greater than the set threshold, then the center point is determined as the column boundary point.
[0097] If the ratio of the voltage difference to the maximum value is greater than a set threshold, such as 0.6, then the center point is determined as the column boundary point. In the example above, the ratio is 0.76, which is greater than 0.6, therefore the point with coordinates (f, 3) is the column boundary point. The value of the set threshold can be determined based on the actual test conditions.
[0098] In some cases, two column boundary points may be adjacent in the column direction. In this situation, one of the column boundary points can be determined as the column boundary point for the item to be stored, based on whether it is the upper or lower boundary point. For example, Figure 6 In the third column, the points with coordinates (f, 3) and (e, 3) are both column boundary points. We can then determine whether (f, 3) and (e, 3) are the upper or lower boundary points. For example, if we determine that (f, 3) and (e, 3) are the lower boundary points, we can choose the point with the larger coordinate value as the column boundary point, i.e., (f, 3), to make the size of the vertically projected area more accurate.
[0099] Through the above steps S701 to S703, by obtaining the voltage values of two adjacent points in the column direction of any infrared light receiver in the matrix, and comparing the difference of the voltage values with the maximum value, when the ratio is greater than a set threshold, the point is determined as the column boundary point. This provides an implementation method for determining the column boundary point based on the voltage of the point, and this method can avoid the influence of different power supply voltages or different lighting environments.
[0100] In some embodiments, a process involves collecting the identity information and horizontal projection information of an item to be stored. This process includes the following steps:
[0101] Step S11: Scan the QR code of the item to be stored to obtain the item's identity information.
[0102] In this embodiment, the QR code of the item to be stored is placed on the surface of the item, and the corresponding identity information of the item is obtained through a scanning device.
[0103] Step S12: Acquire a horizontal projection image of the item to be stored.
[0104] In this embodiment, a horizontally projected image of the item to be stored is acquired by a camera placed below the item. To enhance the image recognition effect of the projected image, visible light can be emitted from above the item to enhance the contrast of the projected image.
[0105] Step S13: Perform image recognition on the horizontal projection image to obtain the horizontal projection information of the item to be stored.
[0106] The horizontal projection information of the item to be stored is obtained through image recognition technology. This horizontal projection information includes the outline shape of the horizontal projection of the item to be stored, as well as the specific dimensions of each part in the graphic.
[0107] Through the above steps S11 to S13, the identity information and horizontal projection information of the items to be stored are obtained through QR code scanning and image recognition, providing the necessary data for subsequent item classification and storage and identity information binding.
[0108] In some embodiments, the items to be stored include multiple samples arranged in an array. In this embodiment, scanning the QR code of the items to be stored to obtain their identification information includes the following steps:
[0109] Step S21: Scan the QR code of the item to be stored to obtain the item's identity information.
[0110] Step S22: Scan the sample's QR code and location code to obtain the sample's identity information and its location information in the items to be stored.
[0111] In this embodiment, samples can be small, numerous, and uniformly sized items such as reagents and consumables, placed in a regularly packaged layout within the items to be stored, for example, in a matrix or single-row, single-column arrangement. Each sample has corresponding identification and location information, which can be obtained by scanning a corresponding QR code or barcode. The sample's identification information may include the sample's ID, name, category, batch number, etc., while the sample's location information may be its row and column position within the items to be stored. When there are many samples, a batch scanning device can be used to identify the identification and location information of multiple samples at once. The location information can be automatically added by the batch scanning device based on the physical location of the sample during the scanning process.
[0112] Step S23: Bind the sample's identity information and the sample's location information in the items to be stored with the identity information of the items to be stored.
[0113] The barcode corresponding to the identity and location information of the same sample is located at the same physical location as the sample. Scanning the barcode allows for the binding of the identity and location information of the same sample. Then, the identity and location information of all samples within the same item to be stored are bound to the identity information of that item.
[0114] Through the above steps S21 to S23, by collecting the identity and location information of multiple samples in the same item to be stored and binding them with the identity information of the item to be stored, a method for classifying, storing and binding information of small, numerous, array-encapsulated items is provided.
[0115] In some embodiments, the process of determining the storage location of an item to be stored based on horizontal projection information and vertical projection information includes:
[0116] Step S31: Determine the length and width of the item to be stored based on the horizontal projection information.
[0117] The horizontal projection information includes the shape and outline of the item to be stored projected in the horizontal direction, as well as the dimensions of each part. Based on the horizontal projection information, the maximum length and width of the item to be stored can be obtained. For items with irregular shapes in their horizontal projection, the direction with the largest dimension can be selected as the length direction, and the direction perpendicular to the length direction can be selected as the width direction to determine the length and width of the item.
[0118] Step S32: Determine the pallet size corresponding to the items to be stored based on the length and width.
[0119] During the storage, loading, unloading, and transportation of goods, pallets are placed at the bottom of the items to be stored. This allows for unitization, standardization, and normalization of the packaging, and enables automated loading, unloading, and transportation when used with forklifts. Considering storage standardization and normalization, pallet dimensions are typically universal. The dimensions of the pallet and the items to be stored together determine the length, width, and height of the storage location. For transportation and handling safety, the pallet area is usually greater than or equal to the horizontal projected area of the items to be stored. Based on the length and width of the items to be stored, a pallet with dimensions closest to the items can be selected from a range of standardized sizes.
[0120] Step S33: Determine the height of the item to be stored based on the vertical projection information.
[0121] Step S34: Determine the storage location of the items to be stored based on the pallet size and height.
[0122] Through the above steps S31 to S34, the length, width and height of the item are obtained by using the horizontal and vertical projection information of the item to be stored, and the corresponding tray and storage location are selected. This provides a method for obtaining the corresponding storage location by using the horizontal and vertical projection information of the item. This method can solve the problem of inaccurate size acquisition of irregularly shaped items. Compared with the method of obtaining the size of a completely filled object by integration, the calculation method is simpler and faster.
[0123] The present embodiment will now be described and illustrated through preferred embodiments.
[0124] Figure 8 This is a flowchart illustrating the item classification and storage method of this preferred embodiment. Figure 8 As shown, the method for classifying and storing these items includes the following steps:
[0125] Step S801: Scan the QR code of the item to be stored to obtain the item's identity information;
[0126] Step S802: Scan the sample's QR code and location code to obtain the sample's identity information and its location information in the items to be stored;
[0127] Step S803: Bind the sample's identity information and the sample's location information in the items to be stored with the identity information of the items to be stored;
[0128] Step S804: Acquire a horizontal projection image of the item to be stored;
[0129] Step S805: Perform image recognition on the horizontal projection image to obtain the horizontal projection information of the item to be stored;
[0130] Step S806: Receive the optical signal emitted by the infrared light transmitter and convert it into a corresponding electrical signal;
[0131] Step S807: Using the position of any infrared light receiver in the matrix as the center point, obtain the first voltage value and the second voltage value corresponding to the two infrared light receivers adjacent to the center point in the column direction.
[0132] Step S808: Obtain the voltage difference between the first voltage value and the second voltage value, and the maximum value between the first voltage value and the second voltage value;
[0133] Step S809: If the ratio of the voltage difference to the maximum value is greater than the set threshold, then the center point is determined as the column boundary point.
[0134] Step S810: Obtain the row boundary point of the infrared light receiver matrix based on the voltage value of the infrared light receiver.
[0135] Step S811: Obtain the area enclosed by the row boundary point and the column boundary point. The row boundary point, the column boundary point, and the enclosed area constitute the vertical projection area of the item to be stored.
[0136] Step S812: Obtain the vertical projection information of the item to be stored based on the vertical projection area;
[0137] Step S813: Determine the length and width of the item to be stored based on the horizontal projection information;
[0138] Step S814: Determine the pallet size corresponding to the items to be stored based on the length and width;
[0139] Step S815: Determine the height of the item to be stored based on the vertical projection information;
[0140] Step S816: Determine the storage location of the items to be stored based on the pallet size and height;
[0141] Step S817: Bind the identity information of the item to be stored to the storage location.
[0142] Through the above steps S801 to S817, the identity information and location information of the items and samples to be stored are obtained by scanning the code, the horizontal projection information is obtained by image recognition, and the vertical projection information is obtained by infrared light emission and reception. Based on the horizontal and vertical projection information, the actual shape and size of the items to be stored are obtained. Based on the actual shape and size, the tray size and storage location are determined, and the identity information is bound to the storage location. This solves the problem of inaccurate collection of shape and size information of irregularly shaped items in related technologies.
[0143] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here. For example, steps S801–S803, S804–S805, and S806–S812 are used to obtain the identity information, horizontal projection information, and vertical projection information of the item to be stored, respectively, and the order in which these three are obtained can be interchanged.
[0144] This embodiment also provides an item classification and storage system applied to an item measurement system. This item classification and storage system is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The terms "module," "unit," "subunit," etc., used below refer to combinations of software and / or hardware that perform predetermined functions. Although the system described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0145] Figure 9 This is a structural block diagram of the item classification and storage system of this embodiment, as shown below. Figure 9 As shown, the item classification and storage system includes: a first acquisition module 91, a second acquisition module 92, and a first determination module 93.
[0146] The first acquisition module 91 is used to acquire the identity information and horizontal projection information of the items to be stored.
[0147] The second acquisition module 92 is used to acquire the vertical projection information of the items to be stored.
[0148] The first determining module 93 is used to determine the storage location of the item to be stored based on the horizontal projection information and the vertical projection information, and to bind the identity information to the storage location.
[0149] The item classification and storage system provided in this embodiment collects horizontal projection information and identity information of the items to be stored through a first acquisition module 91, and vertical projection information of the items to be stored through a second acquisition module 92, thereby obtaining the shape and size of the horizontal and vertical projections of the items to be stored. Based on the shape and size of the horizontal and vertical projections, the actual shape and size information of the items to be stored is obtained. The first determination module 93 determines the storage location of the items to be stored based on the actual shape and size information, and binds the collected identity information with the storage location, thus solving the problem of inaccurate collection of shape and size information of irregularly shaped items in related technologies.
[0150] In some embodiments, the item measurement system includes a light emitting device and a light receiving device arranged parallel to both sides of the item to be stored. The light emitting device includes a plurality of infrared light emitting ends arranged in a matrix, and the light receiving device includes a plurality of infrared light receiving ends arranged in a matrix. The second acquisition module further includes a conversion module, a second determination module, and a first acquisition module. The conversion module is used to receive the light signal emitted by the infrared light emitting ends and convert it into a corresponding electrical signal; the second determination module is used to determine the vertical projection area of the item to be stored based on the electrical signal; and the first acquisition module is used to acquire the vertical projection information of the item to be stored based on the vertical projection area.
[0151] The item classification and storage system provided in this embodiment converts the light signal received by the infrared light receiver into an electrical signal through a conversion module. The second determination module determines whether the location of each infrared light receiver belongs to the occlusion area of the item to be stored. The set of points belonging to the occlusion area of the item to be stored is determined as the vertical projection area of the item to be stored. The first acquisition module obtains the outline shape and size of the vertical projection. Compared with the prior art of obtaining vertical projection information through image recognition, the cost is lower and the obtained vertical projection information more comprehensively reflects the shape and size of the item.
[0152] In some embodiments, the second determining module further includes a second obtaining module, a third obtaining module, and a fourth obtaining module. The second obtaining module is used to obtain the column boundary points of the infrared light receiving end matrix based on the voltage value of the infrared light receiving end; the third obtaining module is used to obtain the row boundary points of the infrared light receiving end matrix based on the voltage value of the infrared light receiving end; the fourth obtaining module is used to obtain the area enclosed by the row boundary points and the column boundary points, wherein the row boundary points, the column boundary points, and the enclosed area constitute the vertical projection area of the item to be stored.
[0153] The item classification and storage system provided in this embodiment obtains the row and column boundary points of the infrared light receiving end matrix through the second and third acquisition modules, and obtains the vertical projection area of the item to be stored through the fourth acquisition module based on the location of the row and column boundary points and the enclosed area, so as to determine the outline shape and size of the vertical projection of the item to be stored.
[0154] In some embodiments, the second acquisition module further includes a fifth acquisition module, a sixth acquisition module, and a third determination module. The fifth acquisition module is used to acquire a first voltage value and a second voltage value corresponding to two infrared light receivers adjacent to the center point in the column direction, taking the position of any infrared light receiver in the matrix as the center point; the sixth acquisition module is used to acquire the voltage difference between the first voltage value and the second voltage value, and the maximum value between the first voltage value and the second voltage value; the third determination module is used to determine the center point as the column boundary point if the ratio of the voltage difference to the maximum value is greater than a set threshold.
[0155] The item classification and storage system provided in this embodiment obtains the voltage values of two adjacent points in the column direction of any infrared light receiver in the matrix through the fifth acquisition module, obtains the difference and maximum value of the voltage values through the sixth acquisition module, and compares the two through the third determination module. When the ratio is greater than a set threshold, the point is determined as the column boundary point, thus avoiding the influence of different power supply voltages or different lighting environments.
[0156] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0157] Furthermore, in conjunction with the item classification and storage methods provided in the above embodiments, this embodiment can also provide a storage medium for implementation. This storage medium stores a computer program; when executed by a processor, the computer program implements any of the item classification and storage methods described in the above embodiments.
[0158] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0159] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.
[0160] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0161] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims
1. A method for classifying and storing items, applied to an item measurement system, comprising a light emitting device and a light receiving device arranged parallel to both sides of the item to be stored, wherein the light emitting device comprises a plurality of infrared light emitting ends arranged in a matrix, and the light receiving device comprises a plurality of infrared light receiving ends arranged in a matrix; characterized in that, The method includes: Collect the identity information and horizontal projection information of the items to be stored; and Collect the vertical projection information of the item to be stored; The storage location of the item to be stored is determined based on the horizontal and vertical projection information, and the identity information is bound to the storage location. The method for collecting the vertical projection information of the item to be stored includes: The system receives the light signal emitted by the infrared light emitting end and converts it into a corresponding electrical signal. The column boundary point and row boundary point of the infrared light receiving end matrix are obtained through the electrical signal. The vertical projection area of the item to be stored is determined based on the electrical signal, wherein the row dividing point, the column dividing point, and the enclosed area constitute the vertical projection area of the item to be stored. The vertical projection information of the item to be stored is obtained based on the vertical projection area.
2. The method according to claim 1, characterized in that, Determining the vertical projection area of the item to be stored based on the electrical signal includes: The column boundary points of the infrared light receiver matrix are obtained based on the voltage value of the infrared light receiver; and The row boundary points of the infrared light receiver matrix are obtained based on the voltage value of the infrared light receiver. Obtain the area enclosed by the row dividing point and the column dividing point. The row dividing point, the column dividing point, and the enclosed area constitute the vertical projection area of the item to be stored.
3. The method according to claim 2, characterized in that, The step of obtaining the column boundary points of the infrared light receiver matrix based on the voltage value of the infrared light receiver includes: Using the position of any infrared light receiver in the matrix as the center point, obtain the first voltage value and the second voltage value corresponding to two infrared light receivers that are adjacent to the center point in the column direction. Obtain the voltage difference between the first voltage value and the second voltage value, and the maximum value between the first voltage value and the second voltage value; If the ratio of the voltage difference to the maximum value is greater than a set threshold, then the center point is determined as the column boundary point.
4. The method according to claim 1, characterized in that, The collection of the identity information and horizontal projection information of the item to be stored includes: Scan the QR code of the item to be stored to obtain the item's identity information; Acquire a horizontal projection image of the item to be stored; Image recognition is performed on the horizontal projection image to obtain the horizontal projection information of the item to be stored.
5. The method according to claim 4, characterized in that, The items to be stored include multiple samples arranged in an array. Scanning the QR code of the items to be stored to obtain their identity information includes: Scan the QR code of the item to be stored to obtain the item's identity information; Scan the QR code and location code of the sample to obtain the sample's identity information and its location information in the items to be stored; The identity information of the sample and the location information of the sample in the items to be stored are bound to the identity information of the items to be stored.
6. The method according to claim 1, characterized in that, Determining the storage location of the item to be stored based on the horizontal projection information and the vertical projection information includes: The length and width of the item to be stored are determined based on the horizontal projection information; The pallet size corresponding to the items to be stored is determined based on the length and width. The height of the item to be stored is determined based on the vertical projection information; The storage location of the items to be stored is determined based on the tray size and the height.
7. An item classification and storage system, applied to an item measurement system, comprising a light emitting device and a light receiving device arranged parallel to both sides of the item to be stored, wherein the light emitting device comprises a plurality of infrared light emitting ends arranged in a matrix, and the light receiving device comprises a plurality of infrared light receiving ends arranged in a matrix; characterized in that, The item classification and storage system includes: The first acquisition module is used to collect the identity information and horizontal projection information of the items to be stored. The second acquisition module is used to acquire the vertical projection information of the item to be stored; The conversion module is used to receive the light signal emitted by the infrared light emitting end and convert it into a corresponding electrical signal, and to obtain the column boundary point and row boundary point of the infrared light receiving end matrix through the electrical signal; The second determining module is used to determine the vertical projection area of the item to be stored based on the electrical signal; The acquisition module acquires the vertical projection information of the item to be stored based on the vertical projection area, wherein the row dividing point, the column dividing point, and the enclosed area constitute the vertical projection area of the item to be stored. The first determining module is used to determine the storage location of the item to be stored based on the horizontal projection information and the vertical projection information, and to bind the identity information to the storage location.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the data processing unit, it implements the steps of the article classification and storage method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Device for measuring physical size of object, drinking water apparatus and method
CN110470221A
Workpiece size measuring device and method based on deep learning
CN113658147A
Article sorting method and device
CN113663931A
But equipment of automatic measure object external dimension and weight
CN206019710U