CN109544816A - Shopping lock unlocking method, terminal and readable storage medium storing program for executing - Google Patents

Shopping lock unlocking method, terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109544816A
CN109544816A CN201910034885.XA CN201910034885A CN109544816A CN 109544816 A CN109544816 A CN 109544816A CN 201910034885 A CN201910034885 A CN 201910034885A CN 109544816 A CN109544816 A CN 109544816A
Authority
CN
China
Prior art keywords
lock
unlocking
shopping
target
information
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.)
Pending
Application number
CN201910034885.XA
Other languages
Chinese (zh)
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 CN201910034885.XA priority Critical patent/CN109544816A/en
Publication of CN109544816A publication Critical patent/CN109544816A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Abstract

The invention discloses a kind of shopping lock unlocking methods, this method comprises: obtaining the lock information of the corresponding target shopping lock of two dimensional code when detecting the two dimensional code that scanning shopping cart is locked, and are generated based on the lock information and are shown unlocking interface;When detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether that the wireless communication having been established between target shopping lock is connect;If so, unlocking instruction is sent to the target shopping lock by wireless communication connection, unlock when receiving unlocking instruction for target shopping cart interlocking.The invention also discloses a kind of terminal and readable storage medium storing program for executing.The present invention can solve the problems, such as that user must use coin inconvenient, improve the shopping experience of user in such a way that two dimensional code barcode scanning unlocks supermarket shopping lock.

Description

Shopping lock unlocking method, terminal and readable storage medium storing program for executing
Technical field
The present invention relates to fields of communication technology, more particularly to shopping lock unlocking method, terminal and readable storage medium storing program for executing.
Background technique
The shopping cart in market can be used as the container use for holding commodity, user can be facilitated to do shopping, but existing shopping cart To prevent user from arbitrarily parking using rear, the technology of shopping lock is unlocked using unitary coin, stops shopping cart at the end of shopping It is put into shopping cart collective diamond, and coin can be popped up after being locked into shopping cart lock, this shopping lock user needs itself to take Band unitary coin, and coin is filled in shopping lock, lock can just be unlocked, if user does not carry unitary coin, also need Coin exchange area is gone to exchange, it is not only inconvenient to use, have an effect on the shopping experience of user.
Summary of the invention
It is a primary object of the present invention to propose a kind of shopping lock unlocking method, device and readable storage medium storing program for executing, it is intended to In such a way that two dimensional code barcode scanning unlocks supermarket shopping lock, solves the problems, such as that user must use coin inconvenient, improve The shopping experience of user.
To achieve the above object, the present invention provides a kind of shopping lock unlocking method, and described method includes following steps:
When detecting the two dimensional code that scanning shopping cart is locked, the lock letter of the corresponding target shopping lock of two dimensional code is obtained Breath, and generate based on the lock information and show unlocking interface;
When detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established and the target shopping cart Wireless communication connection between lock;
If so, unlocking instruction is sent to the target shopping lock by wireless communication connection, for target purchase Object lock is unlocked when receiving unlocking instruction.
Optionally, when detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established and the mesh After the step of wireless communication between buying tender object lock connects, the method also includes:
If it is not, unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment sends unlocking instruction To target shopping lock.
Optionally, described that unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment refers to unlocking Order was sent to after the step of target shopping lock, the method also includes:
When the wireless communication that confirmation has been established between target shopping lock is connect, connected by the wireless communication The unlocking information for receiving target shopping lock feedback, is generated based on the unlocking information and shows result prompting interface.
Optionally, described that unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment refers to unlocking Order was sent to after the step of target shopping lock, the method also includes:
When the wireless communication that confirmation does not set up between target shopping lock is connect, receives target shopping lock and pass through AP equipment is sent to the unlocking information of Cloud Server, is generated based on the unlocking information and shows result prompting interface.
Optionally, described that unlocking instruction is sent to the target shopping lock, so that target shopping cart interlocking receives out After the step of being unlocked when lock instruction, the method also includes
The unlocking information for receiving target shopping lock feedback is generated based on the unlocking information and shows that result prompts boundary Face.
Optionally, described when detecting the two dimensional code that scanning shopping cart is locked, obtain the corresponding target shopping of two dimensional code The lock information of lock, and generate based on the lock information and include: the step of showing unlocking interface
When detecting the two dimensional code that scanning shopping cart is locked, opens small routine and obtain the corresponding target shopping cart of two dimensional code The lock information of lock, and generate based on the lock information and show unlocking interface.
Optionally, when the unlocking instruction detected based on unlocking interface triggering, it is confirmed whether to have been established and institute Stating the step of wireless communication between target shopping lock connects includes:
When detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established and the target shopping cart Bluetooth communication connection or NFC communication connection between lock.
Optionally, it is connected by the wireless communication and unlocking instruction is sent to the target shopping lock, for target After the step of shopping cart interlocking is unlocked when receiving unlocking instruction further include:
The lock closing information that target shopping lock is sent is received, is generated based on the closing information and shows closing prompt Interface.
In addition, to achieve the above object, the present invention also provides a kind of terminal, the terminal include: memory, processor and The shopping lock unlocking program that is stored on the memory and can run on the processor, the shopping lock unlock journey The step of shopping lock unlocking method as described above is realized when sequence is executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Shopping lock unlocking program is contained, shopping lock as described above is realized when the shopping lock unlocking program is executed by processor The step of unlocking method.
The present invention obtains the corresponding target shopping lock of two dimensional code when detecting the two dimensional code that scanning shopping cart is locked Lock information, and generate based on the lock information and show unlocking interface;Detect opening based on unlocking interface triggering When lock instruction, it is confirmed whether that the wireless communication having been established between target shopping lock is connect;If so, by described wireless Unlocking instruction is sent to the target shopping lock by communication connection, so that target shopping cart interlocking receives unlocking instruction when progress It unlocks.By the above-mentioned means, the two dimensional code that the present invention can be locked by scanning shopping cart, opens shopping lock, and then unlock Shopping cart is for users to use, convenient and efficient, and it is inconvenient to solve the problems, such as that user must use coin to unlock, improves user's Shopping experience.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of present invention shopping lock unlocking method first embodiment;
Fig. 3 is the flow diagram of present invention shopping lock unlocking method second embodiment;
Fig. 4 is the flow diagram of present invention shopping lock unlocking method 3rd embodiment;
Fig. 5 is the flow diagram of present invention shopping lock unlocking method fourth embodiment;
Fig. 6 is the flow diagram of present invention shopping the 5th embodiment of lock unlocking method;
Fig. 7 is the flow diagram of present invention shopping lock unlocking method sixth embodiment;
Fig. 8 is the flow diagram of present invention shopping the 7th embodiment of lock unlocking method;
Fig. 9 is the flow diagram of present invention shopping the 8th embodiment of lock unlocking method.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting the two dimensional code that scanning shopping cart is locked, obtaining two The lock information of the corresponding target shopping lock of code is tieed up, and generates based on the lock information and shows unlocking interface;It detects When unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established the channel radio between target shopping lock Letter connection;If so, unlocking instruction is sent to the target shopping lock by wireless communication connection, for target shopping Lock is unlocked when receiving unlocking instruction.
Existing shopping cart is to prevent user from arbitrarily parking using rear, and the technology of shopping lock is unlocked using unitary coin, This shopping lock user needs self-contained unitary coin, and coin is filled in shopping lock, and lock can just be unlocked, if user When not carrying unitary coin, also Xu Qu coin exchange area is exchanged, not only inconvenient to use, has an effect on the shopping experience of user.
The present invention can open shopping lock by scanning the two dimensional code that lock of shopping cart, so unlock shopping cart for Family uses, convenient and efficient, and it is inconvenient to solve the problems, such as that user must use coin to unlock, improves the shopping experience of user.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 3) player, portable computer Etc. packaged type terminal device having a display function.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Preferably, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when terminal is moved in one's ear.As movement One kind of sensor, gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, when static Size and the direction that can detect that gravity can be used to identify application (such as the horizontal/vertical screen switching, dependent game, magnetic of terminal posture Power meter pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, terminal can also configure gyroscope, gas The other sensors such as meter, hygrometer, thermometer, infrared sensor are pressed, details are not described herein.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium Block, Subscriber Interface Module SIM and shopping lock unlocking program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the shopping lock unlocking program stored in memory 1005, and execute following operation:
When detecting the two dimensional code that scanning shopping cart is locked, the lock letter of the corresponding target shopping lock of two dimensional code is obtained Breath, and generate based on the lock information and show unlocking interface;
When detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established and the target shopping cart Wireless communication connection between lock;
If so, unlocking instruction is sent to the target shopping lock by wireless communication connection, for target purchase Object lock is unlocked when receiving unlocking instruction.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: when detecting the unlocking instruction based on unlocking interface triggering, being confirmed whether to have been established and do shopping with the target After the step of wireless communication between lock connects, the method also includes:
If it is not, unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment sends unlocking instruction To target shopping lock.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: it is described that unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment sends unlocking instruction After the step of doing shopping lock to the target, the method also includes:
When the wireless communication that confirmation has been established between target shopping lock is connect, connected by the wireless communication The unlocking information for receiving target shopping lock feedback, is generated based on the unlocking information and shows result prompting interface.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: it is described that unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment sends unlocking instruction After the step of doing shopping lock to the target, the method also includes:
When the wireless communication that confirmation does not set up between target shopping lock is connect, receives target shopping lock and pass through AP equipment is sent to the unlocking information of Cloud Server, is generated based on the unlocking information and shows result prompting interface.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: it is described that unlocking instruction is sent to the target shopping lock, so that target shopping cart interlocking receives unlocking instruction After the step of Shi Jinhang unlocks, the method also includes
The unlocking information for receiving target shopping lock feedback is generated based on the unlocking information and shows that result prompts boundary Face.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: it is described when detecting the two dimensional code that scanning shopping cart is locked, obtain the corresponding target shopping lock of two dimensional code Lock information, and generate based on the lock information and include: the step of showing unlocking interface
When detecting the two dimensional code that scanning shopping cart is locked, opens small routine and obtain the corresponding target shopping cart of two dimensional code The lock information of lock, and generate based on the lock information and show unlocking interface.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: when the unlocking instruction detected based on unlocking interface triggering, being confirmed whether to have been established and the target Shopping lock between wireless communication connection the step of include:
When detecting the unlocking instruction based on unlocking interface triggering, it is confirmed whether to have been established and the target shopping cart Bluetooth communication connection or NFC communication connection between lock.
Further, processor 1001 can call the shopping lock unlocking program stored in memory 1005, also execute It operates below: unlocking instruction being sent to by the target shopping lock by wireless communication connection, for target shopping cart After the step of interlocking is unlocked when receiving unlocking instruction further include:
The lock closing information that target shopping lock is sent is received, is generated based on the closing information and shows closing prompt Interface.
Based on above-mentioned hardware configuration, embodiment of the present invention method is proposed.
It is the flow diagram of present invention shopping lock unlocking method first embodiment, the method packet referring to Fig. 2, Fig. 2 It includes:
Step S10 obtains the corresponding target shopping lock of two dimensional code when detecting the two dimensional code that scanning shopping cart is locked Lock information, and generate and show unlocking interface based on the lock information;
In embodiment, shopping lock is set on shopping cart, and the shopping lock unlocking method is applied to terminal, is passed through Two-dimension code generator combines the lock information of shopping lock to generate two dimensional code, and the lock information for lock of doing shopping can be according to administrative staff Setting, or can directly by wechat small routine combine shopping lock lock information generate two dimensional code, administrative staff according to The two dimensional code of generation, which is made two dimensional code and is labelled to the shopping cart of corresponding lock information, to be locked.
If detect that user scans the two dimensional code that shopping cart is locked by terminal, terminal obtains the corresponding target of two dimensional code The lock information of shopping lock, and unlocking interface is generated based on the lock information and is shown in terminal, such as: open wechat The two dimensional code of scanning shopping lock opens the corresponding target shopping lock of wechat small routine combination back-end server identification two dimensional code Lock information, or open shopping APP scanning shopping lock two dimensional code, open shopping APP small routine combination back-end services Device identifies the lock information of two dimensional code corresponding target shopping lock, or the shopping lock APP scanning lock in opening a terminal Two dimensional code, shopping lock APP combination back-end server identification two dimensional code correspond to target do shopping lock lock information, either The two dimensional code of the fast application scanning shopping lock to open a terminal, fast application combine back-end server identification two dimensional code to correspond to target purchase The lock information of object lock, terminal can be mobile phone, tablet computer, bracelet or phone wrist-watch etc..Those skilled in the art It is to be understood that being only intended to here for example, should not be construed as limiting the invention.
Step S20 is confirmed whether to have been established and the mesh when detecting the unlocking instruction based on unlocking interface triggering Wireless communication connection between buying tender object lock;
Unlocking interface is generated based on the lock information, when terminal, user selects to click unlocking circle unlocking interface display Unlocking instruction is triggered when " unlocking " in face, when detecting the unlocking instruction based on the triggering of unlocking interface, confirmation terminal is terminal No to have turned on wireless connection interface, the wireless communication established between target shopping lock connects, such as: with wechat scanning car When the two dimensional code of lock, opening wechat small routine can be confirmed whether terminal has been switched on blue tooth interface or NFC interface etc. wirelessly Connecting interface, the wireless communication established between target shopping lock are connect.
Step S30, if so, unlocking instruction is sent to by the target shopping lock by wireless communication connection, with It unlocks when receiving unlocking instruction for target shopping cart interlocking.
In embodiment, wireless communication connection includes Bluetooth wireless communication connection, NFC wireless communication connection etc., if confirmation Terminal has turned on wireless communication connecting interface, establishes terminal and target shopping lock wireless communication connects, then by wireless communication Unlocking instruction is sent to target shopping lock by connection, and target shopping cart interlocking is unlocked when receiving unlocking instruction, Xie Kaisuo Shopping cart in target shopping lock, the two dimensional code locked by scanning shopping cart open shopping lock, and then unlock shopping Vehicle is for users to use, convenient and efficient, and it is inconvenient to solve the problems, such as that user must use coin to unlock, improves the shopping of user Experience;
When target shopping lock is opened, unlocking result information is sent, terminal can connect by wireless communication directly receives mesh The unlocking result information that buying tender object lock is sent, while can (WirelessAccessPoint is wireless by the AP that is arranged in market Access points) equipment is sent in Cloud Server, and unlocking result information is sent to background server again by Cloud Server, backstage Server is updated lock state according to unlocking result information;
User is using shopping cart, and shopping cart is placed on collective diamond, when closing target shopping lock, target Closing information is sent to terminal by shopping lock, and terminal is shown, when scanning the two-dimensional code such as wechat, closing information is fed back in micro- Letter small routine is shown, informs the state of user's lock, or is sent in Cloud Server by AP equipment, and Cloud Server is again Closing information is sent to background server, background server is updated lock state according to closing information.
It further, is the flow diagram of present invention shopping lock unlocking method second embodiment referring to Fig. 3, Fig. 3.Base After above-mentioned embodiment shown in Fig. 2, step S20, the method can also include:
Step S40, if it is not, unlocking instruction is sent to AP equipment by Cloud Server, so that the AP equipment will unlock Instruction is sent to the target shopping lock.
In embodiment, there is shopping cart unlocking system, system for unlocking includes AP equipment, background server, cloud service Device etc., AP equipment are set in market, are not switched on wireless connection interface in confirmation terminal, terminal and target shopping lock are not connected When, then unlocking instruction is sent to Cloud Server by background server, unlocking instruction is sent to AP equipment, AP by Cloud Server By LoRa, (LoRa is a kind of technology for being exclusively used in radio modem to equipment, and LoRa has merged digital spread spectrum, digital signal Processing and forward error correction coding technology, possess unprecedented performance.It is strong with penetration capacity, the advantages of long transmission distance) letter Number by unlocking instruction be broadcast to target shopping lock, i.e., persistently carry out send unlocking instruction until target shopping cart lock finish receiving Unlocking instruction.Target shopping cart interlocking is unlocked when receiving unlocking instruction, unlocks the shopping cart locked in target shopping lock, Such as: it is scanned the two-dimensional code with wechat, does not open bluetooth in confirmation user mobile phone or NFC wireless communication is connected to target shopping cart When lock, wechat small routine then passes through background server and sends to Tencent cloud IoT (Internet of things Internet of Things) platform Unlocking instruction is sent to all AP equipment in market by unlocking instruction, Tencent's cloud IoT platform, and AP equipment will by LoRa signal Unlocking instruction is broadcast to target shopping lock.
It, will if detect that terminal and target shopping lock establish wireless communication connection after lock unlatching Unlocking result information connects be fed directly to terminal by wireless communication, and terminal is based on unlocking result information and generates prompting interface, Inform user's unlocking result.Unlocking result information is sent to AP equipment by LoRa simultaneously, AP equipment will unlock result information It is sent to Cloud Server, unlocking result information is sent to background server by Cloud Server, and background server is according to unlocking result Information is updated lock state, and unlocking result information is such as sent to AP equipment, this information is sent to rises again by AP equipment Cloud Iot platform is interrogated, Tencent's cloud IoT platform sends information to the background server of small routine, and the background server of small routine connects When receiving information, the state of target shopping lock is updated.Or detecting terminal and target shopping lock still not Wireless communication connection is established, background server is when receiving unlocking result information while being sent to terminal, and terminal is based on unlocking Result information generates prompting interface.
It further, is the flow diagram of present invention shopping lock unlocking method 3rd embodiment referring to Fig. 4, Fig. 4.Base After the above embodiments, step S40, the method can also include:
Step S50, when the wireless communication that confirmation has been established between target shopping lock is connect, by described wireless Communication connection receives the unlocking information of target shopping lock feedback, is generated based on the unlocking information and shows that result prompts boundary Face.
When terminal does not set up the wireless communication between target shopping lock and connect, unlocking instruction is passed through into backstage Server is sent in Cloud Server, and unlocking instruction is sent to AP equipment by Cloud Server, and unlocking instruction is sent to by AP equipment The target shopping lock, target shopping cart interlocking receives unlocking instruction and unlocks, when completing to unlock, if terminal has been established When connecting with the wireless communication of target shopping lock, terminal can be connected directly by wireless communication receives target shopping lock feedback Unlocking information, generated based on unlocking information and show result prompting interface.
It further, is the flow diagram of present invention shopping lock unlocking method fourth embodiment referring to Fig. 5, Fig. 5.Base After the above embodiments, step S40, the method can also include:
Step S60 receives target shopping when the wireless communication that confirmation does not set up between target shopping lock is connect Lock is sent to the unlocking information of Cloud Server by AP equipment, is generated based on the unlocking information and shows that result prompts boundary Face.
When confirmation does not set up and connects with target shopping lock wireless communication, unlocking instruction is passed through background server by terminal It is sent to Cloud Server, unlocking instruction is sent to AP equipment by Cloud Server, and AP equipment is wide by unlocking instruction by LoRa signal When being multicast to target shopping lock, target shopping lock is unlocked when receiving unlocking instruction, after completing to unlock, if confirmation Terminal is not still set up when connecting with the wireless communication of target lock, then sends unlocking information to Cloud Server by AP equipment, Unlocking information back-end server is sent to when rear end Cloud Server receives unlocking information by Cloud Server to send out unlocking information It send to terminal, terminal is generated based on unlocking information when receiving unlocking information and shows result prompting interface.
It further, is the flow diagram of present invention shopping the 5th embodiment of lock unlocking method referring to Fig. 6, Fig. 6.Base After the above embodiments, step S30, the method can also include:
Step S70 is received the unlocking information of target shopping lock feedback, is generated based on the unlocking information and show result Prompting interface.
When confirming that terminal establishes wireless communication connection with target shopping lock, terminal connects will open by wireless communication Lock instruction is sent to target shopping lock, and target shopping lock is unlocked when receiving unlocking instruction, after completing to unlock The unlocking situation of the lock, i.e. unlocking information are directly fed back to terminal, terminal is generated when receiving unlocking information based on unlocking information And show result prompting interface.Inform the unlatching situation of ownership goal lock.In real-time example, if user uses wechat scanning two When tieing up code, unlocking information is fed back into wechat small routine, wechat small routine is based on unlocking information and generates and show that result prompts boundary Face.
It further, is the flow diagram of present invention shopping lock unlocking method sixth embodiment referring to Fig. 7, Fig. 7.Base In the above embodiments, step S10 may include:
Step S11 opens small routine and obtains the corresponding mesh of two dimensional code when detecting the two dimensional code that scanning shopping cart is locked The lock information of buying tender object lock, and generate based on the lock information and show unlocking interface.
In embodiment, it when detecting the two dimensional code that terminal scanning shopping cart is locked, opens small routine and obtains corresponding mesh The lock information of buying tender object lock when scanning the two-dimensional code such as the wechat of using terminal, opens wechat small routine and obtains the two dimension The lock information of code corresponding target shopping lock, or when scanning the two-dimensional code using shopping APP, open the little Cheng of shopping APP Sequence obtains the lock information of the corresponding target shopping lock of two dimensional code, and small routine, which does not need downloading installation, can be used, and is not take up Space memory opens shopping lock convenient for user's barcode scanning, unlocks shopping cart and carry out for user using convenient and efficient, small routine obtains When getting the lock information of shopping lock, unlocking interface, or the fast application for passing through terminal are generated and shown based on lock information The two dimensional code of scanning shopping lock, fast application obtain the lock information of corresponding target shopping lock.
It further, is the flow diagram of present invention shopping lock unlocking method fourth embodiment referring to Fig. 8, Fig. 8.Base In the above embodiments, step S20 may include:
Step S21 is confirmed whether to have been established and the mesh when detecting the unlocking instruction based on unlocking interface triggering Bluetooth communication connection or NFC communication connection between buying tender object lock.
When detecting the unlocking instruction based on unlocking interface triggering, confirm in terminal whether open blue tooth interface, eventually The wireless communication that end has been established between target shopping lock is connect, if terminal is not switched on bluetooth, may remind the user that will be blue Tooth wireless communication interface is opened, and when user is not switched on bluetooth wireless communication interface, unlocking instruction is sent to by AP equipment The target shopping lock can be connected by Bluetooth communication when blue tooth interface is opened, unlocking instruction is sent directly to target Shopping lock improves the success rate that terminal opens target shopping lock, lock is made to cover weaker area even in AP signal Domain smooth can also open shopping lock;
Or can be confirmed NFC wireless communication interface whether is opened in terminal, terminal has been established and target shopping lock NFC wireless communication connection, if terminal is not switched on NFC wireless communication interface, may remind the user that and beat NFC wireless communication interface It opens, when user is not switched on NFC wireless communication interface, unlocking instruction is sent to the target shopping lock by AP equipment, When NFC wireless communication interface is opened, it can be wirelessly communicated and be connected by NFC, unlocking instruction is sent directly to target shopping cart Lock improves the success rate that terminal opens target shopping lock, so that lock is covered weaker region even in AP signal, also can Enough smooth unlatching shopping locks;
Or can be confirmed in terminal whether open bluetooth wireless communication interface, it is not opened in bluetooth wireless communication interface When, whether confirmation terminal opens NFC wireless communication interface, and bluetooth wireless communication interface and NFC wireless communication interface are not opened In the state of, unlocking instruction is sent to the target shopping lock by AP equipment.
It further, is the flow diagram of present invention shopping the 8th embodiment of lock unlocking method referring to Fig. 9, Fig. 9.Base After the above embodiments, step S30, the method can also include:
Step S80 receives the lock closing information that target shopping lock is sent, is generated and shown based on the closing information Close prompting interface.
When unlocking instruction being connected by wireless communication, or being sent to target shopping lock by AP equipment, target Shopping lock is unlocked according to unlocking instruction, completes unlocking user using shopping cart is completed, shopping cart is placed on concentration Diamond, when closing target shopping lock, target does shopping lock to terminal transmission closing information, and terminal is receiving closing information When, it is generated based on the closing information and shows closing prompting interface, while showing that opening shopping cart is locked into closing shopping lock Time difference.
In embodiment, the preset time that shopping cart need to be given back can also be set, be more than that preset time is not placed back into collection When middle diamond, start timing and collect the charges, credit value can also be set, is being more than that preset time is not placed back into concentration diamond When, credit value is deducted, shopping lock cannot be opened when credit value has deducted, limitation uses shopping cart, can also be with shopping account Family integral is associated, and when being more than that preset time is not placed back into concentration diamond, deducts the integral of shopping account.
The present invention also provides a kind of shopping cart unlocking systems, are applied to shopping lock unlocking method as described above, institute Stating shopping cart unlocking system includes terminal, terminal, background server, Cloud Server, AP equipment and shopping lock, the end End connection background server, the background server are connected with AP equipment by Cloud Server, and the AP equipment, terminal is wireless Connect the shopping lock.
The present invention also provides a kind of readable storage medium storing program for executing.
Shopping lock unlocking program is stored on readable storage medium storing program for executing of the present invention, the shopping lock unlocking program is processed The step of shopping lock unlocking method as described above is realized when device executes.
Wherein, the shopping lock unlocking program run on the processor, which is performed realized method, can refer to this The invention shopping each embodiment of lock unlocking method, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of shopping lock unlocking method, which is characterized in that described method includes following steps:
When detecting the two dimensional code that scanning shopping cart is locked, the lock information of the corresponding target shopping lock of two dimensional code is obtained, And it generates based on the lock information and shows unlocking interface;
When detecting the unlocking instruction based on unlocking interface triggering, be confirmed whether to have been established with target shopping lock it Between wireless communication connection;
If so, unlocking instruction is sent to the target shopping lock by wireless communication connection, for target shopping cart Interlocking is unlocked when receiving unlocking instruction.
2. shopping lock unlocking method as described in claim 1, which is characterized in that detect and triggered based on the unlocking interface Unlocking instruction when, after being confirmed whether to have been established the step of wireless communication between target shopping lock is connect, institute State method further include:
If it is not, unlocking instruction is sent to AP equipment by Cloud Server, so that unlocking instruction is sent to institute by the AP equipment State target shopping lock.
3. shopping lock unlocking method as claimed in claim 2, which is characterized in that described that unlocking instruction is passed through Cloud Server After the step of being sent to AP equipment, unlocking instruction be sent to the target shopping lock for the AP equipment, the side Method further include:
When the wireless communication that confirmation has been established between target shopping lock is connect, is connected and received by the wireless communication The unlocking information of target shopping lock feedback, is generated based on the unlocking information and shows result prompting interface.
4. shopping lock unlocking method as claimed in claim 2, which is characterized in that described that unlocking instruction is passed through Cloud Server After the step of being sent to AP equipment, unlocking instruction be sent to the target shopping lock for the AP equipment, the side Method further include:
When the wireless communication that confirmation does not set up between target shopping lock is connect, receives target shopping lock and set by AP The standby unlocking information for being sent to Cloud Server, is generated based on the unlocking information and shows result prompting interface.
5. shopping lock unlocking method as described in claim 1, which is characterized in that described that unlocking instruction is sent to the mesh Buying tender object lock, after the step of being unlocked when receiving unlocking instruction for target shopping cart interlocking, the method also includes
The unlocking information for receiving target shopping lock feedback, is generated based on the unlocking information and shows result prompting interface.
6. shopping lock unlocking method as described in any one in claim 1-5, which is characterized in that described to detect scanning purchase When two dimensional code on object lock, the lock information of the corresponding target shopping lock of two dimensional code is obtained, and is based on the lock information It generates and includes: the step of showing unlocking interface
When detecting the two dimensional code that scanning shopping cart is locked, opens small routine and obtain the corresponding target shopping lock of two dimensional code Lock information, and generate based on the lock information and show unlocking interface.
7. shopping lock unlocking method as claimed in claim 6, which is characterized in that described to detect based on the unlocking interface When the unlocking instruction of triggering, it is confirmed whether to have been established the step of wireless communication between target shopping lock is connect packet It includes:
When detecting the unlocking instruction based on unlocking interface triggering, be confirmed whether to have been established with target shopping lock it Between Bluetooth communication connection or NFC communication connection.
8. shopping lock unlocking method as claimed in claim 7, which is characterized in that will be unlocked by wireless communication connection After the step of instruction is sent to the target shopping lock, is unlocked when receiving unlocking instruction for target shopping cart interlocking Further include:
The lock closing information that target shopping lock is sent is received, generated based on the closing information and shows closing prompt circle Face.
9. a kind of terminal, which is characterized in that the terminal includes: memory, processor and is stored on the memory and can The shopping lock unlocking program run on the processor, it is real when the shopping lock unlocking program is executed by the processor Now such as the step of shopping lock unlocking method described in any item of the claim 1 to 8.
10. a kind of readable storage medium storing program for executing, which is characterized in that shopping lock unlocking program is stored on the readable storage medium storing program for executing, Such as shopping lock solution described in any item of the claim 1 to 8 is realized when the shopping lock unlocking program is executed by processor The step of locking program technic.
CN201910034885.XA 2019-01-14 2019-01-14 Shopping lock unlocking method, terminal and readable storage medium storing program for executing Pending CN109544816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910034885.XA CN109544816A (en) 2019-01-14 2019-01-14 Shopping lock unlocking method, terminal and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910034885.XA CN109544816A (en) 2019-01-14 2019-01-14 Shopping lock unlocking method, terminal and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109544816A true CN109544816A (en) 2019-03-29

Family

ID=65835491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910034885.XA Pending CN109544816A (en) 2019-01-14 2019-01-14 Shopping lock unlocking method, terminal and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109544816A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110047209A (en) * 2019-04-16 2019-07-23 南京信息工程大学 A kind of shopping cart barcode scanning identifying system and 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
CN110856130A (en) * 2019-09-13 2020-02-28 深圳推推应用技术有限公司 Intelligent lock control system with base station and method
CN111080863A (en) * 2020-01-17 2020-04-28 多点(深圳)数字科技有限公司 Shopping cart lock unlocking method based on Bluetooth technology
US11170591B2 (en) 2019-11-19 2021-11-09 Panasonic Avionics Corporation Systems and methods for wireless unlocking a lock associated with an enclosed space within a vehicle
CN114187708A (en) * 2021-12-29 2022-03-15 南京亿猫信息技术有限公司 Intelligent lock system and control method

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593919A (en) * 2013-11-15 2014-02-19 杭州行我行网络有限公司 Bicycle lease management method and system based on mobile phone APP
US20140258457A1 (en) * 2013-03-08 2014-09-11 Kt Corporation Providing multimedia contents to user equipment associated with electric vehicle
CN104853050A (en) * 2015-06-01 2015-08-19 北京润东方科技有限公司 System and method for bicycle management
CN105931371A (en) * 2016-07-12 2016-09-07 帮团成都电子商务有限责任公司 Vending machine and vending method
CN106846573A (en) * 2017-01-17 2017-06-13 宁波耀龙软件科技有限公司 The method and corresponding electronic lock of electronic lock are opened when without linking Internet
CN106971438A (en) * 2017-03-31 2017-07-21 杭州西野科技有限公司 Lock body control method, device, server and selling cabinet
CN107170130A (en) * 2017-05-16 2017-09-15 金辉 A kind of shared wheelchair system and method
CN107215366A (en) * 2017-06-05 2017-09-29 北京克路德人工智能科技有限公司 A kind of shared trolley with smart lock
CN107481436A (en) * 2017-07-14 2017-12-15 深圳市盛路物联通讯技术有限公司 Data transmission method and equipment
CN107680206A (en) * 2017-02-24 2018-02-09 杭州金通公共自行车科技股份有限公司 A kind of double lease public bicycles devices
CN107909735A (en) * 2017-11-13 2018-04-13 广州大学 Bicycle shared system and its control method based on intelligent management lockset
CN108052674A (en) * 2017-12-28 2018-05-18 惠州Tcl家电集团有限公司 Quick Response Code uses processing method, device, system and readable storage medium storing program for executing
CN108364408A (en) * 2018-04-25 2018-08-03 青岛大学 A kind of smart supermarket shopping lock and its control system
CN108806100A (en) * 2018-05-28 2018-11-13 天津天优科技股份有限公司 A kind of bicycle rent returning method of identity-based identification battery pack
CN108833455A (en) * 2018-03-23 2018-11-16 南京理工大学 Bicycle shared system based on the perception of region Wi-Fi network
CN108824997A (en) * 2018-08-02 2018-11-16 罗朋鹏 Shopping lock
CN109178072A (en) * 2018-10-23 2019-01-11 侯静阳 A kind of supermarket shopping lock and management system

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258457A1 (en) * 2013-03-08 2014-09-11 Kt Corporation Providing multimedia contents to user equipment associated with electric vehicle
CN103593919A (en) * 2013-11-15 2014-02-19 杭州行我行网络有限公司 Bicycle lease management method and system based on mobile phone APP
CN104853050A (en) * 2015-06-01 2015-08-19 北京润东方科技有限公司 System and method for bicycle management
CN105931371A (en) * 2016-07-12 2016-09-07 帮团成都电子商务有限责任公司 Vending machine and vending method
CN106846573A (en) * 2017-01-17 2017-06-13 宁波耀龙软件科技有限公司 The method and corresponding electronic lock of electronic lock are opened when without linking Internet
CN107680206A (en) * 2017-02-24 2018-02-09 杭州金通公共自行车科技股份有限公司 A kind of double lease public bicycles devices
CN106971438A (en) * 2017-03-31 2017-07-21 杭州西野科技有限公司 Lock body control method, device, server and selling cabinet
CN107170130A (en) * 2017-05-16 2017-09-15 金辉 A kind of shared wheelchair system and method
CN107215366A (en) * 2017-06-05 2017-09-29 北京克路德人工智能科技有限公司 A kind of shared trolley with smart lock
CN107481436A (en) * 2017-07-14 2017-12-15 深圳市盛路物联通讯技术有限公司 Data transmission method and equipment
CN107909735A (en) * 2017-11-13 2018-04-13 广州大学 Bicycle shared system and its control method based on intelligent management lockset
CN108052674A (en) * 2017-12-28 2018-05-18 惠州Tcl家电集团有限公司 Quick Response Code uses processing method, device, system and readable storage medium storing program for executing
CN108833455A (en) * 2018-03-23 2018-11-16 南京理工大学 Bicycle shared system based on the perception of region Wi-Fi network
CN108364408A (en) * 2018-04-25 2018-08-03 青岛大学 A kind of smart supermarket shopping lock and its control system
CN108806100A (en) * 2018-05-28 2018-11-13 天津天优科技股份有限公司 A kind of bicycle rent returning method of identity-based identification battery pack
CN108824997A (en) * 2018-08-02 2018-11-16 罗朋鹏 Shopping lock
CN109178072A (en) * 2018-10-23 2019-01-11 侯静阳 A kind of supermarket shopping lock and management system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110047209A (en) * 2019-04-16 2019-07-23 南京信息工程大学 A kind of shopping cart barcode scanning identifying system and 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
CN110856130A (en) * 2019-09-13 2020-02-28 深圳推推应用技术有限公司 Intelligent lock control system with base station and method
US11170591B2 (en) 2019-11-19 2021-11-09 Panasonic Avionics Corporation Systems and methods for wireless unlocking a lock associated with an enclosed space within a vehicle
CN111080863A (en) * 2020-01-17 2020-04-28 多点(深圳)数字科技有限公司 Shopping cart lock unlocking method based on Bluetooth technology
CN114187708A (en) * 2021-12-29 2022-03-15 南京亿猫信息技术有限公司 Intelligent lock system and control method
WO2023123157A1 (en) * 2021-12-29 2023-07-06 南京亿猫信息技术有限公司 Intelligent lock system and control method

Similar Documents

Publication Publication Date Title
CN109544816A (en) Shopping lock unlocking method, terminal and readable storage medium storing program for executing
KR102521790B1 (en) Creation of interactive messages with asynchronous media content
WO2020143408A1 (en) Display method and related apparatus
KR102224483B1 (en) Mobile terminal having touch screen and the method for controlling the mobile terminal
US20160116989A1 (en) Portable Device Pairing with a Tracking System
CN108574975A (en) The system of wireless router, internet of things equipment and the wireless router for supporting to be connected to internet of things equipment
CN113581127B (en) Service processing method and device
CN108288154B (en) Starting method and device of payment application program and mobile terminal
CN105144130A (en) Mobile computing device technology and systems and methods utilizing the same
JP2005243011A (en) Character processing apparatus and method of portable terminal
CN110276177B (en) Login method of intelligent terminal and electronic equipment
CN107231607A (en) Unlocking method, tripper and the computer-readable recording medium of blue-tooth intelligence lock
CN113496426A (en) Service recommendation method, electronic device and system
CN109729378A (en) Information processing method, the method and device that welfare is got in live streaming platform
CN109634495A (en) Method of payment, device and user equipment
CN107925799A (en) Method and apparatus for generating video content
CN108197934A (en) A kind of method of payment and terminal device
CN107977129A (en) Icon display method, device and computer-readable recording medium
CN104837133B (en) SIM card method for authenticating and device
CN114495333A (en) Emergency unlocking method, intelligent operation recorder, system and medium
CN107480996A (en) A kind of method of payment and terminal
CN109660745A (en) Video recording method, device, terminal and computer readable storage medium
CN107135516A (en) A kind of parameter testing processing method, mobile terminal and computer-readable recording medium
CN107508740A (en) A kind of picture sharing method, terminal and computer-readable recording medium
CN111831385A (en) Business credit information processing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication