[go: up one dir, main page]

CN109451082B - Shopping cart electronic lock management method, system, device and readable storage medium - Google Patents

Shopping cart electronic lock management method, system, device and readable storage medium Download PDF

Info

Publication number
CN109451082B
CN109451082B CN201910034884.5A CN201910034884A CN109451082B CN 109451082 B CN109451082 B CN 109451082B CN 201910034884 A CN201910034884 A CN 201910034884A CN 109451082 B CN109451082 B CN 109451082B
Authority
CN
China
Prior art keywords
shopping cart
lock
electronic lock
cart electronic
instruction
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910034884.5A
Other languages
Chinese (zh)
Other versions
CN109451082A (en
Inventor
黄英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910034884.5A priority Critical patent/CN109451082B/en
Publication of CN109451082A publication Critical patent/CN109451082A/en
Application granted granted Critical
Publication of CN109451082B publication Critical patent/CN109451082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种购物车电子锁管理方法,该方法包括:定时向各购物车电子锁发送车锁盘点指令,并接收各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息;依据各购物车电子锁返回的所述车锁盘点信息,确定是否触发运维提醒指令,若触发运维提醒指令,则执行与所述运维提醒指令对应的运维提醒操作。本发明还公开了一种购物车电子锁管理系统、设备及计算机可读存储介质。本发明能够有效的降低检查购物车电子锁运行情况所需的时间成本与人力成本,提高购物车电子锁运行情况的准确度。

Figure 201910034884

The invention discloses a shopping cart electronic lock management method. The method includes: regularly sending a cart lock inventory instruction to each shopping cart electronic lock, and receiving the cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory instruction ; According to the inventory information of the cart locks returned by each shopping cart electronic lock, determine whether to trigger an operation and maintenance reminder command, and if the operation and maintenance reminder command is triggered, execute the operation and maintenance reminder operation corresponding to the operation and maintenance reminder command. The invention also discloses a shopping cart electronic lock management system, equipment and a computer-readable storage medium. The invention can effectively reduce the time cost and labor cost required for checking the operation of the electronic lock of the shopping cart, and improve the accuracy of the operation of the electronic lock of the shopping cart.

Figure 201910034884

Description

Shopping cart electronic lock management method, system, device and readable storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a shopping cart electronic lock management method, system, equipment and readable storage medium.
Background
At present, shopping carts are placed at fixed points in various supermarkets, customers can use the shopping carts free of charge, the customers can conveniently place and transport commodities, the shopping carts are used free of charge, any person can use the shopping carts, and the shopping carts can be placed at will in the supermarkets by children with bad luck or the customers with low quality, so that the customers can not conveniently shop.
After one-day business of a supermarket is finished, the operation condition of the electronic lock of the shopping cart needs to be checked, the electronic lock of the shopping cart with faults can be found conveniently in time, the electronic lock of the shopping cart is checked mainly in a manual mode at present, and the shopping cart in the supermarket has more shopping carts, consumes more time cost and labor cost, and cannot accurately learn the operation condition of the electronic lock of the shopping cart. Therefore, how to reduce the time cost and the labor cost required for checking the operation condition of the electronic lock of the shopping cart and improve the accuracy of the operation condition of the electronic lock of the shopping cart is a problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a shopping cart electronic lock management method, a shopping cart electronic lock management system, a shopping cart electronic lock management device and a readable storage medium, and aims to reduce the time cost and the labor cost required for checking the operation condition of a shopping cart electronic lock and improve the accuracy of the operation condition of the shopping cart electronic lock.
In order to achieve the above object, the present invention provides a shopping cart electronic lock management method, comprising the steps of:
the method comprises the steps that a lock check instruction is sent to each shopping cart electronic lock at regular time, and lock check information returned by each shopping cart electronic lock based on the lock check instruction is received;
and determining whether an operation and maintenance reminding instruction is triggered or not according to the lock inventory information returned by each shopping cart electronic lock, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered.
Optionally, the step of sending a lock inventory command to each shopping cart electronic lock at regular time and receiving the lock inventory information returned by each shopping cart electronic lock based on the lock inventory command includes:
sending a vehicle lock checking instruction to each shopping vehicle electronic lock at regular time through message middleware;
and receiving the lock inventory information returned by each shopping cart electronic lock based on the lock inventory instruction through the message middleware.
Optionally, the step of determining whether to trigger an operation and maintenance reminding instruction according to the lock inventory information returned by each shopping cart electronic lock includes:
judging whether the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks according to the lock checking information returned by the shopping cart electronic locks;
if the shopping cart electronic lock in the current state is in the abnormal state exists in the shopping cart electronic locks, an operation and maintenance reminding instruction is triggered;
and if the shopping cart electronic lock in the abnormal state does not exist in the shopping cart electronic locks, not triggering the operation and maintenance reminding instruction.
Optionally, the step of determining whether there is a shopping cart electronic lock in which the current state is an abnormal state in each shopping cart electronic lock according to the lock inventory information returned by each shopping cart electronic lock includes:
judging whether the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist according to the lock checking information returned by the shopping cart electronic locks;
and if the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist in the shopping cart electronic locks, determining that the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks.
Optionally, the step of determining whether to trigger an operation and maintenance reminding instruction according to the lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminding instruction is triggered, after the step of executing the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction, further includes:
when a lock charging reminding instruction is received, determining the shopping cart electronic lock with the electric quantity lower than the preset electric quantity in each shopping cart electronic lock as a first target shopping cart electronic lock;
and sending the lock charging reminding instruction to the first target shopping cart electronic lock so as to enable the first target shopping cart electronic lock to execute corresponding charging reminding operation based on the lock charging reminding instruction.
Optionally, the step of determining whether to trigger an operation and maintenance reminding instruction according to the lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminding instruction is triggered, after the step of executing the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction, further includes:
when a firmware upgrading instruction is received, acquiring corresponding target firmware;
determining the shopping cart electronic lock of the firmware to be upgraded in each shopping cart electronic lock as a second target shopping cart electronic lock, and generating a firmware upgrading request carrying the target firmware;
and sending the firmware upgrading request to the second target shopping cart electronic lock so that the second target shopping cart electronic lock executes firmware upgrading operation based on the firmware upgrading request.
In addition, in order to achieve the above object, the present invention further provides a shopping cart electronic lock management system, which includes shopping cart electronic locks and a shopping cart electronic lock management device, wherein:
the shopping cart electronic lock management device is used for sending a lock inventory instruction to each shopping cart electronic lock at regular time and receiving lock inventory information returned by each shopping cart electronic lock based on the lock inventory instruction;
the shopping cart electronic lock is used for receiving a shopping cart locking and checking instruction sent by the shopping cart electronic lock management device at regular time, acquiring locking and checking information based on the shopping cart locking and checking instruction, and sending the locking and checking information to the shopping cart electronic lock management device;
the shopping cart electronic lock management device is further used for determining whether an operation and maintenance reminding instruction is triggered or not according to the car lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminding instruction is triggered, executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction.
Optionally, the shopping cart electronic lock management system further comprises message middleware, wherein:
the shopping cart electronic lock management device is also used for sending a cart lock inventory instruction to the message middleware at regular time;
the message middleware is used for receiving a lock checking instruction sent by the shopping cart electronic lock management equipment and forwarding the lock checking instruction to each shopping cart electronic lock;
the shopping cart electronic lock is also used for receiving a cart lock checking instruction sent by the message middleware, acquiring cart lock checking information based on the cart lock checking instruction, and sending the cart lock checking information to the message middleware;
the message middleware is also used for receiving the lock checking information sent by each shopping cart electronic lock and forwarding the lock checking information to the shopping cart electronic lock management equipment;
the shopping cart electronic lock management device is further used for receiving the lock inventory information of each shopping cart electronic lock forwarded by the message middleware, determining whether to trigger an operation and maintenance reminding instruction or not based on the received lock inventory information, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered.
In addition, to achieve the above object, the present invention also provides a shopping cart electronic lock management device, including: the shopping cart electronic lock management system comprises a memory, a processor and a shopping cart electronic lock management program which is stored on the memory and can run on the processor, wherein the shopping cart electronic lock management program realizes the steps of the shopping cart electronic lock management method when being executed by the processor.
The invention also provides a computer readable storage medium, which stores the shopping cart electronic lock management program, and when the shopping cart electronic lock management program is executed by a processor, the steps of the shopping cart electronic lock management method are realized.
The invention provides a shopping cart electronic lock management method, a system, equipment and a readable storage medium, wherein a cart lock inventory instruction is sent to each shopping cart electronic lock at regular time, cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory instruction is received, then a cart lock inventory operation is executed according to the cart lock inventory information returned by each shopping cart electronic lock, whether an operation and maintenance reminding instruction is triggered or not is determined, if the operation and maintenance reminding instruction is triggered, the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction is executed.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a shopping cart electronic lock management method according to the present invention;
FIG. 3 is a functional block diagram of a shopping cart electronic lock management system according to a first embodiment of the present invention;
FIG. 4 is a functional block diagram of a shopping cart electronic lock management system according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the shopping cart electronic lock management apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the shopping cart electronic lock management device configuration shown in FIG. 1 does not constitute a limitation of the shopping cart electronic lock management device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a shopping cart electronic lock management program.
In the shopping cart electronic lock management device shown in fig. 1, the network interface 1004 is mainly used for connecting with a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and perform the following steps:
the method comprises the steps that a lock check instruction is sent to each shopping cart electronic lock at regular time, and lock check information returned by each shopping cart electronic lock based on the lock check instruction is received;
and determining whether an operation and maintenance reminding instruction is triggered or not according to the lock inventory information returned by each shopping cart electronic lock, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered.
Further, the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and further perform the following steps:
sending a vehicle lock checking instruction to each shopping vehicle electronic lock at regular time through message middleware;
and receiving the lock inventory information returned by each shopping cart electronic lock based on the lock inventory instruction through the message middleware.
Further, the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and further perform the following steps:
judging whether the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks according to the lock checking information returned by the shopping cart electronic locks;
if the shopping cart electronic lock in the current state is in the abnormal state exists in the shopping cart electronic locks, an operation and maintenance reminding instruction is triggered;
and if the shopping cart electronic lock in the abnormal state does not exist in the shopping cart electronic locks, not triggering the operation and maintenance reminding instruction.
Further, the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and further perform the following steps:
judging whether the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist according to the lock checking information returned by the shopping cart electronic locks;
and if the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist in the shopping cart electronic locks, determining that the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks.
Further, the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and further perform the following steps:
when a lock charging reminding instruction is received, determining the shopping cart electronic lock with the electric quantity lower than the preset electric quantity in each shopping cart electronic lock as a first target shopping cart electronic lock;
and sending the lock charging reminding instruction to the first target shopping cart electronic lock so as to enable the first target shopping cart electronic lock to execute corresponding charging reminding operation based on the lock charging reminding instruction.
Further, the processor 1001 may be configured to call the shopping cart electronic lock management program stored in the memory 1005, and further perform the following steps:
when a firmware upgrading instruction is received, acquiring corresponding target firmware;
determining the shopping cart electronic lock of the firmware to be upgraded in each shopping cart electronic lock as a second target shopping cart electronic lock, and generating a firmware upgrading request carrying the target firmware;
and sending the firmware upgrading request to the second target shopping cart electronic lock so that the second target shopping cart electronic lock executes firmware upgrading operation based on the firmware upgrading request.
The specific embodiment of the shopping cart electronic lock management device of the present invention is substantially the same as the specific embodiments of the shopping cart electronic lock management method described below, and will not be described herein again.
The invention provides a shopping cart electronic lock management method.
Referring to fig. 2, fig. 2 is a schematic flow chart of a shopping cart electronic lock management method according to a first embodiment of the present invention.
In this embodiment, the shopping cart electronic lock management method includes:
step S101, regularly sending a lock check instruction to each shopping cart electronic lock, and receiving lock check information returned by each shopping cart electronic lock based on the lock check instruction;
in this embodiment, the shopping cart electronic lock management method is applied to a shopping cart electronic lock management device, the shopping cart electronic lock management device may be a cloud server, the shopping cart electronic lock may directly communicate with the shopping cart electronic lock management device through a network module, the shopping cart electronic lock may also indirectly communicate with the shopping cart electronic lock management device through a message middleware, and a communication mode between the shopping cart electronic lock and the shopping cart electronic lock management device is not specifically limited in this embodiment. The shopping cart electronic lock comprises a shell, a battery bin, a battery, a circuit control board and an electric unlocking device, and optionally further comprises a network module. The message middleware may be selected as a wireless access device. The shopping cart electronic lock is arranged on a shopping cart of a supermarket and can be buckled with other shopping carts.
The shopping cart electronic lock management device sends a cart lock inventory command to each shopping cart electronic lock at regular time and receives cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory command. After each shopping cart electronic lock receives a cart lock checking instruction sent by the shopping cart electronic lock management device, the cart lock checking information is obtained based on the cart lock checking instruction, and the cart lock checking information is sent to the shopping cart electronic lock management device. The lock inventory information includes, but is not limited to, a lock identifier, battery level, boot status, and firmware version number.
Further, the shopping cart electronic lock management device sends a cart lock inventory command to each shopping cart electronic lock at regular time through the message middleware, receives cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory command through the message middleware, namely, the shopping cart electronic lock management device sends the cart lock inventory command to the message middleware at regular time and forwards the cart lock inventory command to each shopping cart electronic lock through the message middleware, the shopping cart electronic lock sends the cart lock inventory information acquired based on the cart lock inventory command to the message middleware, and the message middleware forwards the cart lock inventory information to the shopping cart electronic lock management device. The communication protocol between the message middleware and the shopping cart electronic lock management device can be selected as a message queue telemetry transmission protocol.
Step S102, determining whether an operation and maintenance reminding instruction is triggered or not according to the lock inventory information returned by each shopping cart electronic lock, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered.
In this embodiment, after receiving the car lock inventory information returned by each shopping cart electronic lock, the shopping cart electronic lock management device determines whether to trigger an operation and maintenance reminding instruction according to the car lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminding instruction is triggered, executes the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction. After receiving the lock inventory information returned by each shopping cart electronic lock, storing the lock inventory information returned by each shopping cart electronic lock, namely acquiring a preset blank lock inventory result table, reading corresponding specific parameters from the lock inventory information according to each column field of the blank lock inventory result table, and filling the read specific parameters to corresponding positions of the blank lock inventory result table, thereby storing the lock inventory information. The mode of determining whether to trigger the operation and maintenance reminding instruction is specifically to judge whether the shopping cart electronic locks in the current state are abnormal shopping cart electronic locks according to the lock inventory information returned by the shopping cart electronic locks, trigger the corresponding operation and maintenance reminding instruction according to the lock inventory information returned by the shopping cart electronic locks if the shopping cart electronic locks in the current state are abnormal, and not trigger the operation and maintenance reminding instruction if the shopping cart electronic locks in the current state are not abnormal.
Specifically, according to the lock checking information returned by each shopping cart electronic lock, whether the shopping cart electronic lock with abnormal electric quantity or abnormal firmware exists in each shopping cart electronic lock is judged, namely, the electric quantity value and the firmware version number of each shopping cart electronic lock are read from the lock inventory information returned by each shopping cart electronic lock, whether the electric quantity value of each shopping cart electronic lock is lower than the preset electric quantity value is judged, and judging whether the firmware version number of each shopping cart electronic lock is the same as the latest firmware version number, if the electric quantity value of one shopping cart electronic lock in the electric quantity values of the shopping cart electronic locks is lower than the preset electric quantity value, determining that the shopping cart electronic lock with abnormal electric quantity exists in each shopping cart electronic lock, if the firmware version number of one shopping cart electronic lock in the firmware version numbers of the shopping cart electronic locks is different from the latest firmware version number, determining that the shopping cart electronic lock with the abnormal firmware exists in each shopping cart electronic lock; if the shopping cart electronic lock with abnormal electric quantity exists in each shopping cart electronic lock or the shopping cart electronic lock with abnormal firmware exists in each shopping cart electronic lock, determining that the shopping cart electronic lock with the current state being the abnormal state exists in each shopping cart electronic lock, and if the shopping cart electronic lock with abnormal electric quantity does not exist in each shopping cart electronic lock and the shopping cart electronic lock with abnormal firmware does not exist in each shopping cart electronic lock, not processing. It should be noted that the preset electric quantity value may be set by a person skilled in the art based on actual situations, and this embodiment is not particularly limited thereto.
In the embodiment, the invention regularly sends the lock inventory command to each shopping cart electronic lock, receives the lock inventory information returned by each shopping cart electronic lock based on the lock inventory command, then executes the lock inventory operation according to the lock inventory information returned by each shopping cart electronic lock, determines whether to trigger the operation and maintenance reminding command, and executes the operation and maintenance reminding operation corresponding to the operation and maintenance reminding command if the operation and maintenance reminding command is triggered.
Furthermore, based on the first embodiment, a second embodiment of the shopping cart electronic lock management method of the present invention is provided, which is different from the foregoing embodiments in that after the shopping cart electronic lock management device performs the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction, the lock operation and maintenance staff needs to charge the shopping cart electronic lock with insufficient electric quantity, the lock operation and maintenance staff needs to manually open the shopping cart electronic lock to check the electric quantity, so as to determine the shopping cart electronic lock that needs to be charged, and the number of the shopping cart electronic locks is large, so that a lot of time is consumed to find the shopping cart electronic lock that needs to be charged, which is inconvenient for the lock operation and maintenance staff to operate, and in order to solve the above problems, the lock operation and maintenance staff can send the reminding instruction to the shopping cart electronic lock that needs to be charged through the shopping cart electronic lock management device, and the shopping cart electronic lock that needs to be charged is based on the reminding instruction, reminding operation can be executed to inform the lock operation and maintenance personnel.
Specifically, when a lock charging reminding instruction is received, the shopping cart electronic lock management device determines the shopping cart electronic lock with the electric quantity lower than the preset electric quantity in each shopping cart electronic lock as a first target shopping cart electronic lock, namely the shopping cart electronic lock needing to be charged, and sends the lock charging reminding instruction to each first target shopping cart electronic lock, and after the lock charging reminding instruction is received by each first target shopping cart electronic lock, the corresponding charging reminding operation is executed based on the lock charging reminding instruction. The charging reminding operation includes but is not limited to lighting a charging warning lamp and broadcasting a preset warning sound, the charging warning lamp can be optionally lighted, the preset electric quantity can be set by a person skilled in the art based on actual conditions, and the embodiment is not particularly limited to this. The shopping cart electronic lock that needs to charge can be known to the lock fortune dimension personnel conveniently.
Further, based on the first or second embodiment, a third embodiment of the shopping cart electronic lock management method of the present invention is provided, which is different from the foregoing embodiments in that after the shopping cart electronic lock management device performs the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction, there is a situation that the firmware of the shopping cart electronic lock needs to be upgraded, the cart lock operation and maintenance personnel needs to manually unlock the shopping cart electronic lock to check the firmware version number, determine which shopping cart electronic locks need to be upgraded, and then upgrade the firmware of the shopping cart electronic lock one by one, which is inconvenient for upgrading the firmware of the shopping cart electronic lock, in order to solve the above problems, the cart lock operation and maintenance personnel can upgrade the firmware of the shopping cart electronic lock through the shopping cart electronic lock management device, specifically, when receiving the firmware upgrading instruction, the shopping cart electronic lock management device obtains the corresponding target firmware, the method comprises the steps of obtaining firmware of the latest version, determining the shopping cart electronic lock of the firmware to be upgraded in each shopping cart electronic lock as a second target shopping cart electronic lock, generating a firmware upgrading request carrying the target firmware, sending the firmware upgrading request to the second target shopping cart electronic lock, and executing firmware upgrading operation based on the firmware upgrading request after the second target shopping cart electronic lock receives the firmware upgrading request sent by a shopping cart electronic lock management device, namely obtaining the target firmware from the firmware upgrading request and executing the firmware upgrading operation based on the target firmware. The whole process does not need to manually check the firmware version number, and does not need to manually upgrade the firmware of the shopping cart electronic lock needing the upgraded firmware one by one, so that the convenience and the efficiency of firmware upgrade are effectively improved.
The invention also provides a shopping cart electronic lock management system.
Referring to fig. 3, fig. 3 is a functional module schematic diagram of a shopping cart electronic lock management system according to a first embodiment of the present invention.
In this embodiment, the shopping cart electronic lock management system includes a shopping cart electronic lock management device 100 and a shopping cart electronic lock 200, wherein:
the shopping cart electronic lock management device 100 is configured to send a lock inventory instruction to each shopping cart electronic lock at regular time, and receive lock inventory information returned by each shopping cart electronic lock based on the lock inventory instruction;
the shopping cart electronic lock 200 is configured to receive a cart lock inventory instruction sent by the shopping cart electronic lock management device at regular time, acquire cart lock inventory information based on the cart lock inventory instruction, and send the cart lock inventory information to the shopping cart electronic lock management device;
in this embodiment, the shopping cart electronic lock 200 includes a housing, a battery compartment, a battery, a circuit control board, and an electric unlocking device, and optionally, the shopping cart electronic lock further includes a network module, the shopping cart electronic lock 200 communicates with the shopping cart electronic lock management device 100 through the network module, and the shopping cart electronic lock is mounted on a shopping cart in a supermarket and can be fastened to other shopping carts. The shopping cart electronic lock management device 100 sends a lock inventory command to each shopping cart electronic lock at regular time, and receives lock inventory information returned by each shopping cart electronic lock 200 based on the lock inventory command. After receiving the lock checking instruction sent by the shopping cart electronic lock management device, each shopping cart electronic lock 200 acquires lock checking information based on the lock checking instruction, and sends the lock checking information to the shopping cart electronic lock management device. The lock inventory information includes, but is not limited to, a lock identifier, battery level, boot status, and firmware version number.
The shopping cart electronic lock management device 100 is further configured to determine whether to trigger an operation and maintenance prompting instruction according to the lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance prompting instruction is triggered, execute an operation and maintenance prompting operation corresponding to the operation and maintenance prompting instruction.
In this embodiment, after receiving the car lock inventory information returned by each shopping cart electronic lock, the shopping cart electronic lock management device determines whether to trigger an operation and maintenance reminding instruction according to the car lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminding instruction is triggered, executes the operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction. After receiving the lock inventory information returned by each shopping cart electronic lock, storing the lock inventory information returned by each shopping cart electronic lock, namely acquiring a preset blank lock inventory result table, reading corresponding specific parameters from the lock inventory information according to each column field of the blank lock inventory result table, and filling the read specific parameters to corresponding positions of the blank lock inventory result table, thereby storing the lock inventory information. The mode of determining whether to trigger the operation and maintenance reminding instruction is specifically to judge whether the shopping cart electronic locks in the current state are abnormal shopping cart electronic locks according to the lock inventory information returned by the shopping cart electronic locks, trigger the corresponding operation and maintenance reminding instruction according to the lock inventory information returned by the shopping cart electronic locks if the shopping cart electronic locks in the current state are abnormal, and not trigger the operation and maintenance reminding instruction if the shopping cart electronic locks in the current state are not abnormal.
Specifically, according to the lock inventory information returned by each shopping cart electronic lock, whether a shopping cart electronic lock with abnormal electric quantity exists in each shopping cart electronic lock or not is judged, whether a shopping cart electronic lock with abnormal firmware exists in each shopping cart electronic lock or not is judged, namely, the electric quantity value and the firmware version number of each shopping cart electronic lock are read from the lock inventory information returned by each shopping cart electronic lock, whether the electric quantity value of each shopping cart electronic lock is lower than a preset electric quantity value or not is judged, whether the firmware version number of each shopping cart electronic lock is the same as the latest firmware version number or not is judged, if the electric quantity value of one shopping cart electronic lock in each shopping cart electronic lock is lower than the preset electric quantity value, the shopping cart electronic lock with abnormal electric quantity exists in each shopping cart electronic lock, and if the firmware version number of one shopping cart electronic lock in the firmware of each shopping cart electronic lock is different from the latest firmware version number, determining that the shopping cart electronic lock with abnormal firmware exists in each shopping cart electronic lock; if the shopping cart electronic lock with abnormal electric quantity exists in each shopping cart electronic lock or the shopping cart electronic lock with abnormal firmware exists in each shopping cart electronic lock, determining that the shopping cart electronic lock with the current state being the abnormal state exists in each shopping cart electronic lock, and if the shopping cart electronic lock with abnormal electric quantity does not exist in each shopping cart electronic lock and the shopping cart electronic lock with abnormal firmware does not exist in each shopping cart electronic lock, not processing. It should be noted that the preset electric quantity value may be set by a person skilled in the art based on actual situations, and this embodiment is not particularly limited thereto.
In the embodiment, the invention regularly sends the lock inventory command to each shopping cart electronic lock, receives the lock inventory information returned by each shopping cart electronic lock based on the lock inventory command, then executes the lock inventory operation according to the lock inventory information returned by each shopping cart electronic lock, determines whether to trigger the operation and maintenance reminding command, and executes the operation and maintenance reminding operation corresponding to the operation and maintenance reminding command if the operation and maintenance reminding command is triggered.
Further, referring to fig. 4, a second embodiment of the shopping cart electronic lock management system of the present invention is proposed based on the above first embodiment, which is different from the foregoing embodiments in that the shopping cart electronic lock management system further includes a message middleware 300, wherein:
the shopping cart electronic lock management device 100 is further configured to send a lock checking instruction to the message middleware at regular time;
the message middleware 300 is configured to receive a lock inventory instruction sent by the shopping cart electronic lock management device, and forward the lock inventory instruction to each shopping cart electronic lock;
the shopping cart electronic lock 200 is further configured to receive a lock inventory instruction sent by the message middleware, acquire lock inventory information based on the lock inventory instruction, and send the lock inventory information to the message middleware;
the message middleware 300 is further configured to receive the lock inventory information sent by each shopping cart electronic lock, and forward the lock inventory information to the shopping cart electronic lock management device;
the shopping cart electronic lock management device 100 is further configured to receive the lock inventory information of each shopping cart electronic lock forwarded by the message middleware.
In this embodiment, the present invention realizes the communication between the shopping cart electronic lock management device 100 and the shopping cart electronic lock 200 through the message middleware 300, specifically, the shopping cart electronic lock management device 100 sends the lock checking instruction to the message middleware 300 at regular time, the message middleware 300 forwards the lock inventory instruction to each shopping cart electronic lock, then the shopping cart electronic lock 200 sends the lock inventory information acquired based on the lock inventory instruction to the message middleware 300, the message middleware 300 forwards the lock inventory information to the shopping cart electronic lock management device 100, the shopping cart electronic lock management device 100 receives the lock inventory information of each shopping cart electronic lock forwarded by the message middleware 300, and determining whether an operation and maintenance reminding instruction is triggered or not based on the received vehicle lock inventory information, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered. The subsequent processes can refer to the first embodiment, and are not described herein. Optionally, message middleware 300 is a wireless access device.
In the embodiment, the communication between the shopping cart electronic lock management device and the shopping cart electronic lock is realized through the message middleware, so that the realization complexity of the shopping cart electronic lock can be reduced, and the production cost of the shopping cart electronic lock is reduced.
Further, based on the first or second embodiment, a third embodiment of the shopping cart electronic lock management system of the present invention is provided, which is different from the foregoing embodiment in that the shopping cart electronic lock management device 100 is further configured to, when receiving a lock charging reminding instruction, determine a shopping cart electronic lock with an electric quantity lower than a preset electric quantity in each shopping cart electronic lock as a first target shopping cart electronic lock, that is, a shopping cart electronic lock that needs to be charged, and send the lock charging reminding instruction to each first target shopping cart electronic lock, and after receiving the lock charging reminding instruction, each first target shopping cart electronic lock executes a corresponding charging reminding operation based on the lock charging reminding instruction. The charging reminding operation includes, but is not limited to, lighting a charging warning lamp and broadcasting a preset warning sound, which is not specifically limited in this embodiment, and the charging warning lamp may be optionally lit. The shopping cart electronic lock that needs to charge can be known to the lock fortune dimension personnel conveniently.
Further, a fourth embodiment of the shopping cart electronic lock management system of the present invention is proposed based on the first, second or third embodiment described above, and is different from the foregoing embodiments in that, the shopping cart electronic lock management device 100 is further configured to, upon receiving a firmware upgrade instruction, retrieve a corresponding target firmware, namely, the firmware of the latest version is acquired, then the shopping cart electronic lock with the firmware to be upgraded in each shopping cart electronic lock is determined as the second target shopping cart electronic lock, generating a firmware upgrading request carrying the target firmware, finally sending the firmware upgrading request to a second target shopping cart electronic lock, after the second target shopping cart electronic lock receives the firmware upgrading request sent by the shopping cart electronic lock management device, the firmware upgrading operation is executed based on the firmware upgrading request, that is, the target firmware is obtained from the firmware upgrade request, and the firmware upgrade operation is performed based on the target firmware. The whole process does not need to manually check the firmware version number, and does not need to manually upgrade the firmware of the shopping cart electronic lock needing the upgraded firmware one by one, so that the convenience and the efficiency of firmware upgrade are effectively improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a shopping cart electronic lock management program is stored on the computer-readable storage medium, and when executed by a processor, the shopping cart electronic lock management program performs the following steps:
the method comprises the steps that a lock check instruction is sent to each shopping cart electronic lock at regular time, and lock check information returned by each shopping cart electronic lock based on the lock check instruction is received;
and determining whether an operation and maintenance reminding instruction is triggered or not according to the lock inventory information returned by each shopping cart electronic lock, and executing operation and maintenance reminding operation corresponding to the operation and maintenance reminding instruction if the operation and maintenance reminding instruction is triggered.
Further, when the shopping cart electronic lock management program is executed by the processor, the following steps are also executed:
sending a vehicle lock checking instruction to each shopping vehicle electronic lock at regular time through message middleware;
and receiving the lock inventory information returned by each shopping cart electronic lock based on the lock inventory instruction through the message middleware.
Further, when the shopping cart electronic lock management program is executed by the processor, the following steps are also executed:
judging whether the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks according to the lock checking information returned by the shopping cart electronic locks;
if the shopping cart electronic lock in the current state is in the abnormal state exists in the shopping cart electronic locks, an operation and maintenance reminding instruction is triggered;
and if the shopping cart electronic lock in the abnormal state does not exist in the shopping cart electronic locks, not triggering the operation and maintenance reminding instruction.
Further, when the shopping cart electronic lock management program is executed by the processor, the following steps are also executed:
judging whether the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist according to the lock checking information returned by the shopping cart electronic locks;
and if the shopping cart electronic locks with abnormal electric quantity or abnormal firmware exist in the shopping cart electronic locks, determining that the shopping cart electronic locks with the current state being the abnormal state exist in the shopping cart electronic locks.
Further, when the shopping cart electronic lock management program is executed by the processor, the following steps are also executed:
when a lock charging reminding instruction is received, determining the shopping cart electronic lock with the electric quantity lower than the preset electric quantity in each shopping cart electronic lock as a first target shopping cart electronic lock;
and sending the lock charging reminding instruction to the first target shopping cart electronic lock so as to enable the first target shopping cart electronic lock to execute corresponding charging reminding operation based on the lock charging reminding instruction.
Further, when the shopping cart electronic lock management program is executed by the processor, the following steps are also executed:
when a firmware upgrading instruction is received, acquiring corresponding target firmware;
determining the shopping cart electronic lock of the firmware to be upgraded in each shopping cart electronic lock as a second target shopping cart electronic lock, and generating a firmware upgrading request carrying the target firmware;
and sending the firmware upgrading request to the second target shopping cart electronic lock so that the second target shopping cart electronic lock executes firmware upgrading operation based on the firmware upgrading request.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the shopping cart electronic lock management method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1.一种购物车电子锁管理方法,其特征在于,所述购物车电子锁管理方法包括以下步骤:1. A shopping cart electronic lock management method is characterized in that, the shopping cart electronic lock management method comprises the following steps: 定时向各购物车电子锁发送车锁盘点指令,并接收各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息;所述车锁盘点信息包括车锁标识符和固件版本号;Send a car lock inventory instruction to each shopping cart electronic lock regularly, and receive the car lock inventory information returned by each shopping cart electronic lock based on the car lock inventory instruction; the car lock inventory information includes a car lock identifier and a firmware version number; 获取预设的空白车锁盘点结果表,并按照所述空白车锁盘点结果表的各列字段,从所述车锁盘点信息中读取对应的具体参数,且将读取到的具体参数填充至所述空白车锁盘点结果表的对应位置,以存储所述车锁盘点信息;Obtain a preset blank car lock inventory result table, and read corresponding specific parameters from the car lock inventory information according to each column field of the blank car lock inventory result table, and fill in the read specific parameters to the corresponding position of the blank car lock inventory result table to store the car lock inventory information; 依据各购物车电子锁返回的所述车锁盘点信息,确定是否触发运维提醒指令,若触发运维提醒指令,则执行与所述运维提醒指令对应的运维提醒操作;Determine whether to trigger an operation and maintenance reminder command according to the inventory information of the car locks returned by each shopping cart electronic lock, and if the operation and maintenance reminder command is triggered, execute the operation and maintenance reminder operation corresponding to the operation and maintenance reminder command; 所述定时向各购物车电子锁发送车锁盘点指令,并接收各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息,包括:The said timing sends a cart lock inventory instruction to each shopping cart electronic lock, and receives the cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory instruction, including: 通过消息中间件定时向各购物车电子锁发送车锁盘点指令;Send the lock inventory instruction to each shopping cart electronic lock regularly through the message middleware; 通过所述消息中间件接收所述各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息;Receive, through the message middleware, the cart lock inventory information returned by each of the shopping cart electronic locks based on the cart lock inventory instruction; 其中,消息中间件与购物车电子锁管理设备之间的通信协议为消息队列遥测传输协议;Among them, the communication protocol between the message middleware and the shopping cart electronic lock management device is the message queue telemetry transmission protocol; 所述依据各购物车电子锁返回的所述车锁盘点信息,确定是否触发运维提醒指令包括:The determining whether to trigger the operation and maintenance reminder instruction according to the inventory information of the cart locks returned by each shopping cart electronic lock includes: 依据各购物车电子锁返回的所述车锁盘点信息,判断各购物车电子锁中是否存在当前状态为异常状态的购物车电子锁;According to the cart lock inventory information returned by each shopping cart electronic lock, determine whether there is a shopping cart electronic lock whose current state is an abnormal state in each shopping cart electronic lock; 所述判断各购物车电子锁中是否存在当前状态为异常状态的购物车电子锁,包括:The judging whether there is a shopping cart electronic lock whose current state is an abnormal state in each shopping cart electronic lock includes: 判断各购物车电子锁的固件版本号是否均与最新固件版本号相同,若各购物车电子锁的固件版本号中存在一个购物车电子锁的固件版本号与最新固件版本号不相同,则确定各购物电子锁中存在当前状态为异常状态的购物车电子锁;Determine whether the firmware version number of each shopping cart electronic lock is the same as the latest firmware version number. If there is a shopping cart electronic lock firmware version number that is different from the latest firmware version number in the firmware version number of each shopping cart electronic lock, confirm There are shopping cart electronic locks whose current status is abnormal in each shopping electronic lock; 当接收到固件升级指令时,获取对应的目标固件;When receiving a firmware upgrade instruction, obtain the corresponding target firmware; 将各购物车电子锁中待升级固件的购物车电子锁确定为第二目标购物车电子锁,并生成携带有所述目标固件的固件升级请求;Determine the shopping cart electronic lock whose firmware is to be upgraded in each shopping cart electronic lock as the second target shopping cart electronic lock, and generate a firmware upgrade request carrying the target firmware; 将所述固件升级请求发送至所述第二目标购物车电子锁,以供所述第二目标购物车电子锁从所述固件升级请求中获取目标固件,并基于所述目标固件执行固件升级操作。Send the firmware upgrade request to the second target electronic shopping cart lock, so that the second target electronic shopping cart lock can obtain the target firmware from the firmware upgrade request, and perform a firmware upgrade operation based on the target firmware . 2.如权利要求1所述的购物车电子锁管理方法,其特征在于,所述定时向各购物车电子锁发送车锁盘点指令,并接收各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息的步骤包括:2 . The method for managing electronic shopping cart locks according to claim 1 , wherein the timing sends a cart lock inventory instruction to each shopping cart electronic lock, and receives a return from each shopping cart electronic lock based on the cart lock inventory instruction. 3 . The steps of the lock inventory information include: 通过消息中间件定时向各购物车电子锁发送车锁盘点指令;Send the lock inventory instruction to each shopping cart electronic lock regularly through the message middleware; 通过所述消息中间件接收所述各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息。The cart lock inventory information returned by each of the shopping cart electronic locks based on the cart lock inventory instruction is received through the message middleware. 3.如权利要求1所述的购物车电子锁管理方法,其特征在于,所述判断各购物车电子锁中是否存在当前状态为异常状态的购物车电子锁的步骤之后,还包括:3. The shopping cart electronic lock management method according to claim 1, wherein after the step of judging whether there is a shopping cart electronic lock whose current state is an abnormal state in each shopping cart electronic lock, the method further comprises: 若各购物车电子锁中存在当前状态为异常状态的购物车电子锁,则触发运维提醒指令;If there is a shopping cart electronic lock whose current state is abnormal in each shopping cart electronic lock, the operation and maintenance reminder command will be triggered; 若各购物车电子锁中不存在当前状态为异常状态的购物车电子锁,则不触发运维提醒指令。If there is no shopping cart electronic lock whose current state is abnormal, the operation and maintenance reminder instruction will not be triggered. 4.如权利要求1所述的购物车电子锁管理方法,其特征在于,所述依据各购物车电子锁返回的所述车锁盘点信息,判断各购物车电子锁中是否存在当前状态为异常状态的购物车电子锁的步骤,还包括:4. The method for managing electronic shopping cart locks according to claim 1, wherein, according to the cart lock inventory information returned by each electronic shopping cart lock, it is determined whether the current state of each electronic shopping cart lock is abnormal. The steps of the state of the shopping cart electronic lock also include: 依据各购物车电子锁返回的所述车锁盘点信息,判断各购物车电子锁中是否存在电量异常的购物车电子锁;Judging whether there is a shopping cart electronic lock with abnormal power in each shopping cart electronic lock according to the cart lock inventory information returned by each shopping cart electronic lock; 若各购物车电子锁中存在电量异常的购物车电子锁,则确定各购物车电子锁中存在当前状态为异常状态的购物车电子锁。If there is a shopping cart electronic lock with abnormal power in each shopping cart electronic lock, it is determined that there is a shopping cart electronic lock whose current state is abnormal state in each shopping cart electronic lock. 5.如权利要求1-4中任一项所述的购物车电子锁管理方法,其特征在于,所述依据各购物车电子锁返回的所述车锁盘点信息,确定是否触发运维提醒指令,若触发运维提醒指令,则执行与所述运维提醒指令对应的运维提醒操作的步骤之后,还包括:5. The method for managing an electronic shopping cart lock according to any one of claims 1 to 4, wherein, according to the cart lock inventory information returned by each electronic shopping cart lock, it is determined whether to trigger an operation and maintenance reminder instruction , if an operation and maintenance reminder instruction is triggered, after executing the operation and maintenance reminder operation steps corresponding to the operation and maintenance reminder instruction, the method further includes: 当接收到车锁充电提醒指令时,将各购物车电子锁中电量低于预设电量的购物车电子锁确定为第一目标购物车电子锁;When receiving the reminding instruction for charging the car lock, determine the shopping cart electronic lock whose electric power is lower than the preset electric power in each shopping cart electronic lock as the first target shopping cart electronic lock; 将所述车锁充电提醒指令发送至所述第一目标购物车电子锁,以供所述第一目标购物车电子锁,基于所述车锁充电提醒指令,执行对应的充电提醒操作。The vehicle lock charging reminder instruction is sent to the first target shopping cart electronic lock, so that the first target shopping cart electronic lock executes a corresponding charging reminder operation based on the vehicle lock charging reminder instruction. 6.一种购物车电子锁管理系统,其特征在于,所述购物车电子锁管理系统包括购物车电子锁和购物车电子锁管理设备,其中:6. A shopping cart electronic lock management system, wherein the shopping cart electronic lock management system comprises a shopping cart electronic lock and a shopping cart electronic lock management device, wherein: 所述购物车电子锁管理设备,用于定时向各购物车电子锁发送车锁盘点指令,并接收各购物车电子锁基于所述车锁盘点指令返回的车锁盘点信息;所述车锁盘点信息包括车锁标识符和固件版本号;The shopping cart electronic lock management device is used to periodically send a cart lock inventory instruction to each shopping cart electronic lock, and receive the cart lock inventory information returned by each shopping cart electronic lock based on the cart lock inventory instruction; the cart lock inventory Information includes lock identifiers and firmware version numbers; 所述购物车电子锁,用于接收所述购物车电子锁管理设备定时发送的车锁盘点指令,并基于车锁盘点指令,获取车锁盘点信息,且将所述车锁盘点信息发送至所述购物车电子锁管理设备;获取预设的空白车锁盘点结果表,并按照所述空白车锁盘点结果表的各列字段,从所述车锁盘点信息中读取对应的具体参数,且将读取到的具体参数填充至所述空白车锁盘点结果表的对应位置,以存储所述车锁盘点信息;The shopping cart electronic lock is used to receive the car lock inventory instruction sent by the shopping cart electronic lock management device at regular intervals, and based on the car lock inventory instruction, obtain the car lock inventory information, and send the car lock inventory information to the store. The shopping cart electronic lock management device; obtain a preset blank car lock inventory result table, and read the corresponding specific parameters from the car lock inventory information according to each column field of the blank car lock inventory result table, and Filling the read specific parameters into the corresponding position of the blank car lock inventory result table to store the car lock inventory information; 所述购物车电子锁管理设备,还用于依据各购物车电子锁返回的所述车锁盘点信息,确定是否触发运维提醒指令,若触发运维提醒指令,则执行与所述运维提醒指令对应的运维提醒操作;The shopping cart electronic lock management device is further configured to determine whether to trigger an operation and maintenance reminder instruction according to the cart lock inventory information returned by each shopping cart electronic lock, and if the operation and maintenance reminder instruction is triggered, execute the operation and maintenance reminder with the operation and maintenance reminder The operation and maintenance reminder operation corresponding to the command; 所述购物车电子锁管理设备,还用于依据各购物车电子锁返回的所述车锁盘点信息,判断各购物车电子锁的固件版本号是否均与最新固件版本号相同,若各购物车电子锁的固件版本号中存在一个购物车电子锁的固件版本号与最新固件版本号不相同,则确定各购物电子锁中存在当前状态为异常状态的购物车电子锁;The shopping cart electronic lock management device is also used to judge whether the firmware version number of each shopping cart electronic lock is the same as the latest firmware version number according to the cart lock inventory information returned by each shopping cart electronic lock. If there is a shopping cart electronic lock whose firmware version number is different from the latest firmware version number in the firmware version number of the electronic lock, it is determined that there is a shopping cart electronic lock in an abnormal state in each shopping electronic lock; 所述购物车电子锁管理设备,还用于当接收到固件升级指令时,获取对应的目标固件;将各购物车电子锁中待升级固件的购物车电子锁确定为第二目标购物车电子锁,并生成携带有所述目标固件的固件升级请求;将所述固件升级请求发送至所述第二目标购物车电子锁,以供所述第二目标购物车电子锁从所述固件升级请求中获取目标固件,并基于所述目标固件执行固件升级操作。The shopping cart electronic lock management device is also used for acquiring corresponding target firmware when receiving a firmware upgrade instruction; determining the shopping cart electronic lock whose firmware is to be upgraded in each shopping cart electronic lock as the second target shopping cart electronic lock , and generate a firmware upgrade request carrying the target firmware; send the firmware upgrade request to the second target electronic shopping cart lock, so that the second target electronic shopping cart lock can be downloaded from the firmware upgrade request Obtain target firmware, and perform a firmware upgrade operation based on the target firmware. 7.如权利要求6所述的购物车电子锁管理系统,其特征在于,所述购物车电子锁管理系统还包括消息中间件,其中:7. The shopping cart electronic lock management system according to claim 6, wherein the shopping cart electronic lock management system further comprises a message middleware, wherein: 所述购物车电子锁管理设备,还用于定时向所述消息中间件发送车锁盘点指令;The shopping cart electronic lock management device is further configured to periodically send a cart lock inventory instruction to the message middleware; 所述消息中间件,用于接收所述购物车电子锁管理设备发送的车锁盘点指令,并将所述车锁盘点指令转发至各购物车电子锁;The message middleware is used to receive a cart lock inventory instruction sent by the shopping cart electronic lock management device, and forward the cart lock inventory instruction to each shopping cart electronic lock; 所述购物车电子锁,还用于接收所述消息中间件发送的车锁盘点指令,并基于车锁盘点指令,获取车锁盘点信息,且将所述车锁盘点信息发送至所述消息中间件;The electronic shopping cart lock is also used to receive a car lock inventory instruction sent by the message middleware, and based on the car lock inventory instruction, obtain the car lock inventory information, and send the car lock inventory information to the message center piece; 所述消息中间件,还用于接收各购物车电子锁发送的车锁盘点信息,并将所述车锁盘点信息转发至所述购物车电子锁管理设备;The message middleware is further configured to receive the cart lock inventory information sent by each shopping cart electronic lock, and forward the cart lock inventory information to the shopping cart electronic lock management device; 所述购物车电子锁管理设备,还用于接收所述消息中间件转发的各购物车电子锁的车锁盘点信息,并基于接收到的所述车锁盘点信息,确定是否触发运维提醒指令,若触发运维提醒指令,则执行与所述运维提醒指令对应的运维提醒操作。The shopping cart electronic lock management device is further configured to receive the cart lock inventory information of each shopping cart electronic lock forwarded by the message middleware, and determine whether to trigger an operation and maintenance reminder instruction based on the received cart lock inventory information , if the operation and maintenance reminder instruction is triggered, the operation and maintenance reminder operation corresponding to the operation and maintenance reminder instruction is executed. 8.一种购物车电子锁管理设备,其特征在于,所述购物车电子锁管理设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的购物车电子锁管理程序,所述购物车电子锁管理程序被所述处理器执行时实现如权利要求1至5中任一项所述的购物车电子锁管理方法的步骤。8. A shopping cart electronic lock management device, characterized in that the shopping cart electronic lock management device comprises: a memory, a processor, and a shopping cart electronic lock stored on the memory and running on the processor A management program, when the shopping cart electronic lock management program is executed by the processor, implements the steps of the shopping cart electronic lock management method according to any one of claims 1 to 5. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有购物车电子锁管理程序,所述购物车电子锁管理程序被处理器执行时实现如权利要求1至5中任一项所述的购物车电子锁管理方法的步骤。9. A computer-readable storage medium, characterized in that, a shopping cart electronic lock management program is stored on the computer-readable storage medium, and when the shopping cart electronic lock management program is executed by a processor, the procedures as claimed in claim 1 to 5. The steps of the shopping cart electronic lock management method described in any one.
CN201910034884.5A 2019-01-14 2019-01-14 Shopping cart electronic lock management method, system, device and readable storage medium Active CN109451082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910034884.5A CN109451082B (en) 2019-01-14 2019-01-14 Shopping cart electronic lock management method, system, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910034884.5A CN109451082B (en) 2019-01-14 2019-01-14 Shopping cart electronic lock management method, system, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN109451082A CN109451082A (en) 2019-03-08
CN109451082B true CN109451082B (en) 2022-02-08

Family

ID=65544034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910034884.5A Active CN109451082B (en) 2019-01-14 2019-01-14 Shopping cart electronic lock management method, system, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN109451082B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105372598A (en) * 2015-11-05 2016-03-02 张泽 Electric quantity monitoring method and electric quantity monitoring system for intelligent lock
CN107247589A (en) * 2017-06-02 2017-10-13 广东汇泰龙科技有限公司 A kind of door lock firmware upgrade method based on OTA
CN107978036A (en) * 2017-11-09 2018-05-01 东峡大通(北京)管理咨询有限公司 For searching the method and server of bicycle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105372598A (en) * 2015-11-05 2016-03-02 张泽 Electric quantity monitoring method and electric quantity monitoring system for intelligent lock
CN107247589A (en) * 2017-06-02 2017-10-13 广东汇泰龙科技有限公司 A kind of door lock firmware upgrade method based on OTA
CN107978036A (en) * 2017-11-09 2018-05-01 东峡大通(北京)管理咨询有限公司 For searching the method and server of bicycle

Also Published As

Publication number Publication date
CN109451082A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
JP7582354B2 (en) PROGRAM UPDATE SYSTEM, PROGRAM UPDATE SERVER, INFORMATION PROCESSING DEVICE, VEHICLE, METHOD, AND PROGRAM
CN107864175B (en) Gray scale release control method, device, equipment and storage medium
CN109154890B (en) Software update device and software update system
CN108182072A (en) Remote upgrade method, server and the storage medium of vehicle electronics
US10332068B2 (en) Systems and methods for stocking an automobile
CN110806894A (en) Automobile part software version management method, equipment, storage medium and device
JP2019180226A (en) Method and system for associating battery
WO2010151442A1 (en) Apparatus and method for automated vehicle roadside assistance
CN107978038A (en) Vehicle unlocking management method, client and vehicle
JP2019179545A (en) Method and system for association of battery
CN110446273A (en) A kind of method and apparatus based on electronics price tag networking
CN113791817B (en) New energy automobile scene product creation method, equipment and storage medium
US11288054B2 (en) Vehicular communication system
CN111930086A (en) Automatic guided vehicle scheduling method, device, storage medium and device
JP2019144986A (en) Lending management device, lending management method, lending management program and lending management system
JP2019208351A (en) Method and server for managing power supply
CN109451082B (en) Shopping cart electronic lock management method, system, device and readable storage medium
CN115268990B (en) Version number management methods, devices, equipment and storage media
CN113971268A (en) Method, apparatus and electronic device for logging in to an application
US20210192865A1 (en) Information providing server, information providing system, and recording medium
CN111756822A (en) Method and device for processing battery information and corresponding system
US20220414615A1 (en) Information processing apparatus, information processing method, and storage medium
CN111222822A (en) Goods source pushing method and device, electronic equipment and readable storage medium
CN111784931A (en) Method and apparatus for sharing distribution boxes
US20220147923A1 (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant