CN-116386204-B - Control method and device of intelligent cabinet
Abstract
The embodiment of the invention discloses a control method and a device of an intelligent cabinet. And acquiring a service set corresponding to the unique identifier in the site, and sending the service set to the operation equipment for selection by a user, and generating a corresponding control instruction according to the target service type selected by the user so as to control the intelligent cabinet to execute corresponding operation. Therefore, intelligent cabinets of different services in the site can be communicated, and service expansion is facilitated.
Inventors
- XIAO ZHONGXI
- LEI ZHEN
Assignees
- 浙江口碑网络技术有限公司
- 拉扎斯网络科技(上海)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20220121
Claims (16)
- 1. A control method of an intelligent cabinet, which is applicable to a server, and is characterized in that the method comprises the following steps: Receiving a first service request sent by operation equipment, wherein the first service request comprises a unique identifier, the unique identifier is used for representing a target site, the target site comprises one or more intelligent cabinets, the service types of the intelligent cabinets are the same or different, the intelligent cabinets comprise a main cabinet and auxiliary cabinets, the unique identifier is bound with the main cabinet, and the main cabinet is used for transferring communication data of a server and each auxiliary cabinet; Acquiring a service set corresponding to the unique identifier from a database, wherein the database comprises a corresponding relation between the unique identifier and the service set, the service set comprises a plurality of service types, the service types in the service set are service types supported by a plurality of intelligent cabinets in the target site, the service types comprise one or more of article access, article display and article selling, and the service set is updated by a server according to the new or deleted operation of the intelligent cabinets in the target site; Sending a service selection response to the operation equipment so that the operation equipment displays a service type selection interface, wherein the service selection response comprises the service set; receiving a second service request sent by the operation equipment, wherein the second service request comprises a target service type, and Generating a control instruction corresponding to the target service type and sending the control instruction to the intelligent cabinet so as to control the intelligent cabinet corresponding to the target service type to execute corresponding operation; Wherein the method further comprises: receiving configuration information, wherein the configuration information comprises a unique identifier and a service type; adding the service type to the service set corresponding to the unique identifier, and And adding the corresponding relation between the unique identification and the service set to a database.
- 2. The method according to claim 1, wherein the obtaining the service set corresponding to the unique identifier is specifically: And acquiring a corresponding service set from the database according to the unique identifier.
- 3. The method of claim 1, wherein the configuration information further comprises cabinet parameters; the generating the control instruction corresponding to the target service type and sending the control instruction to the intelligent cabinet comprises the following steps: acquiring cabinet parameters corresponding to the target service type, and And generating the control instruction according to the cabinet parameters.
- 4. The method of claim 1, wherein the unique identifier is two-dimensional code information provided on the intelligent cabinet and read by the operation device.
- 5. The method of claim 1, wherein the unique identification is a smart cabinet identification.
- 6. The method of claim 4, wherein the operating device is a user terminal.
- 7. The method of claim 5, wherein the operating device is an operating component of the intelligent cabinet.
- 8. The method of claim 1, wherein the controlling the intelligent cabinet corresponding to the target service type to perform the corresponding operation specifically includes: and controlling the intelligent cabinet corresponding to the target service type to open the cabinet.
- 9. A control method of an intelligent cabinet, suitable for operating equipment, characterized in that the method comprises: A first service request is sent to a server, the first service request comprises a unique identifier, so that the server obtains a service set corresponding to the unique identifier, and generates a service selection response, the unique identifier is used for representing a target site, the target site comprises one or more intelligent cabinets, the service types of the intelligent cabinets are the same or different, the intelligent cabinets comprise a main cabinet and auxiliary cabinets, the unique identifier is bound with the main cabinet, the main cabinet is used for transferring communication data of the server and each auxiliary cabinet, the server obtains the service set corresponding to the unique identifier from a database, the database comprises a corresponding relation between the unique identifier and the service set, the service set comprises a plurality of service types, the service types in the service set are services supported in the site, the service types comprise one or more of article access, article display and article selling, the service set is updated by the server according to the new or deleting operation of the intelligent cabinets in the target site, and the service selection response comprises the service set; responsive to receiving the service selection response, displaying a selection interface including selection controls for each service type in the service set, and Responding to the trigger of a selection control, generating a second service request and sending the second service request to a server, wherein the second service request comprises a target service type, so that the server generates a control instruction corresponding to the target service type to control an intelligent cabinet corresponding to the target service type to execute corresponding operation; receiving configuration information input by a user, wherein the configuration information comprises a unique identifier and a service type, and And sending the configuration information to a server so that the server updates a database according to the configuration information.
- 10. The method of claim 9, wherein the operating device is an operating component of a smart cabinet; The operation device obtains the unique identification through the following steps: and acquiring the unique identifier from the pre-stored data, wherein the unique identifier is a communication address, a site identifier, a locker identifier of the intelligent cabinet or two-dimensional code information arranged on the intelligent cabinet.
- 11. The method of claim 9, wherein the operating device is a user terminal; The operation device obtains the unique identification through the following steps: and reading the two-dimensional code information arranged on the intelligent cabinet to acquire the unique identification.
- 12. The method of claim 9, wherein the controlling the intelligent cabinet corresponding to the target service type to perform the corresponding operation specifically includes: and controlling the intelligent cabinet corresponding to the target service type to open the cabinet.
- 13. A control device of an intelligent cabinet, suitable for a server, the device comprising: The system comprises a first service request receiving unit, a second service request receiving unit and a service processing unit, wherein the first service request receiving unit is used for receiving a first service request sent by operation equipment, the first service request comprises a unique identifier, the unique identifier is used for representing a target site, the target site comprises one or more intelligent cabinets, the service types of the intelligent cabinets are the same or different, the intelligent cabinets comprise a main cabinet and auxiliary cabinets, the unique identifier is bound with the main cabinet, and the main cabinet is used for transferring communication data between a server and each auxiliary cabinet; A service set obtaining unit, configured to obtain a service set corresponding to the unique identifier in a database, where the database includes a correspondence between the unique identifier and the service set, the service set includes a plurality of service types, the service types in the service set are service types supported by a plurality of intelligent cabinets in the target site, the service types include one or more of article access, article display, and article vending, and the service set is updated by a server according to a new addition or deletion operation of the intelligent cabinets in the target site; A service selection response sending unit, configured to send a service selection response to the operation device, so that the operation device displays a selection interface of a service type, where the service selection response includes the service set; A second service request receiving unit, configured to receive a second service request sent by the operation device, where the second service request includes a target service type, and The intelligent cabinet control unit is used for generating a control instruction corresponding to the target service type and sending the control instruction to the intelligent cabinet so as to control the intelligent cabinet corresponding to the target service type to execute corresponding operation; A configuration information receiving unit, configured to receive configuration information, where the configuration information includes a unique identifier and a service type; A service set updating unit for adding the service type to the service set corresponding to the unique identifier, and And the database updating unit is used for adding the corresponding relation between the unique identifier and the service set to the database.
- 14. A control device for an intelligent cabinet, adapted for operating equipment, said device comprising: A first service request sending unit, configured to send a first service request to a server, where the first service request includes a unique identifier, so that the server obtains a service set corresponding to the unique identifier, and generates a service selection response, where the unique identifier is used to characterize a target site, the target site includes one or more intelligent cabinets, service types of the intelligent cabinets are the same or different, the intelligent cabinets include a main cabinet and a secondary cabinet, the unique identifier is bound to the main cabinet, the main cabinet is used to relay communication data of the server and each secondary cabinet, the server obtains a service set corresponding to the unique identifier from a database, the database includes a correspondence between the unique identifier and the service set, the service set includes a plurality of service types, a service type in the service set is a service supported in the site, the service type includes one or more of an article access, an article display, and an article vending operation, and the service set is updated by the server according to a new or deleted operation of the intelligent cabinets in the target site, and the service selection response includes the service set; A selection interface display unit for displaying a selection interface in response to receiving the service selection response, wherein the selection interface comprises selection controls of each service type in the service set, and A second service request sending unit, configured to generate a second service request in response to the selection control being triggered and send the second service request to a server, where the second service request includes a target service type, so that the server generates a control instruction corresponding to the target service type to control an intelligent cabinet corresponding to the target service type to execute a corresponding operation; a configuration information input unit for receiving configuration information input by a user, the configuration information including a unique identifier and a service type, and And the configuration information sending unit is used for sending the configuration information to a server so that the server updates a database according to the configuration information.
- 15. A computer readable storage medium, on which computer program instructions are stored, which computer program instructions, when executed by a processor, implement the method of any one of claims 1-12.
- 16. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-12.
Description
Control method and device of intelligent cabinet The application relates to a method for controlling an intelligent cabinet, which is a divisional application of Chinese patent application with the application date of 2022, 01, 21, the application number of 202210074235.X and the name of 'control method and device of the intelligent cabinet'. Technical Field The invention relates to the technical field of intelligent cabinets, in particular to a control method and device of an intelligent cabinet. Background At present, people often use intelligent cabinets in various occasions, such as takeaway meal taking and taking, express delivery meal taking and taking parts, supermarket package taking, railway station package taking, automatic vending machines (such as drinks, medicines, blind boxes and the like) and the like. However, the intelligent cabinets in different occasions are usually independent of each other, and scene intercommunication and service expansion cannot be achieved. Disclosure of Invention In view of the above, the embodiment of the invention provides a control method and a device for intelligent cabinets, which can enable intelligent cabinets of different services in a site to be communicated, and are beneficial to service expansion. In a first aspect, an embodiment of the present invention provides a control method for an intelligent cabinet, which is applicable to a server, and the method includes: Receiving a first service request sent by operation equipment, wherein the first service request comprises a unique identifier, and the unique identifier is used for representing a target site; acquiring a service set corresponding to the unique identifier, wherein the service set comprises at least one service type; Sending a service selection response to the operation equipment so that the operation equipment displays a service type selection interface, wherein the service selection response comprises the service set; receiving a second service request sent by the operation equipment, wherein the second service request comprises a target service type, and And generating a control instruction corresponding to the target service type and sending the control instruction to the intelligent cabinet so as to control the intelligent cabinet to execute corresponding operation. In some embodiments, the method further comprises: receiving configuration information, wherein the configuration information comprises a unique identifier and a service type; adding the service type to the service set corresponding to the unique identifier, and And adding the corresponding relation between the unique identification and the service set to a database. In some embodiments, the acquiring the service set corresponding to the unique identifier specifically includes: And acquiring a corresponding service set from the database according to the unique identifier. In some embodiments, the configuration information further includes cabinet parameters; the generating the control instruction corresponding to the target service and sending the control instruction to the intelligent cabinet comprises the following steps: acquiring cabinet parameters corresponding to the target service, and And generating the control instruction according to the cabinet parameters. In some embodiments, the unique identifier is two-dimensional code information, which is read by the operation device and is arranged on the intelligent cabinet. In some embodiments, the unique identification is a smart cabinet identification. In some embodiments, the operating device is a user terminal. In some embodiments, the operating device is an operating component of the intelligent cabinet. In some embodiments, the intelligent cabinet includes a primary cabinet and a secondary cabinet, the unique identification being bound to the primary cabinet. In some embodiments, the business types include one or more of item access, item display, and item vending. In some embodiments, the controlling the intelligent cabinet to perform the corresponding operation specifically includes: and controlling the intelligent cabinet corresponding to the target service type to open the cabinet. In a second aspect, an embodiment of the present invention provides a control method of an intelligent cabinet, which is applicable to an operating device, and the method includes: A first service request sent to a server, wherein the first service request comprises a unique identifier, so that the server obtains a service set corresponding to the unique identifier and generates a service selection response, the service set comprises at least one service type, and the service selection response comprises the service set; responsive to receiving the service selection response, displaying a selection interface including selection controls for each service type in the service set, and And responding to the trigger of the selection control, generating a second service request and sending the s