Intelligent cabinet activation method, device, intelligent cabinet and storage medium
Patent Information
- Application Number
- HK22024093704
- Authority / Receiving Office
- HK · HK
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-07-05
- Filing Date
- 2024-07-04
- Publication Date
- 2026-09-11
Smart Images

Figure 00000023_0000 
Figure 00000023_0001 
Figure 00000024_0000
Abstract
Description
1. Instruction Manual: Smart Cabinet Activation Method, Device, Smart Cabinet, and Storage Medium Technical Field 5 This invention relates to the field of smart cabinet technology, and more particularly to a smart cabinet activation method, device, smart cabinet, and storage medium. Background Technology Smart cabinets are all-weather self-service lockers for storing and retrieving items, greatly facilitating people's production and life. To meet the needs of different scenarios, smart cabinets with various functions are deployed in production and life scenarios, such as express delivery lockers, takeout lockers, vending lockers, and mail lockers. After the smart cabinet is deployed to the corresponding scenario, it needs to be activated before it can be used normally. In the prior art, when activating a smart cabinet, it is necessary to first confirm the location of the cabinet's hardware, complete the burning of asset information, lock the burned asset information, read the lock information and compare it with the background information 15, and complete the activation process after comparison. The activation process is complex, time-consuming, and cannot guarantee activation efficiency. In addition, when confirming the location of the cabinet's hardware and comparing information, frequent data interaction with the hardware platform and asset system is also required, which may lead to data errors and omissions, resulting in activation failure. Summary of the Invention 20 Based on this, it is necessary to provide a smart cabinet activation method, device, smart cabinet, and storage medium to address the above-mentioned technical problems, so as to solve the problems of complex process, low efficiency, and low activation success rate in smart cabinet activation. HK 20112543 B 2 A smart cabinet activation method, comprising: receiving a cabinet code input by a user; when the cabinet code is valid, obtaining the corresponding cabinet slot template information according to the cabinet code; receiving slot type selection information input by a user, generating actual cabinet slot information according to the slot type selection information; verifying the actual cabinet slot information according to the cabinet slot template information, and activating the smart cabinet after successful verification. A smart cabinet activation device includes: a cabinet code receiving module for receiving a cabinet code input by a user; a cabinet compartment template information acquisition module for acquiring corresponding cabinet compartment template information based on the cabinet code when the cabinet code is valid; a cabinet compartment actual information generation module for receiving compartment type selection information input by a user and generating actual cabinet compartment information based on the compartment type selection information; and an activation verification module for verifying the actual cabinet compartment information based on the cabinet compartment template information, and activating the smart cabinet upon successful verification. A smart cabinet also includes a controller for executing the above-described smart cabinet activation method. A computer-readable storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the above-described smart cabinet activation method.20. The above-mentioned smart cabinet activation method, device, smart cabinet, and storage medium involve receiving a cabinet code input by a user; when the cabinet code is valid, obtaining the corresponding cabinet slot template information based on the cabinet code; receiving slot type selection information input by the user, generating actual cabinet slot information based on the slot type selection information; verifying the actual cabinet slot information based on the cabinet slot template information, and activating the smart cabinet upon successful verification. This invention pre-generates cabinet slot templates and corresponding cabinet codes according to the main cabinet and secondary cabinet dimensions. When activating the smart cabinet, only the cabinet code needs to be input, and the actual main and secondary cabinet slot information is compared with the cabinet slot template to complete the activation, simplifying the activation process, improving activation efficiency, and achieving simple and fast smart cabinet activation. Simultaneously, it eliminates the need for frequent data interaction with the hardware platform and asset system, effectively ensuring the accuracy of data processing and improving the activation success rate. Brief Description of the Drawings To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments of the present invention will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Figure 1 is a flowchart of a smart cabinet activation method in an embodiment of the present invention; Figure 2 is a structural diagram of a smart cabinet activation device in an embodiment of the present invention; Figure 3 is a schematic diagram of a controller for a smart cabinet in an embodiment of the present invention. Detailed Description of the Embodiments The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. The smart cabinet activation method provided in this embodiment can be applied in the scenario of initial activation of a smart cabinet, involving the cabinet terminal, the server terminal, and the user. The smart cabinet user refers to the maintenance personnel. The smart cabinet includes the cabinet terminal and the server terminal. The smart cabinet user interacts directly with the cabinet terminal. Based on the interaction data between the smart cabinet user and the cabinet terminal, the server processes the data to receive the cabinet code input by the user; when the cabinet code is valid, it obtains the corresponding cabinet slot template information according to the cabinet code; it receives the slot type selection information input by the user, and generates the actual cabinet slot information according to the slot type selection information; it verifies the actual cabinet slot information according to the cabinet slot template information, and activates the smart cabinet after successful verification. In one embodiment, as shown in Figure 1, a smart cabinet activation method is provided, including the following steps S10-S40.S10. Receive the cabinet code input by the user. 10. Understandably, the cabinet code is a pre-generated unique identifier corresponding one-to-one with the smart cabinet, and each smart cabinet corresponds to one cabinet code. Maintenance personnel deploy the smart cabinet to the designated location and activate it according to the assigned smart cabinet deployment task. When the maintenance personnel accept the smart cabinet deployment task, the task information includes the cabinet code corresponding to the smart cabinet to be activated, so that the maintenance personnel can use the cabinet code to complete the activation of the smart cabinet. 15. In a specific embodiment, the cabinet terminal has a touch screen. After the smart cabinet is deployed to the designated location, the maintenance personnel install the smart cabinet application on the cabinet terminal and trigger an activation request by clicking the icon of the smart cabinet application on the touch screen, sending an activation request instruction to the server. The server receives the activation request instruction and displays an activation page on the touch screen of the cabinet terminal according to the activation request instruction, receiving the cabinet code input by the maintenance personnel through the touch screen. 20. S20. When the cabinet code is valid, obtain the corresponding cabinet slot template information according to the cabinet code. Understandably, the cabinet slot template information is a pre-generated layout template (HK 20112543 B 5) based on the smart cabinet's structure. Each smart cabinet has a unique slot template information, corresponding to a unique cabinet code. After receiving the cabinet code, the server verifies its validity. A valid code indicates that it exists and is not currently in use. Following this verification, the server searches the database for the corresponding cabinet slot template information. Furthermore, the smart cabinet requires a specific network environment to function properly. After verifying the cabinet code's validity, the server also generates a network environment selection page and displays it on the touchscreen. Maintenance personnel can select the desired network environment, such as a production environment, a testing environment, or a 4G testing environment. S30. Receive the user-inputted compartment type selection information, and generate the actual compartment information of the cabinet based on the compartment type selection information. Understandably, the compartment type selection information is the option information input by the smart cabinet user based on the compartment type, compartment attributes, and compartment positions of all compartments in the smart cabinet to be activated. The actual compartment information is the actual compartment layout information of the smart cabinet to be activated. After verifying the validity of the cabinet code, the server generates a compartment type selection page according to the main cabinet dimension and the secondary cabinet dimension and displays it on the touch screen. Maintenance personnel can, based on the blank compartment type selection page, add corresponding options one by one according to the compartment type and compartment position of each compartment in the smart cabinet to be activated to determine the compartment type selection information; or they can edit the default compartment type selection page based on the compartment type and compartment position of each compartment in the smart cabinet to be activated to determine the compartment type selection information.In a specific embodiment, the smart cabinet to be activated has a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet. The server can generate a blank compartment type selection page based on the main cabinet and auxiliary cabinet dimensions. At this time, the server receives the compartment type selection information input by the user and adds a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet, generating the actual compartment information for the cabinet. Alternatively, the server can generate a default compartment type selection page based on the main cabinet and auxiliary cabinet dimensions. The default compartment type selection page includes a 5-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 10-door chilled auxiliary cabinet. In this case, the server receives the compartment type selection information input by the user and edits the default compartment types (e.g., adding, deleting, or replacing) based on the selection information, generating the actual compartment information for the cabinet. 5 S40. Verify the actual information of the cabinet compartments according to the cabinet compartment template information. Activate the smart cabinet upon successful verification. Understandably, the cabinet compartment template information is the layout template information of the smart cabinet to be activated, which is pre-stored in the server database. The actual cabinet compartment information is the real-time generated layout information of the actual compartments of the smart cabinet to be activated. The server verifies the actual cabinet compartment information according to the cabinet compartment template information. 10 When the actual compartment layout information of the smart cabinet to be activated matches the compartment layout template information, it indicates that the compartment type, compartment attributes, compartment location, and number of compartments in the smart cabinet deployment process are correct. The verification result is successful, and the smart cabinet is activated so that it can be used normally. This embodiment receives the cabinet code input by the user; when the cabinet code is valid, it obtains the corresponding cabinet compartment template information according to the cabinet code; it receives the compartment type selection information input by the user and generates the actual cabinet compartment information according to the compartment type selection information; it verifies the actual cabinet compartment information according to the cabinet compartment template information. Activate the smart cabinet upon successful verification. This embodiment pre-generates cabinet slot templates and corresponding cabinet codes according to the main cabinet and auxiliary cabinet dimensions. When activating the smart cabinet, only the cabinet code needs to be entered. The actual main and auxiliary cabinet slot information is compared with the cabinet slot template to complete the activation, simplifying the activation process, improving activation efficiency, and enabling simple and quick activation of 20 smart cabinets. At the same time, it eliminates the need for frequent data interaction with the hardware platform and asset system, effectively ensuring the accuracy of data processing and improving the activation success rate.In one embodiment, step S10, before receiving the cabinet code input by the user, includes: S101, receiving compartment type template information, the compartment type template information including main cabinet compartment template information and auxiliary cabinet compartment template information; S102, generating cabinet compartment template information based on the main cabinet compartment template information and the auxiliary cabinet compartment template information; S103, generating the cabinet code corresponding to the cabinet compartment template information according to preset coding rules, setting the usage status of the cabinet code to an inactive state, and storing the cabinet code and its usage status as a set of coding data in a preset coding storage area. Understandably, the cabinet structure of the smart cabinet can be divided into a main cabinet and an auxiliary cabinet. The main cabinet includes hardware compartments for installing functional hardware facilities and parcel compartments for storing items, while the auxiliary cabinet only includes parcel compartments for storing items. The main cabinet can be used independently, while the auxiliary cabinet must be used in conjunction with the main cabinet. The compartment type template information corresponds to the compartment type, attributes, and location of all compartments in the smart cabinet to be activated. The main cabinet compartment template information corresponds to the compartment type, attributes, and location of each compartment in the main cabinet of the smart cabinet to be activated. The secondary cabinet compartment template information corresponds to the compartment type, attributes, and location of each compartment in the secondary cabinet of the smart cabinet to be activated. The preset coding rule is a pre-set coding rule used to add a unique identifier to each smart cabinet to be activated; it can use letters and numbers. The cabinet code's usage status includes inactive and activated states; the default is inactive. The preset code storage area is a pre-set storage area in the server's database used to store the generated cabinet codes and their usage status. Before deploying the smart cabinets, the server needs to generate cabinet template information and cabinet code corresponding to the smart cabinet to be activated based on the compartment type template information. When assigning smart cabinet deployment tasks, the server adds the cabinet code corresponding to the smart cabinet to be activated to the task information and sends it to the user terminal of the maintenance personnel. At this time, the server can directly import the compartment type template information through the hardware platform of the cabinet, or it can receive the compartment type template information input by the maintenance personnel through other smart terminals, such as computers, tablets, and smartphones. In this embodiment, the smart cabinet to be activated is a temperature-controlled cabinet with a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet.The server receives the compartment type template information. The main compartment template information includes one main compartment containing 25 ambient temperature parcel compartments in addition to the hardware compartments. The secondary compartment template information includes two secondary compartments: a frozen secondary compartment with 10 frozen parcel compartments and a chilled secondary compartment with 21 chilled parcel compartments. The compartment type template information also includes the size, function, and location characteristics of each compartment. Based on the main and secondary compartment template information, the server generates the cabinet compartment template information. According to preset coding rules, it generates the cabinet code (wenkong0001) corresponding to the compartment template information. The usage status of the cabinet code is set to inactive, and the cabinet code and its usage status are stored as a set of coded data in the preset coding storage area. This embodiment generates cabinet slot templates and corresponding cabinet codes in advance according to the main cabinet dimension and the auxiliary cabinet dimension, avoiding the need to configure data such as slot type, product model and slot location on the hardware platform, reducing the difficulty of template configuration and simplifying the template generation process. 15 In one embodiment, step S10, that is, after receiving the cabinet code input by the user, further includes: S104, obtaining the code data corresponding to the cabinet code from the preset code storage area; the code data includes the cabinet code and its usage status; S105, determining whether the usage status of the cabinet code is inactive; 20 S106, when the usage status is inactive, the cabinet code is determined to be valid; S107, when the usage status is non-existent or activated, the cabinet code is determined to be invalid. HK 20112543 B 9 Understandably, after the server receives the cabinet code, it needs to verify the validity of the cabinet code by using the status. The server retrieves the usage status corresponding to the cabinet code from the preset code storage area and determines whether the cabinet code's usage status is inactive. If the usage status is inactive, it indicates that the cabinet code already exists and has not been used, thus the cabinet code is considered valid. If the usage status is non-existent, it indicates that the cabinet code is incorrect; or if the usage status is activated, it indicates that the cabinet code already exists and has been used, neither of which can be used to activate the smart cabinet to be activated, thus the cabinet code is considered invalid. This embodiment determines the validity of the cabinet code by checking its usage status, avoiding activation failure due to invalid cabinet codes and ensuring a high activation success rate.In one embodiment, the compartment types include parcel compartments and hardware compartments; in step S30, 10, namely receiving the compartment type selection information input by the user and generating actual cabinet compartment information based on the compartment type selection information, includes: S301, receiving the first parcel compartment selection information and the hardware compartment selection information input by the user, and generating actual main cabinet compartment information based on the first parcel compartment selection information and the hardware compartment selection information; S302, receiving the second parcel compartment selection information input by the user, and generating actual secondary cabinet compartment information based on the second parcel compartment selection information; S303, generating the actual cabinet compartment information based on the actual main cabinet compartment information and the actual secondary cabinet compartment information. Understandably, the compartment types are divided into parcel compartments and hardware compartments. The main cabinet includes hardware compartments for installing functional hardware facilities and parcel compartments for storing items, while the secondary cabinet only includes parcel compartments for storing items. Hardware compartments include screen compartments, lightbox compartments, compressor compartments, and printer compartments, etc. The first package compartment selection information is the option information entered by the maintenance personnel based on the actual package compartment (HK 20112543 B 10) in the main cabinet of the smart cabinet to be activated. The hardware compartment selection information is the option information entered by the maintenance personnel based on the actual hardware compartments in the main cabinet of the smart cabinet to be activated. The second package compartment selection information is the option information entered by the maintenance personnel based on the actual package compartments in the auxiliary cabinet of the smart cabinet to be activated. The actual information of the main cabinet compartments corresponds to the actual information of the compartment type, compartment attributes, and compartment position in the main cabinet of the smart cabinet to be activated. The actual information of the auxiliary cabinet compartments corresponds to the actual information of the compartment type, compartment attributes, and compartment position in the auxiliary cabinet of the smart cabinet to be activated. In this embodiment, the smart cabinet to be activated is a temperature-controlled cabinet with a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet. The maintenance personnel can enter the compartment type selection information by column. The main cabinet combines the package compartments and hardware compartments into one column, and the auxiliary cabinet can include one or more columns of package compartments. The main cabinet for ambient temperature uses a single column consisting of two parcel compartments and two hardware compartments; the expedited freezing auxiliary cabinet consists of two columns with five parcel compartments each; and the chilled auxiliary cabinet consists of three columns with seven parcel compartments each. The server receives the selection information of two parcel compartments and two hardware compartments input by the maintenance personnel and generates the actual information for the main cabinet compartments. It also receives the selection information of two columns with five parcel compartments each and three columns with seven parcel compartments each input by the maintenance personnel and generates the actual information for the auxiliary cabinet compartments. Based on the actual information for the main cabinet compartments and the auxiliary cabinet compartments, the parcel compartments and hardware compartments are arranged and combined to obtain the actual information for the cabinet compartments. This embodiment determines the actual information for the main cabinet compartments and the auxiliary cabinet compartments column by column according to the compartment type, avoiding errors in compartment selection and improving the accuracy of the actual information for the cabinet compartments.In one embodiment, the first package compartment selection information includes first attribute selection information and first position selection information corresponding to each first package compartment; the hardware compartment selection information includes second attribute selection information and second position selection information corresponding to each hardware compartment; and the second package compartment selection information includes third attribute selection information and third position selection information corresponding to each second package compartment. Step S301, namely generating the actual information of the main cabinet compartments based on the first package compartment selection information and the hardware compartment selection information, includes: S3011, determining the size attribute, functional attribute, and position information of each first package compartment based on the first attribute selection information and the first position selection information; S3012, determining the functional attribute and position information of each hardware compartment based on the second attribute selection information and the second position information; and S3013, generating the actual information of the main cabinet compartments based on the size attribute, functional attribute, and position information of each first package compartment and the functional attribute and position information of each hardware compartment. In step S302, namely generating the actual information of the auxiliary cabinet compartment based on the second package compartment selection information, it includes: S3021, determining the size attribute, functional attribute, and location information of each of the second package compartments based on the third attribute selection information and the third location selection information; S3022, generating the actual information of the auxiliary cabinet compartment based on the size attribute, functional attribute, and location information of each of the second package compartments. Understandably, compartment attributes are divided into size attributes and functional attributes, and functional attributes are further divided into the functional attributes of package compartments and the functional attributes of hardware compartments. Package compartments can store items of different sizes and under different storage conditions as needed; therefore, package compartments have both size and functional attributes, such as extra-large, large, medium, small, and extra-small size attributes, and room temperature, chilled, and frozen functional attributes. Hardware compartments are usually fixed in size; therefore, hardware compartments only have functional attributes, such as screen compartments with display functions, lightbox compartments with lighting functions, compressor compartments with mechanical refrigeration functions, and printer compartments with receipt printing functions. The location information is the positional distribution of each of the 20 compartments. Specifically, it can be represented by row and column numbers, or by coordinates. The first attribute selection information corresponds to the attribute options for each actual package compartment in the main cabinet of the smart locker to be activated. The first location selection information corresponds to the location options for each actual package compartment (HK 20112543 B 12) in the main cabinet of the smart locker to be activated. The second attribute selection information corresponds to the attribute options for each actual hardware compartment in the main cabinet of the smart locker to be activated. The second location selection information corresponds to the location options for each actual hardware compartment in the main cabinet of the smart locker to be activated.The third attribute selection information is the attribute option information corresponding to each actual package compartment in the auxiliary cabinet of the smart cabinet to be activated, and the third position selection information is the position option information corresponding to each actual package compartment in the auxiliary cabinet of the smart cabinet to be activated. 5 In this embodiment, the smart cabinet to be activated is a temperature-controlled cabinet with a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet. The ambient temperature main cabinet is a column consisting of 2 package compartments and 2 hardware compartments, from top to bottom consisting of 1 compressor compartment, 1 screen compartment, and 2 ambient temperature medium compartments; the quick-freeze auxiliary cabinet consists of two columns of 5 package compartments each, each column consisting of 5 large quick-freeze compartments from top to bottom; the chilled auxiliary cabinet consists of three columns of 7 package compartments each, each column consisting of 710 chilled medium compartments from top to bottom. At this point, the server determines, based on the first attribute selection information, that the size attribute of both package compartments in the main cabinet is medium-sized, and the functional attribute is normal temperature function. Based on the first position selection information, the server determines the position information of the two package compartments in the main cabinet as the first column, third row, and the first column, fourth row, respectively. Based on the second attribute selection information, the server determines the functional attributes of the two hardware compartments in the main cabinet as mechanical refrigeration function and display function, respectively. Based on the second position selection information, the server determines the position information of the two hardware compartments in the main cabinet as the first column, first row, and the first column, second row, respectively. These are combined to determine the actual information of the main cabinet compartments. Similarly, the server determines the size attribute, functional attribute, and position information of each package compartment in the auxiliary cabinet based on the third attribute selection information and the third position selection information. These are combined to determine the actual information of the auxiliary cabinet compartments. Furthermore, the server can also create a visual model of the actual cabinet compartments in the main and auxiliary cabinets as needed. 20 This embodiment, by selecting the compartment attributes and location of each package compartment and each hardware compartment, can quickly determine the actual compartment information of the main cabinet and auxiliary cabinet, simplifying the operation process and improving activation efficiency. Simultaneously, it avoids data interaction with the hardware platform, improving the accuracy of the cabinet data. HK 20112543 B 13 In one embodiment, step S40, namely, verifying the actual information of the cabinet compartment based on the cabinet compartment template information, includes: S401, determining whether the actual information of the cabinet compartment and the cabinet compartment template information are consistent; S402, if the actual information of the cabinet compartment and the cabinet compartment template information are consistent, then the verification is confirmed successful, and the smart cabinet is activated; S403, if the actual information of the cabinet compartment and the cabinet compartment template information are inconsistent, then the verification is confirmed to have failed, and an activation failure notification is sent to a preset recipient. Understandably, the preset recipient is a terminal that is pre-set to receive notification information when activation fails. It can be the administrator's management terminal or the user terminal of the operation and maintenance personnel who receive the deployment task.When the server determines that the actual compartment layout information of the smart locker to be activated matches the compartment layout template information, it indicates that the compartment type, compartment attributes, compartment location, and number of compartments in the smart locker to be activated are correct during the deployment process, and the verification result is successful. The smart locker is then activated through the smart locker application to enable normal use. When the server determines that the actual compartment layout information of the smart locker to be activated is inconsistent with the compartment layout template information, it indicates that there is an error in the compartment type, compartment attributes, compartment location, or number of compartments in the smart locker to be activated during the deployment process, and the verification result is failed. An activation failure notification is sent to the administrator or maintenance personnel for adjustment or modification, and reactivation is performed after consistency is achieved. This embodiment achieves timely verification and ensures the accuracy of the activation result by judging the consistency between the actual compartment layout information and the compartment layout template information of the smart locker to be activated. In one embodiment, step S40, which involves verifying the actual information of the cabinet slots based on the cabinet slot template information and activating the smart cabinet after successful verification, further includes: S404, receiving new slot type information, which includes new auxiliary cabinet slot information; S405, updating the cabinet slot template information based on the new auxiliary cabinet slot information, generating new cabinet slot template information; S406, generating a new cabinet code corresponding to the new cabinet slot template information according to preset coding rules, setting the usage status of the new cabinet code to an inactive state, and storing the new cabinet code and its usage status as a set of coded data in a preset coding storage area. Understandably, during operation, if the smart cabinet is disassembled, moved, or if auxiliary cabinets are added or modified as needed, the smart cabinet needs to be reactivated to ensure that the actual smart cabinet slot layout is consistent with the data in the server-side smart cabinet slot layout template. The newly added compartment type information corresponds to the compartment type, compartment attributes, and compartment location of the newly added compartments in the modified smart cabinet. The newly added auxiliary compartment information corresponds to the compartment type and compartment location of each compartment in the newly added auxiliary compartments in the modified smart cabinet. The newly added cabinet compartment template information is the compartment layout template information of the modified smart cabinet. 10 In this embodiment, the smart cabinet before modification is a temperature-controlled cabinet with a 2-door ambient temperature main cabinet, a 10-door quick-freeze auxiliary cabinet, and a 21-door chilled auxiliary cabinet. The modified smart cabinet adds a row of 5-door ambient temperature large compartments as auxiliary cabinets. The server receives the newly added auxiliary compartment information, which includes the size, function, and location characteristics of each compartment. Based on the newly added auxiliary compartment information, the server updates the cabinet compartment template information of the smart cabinet before modification to generate the newly added cabinet compartment template information.The server generates a cabinet code (wenkong0002) corresponding to the newly added cabinet slot template information according to the preset coding rules. The usage status of the cabinet code is set to inactive, and the cabinet code and its usage status are stored as a set of newly added coding data in the preset coding storage area. When allocating smart cabinet deployment tasks, the cabinet code (wenkong0002) corresponding to the modified smart cabinet is added to the new task information and sent to the user terminal of the maintenance personnel, so that the maintenance personnel can re-enter the activation page on the cabinet terminal to complete the activation of the smart cabinet. In this embodiment, after a new slot is added to the smart cabinet or it is modified, the cabinet slot template information is updated by adding secondary cabinet slot information, which improves the scalability of the cabinet slot template and facilitates convenient, quick, and efficient activation of the modified smart cabinet. It should be understood that the sequence number of each step in the above embodiments does not imply 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 this embodiment. In one embodiment, a smart cabinet activation device is provided, which corresponds one-to-one with the smart cabinet activation method in the above embodiment. As shown in Figure 2, the smart cabinet activation device includes a cabinet code receiving module 10, a cabinet compartment template information acquisition module 20, a cabinet compartment actual information generation module 30, and a verification activation module 40. The detailed descriptions of each functional module are as follows: The cabinet code receiving module 10 is used to receive the cabinet code input by the user; the cabinet compartment template information acquisition module 20 is used to acquire the corresponding cabinet compartment template information based on the cabinet code when the cabinet code is valid; the cabinet compartment actual information generation module 30 is used to receive the compartment type selection information input by the user and generate the cabinet compartment actual information based on the compartment type selection information; the verification activation module 40 is used to verify the cabinet compartment actual information based on the cabinet compartment template information, and activate the smart cabinet upon successful verification. 15 In one embodiment, the cabinet code receiving module 10 includes: a compartment type template information receiving unit, used to receive compartment type template information, the compartment type template information including main cabinet compartment template information and auxiliary cabinet compartment template information; a cabinet compartment template information generation unit, used to generate cabinet compartment template information according to the main cabinet compartment template information and the auxiliary cabinet compartment template information; 20 A cabinet code generation unit, used to generate the cabinet code corresponding to the cabinet compartment template information according to a preset coding rule, set the usage status of the cabinet code to an inactive state, and store the cabinet code and its usage status as a set of coding data in a preset coding storage area HK 20112543 B 16 domain.In one embodiment, the cabinet code receiving module 10 further includes: a usage status acquisition unit, configured to acquire encoding data corresponding to the cabinet code from a preset encoding storage area; the encoding data includes the cabinet code and its usage status; a usage status judgment unit, configured to determine whether the usage status of the cabinet code is inactive; a cabinet code validity judgment unit, configured to determine that the cabinet code is valid when the usage status is inactive; and a cabinet code invalidity judgment unit, configured to determine that the cabinet code is invalid when the usage status is non-existent or activated. 10. In one embodiment, the cabinet compartment actual information generation module 30 includes: a main cabinet compartment actual information generation unit, configured to receive first package compartment selection information and hardware compartment selection information input by a user, and generate main cabinet compartment actual information based on the first package compartment selection information and the hardware compartment selection information; a secondary cabinet compartment actual information generation unit, configured to receive second package compartment selection information input by a user, and generate secondary cabinet compartment actual information based on the second package compartment selection information; and a cabinet compartment actual information generation unit, configured to generate the cabinet compartment actual information based on the main cabinet compartment actual information and the secondary cabinet compartment actual information. In one embodiment, the cabinet compartment actual information generation module 30 includes: a first package compartment information determining unit, configured to determine the size attribute, functional attribute, and position information of each first package compartment based on the first attribute selection information and the second position selection information; a hardware compartment information determining unit, configured to determine the functional attribute and position information of each hardware compartment based on the second attribute selection information and the second position selection information; a main cabinet compartment actual information combining unit, configured to generate the main cabinet compartment actual information based on the size attribute, functional attribute, and position information of each first package compartment and the functional attribute and position information of each hardware compartment; a second package compartment information determining unit, configured to determine the size attribute, functional attribute, and position information of each second package compartment based on the third attribute selection information and the third position selection information; and a secondary cabinet compartment actual information combining unit, configured to generate the secondary cabinet compartment actual information based on the size attribute, functional attribute, and position information of each second package compartment. In one embodiment, the verification activation module 40 includes: a consistency judgment unit, used to determine whether the actual information of the cabinet slot and the cabinet slot template information are consistent; a verification success judgment unit, used to confirm the verification success and activate the smart cabinet if the actual information of the cabinet slot and the cabinet slot template information are consistent; and a verification failure judgment unit, used to confirm the verification failure and send activation failure notification information to a preset recipient if the actual information of the cabinet slot and the cabinet slot template information are inconsistent.In one embodiment, the verification activation module 40 includes: a new compartment type information receiving unit, used to receive new compartment type information, the new compartment type information including new auxiliary compartment information; a new cabinet compartment template information generation unit, used to update the cabinet compartment template information according to the new auxiliary compartment information, and generate new cabinet compartment template information; and a new cabinet code generation unit, used to generate a new cabinet code corresponding to the new cabinet compartment template information according to a preset coding rule, set the usage status of the new cabinet code to an inactive state, and store the new cabinet code and its usage status as a set of coded data in a preset coding storage area. Specific limitations of the smart cabinet activation device can be found in the limitations of the smart cabinet activation method above, and will not be repeated here. Each module in the above-mentioned smart cabinet activation device can be implemented entirely or partially through software, hardware, or a combination thereof. The aforementioned modules can be embedded in or independent of the processor in the smart cabinet in hardware form, or stored in the memory of the smart cabinet in software form, so that the processor can call and execute the operations corresponding to the above modules. In one embodiment, a smart cabinet is provided, including a controller for executing the above smart cabinet activation method. For more specific limitations on the controller, please refer to the limitations on the smart cabinet activation method above, which will not be repeated here. The modules in the above controller can be implemented in whole or in part by software, hardware, or a combination thereof. The aforementioned modules can be embedded in or independent of the processor in the controller in hardware form, or stored in the memory of the controller in software form, so that the processor can call and execute the operations corresponding to the above modules. Understandably, the controller can be regarded as one or more computer devices, as shown in Figure 3, which includes a processor, memory, network interface, and database connected via a system bus. The processor of the controller is used to provide computing and control capabilities. The memory of the controller includes a readable storage medium and internal memory. The readable 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 controller's network interface is used to communicate with an external server via a network connection. When the computer-readable instructions are executed by the processor, they implement a smart cabinet activation method. The readable storage medium provided in this embodiment includes non-volatile readable storage media and volatile readable storage media. 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.A computer-readable instruction is stored on a readable storage medium. When executed by one or more processors, the computer-readable instruction implements the above-described intelligent cabinet activation method. Those skilled in the art will understand that all or part of the processes in the above-described embodiments can be implemented by instructing related hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, the computer-readable instructions can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can 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 various forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Dual Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM), etc. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to 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. 20 The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.HK 20112543 B 1 Claim 1. A smart cabinet activation method, characterized in that it includes: receiving a cabinet code input by a user; when the cabinet code is valid, obtaining corresponding cabinet slot template information according to the cabinet code; receiving slot type selection information input by a user, generating actual cabinet slot information according to the slot type selection information, wherein the slot type selection information is option information input by the smart cabinet user based on the slot type, slot attribute, and slot position of all slots in the smart cabinet to be activated, and the actual cabinet slot information is the actual slot layout information of the smart cabinet to be activated; verifying the actual cabinet slot information according to the cabinet slot template information, and activating the smart cabinet after successful verification. 2. The smart cabinet activation method as described in claim 1, characterized in that, before receiving the cabinet code input by the user, it includes: receiving compartment type template information, the compartment type template information including main cabinet compartment template information and auxiliary cabinet compartment template information; generating the cabinet compartment template information according to the main cabinet compartment template information and the auxiliary cabinet compartment template information; generating the cabinet code corresponding to the cabinet compartment template information according to a preset coding rule, setting the usage status of the cabinet code to an inactive state, and storing the cabinet code and its usage status as a set of coding data in a preset coding storage area. 3. The smart cabinet activation method as described in claim 1, characterized in that, after receiving the input cabinet code, it further includes: obtaining coding data corresponding to the cabinet code from the preset coding storage area; the coding data including the cabinet code and its usage status; determining whether the usage status of the cabinet code is an inactive state; when the usage status is an inactive state, determining that the cabinet code is valid; when the usage status is a non-existent state or an activated state, determining that the cabinet code is invalid. 4. The smart locker activation method as described in claim 1, characterized in that the compartment types include parcel compartments and hardware compartments; the step of receiving user-inputted compartment type selection information and generating actual locker compartment information based on the compartment type selection information includes: receiving user-inputted first parcel compartment selection information and hardware compartment selection information, and generating actual main locker compartment information based on the first parcel compartment selection information and the hardware compartment selection information; receiving user-inputted second parcel compartment selection information, and generating actual secondary locker compartment information based on the second parcel compartment selection information; and generating the actual locker compartment information based on the actual main locker compartment information and the actual secondary locker compartment information.5. The smart cabinet activation method as described in claim 4, characterized in that the first package compartment selection information includes first attribute selection information and first position selection information corresponding to each first package compartment, the hardware compartment selection information includes second attribute selection information and second position selection information corresponding to each hardware compartment, and the second package compartment selection information includes third attribute selection information and third position selection information corresponding to each second package compartment; the step of generating actual information of the main cabinet compartment based on the first package compartment selection information and the hardware compartment selection information includes: determining the size attribute, functional attribute, and position information of each first package compartment based on the first attribute selection information and the first position selection information; determining the functional attribute and position information of each hardware compartment based on the second attribute selection information and the second position selection information; generating the actual information of the main cabinet compartment based on the size attribute, functional attribute, and position information of each first package compartment and the functional attribute and position information of each hardware compartment; the step of generating actual information of the secondary cabinet compartment based on the second package compartment selection information includes: The size attributes, functional attributes, and location information of each second package compartment are determined based on the third attribute selection information and the third location selection information; the actual information of the auxiliary cabinet compartment is generated based on the size attributes, functional attributes, and location information of each second package compartment. 6. The smart cabinet activation method as described in claim 1, characterized in that the step of verifying the actual information of the cabinet compartment based on the cabinet compartment template information includes: determining whether the actual information of the cabinet compartment and the cabinet compartment template information are consistent; if the actual information of the cabinet compartment and the cabinet compartment template information are consistent, the verification is confirmed to be successful, and the smart cabinet is activated; if the actual information of the cabinet compartment and the cabinet compartment template information are inconsistent, the verification is confirmed to be unsuccessful, and an activation failure notification is sent to a preset recipient. 7. The smart cabinet activation method as described in claim 1, characterized in that, after verifying the actual information of the cabinet compartment based on the cabinet compartment template information and activating the smart cabinet after successful verification, the method further includes: receiving new compartment type information, the new compartment type information including new auxiliary cabinet compartment information; updating the cabinet compartment template information based on the new auxiliary cabinet compartment information to generate new cabinet compartment template information; generating a new cabinet code corresponding to the new cabinet compartment template information according to a preset coding rule, setting the usage status of the new cabinet code to an inactive state, and storing the new cabinet code and its usage status as a set of coded data in a preset coding storage area.8. A smart cabinet activation device, characterized in that it comprises: a cabinet code receiving module, used to receive a cabinet code input by a user; a cabinet slot template information acquisition module, used to acquire corresponding cabinet slot template information according to the cabinet code when the cabinet code is valid; a cabinet slot actual information generation module, used to receive slot type selection information input by a user, and generate cabinet slot actual information according to the slot type selection information, wherein the slot type selection information is option information input by the smart cabinet user according to the slot type, slot attribute and slot position of all slots in the smart cabinet to be activated, and the cabinet slot actual information is the actual slot layout information of the smart cabinet to be activated; and an activation verification module, used to verify the cabinet slot actual information HK 20112543 B 3 according to the cabinet slot template information, and activate the smart cabinet after successful verification. 9. A smart cabinet, characterized in that it comprises a controller for executing the smart cabinet activation method according to any one of claims 1 to 7. 10. A computer-readable storage medium storing computer-readable instructions, characterized in that, when executed by one or more processors, the computer-readable instructions cause the one or more processors to perform the smart cabinet activation method as described in any one of claims 1 to 7. HK 20112543 B 1 Specification Drawings Figure 1 Figure 2 HK 20112543 B 2 Figure 3 HK 20112543 B.
