WO2022227648A1 - Control method and apparatus for intelligent vending cabinet, electronic device, and storage medium - Google Patents

Control method and apparatus for intelligent vending cabinet, electronic device, and storage medium Download PDF

Info

Publication number
WO2022227648A1
WO2022227648A1 PCT/CN2021/141184 CN2021141184W WO2022227648A1 WO 2022227648 A1 WO2022227648 A1 WO 2022227648A1 CN 2021141184 W CN2021141184 W CN 2021141184W WO 2022227648 A1 WO2022227648 A1 WO 2022227648A1
Authority
WO
WIPO (PCT)
Prior art keywords
vending
cabinet
door
lock
vending cabinet
Prior art date
Application number
PCT/CN2021/141184
Other languages
French (fr)
Chinese (zh)
Inventor
徐达
任志恒
Original Assignee
合肥美的智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 合肥美的智能科技有限公司 filed Critical 合肥美的智能科技有限公司
Priority to JP2023558871A priority Critical patent/JP2024510519A/en
Publication of WO2022227648A1 publication Critical patent/WO2022227648A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/02Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
    • G07F9/026Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/02Mechanical actuation
    • G08B13/08Mechanical actuation by opening, e.g. of door, of window, of drawer, of shutter, of curtain, of blind
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C2009/0092Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for cargo, freight or shipping containers and applications therefore in general

Abstract

The present application relates to the technical field of device control, and provides a control method and apparatus for an intelligent vending cabinet, an electronic device, and a storage medium. The method comprises: a vending cabinet determines that a cabinet door opening request is passed, and sends an encrypted unlocking instruction to an electrical control lock configured in the vending cabinet, such that the electrical control lock opens a cabinet door of the vending cabinet after successfully decrypting the unlocking instruction. According to the control method and apparatus for an intelligent vending cabinet, the electronic device, and the storage medium provided in the present application, by means of encrypted communication between the vending cabinet and the electrical control lock, effective checking of the validity of an unlocking signal of the electrical control lock is implemented, malicious opening of the cabinet door by a fake external signal is avoided, and the safety and reliability of the vending cabinet are thus improved.

Description

智能售货柜的控制方法、装置、电子设备及存储介质Control method, device, electronic device and storage medium for intelligent vending cabinet
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年4月26日提交的申请号为202110455765.4,发明名称为“智能售货柜的控制方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。This application claims the priority of the Chinese patent application with the application number 202110455765.4 filed on April 26, 2021 and the invention title is "Control Method, Device, Electronic Device and Storage Medium for Smart Vending Cabinet", which is incorporated by reference in its entirety. into this application.
技术领域technical field
本申请涉及设备控制技术领域,尤其涉及智能售货柜的控制方法、装置、电子设备及存储介质。The present application relates to the technical field of equipment control, and in particular, to a control method, device, electronic device and storage medium of an intelligent vending cabinet.
背景技术Background technique
智能售货柜内放置多种货品,用户通过扫描二维码方式申请打开柜门,然后拿取货品。智能售货柜包括两个控制系统,一个是与云端进行交互的系统,作为上位机,另一个是与电控锁交互的系统,作为下位机。A variety of goods are placed in the smart vending cabinet, and the user applies to open the door of the cabinet by scanning the QR code, and then takes the goods. The intelligent vending cabinet includes two control systems, one is the system that interacts with the cloud, as the upper computer, and the other is the system that interacts with the electric lock, as the lower computer.
智能售货柜在使用过程中,电控锁的控制是由下位机发开锁信号(电平信号)来控制,电控锁本身无法校验开锁信号的合法性。只要能够接收到高电平就会开锁,不管高电平是否是下位机发出。这就导致市场上有很多了解电控锁原理的不法分子,把电控锁接上自制的外部设备,利用电控锁无法判断开锁信号合法性的缺陷,来达到偷盗的目的。During the use of the intelligent vending cabinet, the control of the electronically controlled lock is controlled by the lower computer sending the unlocking signal (level signal), and the electronically controlled lock itself cannot verify the legitimacy of the unlocking signal. As long as it can receive a high level, it will unlock, regardless of whether the high level is sent by the lower computer. As a result, there are many criminals in the market who understand the principle of electric control locks. They connect the electric control lock to self-made external equipment, and use the electric control lock to not judge the legitimacy of the unlocking signal to achieve the purpose of theft.
发明内容SUMMARY OF THE INVENTION
本申请旨在至少解决现有技术中存在的技术问题之一。为此,本申请提出一种智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a control method for an intelligent vending cabinet. Through encrypted communication between the vending cabinet and the electronically controlled lock, the validity of the unlocking signal of the electronically controlled lock can be effectively checked, and the counterfeit external signal to the cabinet door can be avoided. The malicious opening of the vending cabinet improves the safety and reliability of the vending cabinet.
本申请还提供一种智能售货柜的控制装置、系统、电子设备及存储介质。The present application also provides a control device, system, electronic device and storage medium for an intelligent vending cabinet.
本申请第一方面的智能售货柜的控制方法,包括:The control method of the smart vending cabinet of the first aspect of the present application includes:
售货柜确定柜门开启请求通过,向所述售货柜中配置的电控锁发送加 密的开锁指令,以使所述电控锁成功解密所述开锁指令后,打开所述售货柜的柜门。The vending container confirms that the door opening request is passed, and sends an encrypted unlocking instruction to the electric control lock configured in the vending container, so that the electric control lock successfully decrypts the unlocking instruction, and then opens the cabinet door of the vending container.
本申请提供的智能售货柜的控制方法,还具有以下附加技术特征:The control method of the smart vending cabinet provided by the present application also has the following additional technical features:
进一步地,所述方法还包括:Further, the method also includes:
售货柜获取门锁状态信息,确定所述门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息。The vending cabinet obtains the 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.
进一步地,所述方法还包括:Further, the method also includes:
售货柜确定目标时间段内未获取电控锁的自身状态信息,向云端发送告警信息。The vending cabinet determines that the status information of the electronic lock has not been obtained within the target time period, and sends alarm information to the cloud.
本申请第二方面的智能售货柜的控制方法,包括:The control method of the smart vending cabinet of the second aspect of the present application includes:
电控锁获取开锁指令;The electric control lock obtains the unlocking instruction;
确定成功解密所述开锁指令,打开售货柜的柜门。It is determined that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
本申请提供的智能售货柜的控制方法,还具有以下附加技术特征:The control method of the smart vending cabinet provided by the present application also has the following additional technical features:
进一步地,所述方法还包括:Further, the method also includes:
电控锁获取门锁状态信息,对门锁状态信息进行加密,将加密后的门锁状态信息发送给所述售货柜,以使所述售货柜确定成功解密所述门锁状态信息后,向云端发送结算请求。The electronic control lock obtains the door lock status information, encrypts the door lock status information, and sends the encrypted door lock status information to the vending cabinet, so that the vending cabinet determines that the door lock status information is successfully decrypted, and then sends the information to the cloud. Send a billing request.
进一步地,在所述电控锁获取开锁指令之后,所述方法还包括:Further, after the electronically controlled lock acquires the unlocking instruction, the method further includes:
电控锁确定所述开锁指令为非加密信息,或是确定未成功解密所述开锁指令,继续保持售货柜的柜门关闭。The electronically controlled lock determines that the unlocking instruction is non-encrypted information, or determines that the unlocking instruction has not been successfully decrypted, and continues to keep the door of the vending container closed.
本申请第三方面的智能售货柜的控制装置,包括:The control device of the smart vending cabinet according to the third aspect of the present application includes:
确定模块,用于确定柜门开启请求通过;Confirmation module, used to confirm that the cabinet door opening request is passed;
控制模块,用于向所述售货柜中配置的电控锁发送加密的开锁指令,以使所述电控锁成功解密所述开锁指令后,打开所述售货柜的柜门。The control module is configured to send an encrypted unlocking instruction to the electric control lock configured in the vending container, so that the electric control lock can open the cabinet door of the vending container after successfully decrypting the unlocking command.
本申请第四方面的智能售货柜的控制装置,包括:The control device of the smart vending cabinet according to the fourth aspect of the present application includes:
获取模块,用于获取开锁指令;Get module, used to get unlock instruction;
控制模块,用于确定成功解密所述开锁指令,打开售货柜的柜门。The control module is used to determine that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
本申请第五方面的智能售货柜的控制系统,包括:The control system of the smart vending cabinet according to the fifth aspect of the present application includes:
售货柜,用于确定柜门开启请求通过,向所述售货柜中配置的电控锁发送加密的开锁指令;A vending container, which is used to confirm that the door opening request is passed, and send an encrypted unlocking instruction to the electric control lock configured in the vending container;
电控锁,用于成功解密所述开锁指令后,打开所述售货柜的柜门。The electric control lock is used to open the cabinet door of the vending container after successfully decrypting the unlocking instruction.
进一步地,所述电控锁,还用于获取门锁状态信息,向所述售货柜发送加密后的门锁状态信息;Further, the electronically controlled lock is also used to obtain door lock status information, and send encrypted door lock status information to the vending cabinet;
售货柜,还用于确定成功解密所述门锁状态信息后,向云端发送结算请求。The vending container is also used to send a settlement request to the cloud after determining that the door lock status information is successfully decrypted.
本申请第六方面的电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述智能售货柜的控制方法的步骤。The electronic device of the sixth aspect of the present application includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the above-mentioned control method for a smart vending cabinet when the processor executes the program .
本申请第七方面的非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述智能售货柜的控制方法的步骤。The non-transitory computer-readable storage medium of the seventh aspect of the present application stores a computer program thereon, and when the computer program is executed by a processor, implements the steps of the above-mentioned control method for a smart vending cabinet.
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, from the following description, and in part will become apparent from the following description, or may be learned by practice of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请智能售货柜的控制方法的流程示意图一;Fig. 1 is the schematic flow chart 1 of the control method of the intelligent vending cabinet of the present application;
图2是本申请智能售货柜的控制方法的流程示意图二;Fig. 2 is the second schematic flow chart of the control method of the smart vending cabinet of the present application;
图3是本申请智能售货柜的控制方法的流程示意图三;Fig. 3 is the schematic flow chart three of the control method of the intelligent vending cabinet of the present application;
图4是本申请智能售货柜的控制方法的流程示意图四;Fig. 4 is the schematic flow chart four of the control method of the intelligent vending cabinet of the present application;
图5是本申请智能售货柜的控制方法的流程示意图五;Fig. 5 is the schematic flow chart five of the control method of the intelligent vending cabinet of the present application;
图6是本申请智能售货柜的控制装置的结构示意图一;6 is a schematic structural diagram 1 of the control device of the smart vending cabinet of the present application;
图7是本申请智能售货柜的控制装置的结构示意图二;Fig. 7 is the second structural schematic diagram of the control device of the smart vending cabinet of the present application;
图8是本申请智能售货柜的控制装置的结构示意图三;FIG. 8 is a third structural schematic diagram of the control device of the smart vending cabinet of the present application;
图9是本申请智能售货柜的控制装置的结构示意图四;FIG. 9 is a schematic diagram 4 of the structure of the control device of the smart vending cabinet of the present application;
图10是本申请提供的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请的实施方式作进一步详细描述。以下实施例用于说明本申请,但不能用来限制本申请的范围。The embodiments of the present application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate the application, but not to limit the scope of the application.
图1示出了本申请提供的一种智能售货柜的控制方法的流程示意图,参见图1,该方法适用于具有锁控柜门的智能售货柜,该售货柜内配置有电控锁,电控锁能够控制柜门的开启。以售货柜为该方法的执行主体,该方法包括以下步骤:FIG. 1 shows a schematic flowchart of a control method for a smart vending cabinet provided by the present application. Referring to FIG. 1 , the method is applicable to a smart vending cabinet with a lock-controlled cabinet door. The control lock can control the opening of the cabinet door. Taking the vending container as the execution body of the method, the method includes the following steps:
11、售货柜接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;11. The vending cabinet receives the authentication result sent by the cloud, and determines whether the door opening request is passed according to the authentication result;
12、在确定柜门开启请求通过后,采用加密方式生成开锁指令,向电控锁发送开锁指令,以使电控锁在成功解密开锁指令之后,打开柜门。12. After confirming that the cabinet door opening request is passed, use the encryption method to generate the unlocking command, and send the unlocking command to the electric control lock, so that the electric control lock can open the cabinet door after successfully decrypting the unlocking command.
针对步骤11和步骤12,需要说明的是,在本申请中,智能售货柜内放置多种货品,用户通过扫描二维码方式申请打开柜门,然后拿取货品。Regarding steps 11 and 12, it should be noted that, in this application, a variety of goods are placed in the smart vending cabinet, and the user applies to open the cabinet door by scanning the QR code, and then takes the goods.
智能售货柜包括两个控制系统,一个是与云端进行交互的系统,作为上位机,另一个是与电控锁交互的系统,作为下位机。The intelligent vending cabinet includes two control systems, one is the system that interacts with the cloud, as the upper computer, and the other is the system that interacts with the electric lock, as the lower computer.
用户使用移动终端扫描售货柜在显示屏上显示的二维码之后,实际上是移动终端向云端发出柜门开启请求,该柜门开启请求包含售货柜的编号和用户在移动终端上的支付账户。After the user scans the QR code displayed on the display screen of the vending cabinet with the mobile terminal, the mobile terminal actually sends a cabinet door opening request to the cloud, and the cabinet door opening request includes the vending cabinet number and the user's payment account on the mobile terminal. .
云端根据柜门开启请求会向售货柜的上位机发出认证结果,该认证结果实际上就是允许用户在本次消费过程中打开柜门。该上位机再根据认证结果确定用户的柜门开启请求通过后,将请求通过的消息告知售货柜的下位机。此时,下位机会向电控锁下发开锁指令,该开锁指令采用加密方式发出。According to the cabinet door opening request, the cloud will send the authentication result to the upper computer of the vending cabinet, and the authentication result actually allows the user to open the cabinet door during the consumption process. After the upper computer determines that the user's cabinet door opening request is passed according to the authentication result, it notifies the lower computer of the vending container of the message that the request is passed. At this time, the lower machine will issue an unlocking command to the electric control lock, and the unlocking command is issued in an encrypted manner.
电控锁接收到开锁指令后,对开锁指令进行解密,待解密成功后,会控制电控锁的动力装置使柜门打开。用户在柜门打开后,可选择拿取柜内货品。After the electric control lock receives the unlocking instruction, it decrypts the unlocking instruction. After the decryption is successful, it will control the power device of the electric control lock to open the cabinet door. After the cabinet door is opened, the user can choose to take the goods in the cabinet.
本申请提供的智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control method for an intelligent vending cabinet provided by the present application, by means of encrypted communication between the vending cabinet and the electronically controlled lock, can effectively verify the legitimacy of the unlocking signal of the electronically controlled lock, and avoid malicious opening of the cabinet door by forged external signals. Improve the safety and reliability of the vending cabinet.
图2示出了本申请提供的一种智能售货柜的控制方法的流程示意图, 参见图2,该方法以售货柜为执行主体,该方法包括以下步骤:FIG. 2 shows a schematic flowchart of a control method for an intelligent vending container provided by the present application. Referring to FIG. 2 , the method takes the vending container as the execution body, and the method includes the following steps:
11、售货柜接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;11. The vending cabinet receives the authentication result sent by the cloud, and determines whether the door opening request is passed according to the authentication result;
12、售货柜在确定柜门开启请求通过后,采用加密方式生成开锁指令,向电控锁发送开锁指令,以使电控锁在成功解密开锁指令之后,打开柜门;12. After confirming that the opening request of the cabinet door is passed, the vending cabinet generates an unlocking command by encryption, and sends the unlocking command to the electric control lock, so that the electric control lock can open the cabinet door after successfully decrypting the unlocking command;
21、售货柜获取门锁状态信息,确定门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息。21. The vending cabinet obtains the door lock status information, determines that the door lock status information is non-encrypted information, or determines that the door lock status information has not been successfully decrypted, and sends alarm information to the cloud.
基于上述对步骤11和步骤12进行了详细说明,在此不再赘述。 Steps 11 and 12 have been described in detail based on the above, and will not be repeated here.
针对步骤21,需要说明的是,在本申请中,用户在柜内取拿货品之后,会再次将柜门关闭,电控锁会再次上锁。为此,电控锁会实时获取门锁状态信息,该门锁状态信息表征柜门是否关闭的信息。Regarding step 21, it should be noted that, in this application, after the user picks up the goods in the cabinet, the cabinet door will be closed again, and the electric control lock will be locked again. To this end, the electronically controlled lock acquires the door lock status information in real time, and the door lock status information indicates whether the cabinet door is closed.
电控锁也会采用加密方式将门锁状态信息发送给售货柜的下位机,该下位机对门锁状态信息进行解密,待解密成功后,且根据门锁状态信息确定柜门完成关闭,将柜门完成关闭的信号告知上位机。该上位机将用户拿取的货品的信息发送给云端,云端根据货品的信息和支付账户完成结算处理。The electronic control lock will also use encryption to send the door lock status information to the lower computer of the vending cabinet, and the lower computer will decrypt the door lock status information. The signal to complete the shutdown informs the upper computer. The host computer sends the information of the goods taken by the user to the cloud, and the cloud completes the settlement process according to the information of the goods and the payment account.
在本申请中,存在用户伪造门锁状态信息的情况。例如用户将电控锁与下位机之间的通讯线拔掉,然后采用外部设备在下位机的插座的引脚输入伪造的信号。该伪造的信号用于替代门锁状态信号。In the present application, there is a case where the user falsifies the door lock state information. For example, the user unplugs the communication line between the electric control lock and the lower computer, and then uses an external device to input a fake signal at the pin of the socket of the lower computer. This fake signal is used in place of the door lock status signal.
若伪造的信号并非采用加密方式处理,此时,下位机在确定该信号为非加密信息,则表明该信号为不合法的信号,下位机向上位机发送柜门可能未完成关闭的告知信号,上位机再向云端发送告警信息。该告警信息会表明售货柜的编号。此时,售货柜运营商会派出工作人员进行现场查看及时排查问题,避免造成货品损失。If the forged signal is not processed by encryption, at this time, when the lower computer determines that the signal is non-encrypted information, it indicates that the signal is an illegal signal, and the lower computer sends a notification signal to the upper computer that the cabinet door may not be closed. The host computer then sends the alarm information to the cloud. The alarm message will indicate the number of the vending container. At this time, the vending container operator will send staff to conduct on-site inspections to troubleshoot problems in a timely manner to avoid loss of goods.
若伪造的信号采用加密方式处理,此时,下位机在确定该信号为加密信息,则对该加密信息进行解密。由于伪造的信号并不知加密协议,为此,下位机会对伪造的信号解密失败。该情况下,下位机也会向上位机发送柜门可能未完成关闭的告知信号,上位机再向云端发送告警信息。该告警信息会表明售货柜的编号。此时,售货柜运营商会派出工作人员进行现场查看及时排查问题,避免造成货品损失。If the forged signal is processed in an encrypted manner, at this time, the lower computer will decrypt the encrypted information when it is determined that the signal is encrypted information. Since the forged signal does not know the encryption protocol, the lower machine fails to decrypt the forged signal. In this case, the lower computer will also send a notification signal to the upper computer that the cabinet door may not be closed, and the upper computer will send an alarm message to the cloud. The alarm message will indicate the number of the vending container. At this time, the vending container operator will send staff to conduct on-site inspections to troubleshoot problems in a timely manner to avoid loss of goods.
本申请提供的智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号和有效检验电控锁的门锁状态信息的合法性,避免伪造的外部信号对柜门的恶意开启和不关闭,提高售货柜的安全性和可靠性。The control method of the intelligent vending cabinet provided by the present application, through the encrypted communication between the vending cabinet and the electric control lock, realizes the effective inspection of the unlocking signal of the electric control lock and the validity of the door lock status information of the electric control lock, avoiding the need for Malicious opening and non-closing of cabinet doors by fake external signals improves the safety and reliability of the vending cabinet.
图3示出了本申请提供的一种智能售货柜的控制方法的流程示意图,参见图3,该方法以售货柜为执行主体,该方法包括以下步骤:FIG. 3 shows a schematic flowchart of a control method for an intelligent vending container provided by the present application. Referring to FIG. 3 , the method takes the vending container as the execution body, and the method includes the following steps:
11、售货柜接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;11. The vending cabinet receives the authentication result sent by the cloud, and determines whether the door opening request is passed according to the authentication result;
12、售货柜在确定柜门开启请求通过后,采用加密方式生成开锁指令,向电控锁发送开锁指令,以使电控锁在成功解密开锁指令之后,打开柜门;12. After confirming that the opening request of the cabinet door is passed, the vending cabinet generates an unlocking command by encryption, and sends the unlocking command to the electric control lock, so that the electric control lock can open the cabinet door after successfully decrypting the unlocking command;
21、售货柜获取门锁状态信息,确定门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息;21. The vending cabinet obtains the door lock status information, determines that the door lock status information is non-encrypted information, or determines that the door lock status information has not been successfully decrypted, and sends alarm information to the cloud;
31、售货柜确定目标时间段内未获取电控锁的自身状态信息,向云端发送告警信息。31. The vending cabinet determines that the status information of the electronically controlled lock has not been obtained within the target time period, and sends alarm information to the cloud.
基于上述对步骤11、步骤12和步骤21进行了详细说明,在此不再赘述。Based on the above, step 11, step 12 and step 21 have been described in detail, and will not be repeated here.
针对步骤31,需要说明的是,在本申请中,电控锁可按预定的时间间隔向售货柜发送自身状态信息。该自身状态信息表征电控锁是否损坏或未处于工作状态的情况。由于会发生人为对电控锁进行暴力损坏,此时,电控锁便无法向售货柜提供自身状态信息。故售货柜在预设时间段内无法收取到电控锁发送的自身状态信息时,则判断电控锁被人为损坏或故障,此时下位机会向上位机发送柜门可能未完成关闭的告知信号,上位机再向云端发送告警信息。该告警信息会表明售货柜的编号。此时,售货柜运营商会派出工作人员进行现场查看及时排查问题,避免造成货品损失。Regarding step 31, it should be noted that, in this application, the electronically controlled lock can send its own status information to the vending container at predetermined time intervals. The self-status information indicates whether the electronic lock is damaged or not in working condition. Due to the violent damage to the electric lock by man, the electric lock cannot provide its own status information to the vending container at this time. Therefore, when the vending cabinet cannot receive its own status information sent by the electric control lock within the preset time period, it is judged that the electric control lock is artificially damaged or faulty. At this time, the lower machine sends a notification signal to the upper machine that the cabinet door may not be closed. , and the host computer sends the alarm information to the cloud. The alarm message will indicate the number of the vending container. At this time, the vending container operator will send staff to conduct on-site inspections to troubleshoot problems in a timely manner to avoid loss of goods.
本申请提供的智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号和有效检验电控锁的门锁状态信息的合法性,避免伪造的外部信号对柜门的恶意开启和不关闭,提高售货柜的安全性和可靠性,另外,还对电控锁是否被损坏进行定时监控,做到出现问题及时发现。The control method of the intelligent vending cabinet provided by the present application, through the encrypted communication between the vending cabinet and the electric control lock, realizes the effective inspection of the unlocking signal of the electric control lock and the validity of the door lock status information of the electric control lock, avoiding the need for The malicious opening and non-closing of the cabinet door by fake external signals improves the safety and reliability of the vending cabinet. In addition, it also regularly monitors whether the electric control lock is damaged, so that problems can be found in time.
图4示出了本申请提供的一种智能售货柜的控制方法的流程示意图, 参见图4,该方法适用于具有锁控柜门的智能售货柜,该售货柜内配置有电控锁,电控锁能够控制柜门的开启。以电控锁为该方法的执行主体,该方法包括以下步骤:Fig. 4 shows a schematic flowchart of a control method of a smart vending cabinet provided by the present application. Referring to Fig. 4, the method is applicable to a smart vending cabinet with a lock-controlled cabinet door. The control lock can control the opening of the cabinet door. Taking the electric control lock as the execution subject of the method, the method includes the following steps:
41、电控锁获取开锁指令;41. The electric control lock obtains the unlocking instruction;
42、确定成功解密开锁指令,打开售货柜的柜门。42. It is determined that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
针对步骤41和步骤42,需要说明的是,在本申请中,基于上述控制方法对云端、上位机、下位机和电控锁之间的信息交互过程,可以得知电控锁可能会获取到以下两种情况下的指令。For step 41 and step 42, it should be noted that, in this application, based on the above control method on the information exchange process between the cloud, the upper computer, the lower computer and the electric control lock, it can be known that the electric control lock may obtain Instructions in the following two cases.
1)由下位机在确知柜门开启请求通过后,采用加密方式生成的开锁指令。1) After confirming that the cabinet door opening request is passed, the lower computer adopts the unlocking instruction generated by encryption.
2)由他人采用外部设备伪造的指令。2) Instructions forged by others using external equipment.
电控锁接收到指令后,首先要对指令进行解密,下位机是按照预先配置的加密协议进行加密,电控锁还存在对指令进行解密的密钥。而伪造的指令未进行加密处理,则不存在解密过程,相当于解密失败。After the electric control lock receives the instruction, it must first decrypt the instruction. The lower computer encrypts it according to the pre-configured encryption protocol, and the electric control lock also has the key to decrypt the instruction. If the forged instruction is not encrypted, there is no decryption process, which is equivalent to a decryption failure.
当解密成功后,则表明该指令合法,电控锁打开售货柜的柜门。当解密失败后,则表明该指令不合法,电控锁继续保持柜门关闭。When the decryption is successful, it indicates that the instruction is legal, and the electronically controlled lock opens the door of the vending container. When the decryption fails, it indicates that the instruction is invalid, and the electric lock keeps the cabinet door closed.
另外,若他人采用非法方式直接向电控锁发送伪造的指令,此时,伪造的指令的生成过程未采用预设的加密协议,电控锁能够确定伪造的指令是非加密信息,或是,伪造的指令加密,但电控锁不能对指令进行解密,电控锁会继续保持售货柜的柜门关闭。In addition, if someone else directly sends forged instructions to the electric control lock in an illegal way, at this time, the generation process of the forged instruction does not use the preset encryption protocol, and the electric control lock can determine whether the forged instruction is non-encrypted information, or, forged The instructions are encrypted, but the electronic control lock cannot decrypt the instructions, and the electronic control lock will continue to keep the door of the vending container closed.
本申请提供的智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control method for an intelligent vending cabinet provided by the present application, by means of encrypted communication between the vending cabinet and the electronically controlled lock, can effectively verify the legitimacy of the unlocking signal of the electronically controlled lock, and avoid malicious opening of the cabinet door by forged external signals. Improve the safety and reliability of the vending cabinet.
图5示出了本申请提供的一种智能售货柜的控制方法的流程示意图,参见图5,该方法以电控锁为执行主体,该方法包括以下步骤:FIG. 5 shows a schematic flowchart of a control method for a smart vending cabinet provided by the present application. Referring to FIG. 5 , the method uses an electronically controlled lock as the execution body, and the method includes the following steps:
41、电控锁获取开锁指令;41. The electric control lock obtains the unlocking instruction;
42、电控锁确定成功解密开锁指令,打开售货柜的柜门;42. The electric control lock determines that the unlocking instruction is successfully decrypted and the door of the vending container is opened;
51、电控锁获取门锁状态信息,对门锁状态信息进行加密,将加密后的门锁状态信息发送给售货柜,以使售货柜确定成功解密所述门锁状态信息后,向云端发送结算请求。51. The electronically controlled lock obtains the door lock status information, encrypts the door lock status information, and sends the encrypted door lock status information to the vending cabinet, so that the vending cabinet determines that the door lock status information is successfully decrypted, and then sends the settlement to the cloud ask.
基于上述对步骤41和步骤42进行了详细说明,在此不再赘述。 Steps 41 and 42 have been described in detail based on the above, and will not be repeated here.
针对步骤51,需要说明的是,在本申请中,用户在柜内取拿货品之后,会再次将柜门关闭,电控锁会再次上锁。为此,电控锁会实时获取门锁状态信息,该门锁状态信息表征柜门是否关闭的信息。Regarding step 51, it should be noted that, in this application, after the user picks up the goods in the cabinet, the cabinet door will be closed again, and the electric control lock will be locked again. To this end, the electronically controlled lock acquires the door lock status information in real time, and the door lock status information indicates whether the cabinet door is closed.
电控锁也会采用加密方式将门锁状态信息发送给售货柜的下位机,该下位机对门锁状态信息进行解密,待解密成功后,且根据门锁状态信息确定柜门完成关闭,将柜门完成关闭的信号告知上位机。该上位机将用户拿取的货品的信息发送给云端,云端根据货品的信息和支付账户完成结算处理。The electronic control lock will also use encryption to send the door lock status information to the lower computer of the vending cabinet, and the lower computer will decrypt the door lock status information. The signal to complete the shutdown informs the upper computer. The host computer sends the information of the goods taken by the user to the cloud, and the cloud completes the settlement process according to the information of the goods and the payment account.
本申请提供的智能售货柜的控制方法,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,以及有效检验电控锁的门锁状态信息的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control method of the intelligent vending cabinet provided by the present application, through the encrypted communication between the vending cabinet and the electric control lock, realizes the effective verification of the legitimacy of the unlocking signal of the electric control lock, and the effective inspection of the door lock status information of the electric control lock. Legality, avoid malicious opening of cabinet doors by fake external signals, and improve the safety and reliability of vending cabinets.
图6示出了本申请提供的一种智能售货柜的控制装置的结构示意图,该装置包括确定模块61和第一控制模块62,其中:6 shows a schematic structural diagram of a control device for a smart vending cabinet provided by the present application, the device includes a determination module 61 and a first control module 62, wherein:
确定模块61,用于接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;A determination module 61, configured to receive the authentication result sent by the cloud, and determine whether the cabinet door opening request is passed according to the authentication result;
第一控制模块62,用于在确定柜门开启请求通过后,向所述售货柜中配置的电控锁发送加密的开锁指令,以使电控锁成功解密所述开锁指令后,打开售货柜的柜门。The first control module 62 is configured to send an encrypted unlocking instruction to the electronically controlled lock configured in the vending container after determining that the cabinet door opening request is passed, so that the electronically controlled lock successfully decrypts the unlocking command and then opens the vending cabinet cabinet door.
在上述发明的进一步装置中,所述装置还包括告警模块,具体用于:In a further device of the above invention, the device further includes an alarm module, which is specifically used for:
获取门锁状态信息,确定所述门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息。Obtain door lock status information, determine that the door lock status information is unencrypted information, or determine that the door lock status information has not been successfully decrypted, and send alarm information to the cloud.
在上述发明的进一步装置中,所述告警模块还具体用于:In a further device of the above invention, the alarm module is also specifically used for:
确定预设时间段内未获取电控锁的自身状态信息,向云端发送告警信息。It is determined that the self-status information of the electric lock is not obtained within the preset time period, and the alarm information is sent to the cloud.
由于本申请的装置与上述发明的方法的原理相同,对于更加详细的解释内容在此不再赘述。Since the principle of the device of the present application is the same as that of the method of the above invention, more detailed explanation contents are not repeated here.
需要说明的是,本申请中可以通过硬件处理器(hardware processor)来实现相关功能模块。It should be noted that, in this application, relevant functional modules may be implemented by a hardware processor.
上述提供的智能售货柜的控制装置,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control device of the intelligent vending cabinet provided above can effectively verify the legitimacy of the unlocking signal of the electric-controlled lock by means of encrypted communication between the vending cabinet and the electric-controlled lock, avoid malicious opening of the cabinet door by fake external signals, and improve the performance of the intelligent vending cabinet. The safety and reliability of the vending cabinet.
图7示出了本申请提供的一种智能售货柜的控制装置的结构示意图,该装置包括确定模块61、第一控制模块62和告警模块71,其中:FIG. 7 shows a schematic structural diagram of a control device for a smart vending cabinet provided by the present application. The device includes a determination module 61, a first control module 62 and an alarm module 71, wherein:
确定模块61,用于接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;A determination module 61, configured to receive the authentication result sent by the cloud, and determine whether the cabinet door opening request is passed according to the authentication result;
第一控制模块62,用于在确定柜门开启请求通过后,向所述售货柜中配置的电控锁发送加密的开锁指令,以使电控锁成功解密所述开锁指令后,打开售货柜的柜门。The first control module 62 is configured to send an encrypted unlocking instruction to the electronically controlled lock configured in the vending container after determining that the cabinet door opening request is passed, so that the electronically controlled lock successfully decrypts the unlocking command and then opens the vending cabinet cabinet door.
告警模块71,具体用于:The alarm module 71 is specifically used for:
获取门锁状态信息,确定所述门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息。Obtain door lock status information, determine that the door lock status information is unencrypted information, or determine that the door lock status information has not been successfully decrypted, and send alarm information to the cloud.
还具体用于:Also specifically used for:
确定预设时间段内未获取电控锁的自身状态信息,向云端发送告警信息。It is determined that the self-status information of the electric lock is not obtained within the preset time period, and the alarm information is sent to the cloud.
由于本申请的装置与上述发明的方法的原理相同,对于更加详细的解释内容在此不再赘述。Since the principle of the device of the present application is the same as that of the method of the above invention, more detailed explanation contents are not repeated here.
需要说明的是,本申请中可以通过硬件处理器(hardware processor)来实现相关功能模块。It should be noted that, in this application, relevant functional modules may be implemented by a hardware processor.
上述提供的智能售货柜的控制装置,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,以及有效检验电控锁的门锁状态信息的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control device for the intelligent vending cabinet provided above can effectively verify the legality of the unlocking signal of the electronically controlled lock and the legality of the door lock status information of the electronically controlled lock by means of encrypted communication between the vending cabinet and the electronically controlled lock. It can avoid malicious opening of the cabinet door by fake external signals, and improve the safety and reliability of the vending cabinet.
图8示出了本申请提供的一种智能售货柜的控制装置的结构示意图,该装置包括获取模块81和第二控制模块82,其中:8 shows a schematic structural diagram of a control device for a smart vending cabinet provided by the present application, the device includes an acquisition module 81 and a second control module 82, wherein:
获取模块81,用于获取开锁指令;an acquisition module 81, used for acquiring unlocking instructions;
第二控制模块82,用于确定成功解密开锁指令,打开售货柜的柜门。The second control module 82 is configured to determine that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
在上述发明的进一步装置中,所述控制模块还用于:In a further device of the above invention, the control module is further used for:
确定开锁指令为非加密信息,或是确定未成功解密开锁指令,继续保 持售货柜的柜门关闭。It is determined that the unlock instruction is non-encrypted information, or it is determined that the unlock instruction has not been successfully decrypted, and the door of the vending container is kept closed.
由于本申请的装置与上述发明的方法的原理相同,对于更加详细的解释内容在此不再赘述。Since the principle of the device of the present application is the same as that of the method of the above invention, more detailed explanation contents are not repeated here.
需要说明的是,本申请中可以通过硬件处理器(hardware processor)来实现相关功能模块。It should be noted that, in this application, relevant functional modules may be implemented by a hardware processor.
上述提供的智能售货柜的控制装置,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control device of the intelligent vending cabinet provided above can effectively verify the legitimacy of the unlocking signal of the electric-controlled lock by means of encrypted communication between the vending cabinet and the electric-controlled lock, avoid malicious opening of the cabinet door by fake external signals, and improve the performance of the intelligent vending cabinet. The safety and reliability of the vending cabinet.
图9示出了本申请提供的一种智能售货柜的控制装置的结构示意图,该装置包括获取模块81、第二控制模块82和上报模块91,其中:FIG. 9 shows a schematic structural diagram of a control device for a smart vending cabinet provided by the present application. The device includes an acquisition module 81, a second control module 82 and a reporting module 91, wherein:
获取模块81,用于获取开锁指令;an acquisition module 81, used for acquiring unlocking instructions;
第二控制模块82,用于确定成功解密开锁指令,打开售货柜的柜门。The second control module 82 is configured to determine that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
所述控制模块还用于:The control module is also used for:
确定开锁指令为非加密信息,或是确定未成功解密开锁指令,继续保持售货柜的柜门关闭;Determine that the unlocking instruction is non-encrypted information, or determine that the unlocking instruction has not been successfully decrypted, and continue to keep the door of the vending container closed;
上报模块91,用于:The reporting module 91 is used for:
获取门锁状态信息,向所述售货柜发送加密后的门锁状态信息,以使售货柜确定成功解密门锁状态信息后,向云端发送结算请求。Obtain the door lock status information, and send the encrypted door lock status information to the vending container, so that after the vending container determines that the door lock status information is successfully decrypted, a settlement request is sent to the cloud.
由于本申请的装置与上述发明的方法的原理相同,对于更加详细的解释内容在此不再赘述。Since the principle of the device of the present application is the same as that of the method of the above invention, more detailed explanation contents are not repeated here.
需要说明的是,本申请中可以通过硬件处理器(hardware processor)来实现相关功能模块。It should be noted that, in this application, relevant functional modules may be implemented by a hardware processor.
上述提供的智能售货柜的控制装置,通过售货柜与电控锁之间加密通讯的方式,实现有效检验电控锁的开锁信号的合法性,以及有效检验电控锁的门锁状态信息的合法性,避免伪造的外部信号对柜门的恶意开启,提高售货柜的安全性和可靠性。The control device for the intelligent vending cabinet provided above can effectively verify the legality of the unlocking signal of the electronically controlled lock and the legality of the door lock status information of the electronically controlled lock by means of encrypted communication between the vending cabinet and the electronically controlled lock. It can avoid malicious opening of the cabinet door by fake external signals, and improve the safety and reliability of the vending cabinet.
图10示例了一种电子设备的实体结构示意图,如图10所示,该电子设备可以包括:处理器(processor)101、通信接口(Communications Interface)102、存储器(memory)103和通信总线104,其中,处理器101,通信接口102,存储器103通过通信总线104完成相互间的通信。处理器 101可以调用存储器103中的逻辑指令,以执行如下方法:接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;在确定柜门开启请求通过后,采用加密方式生成开锁指令,向电控锁发送开锁指令,以使电控锁在成功解密开锁指令之后,打开柜门。FIG. 10 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 10 , the electronic device may include: a processor (processor) 101, a communication interface (Communications Interface) 102, a memory (memory) 103 and a communication bus 104, The processor 101 , the communication interface 102 , and the memory 103 communicate with each other through the communication bus 104 . The processor 101 can call the logic instruction in the memory 103 to execute the following method: receive the authentication result sent by the cloud, and determine whether the cabinet door opening request is passed according to the authentication result; after confirming that the cabinet door opening request is passed, use an encryption method to generate the unlocking instruction , send the unlocking command to the electric control lock, so that the electric control lock can open the cabinet door after successfully decrypting the unlocking command.
此外,上述的存储器103中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 103 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
本申请实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的方法,例如包括:接收云端发送的认证结果,根据认证结果确定柜门开启请求是否通过;在确定柜门开启请求通过后,采用加密方式生成开锁指令,向电控锁发送开锁指令,以使电控锁在成功解密开锁指令之后,打开柜门。Embodiments of the present application further provide a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program is implemented when executed by a processor to execute the methods provided in the above embodiments, for example, including: receiving data sent by the cloud. Authentication result, according to the authentication result to determine whether the cabinet door opening request is passed; after confirming that the cabinet door opening request is passed, the unlocking instruction is generated by encryption method, and the unlocking instruction is sent to the electric control lock, so that the electric control lock can decrypt the unlocking instruction successfully. Open the cabinet door.
本申请提供一种电子设备,该电子设备可以包括:处理器(processor)、通信接口(Communications Interface)、存储器(memory)和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信。处理器可以调用存储器中的逻辑指令,以执行如下方法:获取开锁指令;确定成功解密开锁指令,打开售货柜的柜门。The present application provides an electronic device, the electronic device may include: a processor (processor), a communication interface (Communications Interface), a memory (memory), and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. Communication. The processor can call the logic instructions in the memory to perform the following methods: obtaining the unlocking instruction; determining that the unlocking instruction is successfully decrypted, and opening the door of the vending container.
此外,上述的存储器中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、 只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的方法,例如包括:获取开锁指令;确定成功解密开锁指令,打开售货柜的柜门。The present application also provides a non-transitory computer-readable storage medium on which a computer program is stored, and the computer program is implemented when executed by a processor to execute the methods provided by the above embodiments, for example, including: acquiring an unlock instruction; determining success Decrypt the unlock command and open the door of the vending container.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (12)

  1. 一种智能售货柜的控制方法,其特征在于,包括:A control method for an intelligent vending cabinet, comprising:
    售货柜确定柜门开启请求通过,向所述售货柜中配置的电控锁发送加密的开锁指令,以使所述电控锁成功解密所述开锁指令后,打开所述售货柜的柜门。The vending container determines that the door opening request is passed, and sends an encrypted unlocking instruction to the electric control lock configured in the vending container, so that the electric control lock can open the door of the vending container after successfully decrypting the unlocking instruction.
  2. 根据权利要求1所述的智能售货柜的控制方法,其特征在于,所述方法还包括:The control method for an intelligent vending cabinet according to claim 1, wherein the method further comprises:
    售货柜获取门锁状态信息,确定所述门锁状态信息为非加密信息,或是确定未成功解密所述门锁状态信息,向云端发送告警信息。The vending cabinet obtains the 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.
  3. 根据权利要求1所述的智能售货柜的控制方法,其特征在于,所述方法还包括:The control method for an intelligent vending cabinet according to claim 1, wherein the method further comprises:
    售货柜确定目标时间段内未获取电控锁的自身状态信息,向云端发送告警信息。The vending cabinet determines that the status information of the electronic lock has not been obtained within the target time period, and sends alarm information to the cloud.
  4. 一种智能售货柜的控制方法,其特征在于,包括:A control method for an intelligent vending cabinet, comprising:
    电控锁获取开锁指令;The electric control lock obtains the unlocking instruction;
    确定成功解密所述开锁指令,打开售货柜的柜门。It is determined that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
  5. 根据权利要求4所述的智能售货柜的控制方法,其特征在于,所述方法还包括:The control method for an intelligent vending cabinet according to claim 4, wherein the method further comprises:
    电控锁获取门锁状态信息,对门锁状态信息进行加密,将加密后的门锁状态信息发送给所述售货柜,以使所述售货柜确定成功解密所述门锁状态信息后,向云端发送结算请求。The electronic control lock obtains the door lock status information, encrypts the door lock status information, and sends the encrypted door lock status information to the vending cabinet, so that the vending cabinet determines that the door lock status information is successfully decrypted, and then sends the information to the cloud. Send a billing request.
  6. 根据权利要求4所述的智能售货柜的控制方法,其特征在于,在所述电控锁获取开锁指令之后,所述方法还包括:The method for controlling an intelligent vending cabinet according to claim 4, wherein after the electric control lock acquires an unlocking instruction, the method further comprises:
    电控锁确定所述开锁指令为非加密信息,或是确定未成功解密所述开锁指令,继续保持售货柜的柜门关闭。The electronically controlled lock determines that the unlocking instruction is non-encrypted information, or determines that the unlocking instruction has not been successfully decrypted, and continues to keep the door of the vending container closed.
  7. 一种智能售货柜的控制装置,其特征在于,包括:A control device for an intelligent vending cabinet, characterized in that it includes:
    确定模块,用于确定柜门开启请求通过;Confirmation module, used to confirm that the cabinet door opening request is passed;
    控制模块,用于向所述售货柜中配置的电控锁发送加密的开锁指令,以使所述电控锁成功解密所述开锁指令后,打开所述售货柜的柜门。The control module is configured to send an encrypted unlocking instruction to the electric control lock configured in the vending container, so that the electric control lock can open the cabinet door of the vending container after successfully decrypting the unlocking command.
  8. 一种智能售货柜的控制装置,其特征在于,包括:A control device for an intelligent vending cabinet, characterized in that it includes:
    获取模块,用于获取开锁指令;Get module, used to get unlock instruction;
    控制模块,用于确定成功解密所述开锁指令,打开售货柜的柜门。The control module is used to determine that the unlocking instruction is successfully decrypted, and the door of the vending container is opened.
  9. 一种智能售货柜的控制系统,其特征在,包括:A control system for an intelligent vending cabinet, comprising:
    售货柜,用于确定柜门开启请求通过,向所述售货柜中配置的电控锁发送加密的开锁指令;A vending container, which is used to confirm that the door opening request is passed, and send an encrypted unlocking instruction to the electric control lock configured in the vending container;
    电控锁,用于成功解密所述开锁指令后,打开所述售货柜的柜门。The electric control lock is used to open the cabinet door of the vending container after successfully decrypting the unlocking instruction.
  10. 根据权利要求9所述的智能售货柜的控制系统,其特征在于,所述电控锁,还用于获取门锁状态信息,向所述售货柜发送加密后的门锁状态信息;The control system for an intelligent vending cabinet according to claim 9, wherein the electronically controlled lock is further used to obtain door lock status information, and send encrypted door lock status information to the vending cabinet;
    售货柜,还用于确定成功解密所述门锁状态信息后,向云端发送结算请求。The vending container is also used to send a settlement request to the cloud after determining that the door lock status information is successfully decrypted.
  11. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至3任一项所述智能售货柜的控制方法的步骤,或是实现如权利要求4至6任一项所述智能售货柜的控制方法的步骤。An electronic device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that, when the processor executes the program, the program as claimed in any one of claims 1 to 3 is implemented. The steps of the control method of the intelligent vending cabinet, or the steps of realizing the control method of the intelligent vending cabinet according to any one of claims 4 to 6.
  12. 一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至3任一项所述智能售货柜的控制方法的步骤,或是实现如权利要求4至6任一项所述智能售货柜的控制方法的步骤。A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the control method for a smart vending cabinet according to any one of claims 1 to 3 are implemented , or the steps of implementing the control method of the smart vending cabinet according to any one of claims 4 to 6.
PCT/CN2021/141184 2021-04-26 2021-12-24 Control method and apparatus for intelligent vending cabinet, electronic device, and storage medium WO2022227648A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023558871A JP2024510519A (en) 2021-04-26 2021-12-24 Intelligent sales cabinet control methods, devices, electronic devices, and storage media

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110455765.4 2021-04-26
CN202110455765.4A CN113345135A (en) 2021-04-26 2021-04-26 Control method and device of intelligent sales counter, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022227648A1 true WO2022227648A1 (en) 2022-11-03

Family

ID=77468654

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141184 WO2022227648A1 (en) 2021-04-26 2021-12-24 Control method and apparatus for intelligent vending cabinet, electronic device, and storage medium

Country Status (3)

Country Link
JP (1) JP2024510519A (en)
CN (1) CN113345135A (en)
WO (1) WO2022227648A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113345135A (en) * 2021-04-26 2021-09-03 合肥美的智能科技有限公司 Control method and device of intelligent sales counter, electronic equipment and storage medium
CN114063541B (en) * 2021-12-28 2023-01-31 中电工业互联网有限公司 Remote locking system and method for intelligent retail terminal
CN114694286A (en) * 2022-04-02 2022-07-01 佛山市霖罕崞信息科技有限公司 Low-current short-distance digital lock control device and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092442A (en) * 2008-10-13 2010-04-22 Kodo Joho Gijutsu Kenkyusho:Kk Method, system for personal identification, determination device, terminal, server, program and recording medium
CN110176094A (en) * 2019-06-06 2019-08-27 广州佳都数据服务有限公司 Method for unlocking and device
CN110310406A (en) * 2019-07-24 2019-10-08 珠海格力电器股份有限公司 A kind of method for unlocking and intelligent door lock of intelligent door lock
CN112489288A (en) * 2020-11-14 2021-03-12 武汉盛硕电子有限公司 Vending cabinet and vending method based on image recognition
CN112541990A (en) * 2020-12-07 2021-03-23 深圳市智莱科技股份有限公司 Door lock opening method and system of intelligent cabinet
CN113345135A (en) * 2021-04-26 2021-09-03 合肥美的智能科技有限公司 Control method and device of intelligent sales counter, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100429852C (en) * 2004-08-26 2008-10-29 黄树生 Antidismounting and antitheft controller
CN104821045A (en) * 2015-03-20 2015-08-05 矩众合能(天津)科技发展有限公司 In-bulk beverage selling machine, and application method thereof
CN108876969A (en) * 2017-05-11 2018-11-23 中移(杭州)信息技术有限公司 A kind of passive assets control external member, unlocking control method and unlocking control system
CN108173822B (en) * 2017-12-18 2021-03-19 深圳Tcl新技术有限公司 Intelligent door lock control method, intelligent door lock and computer readable storage medium
CN108564690A (en) * 2018-04-04 2018-09-21 合肥美的智能科技有限公司 Door unlocking control method and system and sales counter
CN109447617A (en) * 2018-09-05 2019-03-08 广东九联科技股份有限公司 A kind of good selling method and its system based on NB-Iot
CN110738766A (en) * 2019-11-14 2020-01-31 深圳晒尔科技有限公司 hotel management method based on intelligent lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092442A (en) * 2008-10-13 2010-04-22 Kodo Joho Gijutsu Kenkyusho:Kk Method, system for personal identification, determination device, terminal, server, program and recording medium
CN110176094A (en) * 2019-06-06 2019-08-27 广州佳都数据服务有限公司 Method for unlocking and device
CN110310406A (en) * 2019-07-24 2019-10-08 珠海格力电器股份有限公司 A kind of method for unlocking and intelligent door lock of intelligent door lock
CN112489288A (en) * 2020-11-14 2021-03-12 武汉盛硕电子有限公司 Vending cabinet and vending method based on image recognition
CN112541990A (en) * 2020-12-07 2021-03-23 深圳市智莱科技股份有限公司 Door lock opening method and system of intelligent cabinet
CN113345135A (en) * 2021-04-26 2021-09-03 合肥美的智能科技有限公司 Control method and device of intelligent sales counter, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP2024510519A (en) 2024-03-07
CN113345135A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
WO2022227648A1 (en) Control method and apparatus for intelligent vending cabinet, electronic device, and storage medium
US8452954B2 (en) Methods and systems to bind a device to a computer system
US8392722B2 (en) Digital cable system and method for protection of secure micro program
US20190258782A1 (en) Securing temporal digital communications via authentication and validation for wireless user and access devices with securitized containers
CN103714633A (en) Method and POS terminal for safely generating transmission key
EP2769502A1 (en) Methods, systems and apparatus to facilitate client-based authentication
CN101841525A (en) Secure access method, system and client
CN105872848B (en) A kind of credible mutual authentication method suitable for asymmetric resource environment
CN105978856B (en) A kind of POS machine key downloading method, apparatus and system
CN110336788B (en) Data security interaction method for Internet of things equipment and mobile terminal
CN106789024B (en) A kind of remote de-locking method, device and system
US11811939B2 (en) Advanced crypto token authentication
CN111143856A (en) PLC remote firmware upgrading system and method
CN108650261B (en) Mobile terminal system software burning method based on remote encryption interaction
CN105488367A (en) SAM apparatus protection method, background and system
JP2017152880A (en) Authentication system, key processing coordination method, and key processing coordination program
CN107133512B (en) POS terminal control method and device
CN110324820A (en) A kind of Internet of Things safety right appraisal method, system and readable medium
CN110401613B (en) Authentication management method and related equipment
CN105933117A (en) Data encryption and decryption device and method based on TPM (Trusted Platform Module) key security storage
US20220103351A1 (en) Cryptographic Lock-And-Key Generation, Distribution, and Validation
CN112530053B (en) Control method and system of intelligent lock, lock equipment, server and storage medium
CN113766450A (en) Vehicle virtual key sharing method, mobile terminal, server and vehicle
CN111274570A (en) Encryption authentication method and device, server, readable storage medium and air conditioner
CN103281188A (en) Method and system for backing up private key in electronic signature token

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21939107

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023558871

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11202307023Q

Country of ref document: SG

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21939107

Country of ref document: EP

Kind code of ref document: A1