CN111223213A - Shopping cart intelligent lock system based on Internet of things - Google Patents

Shopping cart intelligent lock system based on Internet of things Download PDF

Info

Publication number
CN111223213A
CN111223213A CN202010055237.5A CN202010055237A CN111223213A CN 111223213 A CN111223213 A CN 111223213A CN 202010055237 A CN202010055237 A CN 202010055237A CN 111223213 A CN111223213 A CN 111223213A
Authority
CN
China
Prior art keywords
shopping cart
lock
intelligent
intelligent lock
unlocking
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.)
Granted
Application number
CN202010055237.5A
Other languages
Chinese (zh)
Other versions
CN111223213B (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.)
Multipoint Shenzhen Digital Technology Co Ltd
Original Assignee
Multipoint Shenzhen Digital Technology 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 Multipoint Shenzhen Digital Technology Co Ltd filed Critical Multipoint Shenzhen Digital Technology Co Ltd
Priority to CN202010055237.5A priority Critical patent/CN111223213B/en
Publication of CN111223213A publication Critical patent/CN111223213A/en
Application granted granted Critical
Publication of CN111223213B publication Critical patent/CN111223213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B73/00Devices for locking portable objects against unauthorised removal; Miscellaneous locking devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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/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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/06Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by returnable containers, i.e. reverse vending systems in which a user is rewarded for returning a container that serves as a token of value, e.g. bottles
    • G07F7/0618Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by returnable containers, i.e. reverse vending systems in which a user is rewarded for returning a container that serves as a token of value, e.g. bottles by carts
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/06Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by returnable containers, i.e. reverse vending systems in which a user is rewarded for returning a container that serves as a token of value, e.g. bottles
    • G07F7/0618Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by returnable containers, i.e. reverse vending systems in which a user is rewarded for returning a container that serves as a token of value, e.g. bottles by carts
    • G07F7/0672Special lock-activating tokens, serving as replacement of a payment or of a coin

Abstract

The invention discloses an intelligent shopping cart lock system based on the Internet of things. The shopping cart intelligent lock system based on the Internet of things greatly reduces the dependence on a network when the shopping cart intelligent lock is unlocked, fully utilizes the Bluetooth technology to unlock the shopping cart intelligent lock, greatly improves the checking range and the checking quantity of shopping carts, can also improve the checking efficiency well, can judge whether the shopping cart intelligent lock needs to be maintained according to the checking result, greatly improves the utilization rate of human resources, and better promotes the development and progress of the industry.

Description

Shopping cart intelligent lock system based on Internet of things
Technical Field
The invention belongs to the field of intellectualization, and particularly relates to an intelligent shopping cart lock system based on the Internet of things.
Background
The shopping cart is a shopping tool which is widely used by the current merchants, so that the shopping cart is convenient for customers to use and the merchants manage the shopping cart, the behavior of taking and returning the shopping cart by the customers is standardized, and a lock is usually installed on a pushing handle of the shopping cart. Present common tool to lock is the coin lock, and the customer uses the monobasic coin to unblank when getting the car, returns the car and pushes away the car to appointed parking point lock car back monobasic coin auto-eject, and the car is accomplished still, realizes the management to the shopping cart through monobasic coin and lock. The intelligent lock for the unary coin shopping cart mainly has the following defects:
1. when the vehicle is taken, a one-yuan coin is needed, which is inconvenient for people who are not provided with coins frequently;
2. with the adjustment of the coin specification, the currently laid coin lock can not be used normally any more;
3. fine management, no data and no record can be achieved.
In order to be more fit with the progress of the society and facilitate the management and statistics of shopping carts by supermarkets, an intelligent lock system is designed to meet the requirements of supermarkets and consumers.
Disclosure of Invention
The invention aims to overcome the problems and provides an intelligent shopping cart lock system based on the Internet of things, which greatly reduces the dependence on a network when the intelligent shopping cart lock is unlocked, fully utilizes the Bluetooth technology to unlock the intelligent shopping cart lock, greatly improves the checking range and the checking quantity of shopping carts, can also improve the checking efficiency well, can judge whether the intelligent shopping cart lock needs to be maintained according to the checking result, greatly improves the utilization rate of human resources, and better promotes the development and progress of the industry.
The purpose of the invention is realized by the following technical scheme:
the shopping cart intelligent lock system based on the Internet of things is composed of a shopping cart intelligent lock, a gateway, a mobile phone end and a platform server;
the shopping cart intelligent lock is fixedly installed on a shopping cart so as to realize physical locking of the shopping cart, the shopping cart intelligent lock is formed by metal die casting, a motor-driven locking/unlocking mechanism, a power supply battery and a control circuit board PCBA are arranged in the shopping cart intelligent lock, a two-dimensional code is further arranged on the outer side of the shopping cart intelligent lock body, and the shopping cart intelligent lock can be in Bluetooth communication with a gateway or a mobile phone end;
the gateway is used for collecting data information of the shopping cart intelligent lock, issuing a locking and unlocking instruction, performing inventory execution and reporting inventory data, adopts 12v direct current power supply, simultaneously has three wireless communication modes of Bluetooth 4.2+ wifi +4G, can be communicated with the shopping cart intelligent lock through Bluetooth and is communicated with the platform server through a wireless network;
the mobile phone end is an intelligent communication device provided with app, can be connected with the shopping cart intelligent lock through Bluetooth and can also be connected with the platform server through a wireless network;
the platform server is used for being connected with the wireless network rain gateway, receiving data information fed back by the gateway, giving an instruction to the gateway and being connected with the mobile phone end through the wireless network.
Shopping cart intelligence lock system based on thing networking possesses password function of unblanking, bluetooth function of unblanking, shopping cart intelligence lock state real-time statistics function and check function.
The password unlocking function is realized through the following steps:
(11) inputting information of the intelligent shopping cart lock into the platform server, integrating the information of the intelligent shopping cart lock into the two-dimensional code, and storing the information of the intelligent shopping cart lock in a database of the platform server after matching the information of the intelligent shopping cart lock with an unlocking password;
(12) a consumer scans a two-dimensional code arranged on an intelligent shopping cart lock through a mobile phone end to read information in the two-dimensional code;
(13) the mobile phone end is in wireless connection with the platform server, and sends information obtained by scanning the two-dimensional code to the platform server;
(14) the platform server reads a corresponding unlocking password in a database according to the information of the shopping cart intelligent lock sent by the mobile phone terminal;
(15) the platform server feeds the read unlocking password back to the mobile phone terminal;
(16) a consumer manually inputs a password on the intelligent shopping cart lock according to an unlocking password displayed by the mobile phone end;
(17) the shopping cart intelligent lock judges whether the password manually input by the consumer is correct or not, if the password is correct, unlocking operation is carried out, and if the password is wrong, the consumer is informed in a buzzer manner.
The Bluetooth unlocking function is realized through the following steps:
(21) integrate MAC address of shopping cart intelligence lock in two-dimensional code
(22) Scanning the two-dimensional code by a mobile phone end;
(23) the mobile phone end reads the scanned two-dimensional code to obtain an MAC address of the shopping cart intelligent lock;
(24) the mobile phone end calculates an unlocking password of the intelligent shopping cart lock according to the MAC address;
(25) the mobile phone end is in Bluetooth connection with the shopping cart intelligent lock and sends an unlocking instruction;
(26) the shopping cart intelligent lock responds to the unlocking instruction to unlock;
(27) and unlocking the intelligent lock of the shopping cart, simultaneously feeding back unlocking information to the mobile phone end, and recording the unlocking state.
The method for calculating the unlocking password of the intelligent shopping cart lock in the step (24) comprises the following steps:
MAC_byte=((MAC[0]+MAC[1]+MAC[2]+MAC[3]+MAC[4]+MAC[5])*5)&0xFF;
p1=((MAC_byte>>0)&0x3)+1;
p2=((MAC_byte>>2)&0x3)+1;
p3=((MAC_byte>>4)&0x3)+1;
p4=((MAC_byte>>6)&0x3)+1;
the P1, P2, P3 and P4 are 4-bit unlocking passwords, and the calculation method does not need to depend on a mobile network, so that the method can be used as a reliable auxiliary unlocking mode to ensure the unlocking reliability.
The specific unlocking method in the step (25) comprises the following steps:
(251) the mobile phone end generates service and establishes a handle corresponding table;
(252) the mobile phone end establishes a handle and MAC address corresponding table;
(253) searching a space broadcast signal by a mobile phone terminal;
(254) the mobile phone end filters out an appointed MAC address in the space broadcast signal according to the established handle and MAC address corresponding table;
(255) the mobile phone end finds a corresponding handle in the established corresponding table of the handle and the MAC address according to the MAC address;
(256) and the mobile phone end sends an unlocking instruction to the shopping cart intelligent lock matched with the MAC address according to the handle and the unlocking password.
And (27) if the unlocking is failed, feeding back failure information to the mobile phone end, and after receiving the failure information, the mobile phone end unlocks through the password unlocking function.
The real-time statistics function of shopping cart intelligence lock state is realized through the broadcast signal of gateway monitoring shopping cart intelligence lock, specifically does:
defining the complete locking and unlocking process of the intelligent shopping cart lock as an unlocking state, a locking state, an unlocking event and a locking event, wherein the state is the unlocking event state within 30s of the opened intelligent shopping cart lock; after 30s of opening the intelligent shopping cart lock, the state is an unlocked state; in 30s after the intelligent lock of the shopping cart is closed, the state is a locking event state; after 30s, the intelligent lock of the shopping cart is closed, the lock state is a closed lock state; the shopping cart intelligent lock can broadcast outwards through the broadcast signal when being in the four states, and the gateway can realize real-time statistics of the state of the shopping cart intelligent lock according to the broadcast signal.
The checking function is realized by the following specific steps:
(31) an initial checking time is preset in the shopping cart intelligent lock and the gateway when the shopping cart intelligent lock and the gateway leave a factory, and an initial scanning waiting time is set in the gateway;
(32) a user adjusts the whole inventory time of the shopping cart intelligent lock and the gateway and the scanning waiting time of the gateway according to the requirement through the platform server;
(33) the gateway establishes connection with the platform server at the initial inventory time, enters a scanning state, and receives an inventory time adjusting instruction and a scanning waiting time instruction sent by the platform server;
(34) the shopping cart intelligent lock starts a broadcast state at the initial checking time and broadcasts broadcast data outwards;
(35) the gateway receives broadcast data of the shopping cart intelligent lock and performs Bluetooth connection with one shopping cart intelligent lock according to the broadcast data, after the gateway is in Bluetooth connection with the shopping cart intelligent lock, if an instruction for adjusting checking time sent by the platform server is received, the instruction for adjusting checking time is sent to the shopping cart intelligent lock and an instruction is issued to enable the shopping cart intelligent lock to stop broadcasting to enter a standby state, and if the instruction for adjusting checking time sent by the platform server is not received, the instruction is directly issued to enable the shopping cart intelligent lock to stop broadcasting to enter the standby state;
(36) the gateway repeats the step (5) until all shopping cart intelligent locks in the coverage area of the gateway enter a standby state, and then the step (7) is carried out;
(37) the gateway enters scanning waiting time, continues scanning the broadcast signals in the scanning waiting time, returns to the step (5) if new broadcast signals are scanned in the scanning waiting time, stops scanning the broadcast signals if new broadcast signals are not scanned in the scanning waiting time, and enters the step (8);
(38) the gateway sorts and summarizes the received broadcast data of the shopping cart intelligent lock and then sends the broadcast data to the platform server.
In the step (31), the awakening time of the intelligent shopping cart lock is set so that the intelligent shopping cart lock can be automatically started and a user can be connected with the intelligent shopping cart lock through intelligent equipment;
the scanning interval time of the gateway in the step (33) is 10 ms;
the broadcast data of the shopping cart intelligent lock in the step (34) are serial numbers, MAC addresses, electric quantity, locking and unlocking states and opening times of the day;
and (5) determining the connection sequence of the gateway and the shopping cart intelligent lock in the step (35) according to the strength of the broadcast signal, and firstly connecting the gateway and the shopping cart intelligent lock with stronger broadcast signal strength.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the intelligent lock unlocking method greatly reduces the dependence on the network when the intelligent lock of the shopping cart is unlocked, fully utilizes the Bluetooth technology to unlock the intelligent lock of the shopping cart, greatly improves the checking range and the checking quantity of the shopping cart, can also improve the checking efficiency well, can judge whether the intelligent lock of the shopping cart needs to be maintained according to the checking result, greatly improves the utilization rate of human resources, and better promotes the development and progress of the industry.
Drawings
FIG. 1 is a block diagram of the system of the present invention.
Fig. 2 is a block diagram of the implementation steps of the password unlocking function of the present invention.
Fig. 3 is a block diagram of the steps for implementing the bluetooth unlocking function of the present invention.
Fig. 4 is a block diagram of the steps for implementing the inventory function of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1
As shown in fig. 1, the shopping cart intelligent lock system based on the internet of things is composed of a shopping cart intelligent lock, a gateway, a mobile phone terminal and a platform server;
the shopping cart intelligent lock is fixedly installed on a shopping cart so as to realize physical locking of the shopping cart, the shopping cart intelligent lock is formed by metal die casting, a motor-driven locking/unlocking mechanism, a power supply battery and a control circuit board PCBA are arranged in the shopping cart intelligent lock, a two-dimensional code is further arranged on the outer side of the shopping cart intelligent lock body, and the shopping cart intelligent lock can be in Bluetooth communication with a gateway or a mobile phone end;
the gateway is used for collecting data information of the shopping cart intelligent lock, issuing a locking and unlocking instruction, performing inventory execution and reporting inventory data, adopts 12v direct current power supply, simultaneously has three wireless communication modes of Bluetooth 4.2+ wifi +4G, can be communicated with the shopping cart intelligent lock through Bluetooth and is communicated with the platform server through a wireless network;
the mobile phone end is an intelligent communication device provided with app, can be connected with the shopping cart intelligent lock through Bluetooth and can also be connected with the platform server through a wireless network;
the platform server is used for being connected with the wireless network rain gateway, receiving data information fed back by the gateway, giving an instruction to the gateway and being connected with the mobile phone end through the wireless network.
Shopping cart intelligence lock system based on thing networking possesses password function of unblanking, bluetooth function of unblanking, shopping cart intelligence lock state real-time statistics function and check function.
Example 2
As shown in fig. 2, the password unlocking function described in the present application is implemented by the following steps:
(11) inputting information of the intelligent shopping cart lock into the platform server, integrating the information of the intelligent shopping cart lock into the two-dimensional code, and storing the information of the intelligent shopping cart lock in a database of the platform server after matching the information of the intelligent shopping cart lock with an unlocking password;
(12) a consumer scans a two-dimensional code arranged on an intelligent shopping cart lock through a mobile phone end to read information in the two-dimensional code;
(13) the mobile phone end is in wireless connection with the platform server, and sends information obtained by scanning the two-dimensional code to the platform server;
(14) the platform server reads a corresponding unlocking password in a database according to the information of the shopping cart intelligent lock sent by the mobile phone terminal;
(15) the platform server feeds the read unlocking password back to the mobile phone terminal;
(16) a consumer manually inputs a password on the intelligent shopping cart lock according to an unlocking password displayed by the mobile phone end;
(17) the shopping cart intelligent lock judges whether the password manually input by the consumer is correct or not, if the password is correct, unlocking operation is carried out, and if the password is wrong, the consumer is informed in a buzzer manner.
Example 3
As shown in fig. 3, the bluetooth unlocking function described in the present application is implemented by the following steps:
(21) integrate MAC address of shopping cart intelligence lock in two-dimensional code
(22) Scanning the two-dimensional code by a mobile phone end;
(23) the mobile phone end reads the scanned two-dimensional code to obtain an MAC address of the shopping cart intelligent lock;
(24) the mobile phone end calculates an unlocking password of the intelligent shopping cart lock according to the MAC address;
the method for calculating the unlocking password of the intelligent shopping cart lock comprises the following steps:
MAC_byte=((MAC[0]+MAC[1]+MAC[2]+MAC[3]+MAC[4]+MAC[5])*5)&0xFF;
p1=((MAC_byte>>0)&0x3)+1;
p2=((MAC_byte>>2)&0x3)+1;
p3=((MAC_byte>>4)&0x3)+1;
p4=((MAC_byte>>6)&0x3)+1;
the P1, P2, P3 and P4 are 4-bit unlocking passwords, and the calculation method does not need to depend on a mobile network, so that the method can be used as a reliable auxiliary unlocking mode to ensure the unlocking reliability.
(25) The mobile phone end is in Bluetooth connection with the shopping cart intelligent lock and sends an unlocking instruction;
the specific unlocking method comprises the following steps:
(251) the mobile phone end generates service and establishes a handle corresponding table;
(252) the mobile phone end establishes a handle and MAC address corresponding table;
(253) searching a space broadcast signal by a mobile phone terminal;
(254) the mobile phone end filters out an appointed MAC address in the space broadcast signal according to the established handle and MAC address corresponding table;
(255) the mobile phone end finds a corresponding handle in the established corresponding table of the handle and the MAC address according to the MAC address;
(256) and the mobile phone end sends an unlocking instruction to the shopping cart intelligent lock matched with the MAC address according to the handle and the unlocking password.
(26) The shopping cart intelligent lock responds to the unlocking instruction to unlock;
(27) and unlocking the intelligent lock of the shopping cart, simultaneously feeding back unlocking information to the mobile phone end, and recording the unlocking state.
If the unlocking is failed, the failure information is fed back to the mobile phone end, and the mobile phone end unlocks through the password unlocking function after receiving the failure information.
Example 4
The application the real-time statistical function of shopping cart intelligence lock state realize through the broadcast signal of gateway monitoring shopping cart intelligence lock, specifically do:
defining the complete locking and unlocking process of the intelligent shopping cart lock as an unlocking state, a locking state, an unlocking event and a locking event, wherein the state is the unlocking event state within 30s of the opened intelligent shopping cart lock; after 30s of opening the intelligent shopping cart lock, the state is an unlocked state; in 30s after the intelligent lock of the shopping cart is closed, the state is a locking event state; after 30s, the intelligent lock of the shopping cart is closed, the lock state is a closed lock state; the shopping cart intelligent lock can broadcast outwards through the broadcast signal when being in the four states, and the gateway can realize real-time statistics of the state of the shopping cart intelligent lock according to the broadcast signal.
Example 5
As shown in fig. 4, the specific implementation steps of the checking function described in this application are:
(31) an initial checking time is preset in the shopping cart intelligent lock and the gateway when the shopping cart intelligent lock and the gateway leave a factory, and an initial scanning waiting time is set in the gateway;
the initial inventory time is set at the factory, typically 11 pm: about 30, since most shopping malls and supermarkets are closed during this time period, the shopping cart is basically closed during this time period.
The specific data storage and calling methods are prior art in the field, and are not described herein again.
The initial scanning waiting time generally refers to the continuous working time of the gateway after the last shopping cart lock is scanned and data transmission is completed, the initially set scanning waiting time is generally 6 minutes, and in the time, the gateway can complete re-scanning within the range of 30 meters by taking the gateway as a circle center.
In the step, the awakening time of the intelligent shopping cart lock is set, so that the intelligent shopping cart lock is started automatically, and a user is connected with the intelligent shopping cart lock through intelligent equipment;
(32) a user adjusts the whole inventory time of the shopping cart intelligent lock and the gateway and the scanning waiting time of the gateway according to the requirement through the platform server;
when the time arrives, the shopping cart intelligent lock broadcasts outwards, and the gateway collects the broadcast data at the time. For example, if some supermarkets are 24-hour business supermarkets, the supermarkets need to adjust the counting time and the awakening time according to the business hours of the supermarkets. There are also some supermarkets that are closed later, e.g. more than 11: 30, that can adjust the inventorying time to 12: 00 or even later. The scanning waiting time can be adjusted according to the supermarket environment, for example, the supermarket shelves are dense, the number of metal structural members is large, the environment is complex, and the scanning waiting time can be properly prolonged to 10 minutes, for example, to ensure that the inventory is not missed.
(33) The gateway establishes connection with the platform server at the initial inventory time, enters a scanning state, and receives an inventory time adjusting instruction and a scanning waiting time instruction sent by the platform server;
the scanning interval time of the gateway is 10 ms; the scanning interval time of 10ms can quickly and accurately scan the broadcast signal of the intelligent lock of the shopping cart in the environment, so that the successful checking is ensured, and the checking efficiency is high;
(34) the shopping cart intelligent lock starts a broadcast state at the initial checking time and broadcasts broadcast data outwards;
the broadcast data of the shopping cart intelligent lock is a serial number, an MAC address, electric quantity, a locking and unlocking state and the opening times of the current day;
(35) the gateway receives broadcast data of the shopping cart intelligent lock and performs Bluetooth connection with one shopping cart intelligent lock according to the broadcast data, after the gateway is in Bluetooth connection with the shopping cart intelligent lock, if an instruction for adjusting checking time sent by the platform server is received, the instruction for adjusting checking time is sent to the shopping cart intelligent lock and an instruction is issued to enable the shopping cart intelligent lock to stop broadcasting to enter a standby state, and if the instruction for adjusting checking time sent by the platform server is not received, the instruction is directly issued to enable the shopping cart intelligent lock to stop broadcasting to enter the standby state;
after the shopping cart intelligent lock receives the instruction of adjusting the checking time, the time for starting the broadcast state next time can be carried out at the adjusted time point. The gateway will also take inventory at the corresponding time.
The connection sequence of the gateway and the shopping cart intelligent lock is determined according to the strength of the broadcast signal, the gateway is firstly connected with the shopping cart intelligent lock with stronger broadcast signal strength, and if the shopping cart intelligent lock with the same broadcast signal strength appears, any shopping cart intelligent lock is randomly extracted to be connected.
The connection sequence of the gateway and the shopping cart intelligent lock is determined according to the strength of the broadcast signal, and the gateway is firstly connected with the shopping cart intelligent lock with stronger broadcast signal strength; if the shopping cart intelligent locks with the same broadcast signal intensity appear, randomly drawing any shopping cart intelligent lock for connection;
(36) the gateway repeats the step (5) until all shopping cart intelligent locks in the coverage area of the gateway enter a standby state, and then the step (7) is carried out;
(37) the gateway enters scanning waiting time, continues scanning the broadcast signals in the scanning waiting time, returns to the step (5) if new broadcast signals are scanned in the scanning waiting time, stops scanning the broadcast signals if new broadcast signals are not scanned in the scanning waiting time, and enters the step (8);
(38) the gateway sorts and summarizes the received broadcast data of the shopping cart intelligent lock and then sends the broadcast data to the platform server.
As described above, the present invention can be preferably realized.

Claims (10)

1. Shopping cart intelligence lock system based on thing networking, its characterized in that: the shopping cart intelligent lock is composed of a shopping cart intelligent lock, a gateway, a mobile phone end and a platform server;
the shopping cart intelligent lock is fixedly installed on a shopping cart so as to realize physical locking of the shopping cart, the shopping cart intelligent lock is formed by metal die casting, a motor-driven locking/unlocking mechanism, a power supply battery and a control circuit board PCBA are arranged in the shopping cart intelligent lock, a two-dimensional code is further arranged on the outer side of the shopping cart intelligent lock body, and the shopping cart intelligent lock can be in Bluetooth communication with a gateway or a mobile phone end;
the gateway is used for collecting data information of the shopping cart intelligent lock, issuing a locking and unlocking instruction, performing inventory execution and reporting inventory data, adopts 12v direct current power supply, simultaneously has three wireless communication modes of Bluetooth 4.2+ wifi +4G, can be communicated with the shopping cart intelligent lock through Bluetooth and is communicated with the platform server through a wireless network;
the mobile phone end is an intelligent communication device provided with app, can be connected with the shopping cart intelligent lock through Bluetooth and can also be connected with the platform server through a wireless network;
the platform server is used for being connected with the wireless network rain gateway, receiving data information fed back by the gateway, giving an instruction to the gateway and being connected with the mobile phone end through the wireless network.
2. The internet of things-based shopping cart intelligent lock system of claim 1, wherein: shopping cart intelligence lock system based on thing networking possesses password function of unblanking, bluetooth function of unblanking, shopping cart intelligence lock state real-time statistics function and check function.
3. The internet of things-based shopping cart intelligent lock system of claim 2, wherein: the password unlocking function is realized through the following steps:
(11) inputting information of the intelligent shopping cart lock into the platform server, integrating the information of the intelligent shopping cart lock into the two-dimensional code, and storing the information of the intelligent shopping cart lock in a database of the platform server after matching the information of the intelligent shopping cart lock with an unlocking password;
(12) a consumer scans a two-dimensional code arranged on an intelligent shopping cart lock through a mobile phone end to read information in the two-dimensional code;
(13) the mobile phone end is in wireless connection with the platform server, and sends information obtained by scanning the two-dimensional code to the platform server;
(14) the platform server reads a corresponding unlocking password in a database according to the information of the shopping cart intelligent lock sent by the mobile phone terminal;
(15) the platform server feeds the read unlocking password back to the mobile phone terminal;
(16) a consumer manually inputs a password on the intelligent shopping cart lock according to an unlocking password displayed by the mobile phone end;
(17) the shopping cart intelligent lock judges whether the password manually input by the consumer is correct or not, if the password is correct, unlocking operation is carried out, and if the password is wrong, the consumer is informed in a buzzer manner.
4. The internet of things-based shopping cart intelligent lock system as claimed in claim 3, wherein: the Bluetooth unlocking function is realized through the following steps:
(21) integrate MAC address of shopping cart intelligence lock in two-dimensional code
(22) Scanning the two-dimensional code by a mobile phone end;
(23) the mobile phone end reads the scanned two-dimensional code to obtain an MAC address of the shopping cart intelligent lock;
(24) the mobile phone end calculates an unlocking password of the intelligent shopping cart lock according to the MAC address;
(25) the mobile phone end is in Bluetooth connection with the shopping cart intelligent lock and sends an unlocking instruction;
(26) the shopping cart intelligent lock responds to the unlocking instruction to unlock;
(27) and unlocking the intelligent lock of the shopping cart, simultaneously feeding back unlocking information to the mobile phone end, and recording the unlocking state.
5. The internet of things-based shopping cart intelligent lock system according to claim 4, wherein: the method for calculating the unlocking password of the intelligent shopping cart lock in the step (24) comprises the following steps:
MAC_byte=((MAC[0]+MAC[1]+MAC[2]+MAC[3]+MAC[4]+MAC[5])*5)&0xFF;
p1=((MAC_byte>>0)&0x3)+1;
p2=((MAC_byte>>2)&0x3)+1;
p3=((MAC_byte>>4)&0x3)+1;
p4=((MAC_byte>>6)&0x3)+1;
the P1, P2, P3 and P4 are 4-bit unlocking passwords, and the calculation method does not need to depend on a mobile network, so that the method can be used as a reliable auxiliary unlocking mode to ensure the unlocking reliability.
6. The internet of things-based shopping cart intelligent lock system of claim 5, wherein: the specific unlocking method in the step (25) comprises the following steps:
(251) the mobile phone end generates service and establishes a handle corresponding table;
(252) the mobile phone end establishes a handle and MAC address corresponding table;
(253) searching a space broadcast signal by a mobile phone terminal;
(254) the mobile phone end filters out an appointed MAC address in the space broadcast signal according to the established handle and MAC address corresponding table;
(255) the mobile phone end finds a corresponding handle in the established corresponding table of the handle and the MAC address according to the MAC address;
(256) and the mobile phone end sends an unlocking instruction to the shopping cart intelligent lock matched with the MAC address according to the handle and the unlocking password.
7. The internet of things-based shopping cart intelligent lock system of claim 6, wherein: and (27) if the unlocking is failed, feeding back failure information to the mobile phone end, and after receiving the failure information, the mobile phone end unlocks through the password unlocking function.
8. The internet of things-based shopping cart intelligent lock system of claim 7, wherein: the real-time statistics function of shopping cart intelligence lock state is realized through the broadcast signal of gateway monitoring shopping cart intelligence lock, specifically does:
defining the complete locking and unlocking process of the intelligent shopping cart lock as an unlocking state, a locking state, an unlocking event and a locking event, wherein the state is the unlocking event state within 30s of the opened intelligent shopping cart lock; after 30s of opening the intelligent shopping cart lock, the state is an unlocked state; in 30s after the intelligent lock of the shopping cart is closed, the state is a locking event state; after 30s, the intelligent lock of the shopping cart is closed, the lock state is a closed lock state; the shopping cart intelligent lock can broadcast outwards through the broadcast signal when being in the four states, and the gateway can realize real-time statistics of the state of the shopping cart intelligent lock according to the broadcast signal.
9. The internet of things-based shopping cart intelligent lock system of claim 8, wherein: the checking function is realized by the following specific steps:
(31) an initial checking time is preset in the shopping cart intelligent lock and the gateway when the shopping cart intelligent lock and the gateway leave a factory, and an initial scanning waiting time is set in the gateway;
(32) a user adjusts the whole inventory time of the shopping cart intelligent lock and the gateway and the scanning waiting time of the gateway according to the requirement through the platform server;
(33) the gateway establishes connection with the platform server at the initial inventory time, enters a scanning state, and receives an inventory time adjusting instruction and a scanning waiting time instruction sent by the platform server;
(34) the shopping cart intelligent lock starts a broadcast state at the initial checking time and broadcasts broadcast data outwards;
(35) the gateway receives broadcast data of the shopping cart intelligent lock and performs Bluetooth connection with one shopping cart intelligent lock according to the broadcast data, after the gateway is in Bluetooth connection with the shopping cart intelligent lock, if an instruction for adjusting checking time sent by the platform server is received, the instruction for adjusting checking time is sent to the shopping cart intelligent lock and an instruction is issued to enable the shopping cart intelligent lock to stop broadcasting to enter a standby state, and if the instruction for adjusting checking time sent by the platform server is not received, the instruction is directly issued to enable the shopping cart intelligent lock to stop broadcasting to enter the standby state;
(36) the gateway repeats the step (5) until all shopping cart intelligent locks in the coverage area of the gateway enter a standby state, and then the step (7) is carried out;
(37) the gateway enters scanning waiting time, continues scanning the broadcast signals in the scanning waiting time, returns to the step (5) if new broadcast signals are scanned in the scanning waiting time, stops scanning the broadcast signals if new broadcast signals are not scanned in the scanning waiting time, and enters the step (8);
(38) the gateway sorts and summarizes the received broadcast data of the shopping cart intelligent lock and then sends the broadcast data to the platform server.
10. The internet of things-based shopping cart smart lock system of claim 9, wherein: in the step (31), the awakening time of the intelligent shopping cart lock is set so that the intelligent shopping cart lock can be automatically started and a user can be connected with the intelligent shopping cart lock through intelligent equipment;
the scanning interval time of the gateway in the step (33) is 10 ms;
the broadcast data of the shopping cart intelligent lock in the step (34) are serial numbers, MAC addresses, electric quantity, locking and unlocking states and opening times of the day;
and (5) determining the connection sequence of the gateway and the shopping cart intelligent lock in the step (35) according to the strength of the broadcast signal, and firstly connecting the gateway and the shopping cart intelligent lock with stronger broadcast signal strength.
CN202010055237.5A 2020-01-17 2020-01-17 Shopping cart intelligent lock system based on Internet of things Active CN111223213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010055237.5A CN111223213B (en) 2020-01-17 2020-01-17 Shopping cart intelligent lock system based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010055237.5A CN111223213B (en) 2020-01-17 2020-01-17 Shopping cart intelligent lock system based on Internet of things

Publications (2)

Publication Number Publication Date
CN111223213A true CN111223213A (en) 2020-06-02
CN111223213B CN111223213B (en) 2021-07-09

Family

ID=70826734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010055237.5A Active CN111223213B (en) 2020-01-17 2020-01-17 Shopping cart intelligent lock system based on Internet of things

Country Status (1)

Country Link
CN (1) CN111223213B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113869467A (en) * 2020-09-04 2021-12-31 孙继国 Shopping cart lock and shopping cart navigation system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971442A (en) * 2017-05-03 2017-07-21 河南传通电子科技有限公司 A kind of safe and intelligent lock system
CN207008816U (en) * 2017-08-01 2018-02-13 南京亿猫信息技术有限公司 A kind of Supermarket check system
CA2953918A1 (en) * 2017-01-09 2018-07-09 Gerald A. Hohl Sure stop shopping cart brake activation
CN109146386A (en) * 2018-09-06 2019-01-04 杭州纳戒科技有限公司 Control method, device and the electronic equipment of shopping cart
CN109493501A (en) * 2019-01-14 2019-03-19 深圳前海微众银行股份有限公司 Shopping cart electronic lock, shopping cart electronic lock management system and management method
CN110491016A (en) * 2019-09-11 2019-11-22 深圳前海微众银行股份有限公司 Management system, method, equipment and the readable storage medium storing program for executing of shopping cart
WO2020069581A1 (en) * 2018-10-05 2020-04-09 Domenic Ammendolia Electronic trolley lock system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2953918A1 (en) * 2017-01-09 2018-07-09 Gerald A. Hohl Sure stop shopping cart brake activation
CN106971442A (en) * 2017-05-03 2017-07-21 河南传通电子科技有限公司 A kind of safe and intelligent lock system
CN207008816U (en) * 2017-08-01 2018-02-13 南京亿猫信息技术有限公司 A kind of Supermarket check system
CN109146386A (en) * 2018-09-06 2019-01-04 杭州纳戒科技有限公司 Control method, device and the electronic equipment of shopping cart
WO2020069581A1 (en) * 2018-10-05 2020-04-09 Domenic Ammendolia Electronic trolley lock system
CN109493501A (en) * 2019-01-14 2019-03-19 深圳前海微众银行股份有限公司 Shopping cart electronic lock, shopping cart electronic lock management system and management method
CN110491016A (en) * 2019-09-11 2019-11-22 深圳前海微众银行股份有限公司 Management system, method, equipment and the readable storage medium storing program for executing of shopping cart

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113869467A (en) * 2020-09-04 2021-12-31 孙继国 Shopping cart lock and shopping cart navigation system

Also Published As

Publication number Publication date
CN111223213B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN107221083B (en) Unattended electric automobile charging system and use method thereof
CN106097590B (en) Electric bicycle rental system and control method
US8417598B2 (en) Vehicle identification system, method and recharging station for electric vehicles
CN107128194B (en) Intelligent charging system
CN105303704A (en) Internet electric car charging point managing system and method
CN101916460A (en) Parking space management system based on mobile communication network and parking charge method
CN105427653B (en) A kind of system and method selecting parking position
CN103942889A (en) Unattended parking space self-service method and system based on mobile communication
CN106652218A (en) Time-sharing system and method for electric automobile and system service structure
CN104899982A (en) Intelligent deposit locker system, intelligent depositing method and device
CN106127548A (en) A kind of electric bicycle rental system and method
CN110856130A (en) Intelligent lock control system with base station and method
CN111223213B (en) Shopping cart intelligent lock system based on Internet of things
CN104217229A (en) High arousal sensitivity card, OBU, OBU component and communication method
CN109178072B (en) Supermarket shopping cart lock and management system
CN102467770B (en) Method, device and system for recharging by using voucher card
KR20190036112A (en) System for Managing Electric Vehicle Charging
CN107170054A (en) A kind of wireless intelligent remote controls berth lock
CN111369224A (en) Hotel self-service check-in registration management system
CN212447190U (en) Fill electric pile and fill electric pile communication system
CN111314860A (en) Shopping cart checking method based on Bluetooth technology
CN107403495A (en) A kind of cell gate inhibition intelligent management system and control method
CN208722259U (en) Car-hiring management system based on bluetooth
CN115782830A (en) Battery replacement method and device for electric equipment, electronic equipment and storage medium
CN115002678A (en) Electric vehicle charging identity wireless identification system

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Wenzhong

Inventor after: Ren Zhongwei

Inventor after: Liu Ran

Inventor after: Wang Qingping

Inventor after: Liu Hanche

Inventor after: Liu Wei

Inventor before: Zhang Wenzhong

Inventor before: Ren Zhongwei

Inventor before: Liu Ran

Inventor before: Wang Qingping