Article sample distribution method and device, intelligent cabinet and storage medium
By using the sampling instructions and cargo lane encoding issued by the control terminal in the item sampling system, the accuracy of the delivery operation of the prototype is ensured, and the problems of low efficiency and loss of item sampling in the prior art are solved, and more efficient Item sample and record processing.
Patent Information
- Application Number
- CN202410994875.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The existing offline item sampling methods are inefficient and are prone to statistical errors and loss of items.
By receiving sampling instructions issued by the control terminal, the cargo lane code is determined and sent to the dispatching machine to perform the shipment operation, receiving and feedback the execution results, ensuring the dialing position and cargo lane code between the dispatching machine and the smart cabinet and the delivery lane code are ensured. Consistently, improving sampling accuracy and efficiency.
It improves the accuracy and efficiency of item assignments, ensures the reliability of subsequent processing and recording, and reduces the risk of manual errors and loss.
Smart Images

Figure CN119169736A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of item sampling, and in particular to an item sampling method, device, intelligent cabinet and storage medium. Background Art
[0002] Currently, when merchants need to launch new activities offline for potential customers (for example, launching new products), most merchants manually distribute items related to the activities. This is not only labor-intensive and cannot guarantee the promotion effect, but also prone to statistical errors and item loss when distributing items manually. Summary of the invention
[0003] Based on this, it is necessary to provide an item sampling method, device, smart cabinet and storage medium to address the above-mentioned technical problems, so as to solve the problem of poor sampling efficiency in existing offline sampling methods.
[0004] A method for distributing samples of items, comprising:
[0005] The receiving control terminal sends a sampling instruction according to the dial position, and determines the cargo lane code according to the sampling instruction;
[0006] Send the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation;
[0007] Receive the first execution result of the shipping operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
[0008] An article sampling method and device, comprising:
[0009] The sampling instruction module is used to receive the sampling instruction issued by the control terminal according to the dial position, and determine the cargo channel code according to the sampling instruction
[0010] A shipping operation module, used for sending the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform a shipping operation;
[0011] The execution result module is used to receive the first execution result of the shipment operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
[0012] A controller 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 item sampling method is implemented.
[0013] One or more readable storage media storing computer-readable instructions, which, when executed by one or more processors, enable the one or more processors to execute the above-mentioned method for item sampling.
[0014] The above-mentioned method, device, smart cabinet and storage medium for distributing samples of items include: receiving a sampling instruction issued by a control terminal according to a dial position, and determining a channel code according to the sampling instruction; sending the channel code to a sample distributing machine corresponding to the dial position, so that the sample distributing machine controls the target channel corresponding to the channel code to perform a shipping operation; receiving a first execution result of the shipping operation fed back by the sample distributing machine, and feeding back the first execution result to the control terminal. The method for distributing samples of items provided by the present invention not only takes into account the dial position between the sample distributing machine and the smart cabinet, but also takes into account the channel code, thereby ensuring the accuracy and efficiency of sampling. Secondly, feeding back the first execution result to the control terminal is helpful for the subsequent processing and recording of sample distributing of items. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] 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.
[0016] Figure 1 is a schematic diagram of an application environment of a method for distributing samples of items in one embodiment of the present invention;
[0017] Figure 2 is a schematic diagram of a process of a method for distributing samples of items in one embodiment of the present invention;
[0018] Figure 3 It is a structural schematic diagram of an article sampling method device in one embodiment of the present invention;
[0019] Figure 4 is a schematic diagram of a controller in one embodiment of the present invention. DETAILED DESCRIPTION
[0020] 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.
[0021] The method for distributing items provided in this embodiment can be applied to Figure 1In the application environment, the client communicates with the server. The client includes but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. When the client is a smart phone application, the application can identify the QR code of the sample distribution terminal to enter the sampling interface. The smart phone application is used as a carrier. While satisfying the user sampling, it also guides the application and increases daily activity, achieving a win-win situation. The server can be implemented with an independent server or a server cluster consisting of multiple servers.
[0022] In one embodiment, if Figure 2 As shown, a method for distributing samples of articles is provided, and the method is applied in Figure 1 The server in the example is used as an example to illustrate the following steps:
[0023] S10, receiving the sampling instruction sent by the control terminal according to the dial position, and determining the cargo lane code according to the sampling instruction.
[0024] It is understandable that the intelligent sampling system includes a control terminal, an intelligent cabinet and a sample dispensing machine. Among them, the control terminal refers to the central processing unit in the intelligent cabinet system, which is responsible for receiving, processing and sending various instructions. The intelligent cabinet is used to receive and process various instructions issued by the control terminal, and then issue corresponding various instructions to the sample dispensing machine, so that the sample dispensing machine performs various operations corresponding to the received instructions. It is understandable that a smart cabinet can communicate with multiple sample dispensing machines, and there is a dial position between the smart cabinet and each sample dispensing machine, and the dial position can be manually set or determined by selecting specific parameters or options. That is, each sample dispensing machine corresponds to a dial position, and a dial position is associated with a sample dispensing machine and a smart cabinet.
[0025] It is understandable that the smart cabinet communicates with each sample dispensing machine through the dial position, that is, the smart cabinet sends instructions to each sample dispensing machine through the dial position. The sampling instruction is an instruction issued by the control terminal according to the dial position, and the purpose is to take out the specified sample from the sample dispensing machine. Specifically, the sampling instruction can be generated according to the dial position of the sample dispensing machine when the control terminal receives a sampling request associated with the sampling activity sent by the sample dispensing machine. It is understandable that each sample dispensing machine is provided with multiple aisles for placing samples, and each aisle has a unique code. The aisle code can be used to identify and locate the specific aisle.
[0026] S20, sending the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation.
[0027] Understandably, after determining the aisle code, the smart cabinet sends the aisle code to the sample distribution machine corresponding to the dial position. After receiving the aisle code, the sample distribution machine identifies the target aisle that needs to be operated (including the first target aisle and the second target aisle mentioned later) according to the aisle code, and performs the shipping operation so that the goods in the target aisle can be taken out by the user. Understandably, the sample distribution machine refers to a machine used to distribute samples, which can control the shipping operation of the aisle. Each aisle of the sample distribution machine has an aisle code, and the target aisle refers to the aisle corresponding to the aisle code.
[0028] S30, receiving the first execution result of the shipping operation fed back by the sample distribution machine, and feeding back the first execution result to the control terminal.
[0029] Understandably, after the sample dispensing machine executes the shipping operation, the sample dispensing machine detects the result of the shipping operation executed by the sample dispensing machine through the grating sensor built into its pickup port, that is, the first execution result. When the sample is successfully shipped from the target cargo channel and falls off the pickup port, the grating sensor will recognize that the sample has fallen off the pickup port, and will feed back the information of successful shipping (the first execution result) to the control terminal. When the sample is not successfully shipped from the target cargo channel and falls off the pickup port, the grating sensor will not be able to recognize that the sample has fallen off the pickup port, and will feed back the information of failed shipping (the first execution result) to the control terminal. In this way, the control terminal can confirm whether the shipping operation is completed as expected, and perform subsequent processing or recording accordingly. For example, the sampling operation of the corresponding user is tracked according to the first execution result, or the lost sample is tracked according to the first execution result.
[0030] In steps S10-S30, the receiving control terminal sends a sampling instruction according to the dial position, determines the cargo lane code according to the sampling instruction; sends the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation;
[0031] The first execution result of the shipping operation fed back by the sample dispensing machine is received, and the first execution result is fed back to the control terminal. The item sampling method provided in this embodiment not only takes into account the dial position between the sample dispensing machine and the smart cabinet, but also takes into account the channel coding, thereby ensuring the accuracy and efficiency of sampling. Secondly, the first execution result is fed back to the control terminal, which is helpful for the subsequent processing or recording of item sampling.
[0032] In one embodiment, that is, in step S10, the receiving control terminal sends a sampling instruction according to the dial position, including:
[0033] S101. Receive a sampling instruction sent by the control terminal, wherein the sampling instruction is generated according to the dial position of the sample dispensing machine when the control terminal receives a sampling request associated with a target sampling activity sent by the sample dispensing machine; wherein the target sampling activity refers to a sampling activity created after the control terminal receives the dial position sent by the sample dispensing machine and the self-test result of the sample dispensing machine, and determines that the self-test result is passed.
[0034] Understandably, the sampling instruction includes the self-check of the sample distribution machine before it is generated, and the generation and reception process of the sampling instruction includes the creation of the target sampling activity, the sending of the sampling request, the generation of the sampling instruction, and the reading of the dial position, etc. Understandably, when a new sample distribution machine is put into use, it is necessary to associate the sample distribution machine with an intelligent cabinet to obtain a dial position, and then activate the sample distribution machine and complete the self-check. After the self-check result indicates that the sample distribution machine has passed the self-check, the merchant can create a sampling activity through the item management service provided by the control terminal, that is, create a target sampling activity. After the target sampling activity is created, the customer can enter the target sampling activity through the link of the target sampling activity provided by the sample distribution machine (for example, the control terminal generates a QR code for each sample distribution machine, and the customer enters the sampling activity corresponding to the sample distribution machine through the QR code posted on the sample distribution machine), and perform the sampling confirmation operation on the interface provided by the target sampling activity, and the sample distribution machine generates a sampling request in response to the sampling confirmation operation. Among them, the sampling request includes the dial position, the number of samples, the sampled item information, etc. In this way, it can be ensured that when the sample dispenser passes the self-test and the dial position is correct, the sampling operation is accurately performed according to the sampling instructions of the control terminal, thereby improving the reliability and accuracy of the sample dispenser operation and ensuring that customers can obtain samples smoothly.
[0035] In one embodiment, before step S10, that is, before receiving the sampling instruction sent by the control terminal, the following steps are included:
[0036] S11. Receive the hardware code of the sample distribution machine sent by the control terminal, and determine the dial position of the sample distribution machine according to the hardware code; it can be understood that the smart cabinet has a unique cabinet code, and the cabinet code is used to identify the smart cabinet. The hardware code is a unique identification code for the sample distribution machine, which is used to identify the sample distribution machine. Before the sample distribution machine is activated, based on the association relationship, the cabinet code associated with it can be queried according to the hardware code, and then the smart cabinet associated with the sample distribution machine can be located. The dial position for communication between the smart cabinet and the sample distribution machine can be determined through the smart cabinet.
[0037] S12. Send an activation instruction to the sample dispensing machine corresponding to the dial position, so that the sample dispensing machine performs a self-check operation according to the activation instruction, and reports the self-check result corresponding to the self-check operation, the coding information and the dial position to the control terminal.
[0038] Understandably, after determining the dial position of the sample distribution machine, an activation instruction is sent to the sample distribution machine through the intelligent cabinet, so that the sample distribution machine performs a self-check according to the activation instruction and enters the working state when the self-check is passed. The self-check operation refers to a series of checks performed by the sample distribution machine to ensure that all its components and functions are functioning normally, including network checks, grating checks, etc. The self-check result refers to the result of the self-check operation, including two results: passing the self-check and failing the self-check. After the self-check operation, the self-check result, the coding information and the dial position are reported to the control terminal, so that the control terminal determines whether to update the working state of the sample distribution machine according to the self-check result, the coding information and the dial position. In this embodiment, the control terminal sends an activation instruction to the corresponding sample distribution machine according to the dial position determined in step S11. After receiving the activation instruction, the sample distribution machine performs a self-check operation to check the status of its hardware and software systems. After the self-check is completed, the sample distribution machine generates a self-check result and sends it back to the control terminal together with the hardware coding information and the dial position. In this way, the control terminal can promptly understand the status of the sample dispatching machine and whether it is ready to perform the sampling operation.
[0039] Preferably, the control terminal verifies whether the self-test result is made by the sample dispensing machine corresponding to the activation instruction according to the coding information and the dial position, so as to ensure the accuracy of the self-test result. When it is determined that the self-test result is made by the sample dispensing machine corresponding to the activation instruction, and the self-test result indicates that the sample dispensing machine has passed the self-test, the working state of the sample dispensing machine is updated, for example, the working state of the sample dispensing machine is updated from the waiting activation state to the sampling state. In this way, the control terminal can timely understand the status of the sample dispensing machine.
[0040] In one embodiment, after step S20, that is, after sending the channel code to the sample distribution machine corresponding to the dial position, the following steps are included:
[0041] S201, generate a sampling lock corresponding to the dial code position, and lock the sample distribution machine corresponding to the dial code position through the sampling lock, so that all the channels except the first target channel in the sample distribution machine are in a non-shipping state; it is understandable that when there are multiple sampling requests for the same sample distribution machine at the same time and the channels are inconsistent, the sample distribution machine is prone to malfunction due to jamming, and it is difficult to confirm the ownership of the taken items. Here, after the sample distribution machine receives the channel code, a sampling lock is generated for the sample distribution machine. Among them, the sampling lock refers to a logical locking mechanism for controlling the shipping state of the sample distribution machine. The first target channel refers to the designated channel that currently needs to perform the shipping operation. The non-shipping state refers to the channel being in a non-shipping state. It should be understood that the role of the sampling lock is to lock the sample distribution machine so that all channels except the first target channel in the sample distribution machine cannot perform the shipping operation, so as to ensure that when the sampling operation is performed, there will be no simultaneous operation or interference of other channels, which will make it impossible to confirm the ownership of the items. Through the sampling lock, the system can accurately control the shipping operation to ensure that only one aisle can ship at a time.
[0042] S202, determining the execution time of the shipment operation, and if the execution time is longer than a preset timeout time, releasing the sampling lock so that all the cargo lanes of the sample distribution machine corresponding to the dial position are in a shipment state.
[0043] Understandably, the shippable state means that the aisle is in a state where shipment is possible. The execution time refers to the time to execute the shipment operation. The preset timeout refers to the preset timeout, which can be set according to demand. The sampling lock is released when the execution time is longer than the preset timeout. When the execution time of the shipment operation exceeds the preset timeout, it indicates that the shipment operation may have encountered a problem or failure. In order to prevent the sample distribution machine from being locked for a long time and affecting other operations, the sampling lock will be released. After releasing the sampling lock, all aisles of the sample distribution machine corresponding to the dial position will be restored to the shippable state, thereby allowing normal shipment operations in other aisles.
[0044] In this embodiment, not only can the accurate execution of the shipping operation be ensured, but also possible abnormal situations can be handled, ensuring the overall operating efficiency of the sample distribution machine and the user experience, avoiding the sample distribution machine from being occupied for a long time, and confirming the ownership of the items, which can effectively improve the sample distribution efficiency.
[0045] In one embodiment, the method for distributing items further includes:
[0046] S13, receiving a replenishment instruction including the dial position sent by the control terminal, and controlling the preset replenishment cabinet door of the sample distribution machine corresponding to the dial position to open;
[0047] S14. After receiving the replenishment completion information fed back by the sample distribution machine, control the preset replenishment cabinet door to close.
[0048] Understandably, the replenishment instruction refers to an instruction for guiding the sample dispensing machine to perform a replenishment operation. The preset replenishment door refers to the door on the sample dispensing machine used for replenishment, and each sample dispensing machine usually has one or more entrances for replenishment. It should be understood that the merchant can perform a replenishment application operation in the merchant service provided by the control terminal, and the control terminal generates a replenishment instruction in response to the replenishment application operation to control the preset replenishment door to open, so that the merchant can replenish the sample dispensing machine. After replenishing the sample dispensing machine, the merchant can register the quantity, name and other information of the replenished goods through the merchant service, and perform a replenishment completion operation. After the sample dispensing machine generates a replenishment completion information in response to the replenishment completion operation, it controls the preset replenishment door to close. In this way, an automated replenishment process can be implemented, which improves the efficiency and convenience of replenishment. At the same time, the safety and accuracy of the replenishment operation are ensured, and the possibility of human operation errors is reduced.
[0049] In one embodiment, after step S30, that is, after feeding back the first execution result to the control terminal, the following steps are included:
[0050] S301, after receiving a re-sampling instruction sent by a control terminal, determining a new cargo channel code according to the re-sampling instruction; the re-sampling instruction is generated after the control terminal confirms that the first execution result indicates that the shipment is unsuccessful;
[0051] S302, sending the new cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the second target cargo lane corresponding to the new cargo lane code to perform the shipment operation again;
[0052] S303, receiving the second execution result of the shipping operation again fed back by the sample distribution machine, recording the number of executions of the shipping operation, and feeding back the second execution result and the number of executions to the control terminal.
[0053] Understandably, when the control terminal receives the shipping operation result (first execution result) fed back by the sample distribution machine and confirms that the shipment was unsuccessful, the control terminal will generate a re-sampling instruction. After the smart cabinet receives the re-sampling instruction, it will determine the new channel code according to the content of the re-sampling instruction and perform a re-sampling operation. The smart cabinet sends the newly determined channel code to the sample distribution machine corresponding to the dial position. This new channel code corresponds to the second target channel, and the sample distribution machine will control the second target channel to perform the re-shipping operation according to the new channel code. After completing the re-shipping operation, the sample distribution machine will feedback the result of the operation (the second execution result) to the control terminal. At the same time, the number of executions of the shipping operation is recorded. After receiving this information, the control terminal can update the status of the sample distribution machine, record the operation log, and take further measures based on the results (for example, if the re-shipment fails, it may be necessary to repeat the above steps or manual intervention).
[0054] This embodiment can automatically try to re-ship in the case of a shipment failure, and ensure the correctness of the operation and the reliability of the system. At the same time, by recording and feeding back the operation results and times, the system can provide effective monitoring and data recording, which is convenient for subsequent analysis and troubleshooting.
[0055] In one embodiment, after step S30, feeding back the second execution result and the execution times to the control terminal includes:
[0056] S304: When the control terminal confirms that the second execution result indicates that the shipment is unsuccessful and the execution times are greater than or equal to the preset execution times, receiving sampling failure information sent by the control terminal.
[0057] Understandably, the sampling failure information is used to indicate that the sampling operation failed to complete successfully. The number of executions refers to the number of times the shipping operation is attempted to be executed, which can be used to track the frequency of the operation. The preset number of executions refers to the maximum number of shipping attempts allowed in advance. If the shipping attempt reaches or exceeds this number, the system will take specific measures. This embodiment can effectively manage the shipping operation, and promptly notify relevant personnel or provide corresponding compensation to customers (for example, compensation coupons) after multiple failed shipping attempts, thereby ensuring the reliability of the system and user experience.
[0058] 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.
[0059] In one embodiment, a method and device for item sampling is provided, and the method and device for item sampling corresponds to the method for item sampling in the above embodiment. Figure 3As shown, the item sampling method device includes a sampling instruction module 10, a shipping operation module 20 and an execution result module 30. The functional modules are described in detail as follows:
[0060] The sampling instruction module 10 is used to receive the sampling instruction issued by the control terminal according to the dial position, and determine the cargo channel code according to the sampling instruction
[0061] The shipping operation module 20 is used to send the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipping operation;
[0062] The execution result module 30 is used to receive the first execution result of the shipment operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
[0063] Optionally, the sampling instruction module 10 includes:
[0064] A receiving unit is used to receive a sampling instruction sent by the control terminal, and the sampling instruction is generated according to the dial position of the sample dispensing machine when the control terminal receives a sampling request associated with a target sampling activity sent by the sample dispensing machine; wherein the target sampling activity refers to a sampling activity created after the control terminal receives the dial position sent by the sample dispensing machine and the self-test result of the sample dispensing machine, and determines that the self-test result is self-test passed.
[0065] Optionally, the item sampling method device further includes:
[0066] A dial position unit, used for receiving the hardware code of the sample distribution machine sent by the control terminal, and determining the dial position of the sample distribution machine according to the hardware code;
[0067] An activation instruction unit is used to send an activation instruction to the sample dispensing machine corresponding to the dial position, so that the sample dispensing machine performs a self-check operation according to the activation instruction, and reports the self-check result corresponding to the self-check operation, the coding information and the dial position to the control terminal.
[0068] Optionally, the item sampling method device further includes:
[0069] A sampling lock unit, used for generating a sampling lock corresponding to the dial position, and locking the sample distribution machine corresponding to the dial position through the sampling lock, so that all the channels except the first target channel in the sample distribution machine are in a state where shipment is not allowed;
[0070] The release unit is used to determine the execution time of the shipment operation. If the execution time is longer than the preset timeout time, the sampling lock is released so that all the cargo lanes of the sample distribution machine corresponding to the dial position are in a shipment state.
[0071] Optionally, the item sampling method device further includes:
[0072] A door opening unit, used for receiving a replenishment instruction including the dial position sent by the control terminal, and controlling the preset replenishment door of the sample distribution machine corresponding to the dial position to open;
[0073] The cabinet door closing unit is used to control the preset replenishment cabinet door to close after receiving the replenishment completion information fed back by the sample distribution machine.
[0074] Optionally, the item sampling method device further includes:
[0075] A new cargo lane coding unit is used to determine a new cargo lane coding according to a re-sampling instruction after receiving the re-sampling instruction sent by the control terminal; the re-sampling instruction is generated after the control terminal confirms that the first execution result indicates that the shipment is unsuccessful;
[0076] A re-shipping operation unit, used for sending the new cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the second target cargo lane corresponding to the new cargo lane code to perform the shipment operation again;
[0077] The second execution result unit is used to receive the second execution result of the shipping operation executed again fed back by the sample distribution machine, record the number of executions of the shipping operation, and feed back the second execution result and the number of executions to the control terminal.
[0078] Optionally, the item sampling method device further includes:
[0079] The sampling failure unit is used to receive the sampling failure information sent by the control terminal when the control terminal confirms that the second execution result indicates that the shipment is unsuccessful and the execution number is greater than or equal to the preset execution number.
[0080] For the specific definition of the item sampling method device, please refer to the definition of the item sampling method above, which will not be repeated here. Each module in the above-mentioned item sampling method device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the controller in the form of hardware, or can be stored in the memory in the controller in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0081] In one embodiment, a controller is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The controller includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the controller is used to provide computing and control capabilities. The memory of the controller 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 controller is used to communicate with an external server through a network connection. When the computer-readable instructions are executed by the processor, a method for selecting items is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0082] In one embodiment, a controller is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer-readable instructions:
[0083] The receiving control terminal sends a sampling instruction according to the dial position, and determines the cargo lane code according to the sampling instruction;
[0084] Send the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation;
[0085] Receive the first execution result of the shipping operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
[0086] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented:
[0087] The receiving control terminal sends a sampling instruction according to the dial position, and determines the cargo lane code according to the sampling instruction;
[0088] Send the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation;
[0089] Receive the first execution result of the shipping operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
[0090] 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.
[0091] 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.
[0092] 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 sampling items. It is characterized in that Applied to the smart cabinet, the item sampling method includes: The receiving control terminal sends a sampling instruction according to the dial position, and determines the cargo lane code according to the sampling instruction; Send the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform the shipment operation; Receive the first execution result of the shipping operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
2. The method for distributing samples of articles according to claim 1, It is characterized in that The receiving control terminal sends a sampling instruction according to the dial position, including: Receive a sampling instruction sent by the control terminal, wherein the sampling instruction is generated according to the dial position of the sample dispensing machine when the control terminal receives a sampling request associated with a target sampling activity sent by the sample dispensing machine; wherein the target sampling activity refers to a sampling activity created after the control terminal receives the dial position sent by the sample dispensing machine and the self-test result of the sample dispensing machine, and determines that the self-test result is passed.
3. The method for distributing samples of articles according to claim 2, It is characterized in that Before receiving the sampling instruction sent by the control terminal, the method includes: Receiving the hardware code of the sample distribution machine sent by the control terminal, and determining the dial position of the sample distribution machine according to the hardware code; An activation instruction is sent to the sample dispensing machine corresponding to the dial position, so that the sample dispensing machine performs a self-check operation according to the activation instruction, and reports the self-check result corresponding to the self-check operation, the coding information and the dial position to the control terminal.
4. The method for distributing samples of articles according to claim 1, It is characterized in that After the channel code is sent to the sample distribution machine corresponding to the dial position, the method includes: Generate a sampling lock corresponding to the dial code position, and lock the sample distribution machine corresponding to the dial code position through the sampling lock, so that all the channels except the first target channel in the sample distribution machine are in a state where shipment is not allowed; Determine the execution time of the shipment operation. If the execution time is longer than the preset timeout time, release the sampling lock so that all the cargo lanes of the sample distribution machine corresponding to the dial position are in a shipment state.
5. The method for distributing samples of articles according to claim 1, It is characterized in that The method for distributing samples of items comprises: Receiving a replenishment instruction including the dial position sent by the control terminal, and controlling the preset replenishment cabinet door of the sample distribution machine corresponding to the dial position to open; After receiving the replenishment completion information fed back by the sample distribution machine, the preset replenishment cabinet door is controlled to close.
6. The method for distributing samples of articles according to claim 1, It is characterized in that After feeding back the first execution result to the control terminal, the method further comprises: After receiving the re-sampling instruction sent by the control terminal, determining the new cargo channel code according to the re-sampling instruction; the re-sampling instruction is generated after the control terminal confirms that the first execution result indicates that the shipment is unsuccessful; Send the new cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the second target cargo lane corresponding to the new cargo lane code to perform the shipment operation again; Receive the second execution result of the shipping operation again fed back by the sample distribution machine, record the number of executions of the shipping operation, and feed back the second execution result and the number of executions to the control terminal.
7. The method for distributing samples of articles according to claim 6, It is characterized in that After feeding back the second execution result and the execution number to the control terminal, the method further comprises: When the control terminal confirms that the second execution result indicates that the shipment is unsuccessful and the execution times are greater than or equal to the preset execution times, sampling failure information sent by the control terminal is received.
8. An item sampling device, It is characterized in that include: The sampling instruction module is used to receive the sampling instruction issued by the control terminal according to the dial position, and determine the cargo channel code according to the sampling instruction A shipping operation module, used for sending the cargo lane code to the sample distribution machine corresponding to the dial position, so that the sample distribution machine controls the target cargo lane corresponding to the cargo lane code to perform a shipping operation; The execution result module is used to receive the first execution result of the shipment operation fed back by the sample distribution machine, and feed back the first execution result to the control terminal.
9. A smart cabinet, It is characterized in that The method comprises a controller, wherein the controller comprises a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the method for sampling items as described in any one of claims 1 to 7 when executing the computer-readable instructions.
10. One or more computer-readable storage media storing computer-readable instructions, It is characterized in that When the computer-readable instructions are executed by one or more processors, the one or more processors execute the item sampling method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Item distribution method and device
CN107967581A
Automatic vending machine remote control method, device, storage medium and system
CN108846952A
Method and device for controlling shipment of container
CN109035561A
Method and device for processing abnormal delivery of vending machine and related equipment
CN112669520A
Method and device for controlling dual-purpose intelligent container of vending machine and logistics distribution cabinet
CN114973506A
