Calibration Method, Device, Server and Storage Medium for Nominal Sequence of Dynamic Cabinet
By automatically mapping the physical and logical addresses of the unmanned vending machine shelves, the problem of manually writing code to determine the nominal order after replacing the motherboard is solved, and the effect of reducing maintenance workload and operating costs is achieved.
Patent Information
- Application Number
- CN202210020893.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2042-01-10
AI Technical Summary
After the motherboard is replaced by the unmanned vending machine, maintenance personnel need to manually write code to determine the nominal order of the new motherboard, resulting in large maintenance workloads and high operating costs.
By determining the first weight information corresponding to the physical address of each shelf and the second weight information corresponding to the logical address, a mapping relationship between the physical address and the logical address is generated, and pushed to the dynamic cabinet to automatically calibrate the nominal order.
It reduces the workload of maintenance personnel, improves maintenance efficiency, reduces operating costs, and enhances the company's business processing capabilities.
Smart Images

Figure CN114461732B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned retail, and particularly to a method, device, server, and storage medium for calibrating the nominal order of a dynamic cabinet. Background Art
[0002] With the continuous development of science and technology, unmanned retail technology has been gradually improved, and unmanned vending cabinets, unmanned convenience stores, etc. have emerged in people's lives, providing convenience for people. In the related art, after replacing the main board of an unmanned vending machine, maintenance personnel need to write new codes and input them into the new main board so that the new main board can obtain the accurate nominal order and report the weight information of each layer of the shelf according to the accurate nominal order. However, with the increasing number of unmanned vending machines, the workload of maintenance personnel is also increasing, and the operating cost is getting higher and higher. Summary of the Invention
[0003] The present invention aims to solve at least one of the technical problems in the related art to some extent. To this end, an object of the present invention is to propose a method for calibrating the nominal order of a dynamic cabinet, which can reduce the workload of maintenance personnel, improve the maintenance efficiency, and reduce the operating cost.
[0004] A second object of the present invention is to propose a computer-readable storage medium.
[0005] A third object of the present invention is to propose a server.
[0006] A fourth object of the present invention is to propose a device for calibrating the nominal order of a dynamic cabinet.
[0007] To achieve the above object, an embodiment of the first aspect of the present invention proposes a method for calibrating the nominal order of a dynamic cabinet, where the dynamic cabinet includes multiple layers of shelves, and the method includes: determining first weight information corresponding to the physical address of each layer of the shelf and second weight information corresponding to the logical address of each layer of the shelf; generating a mapping relationship between the physical address and the logical address of each layer of the shelf according to the first weight information and the second weight information, and pushing the mapping relationship to the dynamic cabinet so that the dynamic cabinet performs nominal order calibration.
[0008] According to the method for calibrating the nominal order of a dynamic cabinet in the embodiment of the present invention, the logical address and the physical address of each layer of the shelf are automatically mapped based on the second weight information and the first weight information, and the mapping result is sent to the dynamic cabinet, so that the dynamic cabinet determines the accurate nominal order according to the mapping result and reports the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operating cost, and enhancing the business processing ability of the company.
[0009] In some embodiments of the present invention, determining the first weight information corresponding to the physical address of each layer of shelves includes: receiving the inventory information of each layer of shelves uploaded by the picking terminal; and determining the first weight information corresponding to the physical address of each layer of shelves according to the inventory information of each layer of shelves.
[0010] In some embodiments of the present invention, determining the second weight information corresponding to the logical address of each layer of shelves includes: sending a weight detection instruction to the dynamic cabinet, where the weight detection instruction is used to instruct the dynamic cabinet to determine the second weight information corresponding to the logical address of each layer of shelves; and receiving the second weight information corresponding to the logical address of each layer of shelves uploaded by the dynamic cabinet.
[0011] In some embodiments of the present invention, generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the first weight information and the second weight information includes: sorting the first weight information and the second weight information respectively; analyzing the corresponding relationship between the physical address and the logical address according to the sorted first weight information and second weight information; and generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the corresponding relationship.
[0012] In some embodiments of the present invention, the sorting method of the first weight information is the same as the sorting method of the second weight information. Analyzing the corresponding relationship between the physical address and the logical address according to the arranged first weight information and second weight information includes: associating the physical address corresponding to each first weight information with the same ranking with the logical address corresponding to each second weight information with the same ranking to determine the corresponding relationship between the physical address and the logical address.
[0013] In some embodiments of the present invention, generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the corresponding relationship includes: performing a minus one operation on the numerical values of the physical address and the logical address in the corresponding relationship respectively to generate a mapping relationship between the physical address and the logical address of each layer of shelves.
[0014] In some embodiments of the present invention, before determining the first weight information corresponding to the physical address of each layer of shelves and the second weight information corresponding to the logical address of each layer of shelves, the method further includes: determining that the main board of the dynamic cabinet has been replaced.
[0015] To achieve the above object, a second aspect embodiment of the present invention proposes a computer-readable storage medium, on which a calibration program for the nominal order of the dynamic cabinet is stored. When the calibration program for the nominal order of the dynamic cabinet is executed by a processor, it implements the calibration method for the nominal order of the dynamic cabinet in any of the above embodiments.
[0016] A computer-readable storage medium according to an embodiment of the present invention automatically maps the logical address and physical address of each layer of the shelf based on the second weight information and the first weight information, and sends the mapping result to the dynamic cabinet, so that the dynamic cabinet determines the accurate nominal order according to the mapping result, and reports the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operating cost, and enhancing the business processing ability of the company.
[0017] To achieve the above object, an embodiment of the third aspect of the present invention provides a server, which includes a memory, a processor, and a calibration program for the nominal order of the dynamic cabinet stored in the memory and executable on the processor. When the processor executes the calibration program for the nominal order of the dynamic cabinet, the calibration method for the nominal order of the dynamic cabinet in any of the above embodiments is implemented.
[0018] A server according to an embodiment of the present invention automatically maps the logical address and physical address of each layer of the shelf based on the second weight information and the first weight information, and sends the mapping result to the dynamic cabinet, so that the dynamic cabinet determines the accurate nominal order according to the mapping result, and reports the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operating cost, and enhancing the business processing ability of the company.
[0019] To achieve the above object, an embodiment of the fourth aspect of the present invention provides a calibration device for the nominal order of a dynamic cabinet. The dynamic cabinet includes multiple layers of shelves. The device includes: a determination module, configured to determine the first weight information corresponding to the physical address of each layer of the shelf and the second weight information corresponding to the logical address of each layer of the shelf; a generation module, configured to generate a mapping relationship between the physical address and the logical address of each layer of the shelf according to the first weight information and the second weight information, and push the mapping relationship to the dynamic cabinet for nominal order calibration.
[0020] A calibration device for the nominal order of a dynamic cabinet according to an embodiment of the present invention automatically maps the logical address and physical address of each layer of the shelf based on the second weight information and the first weight information, and sends the mapping result to the dynamic cabinet, so that the dynamic cabinet determines the accurate nominal order according to the mapping result, and reports the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operating cost, and enhancing the business processing ability of the company.
[0021] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present invention. Description of the Drawings
[0022] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to an embodiment of the present invention;
[0024] Figure 2 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0025] Figure 3 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0026] Figure 4 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0027] Figure 5 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0028] Figure 6 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0029] Figure 7 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0030] Figure 8 is a schematic flowchart of a calibration method for the nominal sequence of a dynamic cabinet according to another embodiment of the present invention;
[0031] Figure 9 is a structural block diagram of a server according to an embodiment of the present invention;
[0032] Figure 10 is a structural block diagram of a calibration device for the nominal sequence of a dynamic cabinet according to an embodiment of the present invention. Detailed Description of the Embodiment
[0033] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present invention, but should not be construed as limiting the present invention.
[0034] To clearly illustrate the calibration method, device, server, and storage medium for the nominal sequence of a dynamic cabinet in the embodiments of the present invention, the following is combined with Figure 1Describe the flow diagram of the calibration method for the nominal sequence of the dynamic cabinet shown. The dynamic cabinet includes multiple layers of shelves, such as Figure 1 As shown, the calibration method for the nominal sequence of the dynamic cabinet in the embodiments of the present application includes the following steps:
[0035] S11: Determine the first weight information corresponding to the physical address of each layer of the shelf and the second weight information corresponding to the logical address of each layer of the shelf;
[0036] S13: Generate a mapping relationship between the physical address and the logical address of each layer of the shelf according to the first weight information and the second weight information, and push the mapping relationship to the dynamic cabinet so that the dynamic cabinet can perform nominal sequence calibration.
[0037] According to the calibration method of the embodiments of the present invention, automatically map the logical address and the physical address of each layer of the shelf based on the second weight information and the first weight information, and send the mapping result to the dynamic cabinet, so that the dynamic cabinet can determine the accurate nominal sequence according to the mapping result, and report the weight information of each layer of the shelf according to the accurate nominal sequence, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing operating costs, and enhancing the company's business processing ability. At the same time, automatically determine the mapping relationship using the obtained second weight information and first weight information and send it to the dynamic cabinet, without manually modifying the code, reducing development costs, increasing the controllability of functions, increasing the system security and reliability, and effectively improving the response speed of the system.
[0038] Specifically, the dynamic cabinet can be understood as a dynamic identification cabinet. The usage steps of the dynamic cabinet may include scanning the code to open the door, freely selecting goods, and automatically settling accounts when closing the door. During the use of the dynamic cabinet, customers can have zero-distance contact with and select goods. In some embodiments, the dynamic cabinet can measure the weight of goods based on the nominal value and perform automatic settlement based on the weight of the goods; in some embodiments, the dynamic cabinet can be based on the dual complementary technologies of dynamic vision recognition and weight sensing to judge the types and quantities of goods taken by customers, and automatically settle accounts according to the types and quantities of goods taken by customers, which is not limited here. The dynamic cabinet can be divided into normal temperature dynamic cabinets, refrigerated dynamic cabinets, and insulated cabinets according to functions.
[0039] The nominal sequence can be understood as the position corresponding to the nominal value in the shelf. In one example, the nominal value can be an electronic weighing scale.
[0040] The physical address can be understood as the actual position of the shelf that is visible to the naked eye. The first weight information can be understood as the objective weight of the goods corresponding to the actual position of the shelf.
[0041] The logical address can be understood as the virtual position of the shelf that is invisible to the naked eye and is determined according to the signals output with different nominal values during the signal transmission process. The second weight information can be understood as the weight of the commodity corresponding to the shelf measured at the nominal site.
[0042] In the case where the nominal order is not pre-calibrated, the dynamic cabinet cannot determine the mapping relationship between the logical address and the physical address, resulting in the weight information uploaded by the dynamic cabinet being unable to accurately reflect the inventory information of each layer of the shelf, and the shelf fault information feedback by the dynamic cabinet also being unable to help the maintenance personnel accurately locate the actual faulty shelf.
[0043] In one example, the dynamic cabinet includes 5 layers of shelves, and each layer of the shelf is correspondingly provided with a nominal. The physical addresses of the 5 layers of shelves are F1, F2, F3, F4, and F5 respectively, and the 5 nominals are C1, C2, C3, C4, and C5 respectively. In the case where the nominal order is not pre-calibrated, the dynamic cabinet cannot determine the corresponding relationship between each nominal and the shelf. That is to say, although the dynamic cabinet can determine that the weight information measured by the 5 nominals comes from 5 different logical addresses (address 1, address 2, address 3, address 4, address 5), the dynamic cabinet cannot determine which layer of the shelves F1, F2, F3, F4, and F5 the weight information t1 measured by the nominal C1 is, nor can it determine which layer of the shelves F1, F2, F3, F4, and F5 the weight information t2 measured by the nominal C2 is, nor can it determine which layer of the shelves F1, F2, F3, F4, and F5 the weight information t3 measured by the nominal C3 is, nor can it determine which layer of the shelves F1, F2, F3, F4, and F5 the weight information t4 measured by the nominal C4 is, nor can it determine which layer of the shelves F1, F2, F3, F4, and F5 the weight information t5 measured by the nominal C5 is. Therefore, it is necessary to pre-calibrate the nominal order.
[0044] After calibrating the nominal order, the dynamic cabinet can determine the physical address corresponding to the logical address of the shelf, so that the inventory information of the shelf corresponding to the physical address can be accurately determined according to the weight information uploaded by the dynamic cabinet, and the maintenance personnel can accurately determine the actual faulty shelf according to the shelf fault information feedback by the dynamic cabinet.
[0045] Please refer to Figure 2 , in some embodiments of the present invention, step S11 includes the following steps:
[0046] S111: Receive the inventory information of each layer of the shelf uploaded by the goods allocation terminal;
[0047] S113: Determine the first weight information corresponding to the physical address of each layer of the shelf according to the inventory information of each layer of the shelf.
[0048] In this way, when the delivery person at the merchant side replenishes the dynamic cabinet with goods, the weight corresponding to the actual position of each layer of the shelf can be obtained incidentally. It can be understood that the inventory information uploaded by the replenishment terminal is the inventory information corresponding to the physical address of each layer of the shelf.
[0049] Specifically, the replenishment terminal includes, but is not limited to, a mobile phone, a tablet computer, a laptop computer, or other electronic terminals with data transmission functions. The replenishment terminal may include an input module and a communication module. The inventory information of the actual position of each layer of the shelf can be obtained through the input module, and the obtained inventory information of the actual position of each layer of the shelf can be uploaded through the communication module.
[0050] In some embodiments, the input module may include one or more of a touch display screen, input buttons, and a voice recognition unit. In one example, the replenishment terminal determines the inventory information of each layer of the shelf according to the input information from the touch display screen or the input buttons. In one example, the voice recognition unit of the replenishment terminal recognizes the received voice to determine the inventory information of each layer of the shelf.
[0051] In some embodiments, the communication module may upload the obtained inventory information of the actual position of each layer of the shelf by means of wired communication (twisted pair, coaxial cable, optical fiber, etc.) or wireless communication (Bluetooth, WiFi, LiFi, mobile communication network, etc.).
[0052] The inventory information may include the types of goods and the quantities of goods. It can be understood that the single weight of each type of goods is determined in advance. After the inventory information of each layer of the shelf is obtained, the first weight information corresponding to the physical address of each layer of the shelf can be determined according to the single weight information of each type of goods determined in advance and the quantity of each type of goods in the shelf.
[0053] In some embodiments, the delivery person scans the code to open the door of the dynamic cabinet, replenishes the goods in the dynamic cabinet, and uploads the inventory information of each layer of the shelf through the replenishment terminal after the replenishment is completed.
[0054] In one example, the dynamic cabinet includes five layers of shelves with physical addresses F1, F2, F3, F4, and F5 respectively. According to the inventory information m1 of shelf F1 uploaded by the distribution terminal, the corresponding weight b1 of shelf F1 can be determined. According to the inventory information m2 of shelf F2 uploaded by the distribution terminal, the corresponding weight b2 of shelf F2 can be determined. According to the inventory information m3 of shelf F3 uploaded by the distribution terminal, the corresponding weight b3 of shelf F3 can be determined. According to the inventory information m4 of shelf F4 uploaded by the distribution terminal, the corresponding weight b4 of shelf F4 can be determined. According to the inventory information m5 of shelf F5 uploaded by the distribution terminal, the corresponding weight b5 of shelf F5 can be determined.
[0055] Please refer to Figure 3 , in some embodiments of the present invention, step S11 further includes the following steps:
[0056] S115: Send a weight detection instruction to the dynamic cabinet, where the weight detection instruction is used to instruct the dynamic cabinet to determine the second weight information corresponding to the logical address of each layer of the shelf;
[0057] S117: Receive the second weight information corresponding to the logical address of each layer of the shelf uploaded by the dynamic cabinet.
[0058] In this way, the second weight information corresponding to the logical address of each layer of the shelf can be obtained.
[0059] It can be understood that at this time, the logical address has not yet established a mapping relationship with the physical address. After receiving the weight detection instruction, the dynamic cabinet can obtain the signal of each nominal output and determine the second weight information corresponding to multiple logical addresses according to the signal of the nominal output, but it cannot determine the physical address corresponding to the second weight information.
[0060] Please refer to Figure 4 , in some embodiments of the present invention, step S13 includes the following steps:
[0061] S131: Sort the first weight information and the second weight information respectively;
[0062] S133: Analyze the corresponding relationship between the physical address and the logical address according to the sorted first weight information and the second weight information;
[0063] S135: Generate a mapping relationship between the physical address and the logical address of each layer of the shelf according to the corresponding relationship.
[0064] In this way, a mapping relationship between the physical address and the logical address of each layer of the shelf can be established based on the second weight information and the first weight information. It can be understood that since the second weight information is basically the same as the first weight information, while the logical address is different from the physical address, therefore, according to the sorted second weight information and the first weight information, the logical address and the physical address can be corresponding.
[0065] Specifically, the sorting method can be from large to small or from small to large, which is not limited here. In some embodiments, multiple second weight information and multiple first weight information are both sorted from large to small; in some embodiments, multiple second weight information and multiple first weight information are both sorted from small to large; in some embodiments, multiple second weight information are sorted from large to small, and multiple first weight information are sorted from small to large; in some embodiments, multiple second weight information are sorted from small to large, and multiple first weight information are sorted from large to small.
[0066] Please refer to Figure 5 , in some embodiments of the present invention, the sorting method of the first weight information is the same as that of the second weight information, and step S133 includes the following steps:
[0067] S1331: Associate the physical address corresponding to each first weight information with the same ranking with the logical address corresponding to each second weight information with the same ranking to determine the corresponding relationship between the physical address and the logical address.
[0068] In this way, the corresponding relationship between the logical address and the physical address can be obtained quickly and conveniently.
[0069] Specifically, the number of the second weight information is the same as the number of the first weight information, and the number of the logical address is the same as the number of the physical address. The logical address and the physical address can be associated one by one according to the ranking of the weight information.
[0070] Please refer to Figure 6 , in some embodiments of the present invention, step S135 includes the following steps:
[0071] S1351: Perform a subtraction operation on the numerical values of the physical address and the logical address in the corresponding relationship respectively to generate a mapping relationship between the physical address and the logical address of each layer of the shelf.
[0072] It can be understood that the corresponding relationship cannot be recognized or used by the dynamic cabinet. After converting the corresponding relationship into a mapping relationship, the mapping relationship can be recognized and used by the dynamic cabinet.
[0073] Specifically, the logical address and the physical address can be mapped in the form of key-value pairs. The mapping relationship can be a set of multiple key-value pairs.
[0074] In some embodiments, the logical address is used as the key and the physical address is used as the value to generate a logical address: physical address key-value pair, thereby representing the mapping map from the logical address to the physical address.
[0075] Please refer to Figure 7 , in some embodiments of the present invention, before step S11, the method further includes the following steps:
[0076] S15: Determine that the main board replacement of the dynamic cabinet is completed.
[0077] In this way, after replacing the main board, the logical address and the physical address of each layer of the shelf can be automatically mapped based on the second weight information and the first weight information, and the mapping result can be sent to the dynamic cabinet, so that the dynamic cabinet can determine the accurate nominal order according to the mapping result, and report the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of the maintenance personnel, improving the maintenance efficiency of the maintenance personnel, and reducing the operation cost.
[0078] It can be understood that in the related art, when replacing the main board of the dynamic cabinet, if the old main board does not report the configuration information or the reported configuration information does not include the nominal order of the dynamic cabinet, then after replacing the old main board with a new main board, the dynamic cabinet cannot determine its own nominal order, and further causes the weight information reported by the dynamic cabinet to not correspond to the physical address of each layer of the shelf, which is not conducive to normal monitoring of the usage status of the dynamic cabinet. To solve this situation, in the related art, only the maintenance personnel can manually write new code and input it into the new main board, and the maintenance personnel manually writing new code takes a lot of time and affects the maintenance efficiency.
[0079] The technical solution of the present method will be described below with a specific embodiment.
[0080] Assume that the dynamic cabinet includes 5 layers of shelves, each layer of the shelf is correspondingly provided with a nominal, the physical addresses of the 5 layers of shelves are F1, F2, F3, F4, and F5 respectively, and the 5 nominals are C1, C2, C3, C4, and C5 respectively. Among them, the logical address of the shelf corresponding to the nominal C1 is address 1, the logical address of the shelf corresponding to the nominal C2 is address 2, the logical address of the shelf corresponding to the nominal C3 is address 3, the logical address of the shelf corresponding to the nominal C4 is address 4, and the logical address of the shelf corresponding to the nominal C5 is address 5.
[0081] Please combine Figure 8, after replacing the main board of the dynamic cabinet, the deliveryman scans the code to open the door and pick goods for the dynamic cabinet, and uploads the inventory information of each layer of the shelf to the server through the picking terminal when the picking is completed. The server issues a weight detection instruction to the dynamic cabinet, and determines that the second weight information corresponding to address 1 is 28.1, the second weight information corresponding to address 2 is 30.3, the second weight information corresponding to address 3 is 24.9, the second weight information corresponding to address 4 is 15.0, and the second weight information corresponding to address 5 is 20.2 according to the information uploaded by the dynamic cabinet. The server determines that the first weight information corresponding to shelf F1 is 28, the first weight information corresponding to shelf F2 is 30, the first weight information corresponding to shelf F3 is 20, the first weight information corresponding to shelf F4 is 25, and the first weight information corresponding to shelf F5 is 15 according to the received inventory information.
[0082] Further, the server arranges the 5 first weight information in descending order to get "30, 28, 25, 20, 15". The server arranges the 5 second weight information in descending order to get "30.3, 28.1, 24.9, 20.2, 15.0". According to the first first weight information 30 and the first second weight information 30.3, it can be parsed that address 2 corresponds to F2; according to the second first weight information 28 and the second second weight information 28.1, it can be parsed that address 1 corresponds to F1; according to the third first weight information 25 and the third second weight information 24.9, it can be parsed that address 3 corresponds to F4; according to the fourth first weight information 20 and the fourth second weight information 20.2, it can be parsed that address 5 corresponds to F3; according to the fifth first weight information 15 and the fifth second weight information 15.0, it can be parsed that address 4 corresponds to F5, that is, the corresponding relationship is: (address 2, F2), (address 1, F1), (address 3, F4), (address 5, F3), (address 4, F5).
[0083] Furthermore, the server subtracts 1 from the numerical values of the logical addresses and physical addresses in the corresponding relationship respectively, and creates a logical address: physical address key-value pair with the logical address as the key and the physical address as the value, and gets the mapping relationship as: {"0": "0", "1": "1", "2": "3", "3": "4", "4": "2",}.
[0084] Finally, the server sends the obtained mapping relationship to the dynamic cabinet. Based on the received mapping relationship, the dynamic cabinet can determine that the weight detected by nominal C1 is the weight of the commodity corresponding to shelf F1, the weight detected by nominal C2 is the weight of the commodity corresponding to shelf F2, the weight detected by nominal C3 is the weight of the commodity corresponding to shelf F4, the weight detected by nominal C4 is the weight of the commodity corresponding to shelf F5, and the weight detected by nominal C5 is the weight of the commodity corresponding to shelf F3. Thus, it is not necessary for the maintenance personnel to manually write new code to calibrate the nominal order of the dynamic cabinet, reducing the workload of the maintenance personnel and improving the maintenance efficiency.
[0085] It should be noted that this method is used to automatically calibrate the nominal order of the dynamic cabinet when the first goods allocation is completed after the main board of the dynamic cabinet is replaced. After the calibration is completed, if the dynamic cabinet does not malfunction, it is not necessary to perform calibration again.
[0086] It should be noted that the specific values mentioned above are only used as examples to illustrate the implementation of the present invention in detail, and should not be construed as a limitation of the present invention. In other examples or embodiments or implementations, other values can be selected according to the present invention, and no specific limitation is made here.
[0087] To implement the above embodiments, an embodiment of the present invention also provides a computer-readable storage medium, on which a calibration program for the nominal order of the dynamic cabinet is stored. When the calibration program for the nominal order of the dynamic cabinet is executed by a processor, the calibration method for the nominal order of the dynamic cabinet in any of the above embodiments is implemented.
[0088] According to the computer-readable storage medium of the embodiment of the present invention, the logical address and physical address of each layer of the shelf are automatically mapped based on the second weight information and the first weight information, and the mapping result is sent to the dynamic cabinet, so that the dynamic cabinet can determine the accurate nominal order according to the mapping result, and report the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of the maintenance personnel, improving the maintenance efficiency of the maintenance personnel, reducing the operating cost, and enhancing the business processing ability of the company.
[0089] In one example, when the processor executes this program, the above steps S11 and S13 can be implemented.
[0090] In one example, when the processor executes this program, the above steps S111 and S113 can be implemented.
[0091] In one example, when the processor executes this program, the above steps S115 and S117 can be implemented.
[0092] In one example, when the processor executes this program, the above steps S131, S133, and S135 can be implemented.
[0093] In one example, when the processor executes the program, the above-mentioned step S1331 can be implemented.
[0094] In one example, when the processor executes the program, the above-mentioned step S1351 can be implemented.
[0095] In one example, when the processor executes the program, the above-mentioned step S15 can be implemented.
[0096] It should be noted that the above explanations of the implementation manners and beneficial effects of the calibration method are also applicable to the computer-readable medium of the present invention. To avoid redundancy, no detailed expansion will be made here.
[0097] To implement the above-mentioned embodiments, an embodiment of the present invention further provides a server, which can implement the calibration method of any of the above-mentioned embodiments. Figure 9 It is a schematic structural diagram of a server according to an embodiment of the present invention. As Figure 9 shown, the server 100 proposed by the present invention includes a memory 102, a processor 104, and a calibration program 106 of the dynamic cabinet nominal sequence stored on the memory 102 and operable on the processor 104. When the processor 104 executes the calibration program 106 of the dynamic cabinet nominal sequence, the calibration method of the dynamic cabinet nominal sequence of any of the above-mentioned embodiments is implemented.
[0098] The server 100 according to the embodiment of the present invention automatically maps the logical address and physical address of each layer of the shelf based on the second weight information and the first weight information, and sends the mapping result to the dynamic cabinet, so that the dynamic cabinet determines the accurate nominal sequence according to the mapping result, and reports the weight information of each layer of the shelf according to the accurate nominal sequence, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operation cost, and enhancing the business processing ability of the company.
[0099] In one example, when the processor 104 executes the program, the above-mentioned steps S11 and S13 can be implemented.
[0100] In one example, when the processor 104 executes the program, the above-mentioned steps S111 and S113 can be implemented.
[0101] In one example, when the processor 104 executes the program, the above-mentioned steps S115 and S117 can be implemented.
[0102] In one example, when the processor 104 executes the program, the above-mentioned steps S131, S133, and S135 can be implemented.
[0103] In one example, when the processor 104 executes the program, the above-mentioned step S1331 can be implemented.
[0104] In one example, when the processor 104 executes the program, the above-mentioned step S1351 can be implemented.
[0105] In one example, when the processor 104 executes the program, the above-mentioned step S15 can be implemented.
[0106] It should be noted that the above explanations of the implementation manners and beneficial effects of the calibration method are also applicable to the server 100 of the present invention. To avoid redundancy, no detailed elaboration will be made here.
[0107] To implement the above embodiments, an embodiment of the present invention further provides a calibration device for the nominal order of a dynamic cabinet. The calibration device can implement the calibration method of any of the above embodiments. Figure 10 It is a schematic structural diagram of a calibration device for the nominal order of a dynamic cabinet according to an embodiment of the present invention. The dynamic cabinet includes multiple layers of shelves. As Figure 10 shown, the calibration device 300 for the nominal order of the dynamic cabinet proposed by the present invention includes a determination module 302 and a generation module 304. The determination module 302 is used to determine the first weight information corresponding to the physical address of each layer of the shelf and the second weight information corresponding to the logical address of each layer of the shelf. The generation module 304 is used to generate a mapping relationship between the physical address and the logical address of each layer of the shelf according to the first weight information and the second weight information, and push the mapping relationship to the dynamic cabinet so that the dynamic cabinet can perform nominal order calibration.
[0108] According to the calibration device 300 of the embodiment of the present invention, the logical address and the physical address of each layer of the shelf are automatically mapped based on the second weight information and the first weight information, and the mapping result is sent to the dynamic cabinet, so that the dynamic cabinet can determine the accurate nominal order according to the mapping result, and report the weight information of each layer of the shelf according to the accurate nominal order, thereby reducing the workload of maintenance personnel, improving the maintenance efficiency of maintenance personnel, reducing the operation cost, and enhancing the business processing ability of the company.
[0109] In some embodiments of the present invention, the determination module 302 includes a first receiving unit and a determination unit. The first receiving unit is used to implement step S111 in the above method. The determination unit is used to implement step S113 in the above method.
[0110] In some embodiments of the present invention, the determination module 302 further includes a sending unit and a second receiving unit. The sending unit is used to implement step S115 in the above method. The second receiving unit is used to implement step S117 in the above method.
[0111] In some embodiments of the present invention, the generation module 304 includes a sorting unit, a parsing unit, and a generation unit. The sorting unit is used to implement step S131 in the above method. The parsing unit is used to implement step S133 in the above method. The generation unit is used to implement step S135 in the above method.
[0112] In some embodiments of the present invention, the parsing unit is further used to implement step S1331 in the above method.
[0113] In some embodiments of the present invention, the generation unit is further used to implement step S1351 in the above method.
[0114] In some embodiments of the present invention, the calibration device for the nominal order of the dynamic cabinet further includes an inspection module. The inspection module is used to implement step S15 in the above method.
[0115] It should be noted that the above explanations of the implementation manners and beneficial effects of the calibration method are also applicable to the calibration device 300 of the present invention. To avoid redundancy, they will not be elaborated in detail here.
[0116] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0117] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.
[0118] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implement the functions in Figure 1 one or more flows and / or blocksFigure 1 The functions specified in one or more boxes.
[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one Figure 1 one process or more processes and / or boxes Figure 1 or more boxes.
[0120] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0121] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the present invention.
[0122] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the technical features indicated in this embodiment. Thus, the features defined with the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that at least one such feature is included in this embodiment. In the description of the present invention, the meaning of the word "plurality" is at least two or more, such as two, three, four, etc., unless otherwise specifically defined in the embodiments.
[0123] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "coupled" and "fixed" etc. appearing in the embodiments shall be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or integrated. Understandably, it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be directly connected, or indirectly connected through an intermediate medium, or it can be the communication inside two elements, or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situations.
[0124] In the present invention, unless otherwise clearly specified and limited, the first feature being "on" or "under" the second feature can be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature can be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature can be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.
[0125] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for calibrating the nominal order of a dynamic cabinet, characterized in that, the dynamic cabinet includes multiple layers of shelves, and the method includes: determining the first weight information corresponding to the physical address of each layer of shelves and the second weight information corresponding to the logical address of each layer of shelves; generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the first weight information and the second weight information, and pushing the mapping relationship to the dynamic cabinet so that the dynamic cabinet performs nominal order calibration; wherein, the physical address is the actual position of the shelf that can be seen with the naked eye, the first weight information is the objective weight of the goods corresponding to the actual position of the shelf, the logical address is the virtual position of the shelf that cannot be seen with the naked eye and is determined according to the signals output according to different nominal values during the signal transmission process, and the second weight information is the weight of the goods corresponding to the shelf obtained by on-site measurement of the nominal value; determining the first weight information corresponding to the physical address of each layer of shelves includes: receiving the inventory information of each layer of shelves uploaded by the goods distribution terminal; determining the first weight information corresponding to the physical address of each layer of shelves according to the inventory information of each layer of shelves; determining the second weight information corresponding to the logical address of each layer of shelves includes: sending a weight detection instruction to the dynamic cabinet, wherein the weight detection instruction is used to instruct the dynamic cabinet to determine the second weight information corresponding to the logical address of each layer of shelves; receiving the second weight information corresponding to the logical address of each layer of shelves uploaded by the dynamic cabinet.
2. The method according to claim 1, characterized in that, generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the first weight information and the second weight information includes: sorting the first weight information and the second weight information respectively; analyzing the corresponding relationship between the physical address and the logical address according to the sorted first weight information and second weight information; generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the corresponding relationship.
3. The method according to claim 2, characterized in that, the sorting method of the first weight information is the same as the sorting method of the second weight information, and analyzing the corresponding relationship between the physical address and the logical address according to the sorted first weight information and second weight information includes: associating the physical address corresponding to each first weight information with the same ranking with the logical address corresponding to each second weight information with the same ranking to determine the corresponding relationship between the physical address and the logical address.
4. The method according to claim 2, characterized in that, generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the corresponding relationship includes: performing a minus one operation on the numerical values of the physical address and the logical address in the corresponding relationship respectively to generate a mapping relationship between the physical address and the logical address of each layer of shelves.
5. The method according to claim 1, characterized in that, before determining the first weight information corresponding to the physical address of each layer of shelves and the second weight information corresponding to the logical address of each layer of shelves, the method further includes: Determine that the main board replacement of the dynamic cabinet is completed.
6. A computer-readable storage medium, characterized in that, it stores a calibration program for the nominal order of the dynamic cabinet, and when the calibration program for the nominal order of the dynamic cabinet is executed by a processor, it implements the calibration method for the nominal order of the dynamic cabinet according to any one of claims 1-5.
7. A server, characterized in that, it includes a memory, a processor, and a calibration program for the nominal order of the dynamic cabinet stored on the memory and operable on the processor. When the processor executes the calibration program for the nominal order of the dynamic cabinet, it implements the calibration method for the nominal order of the dynamic cabinet according to any one of claims 1-5.
8. A calibration device for the nominal order of a dynamic cabinet, characterized in that, the dynamic cabinet includes multiple layers of shelves, and the device includes: a determination module for determining the first weight information corresponding to the physical address of each layer of shelves and the second weight information corresponding to the logical address of each layer of shelves; a generation module for generating a mapping relationship between the physical address and the logical address of each layer of shelves according to the first weight information and the second weight information, and pushing the mapping relationship to the dynamic cabinet for the dynamic cabinet to perform nominal order calibration; wherein, the physical address is the actual position of the shelf that can be seen with the naked eye, the first weight information is the objective weight of the goods corresponding to the actual position of the shelf, the logical address is the virtual position of the shelf determined according to the signals output according to different nominal values during the signal transmission process and that cannot be seen with the naked eye, and the second weight information is the weight of the goods corresponding to the shelf obtained by on-site measurement of the nominal value; Determining the first weight information corresponding to the physical address of each layer of shelves includes: receiving the inventory information of each layer of shelves uploaded by the goods distribution terminal; determining the first weight information corresponding to the physical address of each layer of shelves according to the inventory information of each layer of shelves; Determining the second weight information corresponding to the logical address of each layer of shelves includes: sending a weight detection instruction to the dynamic cabinet, where the weight detection instruction is used to instruct the dynamic cabinet to determine the second weight information corresponding to the logical address of each layer of shelves; receiving the second weight information corresponding to the logical address of each layer of shelves uploaded by the dynamic cabinet.
Citation Information
Patent Citations
Output method and apparatus
CN108122082A
Information generation method and system for goods on goods shelf
CN112101867A