Parcel entry method, device, computer equipment and storage medium
The 3D camera and scanning device in the smart cabinet identify the volume of the package and automatically open the target compartment according to the distribution rules. This solves the problem of low efficiency of parcel entry in the smart cabinet and improves express delivery efficiency and compartment utilization.
Patent Information
- Application Number
- CN202211457843.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-21
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-11-21
AI Technical Summary
During the process of putting packages into the existing smart cabinets, the courier needs to manually judge the volume of the package, which results in the judgment result being inconsistent with the actual compartment space, affecting the efficiency of express delivery, and during high volume or peak periods, no package can be found. The grid opening increases the search time and reduces the efficiency.
By receiving the package entry request, the package image and waybill information are obtained, the 3D camera and scanning device are used to identify the package volume, and the target grid is automatically opened according to the preset grid allocation rules to ensure that the package can be accurately placed into the appropriate grid.
It improves the efficiency of express delivery, especially the efficiency of multiple delivery in one grid, reduces manual judgment errors, reduces the time to find available grid space, and improves the utilization rate of smart cabinets.
Smart Images

Figure CN115830731B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of warehousing and logistics, and in particular to a method and device for placing a package into a cabinet, a computer device and a storage medium. Background Art
[0002] At present, most smart lockers obtain parcel information by scanning identification codes, and the volume of parcels can only be judged and manually input by couriers. Couriers mostly judge the volume of parcels by eye, which inevitably leads to the situation that the judgment result is inconsistent with the actual compartment space, which is not conducive to the efficiency of express delivery.
[0003] In addition, existing smart lockers allow couriers to deliver multiple packages in one compartment based on two situations: the first is that the courier delivers multiple packages in the same compartment within the same time period, and the courier manually determines the number of packages to be delivered. This situation is only applicable to deliveries within the same time period and is not suitable for multiple deliveries at different times; the second is that the courier delivers multiple packages in different time periods (delivery during peak periods such as high-volume lockers or e-commerce promotions). Whether there is space in the same compartment to accommodate the newly delivered package can only be manually determined after the compartment is opened. Couriers often have to open multiple compartments before they can find a compartment that can accommodate a package, or even after opening multiple compartments they still cannot find a compartment that can accommodate a new package. This increases the time spent searching for available compartment space, which is not conducive to improving the efficiency of delivering multiple packages in one compartment. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for putting parcels into cabinets to address the above technical problems, so as to improve the efficiency of express delivery.
[0005] A method for putting a package into a cabinet, comprising:
[0006] receiving a parcel entry request, and acquiring a parcel image and waybill information of a parcel to be entered in a shooting space according to the parcel entry request; wherein a first volume of the shooting space is greater than a second volume of a maximum compartment of the smart cabinet;
[0007] Identify the package image to obtain volume information of the package to be put into the cabinet;
[0008] Processing the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet;
[0009] The target compartment is opened to allow the package to be put into the target compartment.
[0010] A package entry device, comprising:
[0011] A shooting module, used for receiving a parcel entry request, and obtaining a parcel image and waybill information of a parcel to be entered in a shooting space according to the parcel entry request; a first volume of the shooting space is greater than a second volume of a maximum compartment of the smart cabinet;
[0012] An identification module, used to identify the package image and obtain volume information of the package to be put into the cabinet;
[0013] An allocation module, configured to process the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet;
[0014] The storage module is used to open the target compartment to allow the package to be put into the target compartment.
[0015] A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the above-mentioned method for placing a package into a cabinet is implemented.
[0016] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for putting parcels into a cabinet is implemented.
[0017] In the above-mentioned method, device, computer equipment and storage medium for entering a parcel into a cabinet, a parcel image and waybill information of the parcel to be entered in the cabinet in the shooting space are obtained according to the parcel entry request by receiving a parcel entry request; the first volume of the shooting space is greater than the second volume of the largest grid of the smart cabinet; thereby the parcel image is identified to obtain the volume information of the parcel to be entered into the cabinet; then the waybill information and the volume information are processed according to the preset grid allocation rules to obtain the target grid corresponding to the parcel to be entered into the cabinet; finally, the target grid is opened to allow the parcel to be entered into the cabinet to be placed into the target grid. The present invention obtains the information of the parcel to be entered into the cabinet and the grid, and opens the corresponding target grid according to the allocation rules, thereby improving the efficiency of express delivery, especially improving the efficiency of multiple deliveries in one grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0019] Figure 1 is a schematic diagram of a process of a method for putting a parcel into a cabinet in one embodiment of the present invention;
[0020] Figure 2is a comparison diagram of the smart cabinet ② and the common storage cabinet ① in the embodiment of the present invention;
[0021] Figure 3 is a structural schematic diagram of a parcel entering cabinet device in one embodiment of the present invention;
[0022] Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] In one embodiment, if Figure 1 As shown, a method for putting a package into a cabinet is provided, comprising the following steps S10-S40.
[0025] S10, receiving a parcel entry request, and acquiring a parcel image and waybill information of the parcel to be entered in the cabinet in a shooting space according to the parcel entry request; a first volume of the shooting space is greater than a second volume of a maximum compartment of the smart cabinet.
[0026] Understandably, the shooting space is a compartment for placing packages and photographing and / or weighing packages. In one example, the top of the shooting space is provided with a lighting lamp, a 3D camera for photographing package images, and a scanning device for scanning waybill information. The volume of the shooting space compartment is larger than the volume of the largest compartment of the smart cabinet. The shooting space can conform to the size of the package estimated by the user. If the package cannot fit into the shooting space, it will certainly not fit into the largest compartment of the smart cabinet. Waybill information includes but is not limited to recipient information, courier information, and logistics company information. In one example, if Figure 2 As shown, the smart cabinet ② includes a display screen, an open shooting space, and a compartment for storing packages. The shooting space can be set as an open space and set in the middle of the smart cabinet. The user can request the package to be put into the cabinet by performing an operation on the smart cabinet. For example, the user performs an operation such as touching, clicking, or sliding on the display screen setting page to request the package to be put into the cabinet.
[0027] Specifically, after the smart cabinet receives the request to put the package into the cabinet, the user puts the package into the shooting space. The smart cabinet illuminates the package to be put into the cabinet through the lighting in the shooting space, obtains the package image of the package to be put into the cabinet through the 3D camera, and obtains the waybill information of the package to be put into the cabinet through the scanning device.
[0028] In a specific embodiment, a gravity sensor is provided at the bottom of the shooting space. After the smart cabinet receives a request to put a package into the cabinet, the user puts the package into the shooting space. The smart cabinet illuminates the package to be put into the cabinet through the lighting in the shooting space, takes the package image of the package to be put into the cabinet through the 3D camera, and obtains the weight of the package to be put into the cabinet through the gravity sensor.
[0029] S20: Identify the package image to obtain volume information of the package to be put into the cabinet.
[0030] Specifically, the smart cabinet measures the package based on the visual algorithm, obtains the package size data, and uploads the package size data to the server. The server calculates the volume information of the package based on the package size data. Here, the volume information can be expressed by the length, width, and height of the package. When the 3D camera shoots the package, the volume information may have a certain deviation due to external environmental influences such as the shooting angle and the camera angle. Therefore, the error retention value can be set according to the actual situation. If the volume information of the package is slightly larger than the remaining volume of the grid (which can refer to the length of one side), and the difference between the two is less than the above error retention value, it is preliminarily determined that the grid can accommodate the package.
[0031] S30: Process the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the package to be put into the cabinet.
[0032] S40, opening the target compartment to allow the package to be put into the target compartment.
[0033] Understandably, the preset slot allocation rules can be preset according to actual needs. For example, the preset slot allocation rules can be set to: prioritize placing different parcels of the same recipient in the same slot, prioritize placing different parcels of the same requester in the cabinet entry request in the same slot, prioritize placing different parcels of the same logistics company in the same slot. The target slot refers to the slot on the smart cabinet that meets the preset slot allocation rules and can accommodate the package.
[0034] Specifically, the smart cabinet processes the waybill information and volume information of the package to be put into the cabinet according to the preset slot allocation rules, obtains the slot that meets the preset slot allocation rules and can accommodate the package, and opens the slot.
[0035] In a specific embodiment, if there is no slot that meets the preset slot allocation rules, the server obtains the waybill information and volume information of the package to be placed in the cabinet, and obtains the corresponding target slots of other nearby smart cabinets based on the waybill information and volume information. If there is a corresponding target slot, information is output on the display screen to remind the user that there is a corresponding target slot in the nearby smart cabinet; if there is no corresponding target slot, information is output on the display screen to remind the user that there are no available slots.
[0036] In one example, if Figure 2 As shown, Figure 2 Including a comparison chart of smart cabinet ② and common storage cabinet ①. Figure 2 It can be seen that the smart cabinet provided in this embodiment transforms the scanning head, printer and small grid of a common storage cabinet into an open shooting space.
[0037] This embodiment obtains the volume information and waybill information of the package to be put into the cabinet by shooting the space, obtains the target grid according to the preset grid allocation rules, realizes automatic identification of the volume information and waybill information of the package and allocates the grid, and improves the efficiency of express delivery.
[0038] Optionally, step S10, i.e., obtaining a package image and waybill information of a package to be put into the cabinet in a preset shooting space according to the package putting into the cabinet request, includes:
[0039] S101. Turn on a lighting device provided on the smart cabinet based on the request for the package to be put into the cabinet, so as to illuminate the package to be put into the cabinet.
[0040] S102: Scan the waybill on the package to be put into the cabinet by a scanning device arranged on the smart cabinet to obtain the waybill information.
[0041] S103: photographing the package to be stored in the cabinet by a 3D camera arranged on the smart cabinet to obtain an image of the package.
[0042] Understandably, the lighting device may refer to a lighting lamp disposed on the top of the open shooting space of the smart cabinet for illuminating the shooting space.
[0043] The scanning device may refer to a device disposed on the top of the open shooting space of the smart cabinet for scanning the parcel waybill.
[0044] The 3D camera may refer to a camera that is set on the top of the open shooting space of the smart cabinet and can shoot the packages to be put into the cabinet in the entire shooting space.
[0045] Specifically, the user puts the package to be stored in the cabinet into the shooting space, the lighting in the shooting space illuminates the package to be stored in the cabinet, the scanning device scans the waybill on the package to be stored in the cabinet to obtain the waybill information, and the 3D camera shoots the package to be stored in the cabinet to obtain the package image.
[0046] This embodiment automatically obtains the waybill information and package images of the packages to be put into the cabinet by arranging a lighting device, a scanning device and a 3D camera in the shooting space, thereby improving the efficiency of express delivery.
[0047] Optionally, step S20, i.e., identifying the package image to obtain volume information of the package to be put into the cabinet, includes:
[0048] S201. Measure the package image using a preset visual algorithm to obtain package size data.
[0049] S202: Obtain volume information of the package according to the package size data.
[0050] Specifically, the smart cabinet measures the package image according to the preset visual algorithm, obtains the package size data, uploads the package size data to the server, and the server calculates the volume information of the package according to the package size data. Here, the server can be a cabinet server and / or a cloud server. Here, the volume information can be represented by the length, width, and height of the package. The visual algorithm can use HOG (Histogram of Oriented Gradients), Sift (Scale Invariant Feature Transform) algorithm or camera calibration algorithm.
[0051] This embodiment measures the package image through a visual algorithm to obtain the package size data, and obtains the volume information of the package based on the package size data, thereby automatically obtaining the volume information of the package to be put into the cabinet and improving the accuracy of the obtained package volume information.
[0052] Optionally, after step S20, that is, after identifying the package image and obtaining the volume information of the package to be put into the cabinet, the method further includes:
[0053] S203: Display the waybill information on the display screen of the smart cabinet.
[0054] S204, receiving a waybill confirmation instruction, and determining that the waybill information is valid according to the waybill confirmation instruction; or receiving a waybill modification instruction, and modifying the waybill information according to the waybill modification instruction.
[0055] Specifically, the smart cabinet displays the waybill information of the parcel to be put into the cabinet on the display screen. The user compares the waybill information on the display screen with the waybill information of the parcel to be put into the cabinet. If the waybill information on the display screen is consistent with the waybill information of the parcel to be put into the cabinet, the user clicks to confirm the waybill, and the smart cabinet receives the confirmation waybill instruction, and determines that the waybill information is valid according to the confirmation waybill instruction. If the waybill information on the display screen is inconsistent with the waybill information of the parcel to be put into the cabinet, the user clicks to modify the waybill, and the smart cabinet receives the modification waybill instruction manually entered by the user, and the waybill information can be modified according to the modification waybill instruction.
[0056] This embodiment improves the accuracy of express delivery by allowing the user to confirm or modify the waybill information displayed on the display screen.
[0057] Optionally, step S30, that is, processing the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet, includes:
[0058] S301. Determine the volume of the parcel to be put into the cabinet according to the volume information.
[0059] S302: Query the first free compartment in the smart cabinet whose remaining volume is greater than the volume of the package.
[0060] S303: If the number of the first free slots is greater than one, determine whether there is a second free slot associated with the consignee in the waybill information in the first free slots.
[0061] S304: If the second vacant grid exists, determine the second vacant grid with the smallest remaining volume as the target grid.
[0062] Understandably, the first free compartment may refer to a compartment in the smart cabinet whose remaining volume is greater than the volume of the package to be put into the cabinet. The remaining volume may refer to the volume of the compartment that can accommodate the package to be put into the cabinet.
[0063] The second free slot may refer to a slot in the smart cabinet whose remaining volume is greater than the volume of the package to be stored in the cabinet, and a slot in which a recipient associated with the waybill information is stored. The recipient of the package stored in the second free slot and the current package to be stored in the cabinet may be the same person, or a person with the same receiving address.
[0064] Specifically, the smart cabinet obtains the remaining volume of all compartments, and obtains a compartment whose remaining volume is greater than the volume of the parcel to be placed in the cabinet according to the volume of the parcel to be placed in the cabinet, which is the first free compartment. If the number of first free compartments is equal to one, the first free compartment is the target compartment. If the number of first free compartments is greater than one, the smart cabinet obtains a compartment associated with the consignee in the waybill information from the first free compartment according to the waybill information, and if there is a compartment associated with the consignee in the waybill information in the first free compartment, it is the second free compartment. Then, the remaining volumes of all second free compartments are sorted, and the second free compartment with the smallest remaining volume is determined as the target compartment.
[0065] This embodiment queries the remaining capacity of the compartments in the smart cabinet and obtains the target compartment according to the allocation rule, thereby improving the efficiency of multiple placements in one compartment and the utilization rate of the compartments in the smart cabinet.
[0066] Optionally, after step S304, i.e., determining whether there is a second free slot associated with the consignee in the waybill information in the first free slot, further includes:
[0067] S305: If the second free slot does not exist, determine whether there is a third free slot in the first free slot that is associated with the requester in the parcel locker entry request.
[0068] S306: If the third vacant grid exists, determine the third vacant grid with the smallest remaining volume as the target grid.
[0069] Understandably, the third free slot may refer to a slot in the smart cabinet whose remaining volume is greater than the volume of the package to be stored in the cabinet, and a slot in which the package of the same requester is stored. That is, the user who currently places the package to be stored in the cabinet and the requester of the package in the third free slot are the same person (the same courier).
[0070] Specifically, if there is no second free slot, the smart cabinet obtains a slot in the first free slot that stores the parcel of the same requester according to the waybill information. If there is a slot in the first free slot that stores the parcel of the same requester, it is the third free slot. Then, the remaining volumes of all third free slots are sorted, and the third free slot with the smallest remaining volume is determined as the target slot.
[0071] This embodiment queries the remaining capacity of the compartments in the smart cabinet and obtains the target compartment according to the allocation rule, thereby improving the efficiency of multiple placements in one compartment and the utilization rate of the compartments in the smart cabinet.
[0072] Optionally, after step S306, i.e., determining whether there is a third vacant slot associated with the requester in the parcel entry request in the first vacant slot, further includes:
[0073] S307: If the third free slot does not exist, determine whether there is a fourth free slot in the first free slots that is associated with the logistics company in the parcel entry request.
[0074] S308: If the fourth vacant grid exists, determine the fourth vacant grid with the smallest remaining volume as the target grid.
[0075] S309: If the fourth free grid does not exist, determine the first free grid with the smallest remaining volume as the target grid.
[0076] Understandably, the fourth free slot may refer to a slot in the smart cabinet whose remaining volume is greater than the volume of the package to be stored in the cabinet, and a slot in which packages from the same logistics company are stored.
[0077] Specifically, if there is no third free compartment, the smart cabinet obtains a compartment in the first free compartment that stores packages of the same logistics company based on the waybill information. If there is a compartment in the first free compartment that stores packages of the same logistics company, it is the fourth free compartment. Then, the remaining volumes of all fourth free compartments are sorted, and the fourth free compartment with the smallest remaining volume is determined as the target compartment. If there is no fourth free compartment, the remaining volumes of all first free compartments are sorted, and the first free compartment with the smallest remaining volume is determined as the target compartment.
[0078] This embodiment queries the remaining capacity of the compartments in the smart cabinet and obtains the target compartment according to the allocation rule, thereby improving the efficiency of multiple placements in one compartment and the utilization rate of the compartments in the smart cabinet.
[0079] Optionally, step S40, i.e., after the target compartment is opened to allow the package to be put into the target compartment, includes:
[0080] S401: After confirming that the parcel to be put into the cabinet is placed in the target compartment, updating the remaining volume of the target compartment according to the volume information.
[0081] Specifically, after the user places the package to be entered into the target compartment, the smart cabinet obtains the package entry information, obtains the remaining volume of the target compartment after the package is placed according to the package volume information and the volume of the target compartment, and the server updates the remaining volume of the compartment according to the remaining volume of the target compartment.
[0082] This embodiment ensures the accuracy of the remaining volume information of the intelligent storage compartment by updating the remaining volume of the target compartment, thereby improving the efficiency of express delivery.
[0083] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0084] In one embodiment, a parcel entry device is provided, which corresponds to the parcel entry method in the above embodiment. Figure 3 As shown, the parcel locker device includes a shooting module 10, an identification module 20, a distribution module 30 and a storage module 40. The functional modules are described in detail as follows:
[0085] The shooting module 10 is used to receive a parcel entry request, and obtain a parcel image and waybill information of the parcel to be entered in the shooting space according to the parcel entry request; the first volume of the shooting space is greater than the second volume of the largest compartment of the smart cabinet;
[0086] The recognition module 20 is used to recognize the package image and obtain the volume information of the package to be put into the cabinet;
[0087] An allocation module 30 is used to process the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet;
[0088] The storage module 40 is used to open the target compartment to allow the package to be put into the target compartment.
[0089] Preferably, the shooting module 10 includes:
[0090] A lighting unit, configured to turn on a lighting device provided on the smart cabinet based on the request for the package to be put into the cabinet, so as to illuminate the package to be put into the cabinet;
[0091] A scanning unit, configured to scan the waybill on the parcel to be put into the cabinet through a scanning device arranged on the smart cabinet to obtain the waybill information;
[0092] The camera unit is used to photograph the package to be put into the cabinet through a 3D camera arranged on the smart cabinet to obtain the package image.
[0093] Preferably, the identification module 20 includes:
[0094] A size acquisition unit, used to measure the package image by using a preset visual algorithm to acquire package size data;
[0095] A volume acquisition unit is used to acquire volume information of the package according to the package size data.
[0096] Preferably, the identification module 20 includes:
[0097] A waybill display unit, used to display the waybill information on the display screen of the smart cabinet;
[0098] The waybill instruction unit is used to receive a waybill confirmation instruction and determine that the waybill information is valid according to the waybill confirmation instruction; or, receive a waybill modification instruction and modify the waybill information according to the waybill modification instruction.
[0099] Preferably, the allocation module 30 comprises:
[0100] A volume acquisition unit, used to determine the volume of the parcel to be put into the cabinet according to the volume information;
[0101] A first slot acquisition unit, configured to query a first free slot in the smart cabinet whose remaining volume is greater than the volume of the package;
[0102] A second slot acquisition unit, configured to determine whether there is a second slot associated with the consignee in the waybill information in the first slots if the number of the first slots is greater than one;
[0103] The second slot determining unit is configured to determine the second slot with the smallest remaining volume as the target slot if the second slot is available.
[0104] Preferably, the allocation module 30 further includes:
[0105] A third slot acquisition unit is configured to determine whether there is a third slot associated with the requester in the parcel locker entry request in the first slot if the second slot does not exist;
[0106] The third slot determining unit is configured to determine the third slot with the smallest remaining volume as the target slot if the third slot is available.
[0107] Preferably, the allocation module 30 further includes:
[0108] a fourth slot acquisition unit, configured to determine whether there is a fourth slot associated with the logistics company in the parcel entry request in the first slots if the third slot does not exist;
[0109] a fourth slot determining unit, configured to determine the fourth slot with the smallest remaining volume as the target slot if the fourth slot is available;
[0110] The first slot determining unit is configured to determine the first slot having the smallest remaining volume as the target slot if the fourth slot does not exist.
[0111] For the specific definition of the package entry device, please refer to the definition of the package entry method above, which will not be repeated here. Each module in the above package entry device can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0112] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The network interface of the computer device is used to communicate with an external server via a network connection. When the computer-readable instructions are executed by the processor, a method for putting a package into a cabinet is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0113] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for putting a package into a cabinet in the above embodiment is implemented.
[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for putting a package into a cabinet in the above embodiment is implemented.
[0115] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0116] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0117] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for placing a package into a cabinet, characterized in that: include: receiving a parcel entry request, and acquiring a parcel image and waybill information of a parcel to be entered in a shooting space according to the parcel entry request; wherein a first volume of the shooting space is greater than a second volume of a maximum compartment of the smart cabinet; Identify the package image to obtain volume information of the package to be put into the cabinet; Processing the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet; Opening the target compartment to allow the package to be put into the target compartment; The step of processing the waybill information and the volume information by using a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet includes: Determine the volume of the parcel to be put into the cabinet according to the volume information; Querying the first free compartment in the smart cabinet whose remaining volume is greater than the volume of the package; If the number of the first free slots is greater than one, determining whether there is a second free slot associated with the consignee in the waybill information in the first free slots; If the second free grid exists, determining the second free grid with the smallest remaining volume as the target grid; After determining whether there is a second free slot associated with the consignee in the waybill information in the first free slot, the method further includes: If the second free slot does not exist, determining whether there is a third free slot associated with the requester in the parcel locker entry request in the first free slot; If the third vacant grid exists, the third vacant grid with the smallest remaining volume is determined as the target grid.
2. The method for placing a package into a cabinet according to claim 1, characterized in that: The obtaining, according to the parcel entry request, a package image and waybill information of the package to be entered in the cabinet in the preset shooting space includes: Based on the parcel entry request, a lighting device provided on the smart cabinet is turned on to illuminate the parcel to be entered into the cabinet; Scanning the waybill on the parcel to be put into the cabinet by a scanning device arranged on the smart cabinet to obtain the waybill information; The package to be put into the cabinet is photographed by a 3D camera arranged on the smart cabinet to obtain the package image.
3. The method for placing a package into a cabinet according to claim 1, characterized in that: The step of identifying the package image to obtain volume information of the package to be put into the cabinet includes: The package image is measured by a preset visual algorithm to obtain package size data; The volume information of the package is obtained according to the package size data.
4. The method for placing a package into a cabinet according to claim 1, characterized in that: After the package image is identified and the volume information of the package to be put into the cabinet is obtained, the method further includes: Displaying the waybill information on a display screen of the smart cabinet; receiving a waybill confirmation instruction, and determining that the waybill information is valid according to the waybill confirmation instruction; or, Receive a waybill modification instruction, and modify the waybill information according to the waybill modification instruction.
5. The method for placing a package into a cabinet according to claim 1, characterized in that: After determining whether there is a third vacant slot in the first vacant slot associated with the requester in the parcel locker entry request, the method further includes: If the third free slot does not exist, determining whether there is a fourth free slot associated with the logistics company in the parcel entry request in the first free slots; If the fourth vacant grid exists, determining the fourth vacant grid with the smallest remaining volume as the target grid; If the fourth free slot does not exist, the first free slot with the smallest remaining volume is determined as the target slot.
6. The method for placing a package into a cabinet according to claim 1, characterized in that: After the target compartment is opened to allow the package to be put into the target compartment, the method includes: After confirming that the parcel to be put into the cabinet is placed in the target compartment, the remaining volume of the target compartment is updated according to the volume information.
7. A package entry device, characterized in that: include: A shooting module, used for receiving a parcel entry request, and obtaining a parcel image and waybill information of a parcel to be entered in a shooting space according to the parcel entry request; a first volume of the shooting space is greater than a second volume of a maximum compartment of the smart cabinet; An identification module, used to identify the package image and obtain volume information of the package to be put into the cabinet; An allocation module, configured to process the waybill information and the volume information according to a preset slot allocation rule to obtain a target slot corresponding to the parcel to be put into the cabinet; A storage module, used for opening the target compartment to allow the parcel to be placed in the target compartment; The allocation module comprises: A volume acquisition unit, used to determine the volume of the parcel to be put into the cabinet according to the volume information; A first slot acquisition unit, configured to query a first free slot in the smart cabinet whose remaining volume is greater than the volume of the package; A second slot acquisition unit, configured to determine whether there is a second slot associated with the consignee in the waybill information in the first slots if the number of the first slots is greater than one; a second slot determining unit, configured to determine the second slot with the smallest remaining volume as the target slot if the second slot is available; A third slot acquisition unit is configured to determine whether there is a third slot associated with the requester in the parcel locker entry request in the first slot if the second slot does not exist; The third slot determining unit is configured to determine the third slot with the smallest remaining volume as the target slot if the third slot is available.
8. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the method for putting a package into a cabinet as described in any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for putting a package into a cabinet as described in any one of claims 1 to 6 is implemented.
