Intelligent cabinet control method and device, electronic equipment and storage medium
Through the intelligent cabinet control method, the automated management of medical devices is realized, which solves the problem of inefficient medical device management in the existing technology, improves management efficiency and reduces costs.
Patent Information
- Application Number
- CN202411906487.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the management efficiency of medical devices is inefficient and requires manual management, which leads to high time consumption and prone to errors.
Through the intelligent cabinet control method, the automatic management of the target intelligent cabinet is realized, including user verification, cabinet door opening, log update and other functions, and records the inlet, return, consumption and replenishment of medical devices.
It improves the management efficiency of medical devices, reduces the time and error rate of manual management, and reduces the cost of smart cabinets.
Smart Images

Figure CN119814415A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the technical field of smart cabinets, and in particular to a smart cabinet control method, device, electronic device, and storage medium. Background Art
[0002] Doctors or nurses need to obtain the medical equipment required for surgery before surgery, such as balloon dilatation catheters, stents, iodine, syringes, disposable gloves and cotton swabs, etc. Hospitals usually need to set up dedicated personnel to manage various types of medical equipment. In other application scenarios, such as medical device manufacturers, medical device agents and medical device logistics service providers, dedicated personnel are also needed to manage various types of medical devices. Manual management takes a long time and is prone to errors, resulting in low efficiency in the management of medical devices. Summary of the invention
[0003] The embodiments described herein provide a smart cabinet control method, device, electronic device, and storage medium, which can improve the management efficiency of medical devices.
[0004] In a first aspect, the present disclosure provides a smart cabinet control method, comprising:
[0005] Receive a target login request sent by a target smart cabinet, the target login request including a login instruction and target user verification information; determine whether the target user has the operating authority of the target smart cabinet based on the target user verification information; in response to the target user having the operating authority of the target smart cabinet, generate a cabinet door opening instruction based on the login instruction, and send the cabinet door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the cabinet door; in response to the target operation instruction sent by the target smart cabinet, generate a target log update instruction, and send the target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information.
[0006] The target log update instructions include consumption log update instructions, warehousing log update instructions, return log update instructions and replenishment log update instructions.
[0007] In some embodiments of the present disclosure, the smart cabinet control method further includes:
[0008] Receive the target product identification sent by the target smart cabinet; determine the target product category information according to the correspondence between the target product identification and the preset product category information; send the target product category information to the target smart cabinet, and the target product information includes the target product category information.
[0009] The product category information correspondence relationship includes multiple product identifiers and multiple product category information, each of the product identifiers corresponds to at least one of the product category information, and the target product identifier is one or more of the product identifiers in the product category information correspondence relationship.
[0010] In some embodiments of the present disclosure, before receiving the target login request sent by the target smart cabinet, the method further includes:
[0011] Receive the target user identifier sent by the target smart cabinet; determine the target user information according to the correspondence between the target user identifier and the preset user information; send the target user information to the target smart cabinet, so that the target smart cabinet generates the target login request based on the login instruction and the target user information.
[0012] The user information correspondence relationship includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, the target user identifier is one of the user identifiers in the user information correspondence relationship, and the target user verification information includes the target user information.
[0013] In a second aspect, the present disclosure provides a smart cabinet control method, comprising:
[0014] In response to the target user's login operation, a target login request is generated according to the target user's verification information, the target login request including a login instruction and the target user's verification information; the target login request is sent to the server, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user's verification information; in response to the cabinet door opening instruction sent by the server, the cabinet door is opened; in response to the target operation of the target user, a target operation instruction is generated, and the target operation instruction is sent to the server, so that the server generates a target log update instruction based on the target operation instruction; in response to the target log update instruction sent by the server, the target log is updated according to the target product information.
[0015] Among them, the target log includes a consumption log, a warehousing log, a return log and a replenishment log, and the cabinet door opening instruction is generated by the server according to the login instruction when the target user has the operation authority of the target smart cabinet.
[0016] In some embodiments of the present disclosure, before updating the target log according to the target product information in response to the target log update instruction sent by the server, the method further includes:
[0017] Acquire a target product identifier; send the target product identifier to the server; and receive target product category information sent by the server.
[0018] Among them, the target product category information is determined by the server based on the correspondence between the target product identifier and the preset product category information, the product category information correspondence includes multiple product identifiers and multiple product category information, each product identifier corresponds to at least one product category information, and the target product identifier is one or more product identifiers in the product category information correspondence.
[0019] In some embodiments of the present disclosure, in response to a login operation of a target user, generating a target login request according to target user authentication information includes:
[0020] In response to the login operation of the target user, the login instruction is generated; the target user identifier is obtained and sent to the server; the target user information sent by the server is received; and the target login request is generated according to the login instruction and the target user information.
[0021] Among them, the target user information is determined by the server based on the correspondence between the target user identifier and the preset user information, the user information correspondence includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, and the target user identifier is one of the user identifiers in the user information correspondence; the target user verification information includes the target user information.
[0022] In a third aspect, the present disclosure provides a smart cabinet control device, comprising:
[0023] The receiving module is used to receive a target login request sent by a target smart cabinet, wherein the target login request includes a login instruction and target user verification information, and receive a target operation instruction sent by the target smart cabinet.
[0024] A determination module is used to determine whether the target user has the operation authority of the target smart cabinet according to the target user verification information.
[0025] A response module is used to generate a cabinet door opening instruction according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and generate a target log update instruction in response to the target operation instruction; wherein the target log update instruction includes a consumption log update instruction, a warehousing log update instruction, a return log update instruction and a replenishment log update instruction.
[0026] The sending module is used to send the cabinet door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the cabinet door, and send the target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information.
[0027] In a fourth aspect, the present disclosure provides a smart cabinet control device, comprising:
[0028] The response module is used to respond to the login operation of the target user, generate a target login request according to the target user verification information, the target login request includes a login instruction and the target user verification information, and generate a target operation instruction in response to the target operation of the target user.
[0029] A sending module is used to send the target login request to the server so that the server determines whether the target user has the operation authority of the target smart cabinet based on the target user verification information; and send the target operation instruction to the server so that the server generates a target log update instruction based on the target operation instruction.
[0030] A receiving module is used to receive a cabinet door opening instruction sent by the server, wherein the cabinet door opening instruction is generated by the server according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and receives the target log update instruction sent by the server.
[0031] The response module is further configured to respond to the cabinet door opening instruction to open the cabinet door, and respond to the target log updating instruction to update the target log according to the target product information.
[0032] In a fifth aspect, the present disclosure provides an electronic device, comprising a processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program, when executed by the processor, implements the steps of any method provided in the first aspect.
[0033] In a sixth aspect, the present disclosure provides an electronic device, comprising a processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program, when executed by the processor, implements the steps of any method provided in the second aspect.
[0034] In a seventh aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any method provided in the first aspect when executed by a processor.
[0035] In an eighth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method provided in the second aspect are implemented.
[0036] In the technical solution provided by the present disclosure, the target smart cabinet responds to the login operation of the target user, and generates a target login request according to the target user verification information, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user verification information in the target login request. When the target user has the operation authority of the target smart cabinet, the cabinet door is opened in response to the cabinet door opening instruction sent by the server, and the target operation instruction is generated in response to the target operation of the target user, so that the server generates a target log update instruction based on the target operation instruction, and updates the target log according to the target product information in response to the target log update instruction sent by the server. The smart cabinet can record the warehousing, return, consumption and replenishment of medical devices, realize the automated management of medical devices, and thus improve the management efficiency of medical devices. In addition, in the management process of medical devices, the server undertakes most of the data processing work, so that the computing resources consumed by the smart cabinet are relatively small, thereby reducing the cost of the smart cabinet. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:
[0038] Figure 1 A schematic diagram of the structure of a smart cabinet system provided in an embodiment of the present disclosure.
[0039] Figure 2 A flowchart of a smart cabinet control method provided in an embodiment of the present disclosure.
[0040] Figure 3 A flowchart of another smart cabinet control method provided in an embodiment of the present disclosure.
[0041] Figure 4 A schematic diagram of the structure of a smart cabinet control device provided in an embodiment of the present disclosure.
[0042] Figure 5 A schematic diagram of the structure of another smart cabinet control device provided in an embodiment of the present disclosure.
[0043] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.
[0045] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meanings in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. In addition, terms such as "first" and "second" are only used to distinguish one component (or a portion of a component) from another component (or another portion of a component).
[0046] Figure 1 A schematic diagram of the structure of a smart cabinet system provided by an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the smart cabinet system includes a server and multiple smart cabinets, and the multiple smart cabinets are all communicatively connected to the server. The target smart cabinet in the embodiment of the present disclosure can be any one of the multiple smart cabinets.
[0047] The smart cabinet system in the embodiment of the present disclosure is applied to the medical field, and the products placed in the smart cabinet are medical devices, such as balloon dilatation catheters, stents, iodine tincture, syringes, disposable gloves, cotton swabs and drainage tubes, etc. The user can control the opening of the smart cabinet door, obtain medical devices from the smart cabinet or put medical devices into the smart cabinet and cooperate with the relevant operations of the smart cabinet.
[0048] The smart cabinet in the embodiment of the present disclosure can generate corresponding instructions, such as login instructions, consumption instructions, warehousing instructions, replenishment instructions, and return instructions, for user operations, such as login operations, consumption operations, warehousing operations, replenishment operations, and return operations. The server in the embodiment of the present disclosure can generate instructions for controlling the smart cabinet according to the instructions sent by the smart cabinet. For example, the server generates a cabinet door opening instruction of the smart cabinet according to the login instruction, and generates a log update instruction of the smart cabinet according to any one of the consumption instructions, warehousing instructions, replenishment instructions, and return instructions.
[0049] The smart cabinet in the embodiment of the present disclosure can also update the corresponding log based on the log update instruction sent by the server. For example, the smart cabinet updates the consumption log based on the consumption log update instruction, updates the warehousing log based on the warehousing log update instruction, updates the return log based on the return log update instruction, and updates the replenishment log based on the replenishment log update instruction, so as to record the consumption, warehousing, return and replenishment of medical devices, thereby realizing the automated management of medical devices.
[0050] The present disclosure also provides a smart cabinet control method, which is applied to the smart cabinet system provided by the present disclosure, and is specifically applied to a server.
[0051] Figure 2 A flow chart of a smart cabinet control method provided by an embodiment of the present disclosure, such as Figure 2 As shown, the specific steps of the intelligent cabinet control method on the server side include:
[0052] S101, the server receives a target login request sent by a target smart cabinet.
[0053] The target login request includes a login instruction and target user verification information.
[0054] Exemplarily, the login instruction is generated by the target smart cabinet in response to a login operation of the target user, wherein the login operation may be touching a login button on a touch screen of the target smart cabinet, or may be triggering a login gesture on the touch screen. The target user verification information includes the target user information and the target smart cabinet identifier, wherein the target user information may be a target user name, and the target smart cabinet may generate a target login request according to the target user name, the target smart cabinet identifier and the login instruction.
[0055] The target smart cabinet also generates a first prompt message in response to the target user's login operation, and displays the first prompt message on the touch screen. The target user can input the target user name into the target smart cabinet based on the method corresponding to the first prompt message. For example, if the first prompt message is "Please enter the user name", the target user inputs the target user name into the target smart cabinet through the button on the touch screen. If the first prompt message is "Please place the user ID card in the sensing area", the target user places the target user ID card in the sensing area of the target smart cabinet to input the target user name stored in the target user ID card into the target smart cabinet.
[0056] In other embodiments, the target user information may be a target user identification, and the target smart cabinet may generate a target login request based on the target user identification, the target smart cabinet identification, and the login instruction, and the target user may input the target user identification into the target smart cabinet in a manner corresponding to the first prompt information. For example, the first prompt information is "Please scan the user identification code", and the target user places the target user identification code in the scanning area of the target smart cabinet to input the target user identification code into the target smart cabinet as the target user identification, wherein the target user identification code may be a QR code or a bar code.
[0057] S102: The server determines whether the target user has the operation authority of the target smart cabinet based on the target user verification information.
[0058] Exemplarily, a user authority correspondence is preset in the server, wherein the user authority correspondence includes multiple user information and multiple smart cabinet identifiers, and each user information corresponds to at least one smart cabinet identifier. The server queries the user authority correspondence to determine whether the user authority correspondence includes the target user information, and if the user authority correspondence includes the target user information, further determines whether the smart cabinet identifier corresponding to the target user information in the user authority correspondence includes the target smart cabinet identifier, thereby determining whether the target user has the operation authority of the target smart cabinet.
[0059] For example, when the user authority correspondence includes target user information and the target user information corresponds to the target smart cabinet identifier in the user authority correspondence, the target user has the operating authority of the target smart cabinet. When the target user information is not included in the user authority correspondence, the target user does not have the operating authority of the target smart cabinet. When the target user information does not correspond to the target smart cabinet identifier in the user authority correspondence, the target user does not have the operating authority of the target smart cabinet.
[0060] S103, in response to the target user having the operation authority of the target smart cabinet, the server generates a cabinet door opening instruction according to the login instruction.
[0061] Exemplarily, when the target user has the operating authority of the target smart cabinet, the server can generate a cabinet door opening instruction according to the login instruction and the address of the target smart cabinet.
[0062] S104, the server sends a door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the door.
[0063] Exemplarily, the server sends a door opening instruction to the target smart cabinet according to the address of the target smart cabinet. The target smart cabinet responds to the door opening instruction, generates a door opening signal, and opens the door lock at the edge of the door according to the door opening signal to open the door. For example, the door lock can be a magnetic lock, and the door opening signal is a power-off signal.
[0064] S105, the server generates a target log update instruction in response to the target operation instruction sent by the target smart cabinet.
[0065] Exemplarily, the target operation instructions include consumption instructions, warehousing instructions, return instructions and replenishment instructions, and the target operation instructions are generated by the target smart cabinet in response to the target operation of the target user, wherein the target operation includes consumption operation, warehousing operation, return operation and replenishment operation.
[0066] For example, the target smart cabinet generates a consumption instruction in response to the target user's consumption operation, generates a warehousing instruction in response to the target user's warehousing operation, generates a return instruction in response to the target user's return operation, and generates a replenishment instruction in response to the target user's replenishment operation.
[0067] The target operation can be a target operation button on the touch screen. For example, the consumption operation is to touch the consumption button on the touch screen, the warehousing operation is to touch the warehousing button on the touch screen, the return operation is to touch the return button on the touch screen, and the replenishment operation is to touch the replenishment button on the touch screen.
[0068] In other embodiments, the target operation may be triggering a target operation gesture on the touch screen, for example, a consumption operation may be triggering a consumption gesture on the touch screen, a warehousing operation may be triggering a warehousing gesture on the touch screen, a return operation may be triggering a return gesture on the touch screen, and a replenishment operation may be triggering a replenishment gesture on the touch screen.
[0069] The target log update instruction includes a consumption log update instruction, a storage log update instruction, a return log update instruction, and a replenishment log update instruction. The server can generate the corresponding target log update instruction according to the target operation instruction. For example, the server generates a consumption log update instruction according to the consumption instruction, generates a storage log update instruction according to the storage instruction, generates a return log update instruction according to the return instruction, and generates a replenishment log update instruction according to the replenishment instruction.
[0070] S106, the server sends a target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information.
[0071] Exemplarily, the target product information includes target product category information and its corresponding target product quantity, wherein the target product category information includes the target product name and may also include the target product manufacturer and / or the target product validity period, etc.
[0072] The target smart cabinet generates a second prompt message in response to the target user's target operation, and displays the second prompt message on the touch screen, and the target user can input the target product name and the corresponding target product quantity of each type of target product into the target smart cabinet based on the method corresponding to the second prompt message. For example, if the second prompt message is "Please enter the product name and product quantity", the target user inputs the target product name and the corresponding target product quantity of each type of target product into the target smart cabinet through the buttons on the touch screen.
[0073] If the second prompt message is "Please place the product electronic tag in the sensing area", the target user can place the target electronic tags of all target products in the sensing area of the target smart cabinet once or multiple times, and input the target product names and the number of target products of the same type stored in the target electronic tags into the target smart cabinet, so as to input the target product names and the corresponding target product quantities of each type of target product into the target smart cabinet. Alternatively, the number of target products of the same type is used as the number of times the target electronic tags of the same type of target products are placed in the sensing area, and the target electronic tags of the same type of target products are placed in the sensing area of the target smart cabinet, and the target product names and the number of times the target electronic tags of the same type of target products are placed in the sensing area can be input into the target smart cabinet, so as to input the target product names and the corresponding target product quantities of each type of target products into the target smart cabinet.
[0074] In other embodiments, the target product category information includes the target product identification, and may also include the target product manufacturer and / or the target product expiration date, etc. The target user can input the target product identification of each type of target product and the corresponding target product quantity into the target smart cabinet based on the method corresponding to the second prompt information.
[0075] For example, if the second prompt message is "Please scan the product identification code", the target user can place the target product identification codes of all target products in the scanning area of the target smart cabinet once or multiple times, and input the target product identification codes of the same type of target products and the number of target products of this type into the target smart cabinet, so as to input the target product identifications of each type of target products and the corresponding target product quantity into the target smart cabinet. Alternatively, the target product identification codes of this type of target products are scanned with the number of target products of the same type as the number of scans of the target products of this type, and the target product identification codes of the same type of target products and the number of scans of the target products of this type can be input into the target smart cabinet, so as to input the target product identifications of each type of target products and the corresponding target product quantity into the target smart cabinet.
[0076] If the second prompt message is "Please place the product label in the image acquisition area", the target user can place the target labels of all target products in the image acquisition area of the target smart cabinet once or multiple times to collect the target image information of all target products, thereby obtaining the target product identification corresponding to each target image information, and inputting the target product identification of the same type of target products and the number of target products of this type into the target smart cabinet, so as to input the target product identification of each type of target product and the corresponding target product quantity into the target smart cabinet. Alternatively, the number of target products of the same type is used as the number of times the target label of this type of target product is placed in the image acquisition area, and the target label of this type of target product is placed in the image acquisition area of the target smart cabinet, and the target labels of the same type of target products and the number of times the target label of this type of target product is placed in the image acquisition area can be input into the target smart cabinet, so as to input the target product identification of each type of target product and the corresponding target product quantity into the target smart cabinet.
[0077] The target log includes a consumption log, an entry log, a return log, and a replenishment log. The target smart cabinet responds to the target log update instruction sent by the server and updates the target log according to the target product information. For example, the target smart cabinet responds to the consumption log update instruction and updates the consumption log according to the target product information to record the consumption of medical devices, responds to the entry log update instruction and updates the entry log according to the target product information to record the entry of medical devices, responds to the return log update instruction and updates the return log according to the target product information to record the return of medical devices, and responds to the replenishment log update instruction and updates the replenishment log according to the target product information to record the replenishment of medical devices.
[0078] In the disclosed embodiment, a target login request sent by a target smart cabinet is received by a server, and whether the target user has the operating authority of the target smart cabinet is determined based on the target user verification information in the target login request. In response to the target user having the operating authority of the target smart cabinet, a cabinet door opening instruction is generated based on the login instruction in the target login request to instruct the target smart cabinet to open the cabinet door. In response to the target operation instruction sent by the target smart cabinet, a target log update instruction is generated to instruct the target smart cabinet to update the target log based on the target product information, so that the smart cabinet can record the warehousing, return, consumption and replenishment of medical devices, realize the automated management of medical devices, and improve the management efficiency of medical devices. In addition, in the management process of medical devices, the server undertakes most of the data processing work, so that the computing resources consumed by the smart cabinet are relatively small, thereby reducing the cost of the smart cabinet.
[0079] In some embodiments, the smart cabinet control method on the server side also includes: the server receives the target product identification sent by the target smart cabinet, determines the target product category information according to the correspondence between the target product identification and the preset product category information, and sends the target product category information to the target smart cabinet.
[0080] Among them, the product category information correspondence relationship includes multiple product identifiers and multiple product category information, each product identifier corresponds to at least one product category information, the target product identifier is one or more product identifiers in the product category information correspondence relationship, and the target product information includes the target product category information.
[0081] Exemplarily, the target product category information is the target product name, and the product category information correspondence includes multiple product identifiers and multiple product names, each product identifier corresponds to a product name, for example, the product identifier is a QR code or barcode of the product.
[0082] After the target user's target operation, the target smart cabinet can obtain multiple different target product identifiers or one target product identifier, as well as the number of target products corresponding to each target product identifier, and send all target product identifiers to the server. The server can query the product category information correspondence, determine a product name corresponding to each target product identifier in the product category information correspondence, and send it as the target product name to the target smart cabinet.
[0083] In its implementation manner, the product category information correspondence also includes multiple product quantities, each product name corresponds to a product quantity, and each product identifier corresponds to multiple product names. For example, the product identifier is an identification code of a product order.
[0084] After the target user's target operation, the target smart cabinet can obtain multiple different target product identifiers or one target product identifier, and send all target product identifiers to the server. The server can query the product category information correspondence, determine the multiple product names corresponding to each target product identifier and the product quantity corresponding to each product name in the product category information correspondence, and send them as the target product name and target product quantity to the target smart cabinet.
[0085] The target smart cabinet can display the target product name and the target product quantity corresponding to each target product name on the touch screen, so that the target user can confirm and / or modify the target product name and target product quantity, thereby improving the accuracy of management.
[0086] In some embodiments, before executing S101, it also includes: the server receives a target user identifier sent by the target smart cabinet, determines the target user information based on the correspondence between the target user identifier and the preset user information, and sends the target user information to the target smart cabinet, so that the target smart cabinet generates a target login request based on the login instruction and the target user information.
[0087] The user information correspondence relationship includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, the target user identifier is a user identifier in the user information correspondence relationship, and the target user verification information includes the target user information.
[0088] Exemplarily, the target user information is a target user name, the user information correspondence includes multiple user identifiers and multiple user names, each user identifier corresponds to a user name, the target user identifier is a user identifier in the user information correspondence, and the target user verification information includes the target user name.
[0089] After the target user logs in, the target smart cabinet can obtain the target user ID and send it to the server. The server can query the user information correspondence, determine the user name corresponding to the target user ID in the user information correspondence, and send it to the target smart cabinet as the target user name.
[0090] The target smart cabinet can display the target user name on the touch screen, making it easier for the target user to confirm and / or modify the target user name, thereby improving the security of management.
[0091] In some embodiments, the target operation instruction is a consumption instruction, and correspondingly, the target log update instruction is a consumption log update instruction, and the target log is a consumption log.
[0092] As an example, a possible implementation method of executing S105 is described as follows:
[0093] The server generates a consumption log update instruction in response to the consumption operation instruction sent by the target smart cabinet.
[0094] Accordingly, a specific description of a possible implementation method when executing S106 is as follows:
[0095] The server sends a consumption log update instruction to the target smart cabinet to instruct the target smart cabinet to update the consumption log based on the target product information.
[0096] Based on the above embodiments, the smart cabinet control method on the server side also includes: the server generates a replenishment log update instruction in response to the replenishment instruction sent by the target smart cabinet, and the replenishment log update instruction is generated by the target smart cabinet after the consumption log is updated. The replenishment log update instruction is sent to the target smart cabinet to instruct the target smart cabinet to update the replenishment log based on the target product information.
[0097] The present disclosure also provides a smart cabinet control method, which is applied to the smart cabinet system provided by the present disclosure, and is specifically applied to the smart cabinet.
[0098] Figure 3 A flow chart of another control method of a smart cabinet provided in an embodiment of the present disclosure is shown as follows: Figure 3 As shown, the specific steps of the control method on the smart cabinet side include:
[0099] S201, the target smart cabinet responds to the login operation of the target user and generates a target login request according to the target user verification information.
[0100] The target login request includes a login instruction and target user verification information.
[0101] Exemplarily, the login operation may be touching a login button on a touch screen of the target smart cabinet, or may be triggering a login gesture on the touch screen. The target user authentication information includes target user information and a target smart cabinet identifier, wherein the target user information may be a target user name.
[0102] The target smart cabinet generates a login instruction and a first prompt message in response to the target user's login operation, and displays the first prompt message on the touch screen. The target user can input the target user name into the target smart cabinet based on the method corresponding to the first prompt message. The target smart cabinet can then generate a target login request based on the target user name, the target smart cabinet identifier and the login instruction.
[0103] In other embodiments, the target user information may be a target user identifier. The target user inputs the target user identifier into the target smart cabinet based on a method corresponding to the first prompt information. The target smart cabinet may generate a target login request based on the target user identifier, the target smart cabinet identifier and the login instruction.
[0104] S202, the target smart cabinet sends a target login request to the server, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user verification information.
[0105] Exemplarily, a user authority correspondence is preset in the server, wherein the user authority correspondence includes multiple user information and multiple smart cabinet identifiers, and each user information corresponds to at least one smart cabinet identifier. The server queries the user authority correspondence to determine whether the user authority correspondence includes the target user information, and if the user authority correspondence includes the target user information, further determines whether the smart cabinet identifier corresponding to the target user information in the user authority correspondence includes the target smart cabinet identifier, thereby determining whether the target user has the operation authority of the target smart cabinet.
[0106] For example, when the user authority correspondence includes target user information and the target user information corresponds to the target smart cabinet identifier in the user authority correspondence, the target user has the operating authority of the target smart cabinet. When the target user information is not included in the user authority correspondence, the target user does not have the operating authority of the target smart cabinet. When the target user information does not correspond to the target smart cabinet identifier in the user authority correspondence, the target user does not have the operating authority of the target smart cabinet.
[0107] S203, the target smart cabinet opens the cabinet door in response to the cabinet door opening instruction sent by the server.
[0108] Among them, the cabinet door opening instruction is generated by the server according to the login instruction when the target user has the operation authority of the target smart cabinet.
[0109] Exemplarily, when the target user has the operating authority of the target smart cabinet, the server can generate a door opening instruction based on the login instruction and the address of the target smart cabinet, and send the door opening instruction to the target smart cabinet according to the address of the target smart cabinet.
[0110] The target smart cabinet generates a cabinet door opening signal in response to the cabinet door opening instruction, and opens the door lock at the edge of the cabinet door according to the cabinet door opening signal to open the cabinet door. For example, the door lock can be a magnetic lock, and the cabinet door opening signal is a power-off signal.
[0111] S204: The target smart cabinet generates a target operation instruction in response to the target operation of the target user.
[0112] Exemplarily, the target operations include consumption operations, warehousing operations, return operations and replenishment operations, wherein the consumption operation may be touching the consumption button on the touch screen, or may be triggering a consumption gesture on the touch screen, the warehousing operation may be touching the warehousing button on the touch screen, or may be triggering a warehousing gesture on the touch screen, the return operation may be touching the return button on the touch screen, or may be triggering a return gesture on the touch screen, and the replenishment operation may be touching the replenishment button on the touch screen, or may be triggering a replenishment gesture on the touch screen.
[0113] The target operation instructions include consumption instructions, warehousing instructions, return instructions and replenishment instructions. For example, the target smart cabinet generates a consumption instruction in response to the target user's consumption operation, generates a warehousing instruction in response to the target user's warehousing operation, generates a return instruction in response to the target user's return operation, and generates a replenishment instruction in response to the target user's replenishment operation.
[0114] S205, the target smart cabinet sends the target operation instruction to the server, so that the server generates a target log update instruction based on the target operation instruction.
[0115] Exemplarily, the target log update instruction includes a consumption log update instruction, a storage log update instruction, a return log update instruction, and a replenishment log update instruction, and the server can generate the corresponding target log update instruction according to the target operation instruction. For example, the server generates a consumption log update instruction according to the consumption instruction, generates a storage log update instruction according to the storage instruction, generates a return log update instruction according to the return instruction, and generates a replenishment log update instruction according to the replenishment instruction.
[0116] S206: The target smart cabinet responds to the target log update instruction sent by the server and updates the target log according to the target product information.
[0117] Exemplarily, the target product information includes target product category information and its corresponding target product quantity, wherein the target product category information includes the target product name and may also include the target product manufacturer and / or the target product validity period, etc.
[0118] The target smart cabinet generates a second prompt message in response to the target user's target operation and displays the second prompt message on the touch screen. The target user can input the target product names and corresponding target product quantities of each type of target product into the target smart cabinet based on the method corresponding to the second prompt message.
[0119] In other embodiments, the target product category information includes the target product identification, and may also include the target product manufacturer and / or the target product expiration date, etc. The target user can input all target product identifications and the target product quantity corresponding to each target product identification into the target smart cabinet based on the method corresponding to the second prompt information.
[0120] The target log includes a consumption log, an entry log, a return log, and a replenishment log. The target smart cabinet responds to the target log update instruction sent by the server and updates the target log according to the target product information. For example, the target smart cabinet responds to the consumption log update instruction and updates the consumption log according to the target product information to record the consumption of medical devices, responds to the entry log update instruction and updates the entry log according to the target product information to record the entry of medical devices, responds to the return log update instruction and updates the return log according to the target product information to record the return of medical devices, and responds to the replenishment log update instruction and updates the replenishment log according to the target product information to record the replenishment of medical devices.
[0121] In the disclosed embodiment, the target smart cabinet responds to the login operation of the target user, generates a target login request according to the target user verification information, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user verification information in the target login request; when the target user has the operation authority of the target smart cabinet, the cabinet door is opened in response to the cabinet door opening instruction sent by the server; in response to the target operation of the target user, a target operation instruction is generated, so that the server generates a target log update instruction based on the target operation instruction; in response to the target log update instruction sent by the server, the target log is updated according to the target product information; the smart cabinet can record the warehousing, return, consumption and replenishment of medical devices, realize the automated management of medical devices, and thus improve the management efficiency of medical devices; in addition, in the management process of medical devices, the server undertakes most of the data processing work, so that the computing resources consumed by the smart cabinet are relatively small, thereby reducing the cost of the smart cabinet.
[0122] In some embodiments, before executing S206 , the method further includes: obtaining a target product identifier, sending the target product identifier to a server, and receiving target product category information sent by the server.
[0123] Among them, the target product category information is determined by the server based on the correspondence between the target product identifier and the preset product category information, the product category information correspondence includes multiple product identifiers and multiple product category information, each product identifier corresponds to at least one product category information, the target product identifier is one or more product identifiers in the product category information correspondence, and the target product information includes the target product category information.
[0124] Exemplarily, the target product category information is the target product name, and the product category information correspondence includes multiple product identifiers and multiple product names, each product identifier corresponds to a product name, for example, the product identifier is a QR code or barcode of the product.
[0125] After the target user's target operation, the target smart cabinet can obtain multiple different target product identifiers or one target product identifier, as well as the number of target products corresponding to each target product identifier, and send all target product identifiers to the server. The server can query the product category information correspondence, determine a product name corresponding to each target product identifier in the product category information correspondence, and send it as the target product name to the target smart cabinet.
[0126] In its implementation manner, the product category information correspondence also includes multiple product quantities, each product name corresponds to a product quantity, and each product identifier corresponds to multiple product names. For example, the product identifier is an identification code of a product order.
[0127] After the target user's target operation, the target smart cabinet can obtain multiple different target product identifiers or one target product identifier, and send all target product identifiers to the server. The server can query the product category information correspondence, determine the multiple product names corresponding to each target product identifier and the product quantity corresponding to each product name in the product category information correspondence, and send them as the target product name and target product quantity to the target smart cabinet.
[0128] The target smart cabinet can display the target product name and the target product quantity corresponding to each target product name on the touch screen, so that the target user can confirm and / or modify the target product name and target product quantity, thereby improving the accuracy of management.
[0129] In some embodiments, before executing S201, it also includes: generating a login instruction in response to a login operation of the target user, obtaining a target user identifier and sending the target user identifier to a server, receiving target user information sent by the server, and generating a target login request based on the login instruction and the target user information.
[0130] Among them, the target user information is determined by the server based on the correspondence between the target user identifier and the user information. The user information correspondence includes multiple user identifiers and multiple user information. Each user identifier corresponds to one user information. The target user identifier is a user identifier in the user information correspondence. The target user verification information includes the target user information.
[0131] Exemplarily, the target user information is a target user name, the user information correspondence includes multiple user identifiers and multiple user names, each user identifier corresponds to a user name, the target user identifier is a user identifier in the user information correspondence, and the target user verification information includes the target user name.
[0132] After the target user logs in, the target smart cabinet can obtain the target user ID and send it to the server. The server can query the user information correspondence, determine the user name corresponding to the target user ID in the user information correspondence, and send it to the target smart cabinet as the target user name.
[0133] The target smart cabinet can display the target user name on the touch screen, making it easier for the target user to confirm and / or modify the target user name, thereby improving the security of management.
[0134] In some embodiments, the target operation is a consumption operation, and accordingly, the target operation instruction is a consumption instruction, the target log update instruction is a consumption log update instruction, and the target log is a consumption log.
[0135] As an example, a specific description of a possible implementation method when executing S204 is as follows:
[0136] The target smart cabinet generates a consumption instruction in response to the consumption operation of the target user.
[0137] Accordingly, a specific description of a possible implementation method when executing S205 is as follows:
[0138] The target smart cabinet sends the consumption instruction to the server, so that the server generates a consumption log update instruction based on the consumption instruction.
[0139] Accordingly, a specific description of a possible implementation method when executing S206 is as follows:
[0140] The target smart cabinet responds to the consumption log update instruction sent by the server and updates the consumption log according to the target product information.
[0141] Based on the above embodiment, the smart cabinet control method on the smart cabinet side also includes: after the consumption log is updated, the target smart cabinet generates a replenishment instruction and sends it to the server, so that the server generates a replenishment log update instruction in response to the replenishment instruction, and the target smart cabinet responds to the replenishment log update instruction sent by the server and updates the replenishment log according to the target product information.
[0142] In some embodiments, the smart cabinet control method on the smart cabinet side further includes: the target smart cabinet generates a cabinet door closing instruction in response to the door closing operation of the target user, generates a cabinet door closing signal according to the cabinet door closing instruction, and closes the door lock at the edge of the cabinet door according to the cabinet door closing signal to close the cabinet door, wherein the door closing operation may be touching the door closing button on the touch screen, or may be manually closing the cabinet door, and at the same time, logging out. For example, the door lock may be a magnetic lock, and the cabinet door closing signal is a power-on signal to close the magnetic lock.
[0143] The present disclosure also provides a smart cabinet control device, which is applied to a smart cabinet system, specifically to a server, and is used to execute the steps on the server side in the method embodiment of the present disclosure.
[0144] Figure 4 is a schematic diagram of the structure of a smart cabinet control device provided by an embodiment of the present disclosure, such as Figure 4 As shown, the intelligent cabinet control device includes:
[0145] The receiving module 110 is used to receive a target login request sent by a target smart cabinet, wherein the target login request includes a login instruction and target user verification information, and receive a target operation instruction sent by the target smart cabinet.
[0146] The determination module 120 is used to determine whether the target user has the operation authority of the target smart cabinet according to the target user verification information.
[0147] The response module 130 is used to generate a cabinet door opening instruction according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and generate a target log update instruction in response to the target operation instruction; wherein the target log update instruction includes a consumption log update instruction, a warehousing log update instruction, a return log update instruction and a replenishment log update instruction.
[0148] The sending module 140 is used to send the cabinet door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the cabinet door, and send the target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information.
[0149] In some embodiments, the receiving module 110 is further used to receive the target product identification sent by the target smart cabinet.
[0150] The determination module 120 is also used to determine the target product category information based on the correspondence between the target product identifier and the preset product category information, the product category information correspondence includes multiple product identifiers and multiple product category information, each of the product identifiers corresponds to at least one of the product category information, and the target product identifier is one or more of the product identifiers in the product category information correspondence.
[0151] The sending module 140 is further used to send the target product category information to the target smart cabinet, and the target product information includes the target product category information.
[0152] In some embodiments, the receiving module 110 is further used to receive a target user identifier sent by the target smart cabinet.
[0153] The determination module 120 is also used to determine the target user information according to the target user identifier and the preset user information correspondence relationship, the user information correspondence relationship includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, and the target user identifier is one of the user identifiers in the user information correspondence relationship.
[0154] The sending module 140 is further used to send the target user information to the target smart cabinet, so that the target smart cabinet generates the target login request based on the login instruction and the target user information, and the target user verification information includes the target user information.
[0155] In some embodiments, the target operation instruction is a consumption instruction, the target log update instruction is a consumption log update instruction, and the target log is a consumption log.
[0156] The response module 130 is further used for the server to generate a consumption log update instruction in response to the consumption operation instruction sent by the target smart cabinet.
[0157] The sending module 140 is further used to send the consumption log update instruction to the target smart cabinet to instruct the target smart cabinet to update the consumption log based on the target product information.
[0158] The response module 130 is further used to generate a replenishment log update instruction in response to the replenishment instruction sent by the target smart cabinet, and the replenishment instruction is generated by the target smart cabinet after the consumption log is updated.
[0159] The sending module 140 is further used to send a replenishment log update instruction to the target smart cabinet to instruct the target smart cabinet to update the replenishment log based on the target product information.
[0160] The smart cabinet control device provided in the embodiment of the present disclosure is used to execute the server-side steps provided in any of the above-mentioned method embodiments, has functional modules corresponding to the method embodiments, and has the beneficial effects of the method embodiments, which will not be repeated here.
[0161] The present disclosure also provides a smart cabinet control device, which is applied to a smart cabinet system, specifically to a smart cabinet, and is used to execute the steps on the smart cabinet side in the method embodiment of the present disclosure.
[0162] Figure 5 is a schematic diagram of the structure of a smart cabinet control device provided by an embodiment of the present disclosure, such as Figure 5 As shown, the intelligent cabinet control device includes:
[0163] The response module 210 is used to respond to the login operation of the target user, generate a target login request according to the target user verification information, the target login request includes a login instruction and the target user verification information, and generate a target operation instruction in response to the target operation of the target user.
[0164] The sending module 220 is used to send the target login request to the server so that the server determines whether the target user has the operation authority of the target smart cabinet based on the target user verification information; and send the target operation instruction to the server so that the server generates a target log update instruction based on the target operation instruction.
[0165] The receiving module 230 is used to receive the cabinet door opening instruction sent by the server, the cabinet door opening instruction is generated by the server according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and receives the target log update instruction sent by the server.
[0166] The response module 210 is further configured to respond to the cabinet door opening instruction to open the cabinet door, and respond to the target log updating instruction to update the target log according to the target product information.
[0167] In some embodiments, the smart cabinet control device further includes:
[0168] The acquisition module is used to obtain the target product identifier.
[0169] The sending module 220 is further configured to send the target product identifier to the server.
[0170] The receiving module 230 is also used to receive the target product category information sent by the server, the target product category information is determined by the server based on the correspondence between the target product identifier and the preset product category information, the product category information correspondence includes multiple product identifiers and multiple product category information, each of the product identifiers corresponds to at least one of the product category information, and the target product identifier is one or more of the product identifiers in the product category information correspondence.
[0171] In some embodiments, the response module 210 is further configured to generate the login instruction in response to a login operation of the target user.
[0172] The intelligent cabinet control device also includes:
[0173] The acquisition module is used to obtain the target user ID.
[0174] The sending module 220 is further configured to send the target user identifier to the server.
[0175] The receiving module 230 is also used to receive the target user information sent by the server, where the target user information is determined by the server based on the target user identifier and a preset user information correspondence relationship, where the user information correspondence relationship includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, and the target user identifier is one of the user identifiers in the user information correspondence relationship.
[0176] The response module 210 is further configured to generate the target login request according to the login instruction and the target user information, wherein the target user verification information includes the target user information.
[0177] In some embodiments, the target operation is a consumption operation, the target operation instruction is a consumption instruction, the target log update instruction is a consumption log update instruction, and the target log is a consumption log.
[0178] The response module 210 is further used to generate a consumption instruction in response to the consumption operation of the target user.
[0179] The sending module 220 is further used to send the consumption instruction to the server, so that the server generates a consumption log update instruction based on the consumption instruction.
[0180] The receiving module 230 is further used to receive the consumption log update instruction sent by the server.
[0181] The response module 210 is further used to respond to the consumption log update instruction and update the consumption log according to the target product information.
[0182] The response module 210 is also used to generate a replenishment instruction after the consumption log is updated.
[0183] The sending module 220 is further configured to send the replenishment instruction to the server, so that the server generates a replenishment log update instruction in response to the replenishment instruction.
[0184] The receiving module 230 is also used to receive the replenishment log update instruction sent by the server.
[0185] The response module 210 is further configured to respond to the replenishment log update instruction and update the replenishment log according to the target product information.
[0186] The smart cabinet control device provided in the embodiment of the present disclosure is used to execute the steps on the smart cabinet side provided in any of the above-mentioned method embodiments, has functional modules corresponding to the method embodiments, and has the beneficial effects of the method embodiments, which will not be repeated here.
[0187] The present disclosure further provides an electronic device, comprising: a processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program implements the server-side steps of the above method embodiment when executed by the processor.
[0188] Exemplarily, the electronic device may be a server in a smart cabinet system.
[0189] The present disclosure further provides an electronic device, including: a processor, wherein the processor is used to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps on the receiving end side of the above method embodiment are implemented.
[0190] Exemplarily, the electronic device may be a smart cabinet in a smart cabinet system.
[0191] The present disclosure further provides an electronic device, including: a processor, wherein the processor is used to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps on the smart cabinet side of the above method embodiment are implemented.
[0192] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure is provided. Figure 6 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0193] like Figure 6 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processor 16).
[0194] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0195] The electronic device 12 typically includes a variety of computer system readable media. These media can be any media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0196] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as "hard drives"). A disk drive for reading and writing removable non-volatile disks (such as "floppy disks"), and an optical disk drive for reading and writing removable non-volatile optical disks (such as CD-ROMs, DVD-ROMs, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data media interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0197] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described in the embodiments of the present disclosure.
[0198] The processor 16 executes various functional applications and data processing by running at least one program among a plurality of programs stored in the system memory 28 , such as implementing the method embodiment provided in the embodiment of the present disclosure.
[0199] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the server side of the above method embodiment when the computer program is executed by a processor.
[0200] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the smart cabinet side of the above method embodiment.
[0201] Any combination of one or more computer-readable media can be used. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0202] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0203] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0204] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN) domain, or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0205] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device and method according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0206] Unless the context clearly indicates otherwise, the singular form of the words used herein and in the appended claims includes the plural and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the words "comprise" and "include" are to be interpreted as inclusive rather than exclusive. Likewise, the terms "include" and "or" should be interpreted as inclusive unless such interpretation is expressly prohibited herein. Where the term "example" is used herein, particularly when it is located after a group of terms, the "example" is merely exemplary and illustrative and should not be considered exclusive or comprehensive.
[0207] Further aspects and scopes of adaptability become apparent from the description provided herein. It should be understood that various aspects of the present disclosure can be implemented individually or in combination with one or more other aspects. It should also be understood that the description and specific embodiments herein are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
[0208] Several embodiments of the present disclosure are described in detail above, but it is obvious that those skilled in the art can make various modifications and variations to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. The protection scope of the present disclosure is defined by the attached claims.
Claims
1. A smart cabinet control method, characterized in that: include: Receiving a target login request sent by a target smart cabinet, wherein the target login request includes a login instruction and target user verification information; Determine, based on the target user verification information, whether the target user has the operation authority of the target smart cabinet; In response to the target user having the operation authority of the target smart cabinet, generating a cabinet door opening instruction according to the login instruction, and sending the cabinet door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the cabinet door; In response to the target operation instruction sent by the target smart cabinet, generate a target log update instruction, and send the target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information; The target log update instructions include consumption log update instructions, warehousing log update instructions, return log update instructions and replenishment log update instructions.
2. The method according to claim 1, characterized in that The method further comprises: Receiving a target product identifier sent by the target smart cabinet; Determine the target product category information according to the correspondence between the target product identifier and the preset product category information, the product category information correspondence includes multiple product identifiers and multiple product category information, each product identifier corresponds to at least one product category information, and the target product identifier is one or more product identifiers in the product category information correspondence; The target product category information is sent to the target smart cabinet, and the target product information includes the target product category information.
3. The method according to claim 1, characterized in that Before receiving the target login request sent by the target smart cabinet, the method further includes: Receiving a target user identifier sent by the target smart cabinet; Determine the target user information according to the target user identifier and the preset user information correspondence relationship, the user information correspondence relationship includes multiple user identifiers and multiple user information, each user identifier corresponds to one user information, and the target user identifier is one of the user identifiers in the user information correspondence relationship; The target user information is sent to the target smart cabinet, so that the target smart cabinet generates the target login request based on the login instruction and the target user information, and the target user verification information includes the target user information.
4. A smart cabinet control method, characterized in that: include: In response to a login operation of a target user, generating a target login request according to the target user verification information, the target login request including a login instruction and the target user verification information; Sending the target login request to the server, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user verification information; In response to a cabinet door opening instruction sent by the server, the cabinet door is opened, wherein the cabinet door opening instruction is generated by the server according to the login instruction when the target user has the operation authority of the target smart cabinet; In response to the target operation of the target user, generating a target operation instruction, and sending the target operation instruction to the server, so that the server generates a target log update instruction based on the target operation instruction; In response to the target log update instruction sent by the server, the target log is updated according to the target product information, and the target log includes a consumption log, a warehousing log, a return log and a replenishment log.
5. The method according to claim 4, characterized in that Before updating the target log according to the target product information in response to the target log update instruction sent by the server, the method further includes: Get the target product ID; Sending the target product identification to the server; Receive target product category information sent by the server, where the target product category information is determined by the server based on a correspondence between the target product identifier and preset product category information, where the product category information correspondence includes multiple product identifiers and multiple product category information, each product identifier corresponds to at least one product category information, and the target product identifier is one or more product identifiers in the product category information correspondence.
6. The method according to claim 4, characterized in that In response to the target user's login operation, generating a target login request according to the target user's authentication information includes: In response to a login operation of the target user, generating the login instruction; Obtaining a target user identifier, and sending the target user identifier to the server; receiving target user information sent by the server, wherein the target user information is determined by the server according to a correspondence relationship between the target user identifier and preset user information, wherein the user information correspondence relationship includes multiple user identifiers and multiple user information, each of the user identifiers corresponds to one piece of user information, and the target user identifier is one of the user identifiers in the user information correspondence relationship; The target login request is generated according to the login instruction and the target user information, and the target user verification information includes the target user information.
7. A smart cabinet control device, characterized in that: include: A receiving module, configured to receive a target login request sent by a target smart cabinet, the target login request including a login instruction and target user verification information, and receive a target operation instruction sent by the target smart cabinet; A determination module, used to determine whether the target user has the operation authority of the target smart cabinet according to the target user verification information; A response module, for generating a cabinet door opening instruction according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and generating a target log update instruction in response to the target operation instruction; wherein the target log update instruction includes a consumption log update instruction, a warehousing log update instruction, a return log update instruction and a replenishment log update instruction; The sending module is used to send the cabinet door opening instruction to the target smart cabinet to instruct the target smart cabinet to open the cabinet door, and send the target log update instruction to the target smart cabinet to instruct the target smart cabinet to update the target log based on the target product information.
8. A smart cabinet control device, characterized in that: include: A response module, configured to generate a target login request according to the target user verification information in response to the target user's login operation, wherein the target login request includes a login instruction and the target user verification information, and generate a target operation instruction in response to the target user's target operation; A sending module, used for sending the target login request to a server, so that the server determines whether the target user has the operation authority of the target smart cabinet according to the target user verification information; Sending the target operation instruction to the server, so that the server generates a target log update instruction based on the target operation instruction; A receiving module, configured to receive a cabinet door opening instruction sent by the server, wherein the cabinet door opening instruction is generated by the server according to the login instruction in response to the target user having the operation authority of the target smart cabinet, and receive the target log update instruction sent by the server; The response module is further configured to respond to the cabinet door opening instruction to open the cabinet door, and respond to the target log updating instruction to update the target log according to the target product information.
9. An electronic device, characterized in that: include: A processor, wherein the processor is used to execute a computer program stored in a memory, wherein the computer program, when executed by the processor, implements the steps of the method described in any one of claims 1 to 3 or any one of claims 4 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 3 or any one of claims 4 to 6 are implemented.
Citation Information
Patent Citations
Filing cabinet control-based data processing method, equipment, server and system
CN102592341A
Medical storage control method and system based on human face recognition
CN104637184A
Medical storage cabinet management method and device, storage medium and terminal equipment
CN114596673A
Synchronous client-side log service
US20200304577A1