Method, device, electronic device, and storage medium for controlling an intelligent sales cabinet

Encrypted communication between vending cabinets and locks validates unlocking signals, enhancing security by preventing unauthorized access and ensuring reliable operation.

JP7611420B2Active Publication Date: 2025-01-09HEFEI MIDEA INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023558871
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-04-26
Filing Date
2021-12-24
Publication Date
2025-01-09
Estimated Expiration
2041-12-24

Smart Images

  • Figure 0007611420000001
    Figure 0007611420000001
  • Figure 0007611420000002
    Figure 0007611420000002
  • Figure 0007611420000003
    Figure 0007611420000003
Patent Text Reader

Abstract

The present application relates to the technical field of equipment control and provides a method, device, electronic device, and storage medium for controlling an intelligent vending cabinet, which includes: a vending cabinet confirming that a door opening request has been passed, sending an encrypted unlock command to an electric control lock disposed on the vending cabinet, and opening the door of the vending cabinet after the electric control lock successfully decrypts the unlock command. The method, device, electronic device, and storage medium for controlling an intelligent vending cabinet according to the present application realize effective checking of the authenticity of the unlock signal of the electric control lock through the manner of encrypted communication between the vending cabinet and the electric control lock, and avoid maliciously opening the door by a forged external signal, thereby improving the safety and reliability of the vending cabinet.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (cross reference) This application claims priority to a Chinese patent application filed on April 26, 2021, bearing application number 202110455765.4 and titled "Control method, device, electronic device, and storage medium for intelligent sales cabinet," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the technical field of equipment control, and in particular to a control method, device, electronic device, and storage medium for an intelligent sales cabinet. [Background technology]

[0003] There are multiple kinds of products placed inside the intelligent sales cabinet, and users can apply to open the cabinet door and take out the products by scanning a QR code.The intelligent sales cabinet contains two control systems: a system that interacts with the cloud as a higher-level device, and a system that interacts with the electric control lock as a lower-level device.

[0004] During the use of the intelligent sales cabinet, the electric control lock is controlled by the lower-level device sending the unlocking signal (level signal), and the electric control lock itself cannot verify the validity of the unlocking signal. Regardless of whether the high level is sent from the lower-level device, it will be unlocked if it can receive the high level. Due to this, many criminals who know the principle of the electric control lock connect the electric control lock to an external device made by themselves, and take advantage of the defect that the electric control lock cannot judge the validity of the unlocking signal to achieve the purpose of theft. Summary of the Invention [Problem to be solved by the invention]

[0005] The present application aims to solve at least one of the technical problems existing in the prior art, and therefore provides a control method for an intelligent vending cabinet, which realizes effective checking of the authenticity of the unlocking signal of the electric control lock through the manner of encrypted communication between the vending cabinet and the electric control lock, avoids the door being maliciously opened by a forged external signal, and improves the safety and reliability of the vending cabinet.

[0006] The present application further provides an intelligent vending cabinet control device, a system, an electronic device, and a storage medium. [Means for solving the problem]

[0007] A method for controlling an intelligent sales cabinet according to a first aspect of the present application includes: The vending cabinet verifies that the door opening request has been passed, and transmits an encrypted unlock command to an electronically controlled lock disposed on the vending cabinet, and opens the door of the vending cabinet after the electronically controlled lock successfully decodes the unlock command.

[0008] The control method for the intelligent sales cabinet according to the present application further has the following additional technical features:

[0009] Furthermore, the method comprises: The sales cabinet further includes obtaining door lock status information, determining that the door lock status information is unencrypted information or determining that the door lock status information is not successfully decrypted, and sending alarm information to the cloud.

[0010] Furthermore, the method comprises: The sales cabinet further includes determining that the self-status information of the electric control lock is not obtained within the target time period, and sending alarm information to the cloud.

[0011] A method for controlling an intelligent sales cabinet according to a second aspect of the present application includes: The electronic control lock obtains an unlock command; and verifying successful decoding of the unlock command and opening the vending cabinet door.

[0012] The control method for the intelligent sales cabinet according to the present application further includes the following additional technical features:

[0013] Furthermore, the method comprises: The electronic control lock further includes obtaining door lock status information, encrypting the door lock status information, and sending the encrypted door lock status information to the vending cabinet, and the vending cabinet further includes sending a payment request to the cloud after confirming that the door lock status information has been successfully decrypted.

[0014] Further, after the electric control lock obtains an unlock command, the method further comprises: The electronically controlled lock further includes verifying that the unlock command is unencrypted information or that the unlock command has not been successfully decrypted and allowing the vending cabinet door to remain closed.

[0015] A control device for an intelligent sales cabinet according to a third aspect of the present application includes: a confirmation module for confirming that the door opening request has gone through; and a control module for sending an encrypted unlock command to an electronically controlled lock located on the vending cabinet and opening a door of the vending cabinet after the electronically controlled lock successfully decodes the unlock command.

[0016] A control device for an intelligent sales cabinet according to a fourth aspect of the present application includes: an acquisition module for acquiring an unlock command; and a control module for verifying successful decoding of the unlock command and opening the vending cabinet door.

[0017] A control system for an intelligent sales cabinet according to a fifth aspect of the present application comprises: a vending cabinet for verifying that a door open request has been passed and for transmitting an encrypted unlock command to an electronically controlled lock disposed in said vending cabinet; and an electronically controlled lock for opening the vending cabinet door after successfully decoding the unlock command.

[0018] In addition, the electric control lock is further used for obtaining door lock status information and sending encrypted door lock status information to the vending cabinet; The sales cabinet is further used to send a payment request to the cloud after confirming that the door lock status information has been successfully decoded.

[0019] An electronic device according to a sixth aspect of the present application includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the steps of the above-mentioned intelligent sales cabinet control method are realized.

[0020] A non-transitory computer-readable storage medium according to a seventh aspect of the present application stores a computer program, which, when executed by a processor, realizes the steps of the above-mentioned intelligent sales cabinet control method.

[0021] Additional aspects and advantages of the present application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the present application.

[0022] In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the drawings necessary for describing the embodiments or the prior art will be briefly described below. Of course, the drawings described below are only some embodiments of the present application, and those skilled in the art can further obtain other drawings based on these drawings without requiring creative work. [Brief description of the drawings]

[0023] [Figure 1] 4 is a flowchart of a method for controlling an intelligent sales cabinet according to the present application; [Diagram 2] 2 is a second flowchart of the control method for the intelligent sales cabinet according to the present application; [Diagram 3] 3 is a third flowchart of the control method for the intelligent sales cabinet according to the present application. [Figure 4] 4 is a fourth flowchart of the control method for the intelligent sales cabinet according to the present application. [Diagram 5] 5 is a fifth flowchart of the control method for the intelligent sales cabinet according to the present application. [Figure 6] FIG. 2 is a schematic diagram of the structure of a control device of an intelligent sales cabinet according to the present application; [Figure 7] FIG. 2 is a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application; [Figure 8] 3 is a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application; [Figure 9] FIG. 4 is a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application; [Figure 10] 1 is a schematic diagram of a structure of an electronic device according to the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] The embodiments of the present application will be clearly and completely described below with reference to the drawings and examples. The following examples are for illustrating the present application, but are not intended to limit the scope of the present application.

[0025] FIG. 1 shows a flow chart of the method for controlling an intelligent vending cabinet according to the present application. As shown in FIG. 1, the method is applied to an intelligent vending cabinet having a lock-controllable door, in which an electric control lock is arranged, and the electric control lock can control the opening of the door. The vending cabinet is the execution body of the method. The method includes: Step 11, in which the sales cabinet receives the authentication result sent from the cloud and determines whether the door opening request is passed based on the authentication result; and step 12 of generating an unlock command using an encryption method after confirming that the door opening request has been passed, sending the unlock command to the electric control lock, and opening the door after the electric control lock successfully decrypts the unlock command.

[0026] However, in contrast to steps 11 and 12, in the present application, there are multiple kinds of products placed in the intelligent sales cabinet, and the user can apply to open the door and receive the products by scanning the QR code.

[0027] The intelligent sales cabinet contains two control systems: a system that interacts with the cloud as a higher-level device, and a system that interacts with an electrically controlled lock as a lower-level device.

[0028] After the user uses the mobile terminal to scan the QR code displayed on the display of the sales cabinet, the mobile terminal actually sends a door opening request to the cloud, including the sales cabinet number and the payment account on the user's mobile terminal.

[0029] The cloud sends an authentication result to the upper device of the vending cabinet according to the door opening request, and the authentication result actually allows the user to open the door in this consumption process. After the upper device confirms that the user's door opening request has been accepted according to the authentication result, it notifies the lower device of the vending cabinet that the request has been accepted. At this time, the lower device sends an unlock command to the electric control lock, and the unlock command is sent in an encrypted manner.

[0030] After receiving the unlock command, the electric lock decodes the unlock command, and if the decoding is successful, controls the power device of the electric lock to open the door. After the door is opened, the user can select and take out the goods in the cabinet.

[0031] The control method of the intelligent vending cabinet according to the present application realizes effective checking of the authenticity of the unlocking signal of the electric control lock through the encrypted communication method between the vending cabinet and the electric control lock, avoids the door being maliciously opened by a forged external signal, and improves the safety and reliability of the vending cabinet.

[0032] FIG. 2 shows a flow chart of the control method for the intelligent sales cabinet according to the present application. As shown in FIG. 2, the method takes the sales cabinet as an execution body, and the method includes: Step 11: the sales cabinet receives the authentication result sent from the cloud and determines whether the door opening request is passed based on the authentication result; Step 12: after the vending cabinet confirms that the door opening request has been passed, the vending cabinet uses an encryption method to generate an unlock command, and sends the unlock command to the electric control lock, and after the electric control lock successfully decrypts the unlock command, the vending cabinet opens the door; The step 21 includes the sales cabinet obtaining the door lock status information, determining that the door lock status information is unencrypted information, or determining that the door lock status information has not been successfully decrypted, and sending alarm information to the cloud.

[0033] Steps 11 and 12 have been described in detail above, so they will not be repeated here.

[0034] However, in the present application, after the user removes the product from the cabinet, the door is closed again and the electronic lock is locked again in step 21. Therefore, the electronic lock obtains the door lock status information in real time, which indicates whether the door is closed or not.

[0035] The electronic control lock also uses an encryption method to send the door lock status information to the lower device of the vending cabinet, which decrypts the door lock status information, and after successful decryption, confirms that the door is closed according to the door lock status information, and sends a signal that the door is closed to the upper device. The upper device then sends the information of the product picked up by the user to the cloud, and the cloud completes the payment process according to the product information and the payment account.

[0036] In this application, a user may forge door lock status information. For example, the user may unplug the communication line between the electric control lock and the lower device, and then use an external device to input a forged signal to the socket pin of the lower device. The forged signal is used instead of the door lock status signal.

[0037] If the counterfeit signal is not processed by encryption, the lower device will confirm that the signal is unencrypted information, indicating that the signal is an illegal signal, and the lower device will send a notification signal to the upper device that the door may not be closed, and the upper device will further send alarm information to the cloud. The alarm information indicates the number of the vending cabinet. At this time, the vending cabinet operator will send employees to carry out an on-site inspection to resolve the problem in a timely manner in order to avoid loss of goods.

[0038] If the forged signal is processed by an encryption method, the lower device will decrypt the secret information after confirming that the signal is encrypted information. Because the forged signal does not know the encryption protocol, the lower device fails to decrypt the forged signal. In this case, the lower device still sends a notification signal to the upper device that the door may not be closed, and the upper device further sends alarm information to the cloud. The alarm information indicates the number of the vending cabinet. At this time, the vending cabinet operator will send employees to carry out an on-site inspection to resolve the problem in a timely manner in order to avoid loss of goods.

[0039] The control method of the intelligent vending cabinet according to the present application realizes effective checking of the authenticity of the unlocking signal of the electric control lock and the door lock status information of the electric control lock through the encrypted communication mode between the vending cabinet and the electric control lock, avoids maliciously opening or closing the door through forged external signals, and improves the safety and reliability of the vending cabinet.

[0040] FIG. 3 shows a flow chart of the control method for the intelligent sales cabinet according to the present application. As shown in FIG. 3, the method takes the sales cabinet as an execution body, and the method includes: Step 11: the sales cabinet receives the authentication result sent from the cloud and determines whether the door opening request is passed based on the authentication result; Step 12: after the vending cabinet confirms that the door opening request has been passed, the vending cabinet uses an encryption method to generate an unlock command, and sends the unlock command to the electric control lock, and after the electric control lock successfully decrypts the unlock command, the vending cabinet opens the door; Step 21: the sales cabinet obtains the door lock status information, confirms that the door lock status information is unencrypted information, or confirms that the door lock status information is not successfully decrypted, and sends alarm information to the cloud; The sales cabinet includes step 31 of confirming that it has not acquired the self-status information of the electric control lock within the target time period and sending the alarm information to the cloud.

[0041] Steps 11, 12 and 21 have been described in detail above, and will not be repeated here.

[0042] However, in this application, for step 31, the electric lock can transmit self-status information to the vending cabinet at a preset time interval. The self-status information indicates whether the electric lock is damaged or not in working condition. If the electric lock is damaged by human violence, the electric lock cannot provide the self-status information to the vending cabinet. Therefore, if the vending cabinet cannot receive the self-status information transmitted from the electric lock within a preset time period, it determines that the electric lock has been damaged or broken by human force. In this case, the lower device transmits a notification signal to the upper device that the door may not be closed, and the upper device further transmits alarm information to the cloud. The alarm information indicates the number of the vending cabinet. At this time, the vending cabinet operator dispatches employees to carry out an on-site inspection to eliminate the problem in a timely manner in order to avoid loss of goods.

[0043] The control method of the intelligent vending cabinet according to the present application realizes effective inspection of the authenticity of the unlocking signal of the electric control lock and the door lock status information of the electric control lock through the encrypted communication mode between the vending cabinet and the electric control lock, avoids the malicious opening and closing of the door by the forged external signal, improves the safety and reliability of the vending cabinet, and can periodically monitor whether the electric control lock is damaged and immediately find out the problem when it occurs.

[0044] FIG. 4 shows a flow chart of the method for controlling an intelligent vending cabinet according to the present application. As shown in FIG. 4, the method is applied to an intelligent vending cabinet having a lock-controllable door, in which an electric control lock is arranged, and the electric control lock can control the opening of the door. The electric control lock is the execution body of the method. The method includes: Step 41, in which the electronically controlled lock receives an unlock command; and step 42 verifying successful decoding of the unlock command and opening the vending cabinet door.

[0045] However, for steps 41 and 42, in the present application, it can be seen that according to the information interaction process between the cloud, the upper device, the lower device, and the electronic control lock by the above control method, the electronic control lock may obtain commands in the following two cases: 1) An unlock command generated using an encryption method after the lower-level device confirms that the door opening request has been received. 2) Orders forged by someone else using external devices.

[0046] After receiving the command, the electric control lock first decrypts the command, and the lower device encrypts it according to the preset encryption protocol, and the electric control lock also has a key to decrypt the command. Meanwhile, if the forged command is not encrypted, there is no decryption process, which corresponds to a decryption failure.

[0047] If the decryption is successful, the command is valid and the electronically controlled lock opens the vending cabinet door. If the decryption is unsuccessful, the command is invalid and the electronically controlled lock continues to hold the cabinet door closed.

[0048] In addition, when another person directly sends a forged command to the electric control lock in an unauthorized manner, the generation process of the forged command does not adopt a preset encryption protocol, and the electric control lock can verify that the forged command is non-encrypted information, or verify that the forged command is encrypted, but the electric control lock cannot decrypt the command, and the electric control lock continues to keep the door of the sales cabinet closed.

[0049] The control method of the intelligent vending cabinet according to the present application realizes effective checking of the authenticity of the unlocking signal of the electric control lock through the encrypted communication method between the vending cabinet and the electric control lock, avoids the door being maliciously opened by a forged external signal, and improves the safety and reliability of the vending cabinet.

[0050] FIG. 5 shows a flow chart of the control method for the intelligent sales cabinet according to the present application. As shown in FIG. 5, the method is carried out by an electric control lock, and the method includes: Step 41, in which the electronically controlled lock receives an unlock command; Step 42, the electronic control lock confirms that the unlock command has been successfully decoded and opens the door of the vending cabinet; Step 51 includes: the electric control lock obtains door lock status information, encrypts the door lock status information, and sends the encrypted door lock status information to the vending cabinet, and the vending cabinet sends a payment request to the cloud after confirming that the door lock status information has been successfully decrypted.

[0051] Steps 41 and 42 have been described in detail above, so a detailed description thereof will be omitted here.

[0052] However, in the present application, after the user removes the product from the cabinet, the door is closed again and the electronic lock is locked again in step 51. Therefore, the electronic lock obtains the door lock status information in real time, which indicates whether the door is closed or not.

[0053] The electronic control lock also uses an encryption method to send the door lock status information to the lower device of the vending cabinet, which decrypts the door lock status information, and after successful decryption, confirms that the door is closed according to the door lock status information, and sends a signal that the door is closed to the upper device. The upper device then sends the information of the product picked up by the user to the cloud, and the cloud completes the payment process according to the product information and the payment account.

[0054] The control method of the intelligent vending cabinet of the present application realizes effective verification of the authenticity of the unlocking signal of the electric control lock and the authenticity of the door lock status information of the electric control lock through the encrypted communication mode between the vending cabinet and the electric control lock, thereby avoiding malicious opening of the door by forged external signals, and improving the safety and reliability of the vending cabinet.

[0055] FIG. 6 shows a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application, which includes: a verification module 61 for receiving an authentication result sent from the cloud and determining whether the door opening request is passed according to the authentication result; and a first control module 62 for sending an encrypted unlock command to an electric control lock located on the vending cabinet after verifying that the door opening request has been passed, and for opening the door of the vending cabinet after the electric control lock successfully decodes the unlock command.

[0056] In a further apparatus of the invention as described above, the apparatus comprises: An alarm module is provided for obtaining door lock status information, determining that the door lock status information is unencrypted information or determining that the door lock status information has not been successfully decrypted, and sending alarm information to the cloud.

[0057] In a further apparatus of the above invention, the alarm module further comprises: It is used to confirm that the self-status information of the electric control lock has not been obtained within a preset time period and to send alarm information to the cloud.

[0058] Since the principle of the device of the present application is the same as that of the method of the invention described above, a more detailed description is omitted here.

[0059] However, in the present application, the above-mentioned functional modules can be realized by a hardware processor.

[0060] The above-mentioned intelligent vending cabinet control device realizes effective checking of the authenticity of the unlocking signal of the electric control lock through the encrypted communication method between the vending cabinet and the electric control lock, avoids the door being maliciously opened by counterfeit external signals, and improves the safety and reliability of the vending cabinet.

[0061] FIG. 7 shows a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application, which includes: a verification module 61 for receiving an authentication result sent from the cloud and determining whether the door opening request is passed according to the authentication result; a first control module 62 for sending an encrypted unlock command to an electric control lock disposed in the vending cabinet after confirming that the door opening request has been passed, and for opening the door of the vending cabinet after the electric control lock successfully decodes the unlock command; and an alarm module 71 for obtaining door lock status information, determining that the door lock status information is unencrypted information or determining that the door lock status information has not been successfully decrypted, and sending alarm information to the cloud.

[0062] The alarm module 71 further comprises: It is used to confirm that the self-status information of the electric control lock has not been obtained within a preset period of time, and to send alarm information to the cloud.

[0063] Since the principle of the device of the present application is the same as that of the method of the invention described above, a more detailed description is omitted here.

[0064] However, in the present application, the above-mentioned functional modules can be realized by a hardware processor.

[0065] The above-mentioned intelligent vending cabinet control device realizes effective checking of the validity of the unlocking signal of the electric control lock and the validity of the door lock status information of the electric control lock through the encrypted communication mode between the vending cabinet and the electric control lock, thereby avoiding malicious opening of the door by forged external signals, and improving the safety and reliability of the vending cabinet.

[0066] FIG. 8 shows a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application, which includes: an acquisition module 81 for acquiring an unlock command; and a second control module 82 for verifying successful decoding of the unlock command and opening the vending cabinet door.

[0067] In a further apparatus of the above invention, the control module further comprises: It is used to verify that the unlock command is unencrypted information or to verify that the unlock command has not been successfully decrypted, thereby keeping the vending cabinet door closed.

[0068] Since the principle of the device of the present application is the same as that of the method of the invention described above, a more detailed description is omitted here.

[0069] However, in the present application, the above-mentioned functional modules can be realized by a hardware processor.

[0070] The above-mentioned intelligent vending cabinet control device realizes effective checking of the authenticity of the unlocking signal of the electric control lock through the encrypted communication method between the vending cabinet and the electric control lock, avoids the door being maliciously opened by counterfeit external signals, and improves the safety and reliability of the vending cabinet.

[0071] FIG. 9 shows a schematic diagram of the structure of the control device of the intelligent sales cabinet according to the present application, the device includes an acquisition module 81, a second control module 82, and a report module 91, where: The acquisition module 81 is for acquiring an unlock command, The second control module 82 is for verifying successful decoding of the unlock command and opening the vending cabinet door.

[0072] The control module further comprises: It is used to verify that the unlock command is unencrypted information or to verify that the unlock command has not been successfully decrypted, thereby keeping the vending cabinet door closed. The reporting module 91 is It is used to obtain door lock status information, send encrypted door lock status information to the vending cabinet, and send a payment request to the cloud after confirming that the vending cabinet has successfully decrypted the door lock status information.

[0073] Since the principle of the device of the present application is the same as that of the method of the invention described above, a more detailed description is omitted here.

[0074] However, in the present application, the above-mentioned functional modules can be realized by a hardware processor.

[0075] The above-mentioned intelligent vending cabinet control device realizes effective checking of the validity of the unlocking signal of the electric control lock and the validity of the door lock status information of the electric control lock through the encrypted communication mode between the vending cabinet and the electric control lock, thereby avoiding malicious opening of the door by forged external signals, and improving the safety and reliability of the vending cabinet.

[0076] FIG. 10 shows a schematic diagram of an entity configuration of an electronic device. As shown in FIG. 10, the electronic device may include a processor 101, a communications interface 102, a memory 103, and a communications bus 104, where the processor 101, the communications interface 102, and the memory 103 realize mutual communication through the communications bus 104. The processor 101 can call logic instructions in the memory 103 to execute a method including: receiving an authentication result sent from the cloud, determining whether a door opening request is passed according to the authentication result, and after determining that the door opening request is passed, generating an unlocking command using an encryption method, sending the unlocking command to the electric control lock, and opening the door after the electric control lock successfully decrypts the unlocking command.

[0077] It should be noted that the logic instructions in the memory 130 can be realized in the form of a software functional unit, and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present application or a part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes some instructions that cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or some of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB disk, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.

[0078] The present embodiment further provides a non-transitory computer-readable storage medium storing a computer program, which, when executed by a processor, realizes a method provided for implementing each of the above embodiments, and the method includes, for example, receiving an authentication result sent from the cloud, determining whether a door opening request is passed according to the authentication result, and after confirming that the door opening request is passed, generating an unlock command using an encryption method, sending the unlock command to the electric control lock, and opening the door after the electric control lock successfully decrypts the unlock command.

[0079] The present application provides an electronic device, which may include a processor, a communications interface, a memory, and a communications bus, where the processor, the communications interface, and the memory communicate with each other via the communications bus. The processor can invoke logic instructions in the memory to perform a method including obtaining an unlock command, verifying successful decoding of the unlock command, and opening a door of a vending cabinet.

[0080] It should be noted that the logic instructions in the memory can be realized in the form of a software functional unit, and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present application or a part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes some instructions that cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or some of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0081] The present application further provides a non-transitory computer readable storage medium having a computer program stored thereon, which, when executed by a processor, provides a method for performing each of the above embodiments, the method including, for example, obtaining an unlock command, verifying successful decoding of the unlock command, and opening the door of the vending cabinet.

[0082] From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment may be realized by combining software with a required general-purpose hardware platform, or may be realized by hardware. Based on this understanding, the above technical proposals, in their essence or in the form of a software product, may be embodied. The computer software product may be stored in a computer-readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for causing a computer device (such as a personal computer, a server, or a network device) to execute a method according to each embodiment or several parts of the embodiments.

[0083] The above examples are merely for illustrating the technical solutions of the present application, and are not intended to limit the technical solutions of the present application. Although the present application has been described in detail with reference to the above examples, it should be understood that those skilled in the art can still modify the technical solutions described in the above examples or replace some of the technical features equivalently, and these modifications or replacements 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 application. [Explanation of symbols]

[0084] 61 Confirmation Module 62 First Control Module 71 Alarm Module 81 Acquisition Module 82 Second Control Module 91 Reporting Module 101 Processor 102 Communication Interface 103 Memory 104 Communication Bus 130 Memory

Claims

1. A computer implemented method for controlling an intelligent vending cabinet, comprising: the vending cabinet confirms that the door opening request has been passed, and transmits an encrypted unlock command to an electronically controlled lock disposed on the vending cabinet, and opens the door of the vending cabinet after the electronically controlled lock successfully decodes the unlock command; The method for controlling an intelligent vending cabinet further includes: a vending cabinet obtains door lock status information, determines that the door lock status information is unencrypted information, or determines that the door lock status information has not been successfully decrypted, and sends alarm information to the cloud.

2. The method for controlling the intelligent vending cabinet according to claim 1, further comprising: determining that the vending cabinet has not obtained self-status information of the electric control lock within the target time period, and sending alarm information to the cloud.

3. A computer implemented method for controlling an intelligent vending cabinet, comprising: The electronic control lock obtains an unlock command; and verifying successful decoding of the unlock command and opening the door of the vending cabinet. The electric control lock obtains door lock status information, encrypts the door lock status information, and sends the encrypted door lock status information to the vending cabinet; When the sales cabinet confirms that the door lock status information has been successfully decrypted, the sales cabinet sends a payment request to the cloud; The method for controlling an intelligent vending cabinet further includes: when the vending cabinet determines that the door lock status information is unencrypted information, or when the vending cabinet determines that the door lock status information has not been successfully decrypted, sending alarm information to a cloud.

4. After the electric control lock obtains an unlock command, the method includes:

4. The method of claim 3, further comprising: the electronically controlled lock determining that the unlock command is unencrypted information or that the unlock command has not been successfully decrypted, and then keeping the door of the electronically controlled lock closed.

5. A control device for an intelligent sales cabinet configured to carry out a method according to claim 1 or 2.

6. A control device for an intelligent sales cabinet configured to carry out a method according to claim 3 or 4.

7. A sales cabinet according to claim 1 or 2, 5. A control system for an intelligent sales cabinet, comprising: an electric control lock according to claim 3 or 4.

8. 3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for controlling an intelligent sales cabinet according to claim 1 or 2 is realized.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the control method for an intelligent sales cabinet described in claim 3 or 4 is realized.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, the non-transitory computer-readable storage medium being characterized in that, when the computer program is executed by a processor, the method for controlling an intelligent sales cabinet according to claim 1 or 2 is realized.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, the non-transitory computer-readable storage medium being characterized in that, when the computer program is executed by a processor, the method for controlling an intelligent sales cabinet described in claim 3 or 4 is realized.

Citation Information

Patent Citations

  • Secure communication method and smart lock system based thereon

    JP2020519208A

  • Information processing device

    JP2021057040A

  • JPP6581751B

  • Vending machines with field-programmable electronic locks

    US20070096866A1

  • Unmanned retail device, automatic vending system, and settlement method after powering off and then powering on

    WO2021008246A1