CN109544732B - Electronic lock connection method and device, electronic equipment and storage medium - Google Patents

Electronic lock connection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109544732B
CN109544732B CN201811209595.6A CN201811209595A CN109544732B CN 109544732 B CN109544732 B CN 109544732B CN 201811209595 A CN201811209595 A CN 201811209595A CN 109544732 B CN109544732 B CN 109544732B
Authority
CN
China
Prior art keywords
electronic lock
information
state
electronic
binding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811209595.6A
Other languages
Chinese (zh)
Other versions
CN109544732A (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.)
Dongguan Tx Intelligent Technology Co ltd
Guangzhou Hxj Iot Technology Co ltd
Original Assignee
Dongguan Tx Intelligent Technology Co ltd
Guangzhou Hxj Iot 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 Dongguan Tx Intelligent Technology Co ltd, Guangzhou Hxj Iot Technology Co ltd filed Critical Dongguan Tx Intelligent Technology Co ltd
Priority to CN201811209595.6A priority Critical patent/CN109544732B/en
Publication of CN109544732A publication Critical patent/CN109544732A/en
Application granted granted Critical
Publication of CN109544732B publication Critical patent/CN109544732B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of communication, in particular to an electronic lock connection method, an electronic lock connection device, electronic equipment and a storage medium, which enable a user to quickly bind a target electronic lock, improve the connection accuracy of the electronic equipment and the electronic lock and accelerate the binding speed. The method comprises the following steps: inquiring electronic lock information of an identifiable electronic lock in a preset range, wherein the electronic lock information comprises electronic lock introduction information and electronic lock state information; displaying the inquired electronic lock information of the electronic lock; detecting whether the state information represents a bindable state, and if so, obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state; and binding the electronic lock with the obvious display.

Description

Electronic lock connection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an electronic lock connection method, an electronic lock connection device, an electronic device, and a storage medium.
Background
With the rapid development of national economy of China, the living standard of people is greatly improved, and electronic locks begin to be popularized. In the process that a user binds electronic equipment and an electronic lock, when the electronic equipment detects that a plurality of electronic locks exist on the site, the user is required to select which electronic lock to bind with, when the user does not know the name or the id of the electronic lock, a target electronic lock cannot be bound quickly, the binding accuracy is low, and the binding speed is low.
Disclosure of Invention
In view of the foregoing, there is a need to provide a method, an apparatus, an electronic device, and a storage medium for facilitating a process of binding an electronic lock.
An electronic lock connection method, the method comprising:
inquiring electronic lock information of an identifiable electronic lock within a preset range, wherein the electronic lock information comprises introduction information of the electronic lock and state information of the electronic lock;
displaying the inquired electronic lock information of the electronic lock;
detecting whether the state information represents a bindable state, if so, detecting whether the state information represents a bindable state
The electronic lock information of the electronic lock corresponding to the bindable state is obviously displayed;
and binding the electronic lock with the obvious display.
An electronic lock connection method comprising:
broadcasting electronic lock information to a preset range, wherein the electronic lock information comprises state information and introduction information of an electronic lock;
acquiring an instruction for enabling the electronic lock to enter a to-be-bound state;
updating the state information into state information representing a bindable state according to the instruction;
broadcasting the electronic lock information after updating the state information to the preset range, so that the electronic equipment obviously displays the introduction information after detecting the electronic lock information after updating the state information;
and receiving a binding instruction with the electronic equipment, and binding with the electronic equipment according to the binding instruction.
An electronic lock attachment device comprising:
the information query module is used for querying the recognizable electronic lock information in the preset range;
the information display module is used for displaying the inquired electronic lock information;
the information detection module is used for detecting whether the state information of the electronic lock is in a bindable state;
the information display module is also used for obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state when the state information is in the bindable state;
and the electronic lock binding module is used for binding the electronic lock with the obvious display.
An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
inquiring electronic lock information of an identifiable electronic lock in a preset range, wherein the electronic lock information comprises electronic lock introduction information and electronic lock state information;
displaying the inquired electronic lock information of the electronic lock;
detecting whether the state information represents a bindable state, if so, detecting whether the state information represents a bindable state
The electronic lock information of the electronic lock corresponding to the bindable state is obviously displayed;
and binding the electronic lock with the obvious display.
An electronic lock comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
broadcasting electronic lock information to a preset range, wherein the electronic lock information comprises state information and introduction information of an electronic lock;
acquiring an instruction for enabling the electronic lock to enter a to-be-bound state;
updating the state information into state information representing a bindable state according to the instruction;
broadcasting the electronic lock information after updating the state information to the preset range, so that the electronic equipment obviously displays the introduction information after detecting the electronic lock information after updating the state information;
and receiving a binding instruction with the electronic equipment, and binding with the electronic equipment according to the binding instruction.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the electronic lock connection method according to embodiments of the present application.
According to the electronic lock connection method, the electronic lock connection device, the electronic equipment and the storage medium, the inquired electronic lock information of the electronic lock is displayed by inquiring the electronic lock information of the electronic lock which can be identified in the preset range; detecting whether the state information of the electronic lock represents a bindable state, and if so, obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state; and binding the electronic lock with the obvious display. When the information of the electronic locks is inquired and displayed, whether the electronic locks are in the bindable state or not is detected, the electronic locks in the bindable state are obviously displayed, the accuracy of binding target electronic locks by users is effectively improved, and the binding speed is increased.
Drawings
FIG. 1 is a diagram of an application environment of an electronic lock connection method;
FIG. 2 is a schematic flow chart diagram illustrating a method for connecting an electronic lock according to one embodiment;
FIG. 3 is a flowchart illustrating an embodiment of updating electronic lock status information;
FIG. 4 is a flow diagram that illustrates binding of an electronic lock with a highlight display, according to an embodiment;
FIG. 5 is a flowchart illustrating a method for connecting an electronic lock according to another embodiment;
FIG. 6 is a flow diagram illustrating an embodiment of receiving a binding instruction with an electronic device and binding the electronic device according to the binding instruction;
FIG. 7 is a timing diagram of an electronic lock connection method in one embodiment;
FIGS. 8 a-8 f are schematic diagrams of interfaces during connection of an electronic lock according to an embodiment;
FIG. 9 is a block diagram of the structure of an electronic lock attachment mechanism in one embodiment;
FIG. 10 is a block diagram that illustrates the architecture of the electronic lock binding module in one embodiment;
FIG. 11 is a block diagram of the structure of an electronic lock attachment apparatus in another embodiment;
FIG. 12 is a block diagram of an electronic device connection module in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The electronic lock connection method provided by the application can be applied to the application environment shown in fig. 1. The electronic lock 120 and the electronic lock 130 can broadcast introduction information and status information of the electronic lock through the bluetooth module within a preset range, and the electronic device 110 can search and identify the information broadcast by the electronic lock 120 and the electronic lock 130 and display the information of the electronic lock. The electronic device 110 detects whether the state information of the electronic lock 120 and the electronic lock 130 indicates a bindable state, and if so, the electronic lock information of the electronic lock corresponding to the bindable state is prominently displayed, and the electronic device 110 can establish communication connection with a target electronic lock. The electronic device may be, but is not limited to, various smart phones, tablet computers, and portable wearable devices, and the target electronic lock 130 has a wireless communication function, and can implement wireless communication with the electronic device.
In one embodiment, as shown in fig. 2, an electronic lock connection method is provided, which is described by taking the electronic device 110 shown in fig. 1 as an example, and includes the following steps 202 to 208.
Step 202, inquiring identifiable electronic lock information in a preset range, wherein the electronic lock information comprises electronic lock introduction information and electronic lock state information.
The electronic lock can be in wireless communication with other electronic equipment or a server, receives an instruction sent by the electronic equipment through a wireless communication function, and controls the electronic lock to unlock or lock.
Specifically, the electronic device searches for electronic lock information within a preset range through the Bluetooth. The electronic lock information refers to introduction information and state information of the electronic lock, and the introduction information of the electronic lock can be one or more of the name, the physical address and the network address of the electronic lock; the status information may be a string of characters that can represent different states of the electronic lock. The physical address, the network address, and the character strings representing different states of the electronic lock may be character strings combined by letters, numbers, special symbols, and the like.
For example, the electronic device obtains an instruction of the user to open the app, and after obtaining the instruction of the user to open the app, displays a user interface, where the user interface has a clickable "search electronic lock" button. The electronic equipment acquires an instruction of clicking a 'search for electronic lock' button by a user, and inquires the electronic lock information of the electronic lock which can be identified in a preset range through a Bluetooth module in the electronic equipment according to the instruction.
And step 204, displaying the inquired electronic lock information of the electronic lock.
Specifically, after the electronic device inquires the electronic lock information which can be identified in the preset range, the electronic device displays the information of the electronic lock by using an interface. The information of the electronic lock is displayed on the user interface in one or more of list display, parallel display, color display and graphic display.
Optionally, after the electronic device queries the recognizable electronic lock information in the preset range, the electronic lock information is displayed in a list on a user interface, and the displayed content is an electronic lock icon and a text "electronic lock".
And step 206, detecting whether the electronic lock is in the bindable state, and if so, obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state.
And the highlighting is displayed on the user graphical interface through one or more of color display, highlight display and flashing display.
Specifically, the electronic device detects status information of the electronic lock, and displays the electronic lock in a bindable state through one or more of color display, highlight display, set-top display and blinking display on a graphical user interface if the electronic lock is detected to be in the bindable state.
For example, after the electronic device statically displays a plurality of pieces of electronic lock information on a user graphical interface list, after the target electronic lock is detected to be in a bindable state, electronic information corresponding to the target electronic lock is set to be top and flickers.
And step 208, binding the electronic lock with the prominent display.
Specifically, the electronic device displays the electronic lock information of the target electronic lock on the graphical user interface, so that the user can quickly judge the target electronic lock to be bound. The electronic equipment acquires the instruction corresponding to the electronic lock and sends binding information to the electronic lock according to the instruction.
For example, the electronic device obviously displays the electronic lock information of the target electronic lock on a graphical user interface, the user clicks the electronic lock information to be bound, the electronic device obtains an instruction corresponding to the electronic lock to be bound, displays a page being bound on the graphical user interface, and sends the binding information to the electronic lock according to the instruction.
In the embodiment, the state information of the electronic lock is detected by inquiring and displaying the electronic lock information, and the electronic lock information corresponding to the electronic lock in the bindable state is obviously displayed, so that the accuracy of binding the target electronic lock by the user is effectively improved, the user can correctly judge and select the electronic lock to be bound in the use process, the binding speed is improved, and the binding of the electronic lock is more convenient.
In one embodiment, as shown in fig. 3, after step 206, the method further includes the step of updating the state information of the electronic lock, where the step includes the following steps:
and step 302, updating the state information of the electronic lock which is obviously displayed.
Specifically, the electronic device updates the status information of the electronic lock that is prominently displayed. The electronic equipment detects the state information of the electronic lock corresponding to the electronic lock information which is obviously displayed again, judges the state information of the electronic lock again through detection, continues to obviously display if the state information of the electronic lock is detected to be in a bindable state, and cancels the obvious display of the corresponding electronic lock information if the state information of the electronic lock is monitored to be in a non-bindable state.
For example, the status information of the electronic lock includes flag bit data, and the flag bit data is used for indicating the status of the electronic lock. For example, the flag bit data may be 0 or 1, indicating an unbondable state and a bindable state, respectively. The electronic equipment judges whether the electronic lock is in a bindable state or not by detecting the flag bit data of the state information of the electronic lock. And if the electronic lock is in the bindable state, obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state, and if not, canceling the obvious display.
And step 304, when the updated state information is detected to indicate the state of being unbound, canceling the obvious display of the electronic lock information of the corresponding electronic lock.
Specifically, the electronic device updates the state information of the electronic lock which is obviously displayed, and the electronic device detects the electronic lock state information of the electronic lock corresponding to the electronic lock information which is obviously displayed again. And judging the state information of the electronic lock again through detection, if the state information of the electronic lock is detected to be a bindable state, continuing to display the electronic lock obviously, and if the state information of the electronic lock is detected to be a non-bindable state, canceling the obvious display of the corresponding electronic lock information.
In this embodiment, the electronic device queries and displays electronic lock information of the electronic lock within a preset range, detects whether the electronic lock state information is in a bindable state, obviously displays the electronic lock information of the electronic lock corresponding to the bindable state if the electronic lock state information is in the bindable state, updates and detects the obviously displayed state information of the electronic lock, cancels the obvious display of the electronic information of the corresponding electronic lock if the electronic lock is in a non-bindable state if the detection result is that the electronic lock is in the non-bindable state, and can timely find whether the obviously displayed state information of the electronic lock is changed by updating the electronic lock state information, thereby timely changing the display state of the target electronic lock.
In one embodiment, detecting whether the state information represents a bindable state comprises: and detecting whether the flag bit data is data representing a bindable state, if so, judging that the state information represents the bindable state, and otherwise, judging that the state information represents the unbound state.
Specifically, the status information of the electronic lock includes flag bit data, and the flag bit data is used for indicating the status of the electronic lock.
Alternatively, the flag bit data may be 0 or 1, indicating an unbondable state and a bindable state, respectively. The electronic equipment judges whether the electronic lock is in a bindable state or not by detecting the flag bit data of the state information of the electronic lock. And if the electronic lock is in the bindable state, obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state, and if not, canceling the obvious display.
In the embodiment, the method for detecting the status information of the electronic lock is to determine the status information of the electronic lock corresponding to the flag bit data in the status information. The electronic lock state information detection is simply and conveniently realized.
In one embodiment, the electronic device highlighting includes one or more of a top-up display, a blinking display, a highlighting display, and a color display.
Specifically, the electronic device displays the electronic lock information of the electronic lock with the state information being in the bindable state on the user graphical interface in a highlighting mode, wherein the highlighting mode can be one or a combination of a top-set mode, a flashing mode, a highlighting mode and a color mode.
Optionally, the electronic device displays information of a plurality of electronic locks on the user graphical interface list in a stationary manner, and after detecting that the target electronic lock is in a bindable state, the electronic information corresponding to the target electronic lock is set on top and flickers.
In this embodiment, the user can quickly determine the corresponding position of the electronic lock information to be bound on the electronic device by one or more combinations of top display, flash display, highlight display and color display.
In one embodiment, as shown in fig. 4, the electronic lock with a prominence display bound includes:
step 402, a binding request for the prominently displayed electronic lock is sent to a server.
The server can be a server for performing background management control on the target electronic lock. The binding request represents a request for adding a target electronic lock in order to achieve wireless control of the target electronic lock.
The binding request comprises a device identification of the electronic device, the device identification can be used for uniquely identifying the corresponding electronic device, and the character string combined by letters, numbers, special symbols and the like with preset digits can be at least one of a telephone number, a physical address, a network address and the like of an authorized terminal. By including the device identification of the electronic device, the server is enabled to determine which electronic device requests to bind the electronic lock.
Optionally, the binding request further includes an electronic lock device identifier in addition to the device identifier of the electronic device. Similarly, the electronic lock identifier may be used to uniquely identify a corresponding electronic lock, and may be composed of a character string combined with letters, numbers, special symbols, and the like with preset digits, and may be at least one of a physical address of the electronic lock or a factory number of the electronic lock. Likewise, by including the device identification of the electronic lock device, the server may be enabled to determine to which electronic lock the electronic device specifically requests to add a binding. In an embodiment, the binding request may further not include the device of the target electronic lock, and in a subsequent key verification process, the server determines that a certain electronic lock needs to be bound as the target electronic lock of the electronic device when it is verified that a second verification key sent by the electronic lock is consistent with a first verification key allocated to the electronic device.
Optionally, an interface of the electronic lock to be bound may be displayed on the electronic device, and the electronic device may respond to selection and binding operations of the user on the interface to the electronic lock, take the selected electronic lock as the target electronic lock, generate a binding request for the target electronic lock, and send the binding request to the server. The server can determine a target electronic lock to be bound according to the electronic lock identifier in the binding request, and determine the electronic device requesting to bind the target electronic lock according to the device identifier in the target electronic lock.
Step 404, receiving a first authentication key generated by the server according to the binding request.
The first verification key represents information for verifying whether binding addition can be performed on the target electronic lock, and the first verification key is a key generated by the server side. The server can generate a corresponding first verification secret key according to the binding request, and send the first verification secret key to the electronic equipment. Alternatively, the first authentication key may be a randomly generated character string with a combination of letters, numbers, special symbols, and the like having a preset number of digits, for example, a character string formed by 15 digits.
Optionally, the first verification key received by the electronic device may be an encrypted key, and the electronic device may decrypt the first verification key according to a decryption manner corresponding to the key to obtain the electronic key.
Step 406, sending feedback information of the received verification key to the server, where the feedback information is used to instruct the server to perform consistency verification on the second verification key sent by the target electronic lock and the first verification key sent by the electronic device.
After receiving the first authentication key sent by the server, the electronic device may send corresponding feedback information to the server, where the feedback information indicates that the electronic device has successfully received the first authentication key.
The server can also receive binding verification information uploaded by the electronic lock terminal, wherein the binding verification information comprises a second verification secret key and an electronic lock identifier. The server can identify the verification information uploaded by which electronic lock according to the electronic lock identification. The second verification key is also information for verifying whether binding addition can be performed on the target electronic lock. The server may perform consistency check on the second verification key and the first verification key after receiving the second verification key uploaded by the electronic lock, so as to detect whether the second verification key and the first verification key are consistent. The electronic device can receive a first verification key generated by the server.
And step 408, receiving the information that the binding of the electronic lock which is obviously displayed is successful, which is returned by the server after the server verifies the consistency.
Specifically, the server verifies whether the first key and the second key are consistent, if so, the server sends information of successful binding to the electronic device, and the electronic device receives the information.
Optionally, after receiving the information that the obviously displayed electronic lock is successfully bound and sent by the server, the electronic device pops up a graphical interface to display that the binding is successful, so as to remind the user that the electronic device has bound the target electronic lock.
In this embodiment, the electronic lock does not need to be pasted with the two-dimensional code, but the electronic device, the server and the electronic lock are communicated with each other, and the electronic device and the target electronic lock are bound by adopting mutual verification of the two keys, so that the binding efficiency of the electronic device and the electronic lock is improved.
In an embodiment, as shown in fig. 5, another electronic lock connection method is provided, which is described by taking the application of the method to the electronic lock in fig. 1 as an example, and specifically includes the following steps:
step 502, broadcasting the electronic lock information to a preset range.
The electronic lock information refers to introduction information and state information of the electronic lock.
Specifically, the electronic lock broadcasts the electronic lock information to a preset range through Bluetooth. The introduction information of the electronic lock can be one or more of the name, the physical address and the network address of the electronic lock; the status information may be a string of characters that can represent different states of the electronic lock. The physical address, the network address, and the character strings representing different states of the electronic lock may be character strings combined by letters, numbers, special symbols, and the like.
Optionally, the electronic lock may keep the bluetooth open in the operating state, and broadcast the electronic lock information to the preset range.
Step 504, an instruction for bringing the electronic lock into a bindable state is obtained.
The instruction for the electronic lock to enter the bindable state refers to an instruction which is generated in the electronic lock and triggers the electronic lock to enter the bindable state.
Specifically, the electronic lock is provided with a trigger mechanism, when a user triggers the trigger mechanism, the trigger mechanism generates a command for enabling the electronic lock to enter a bindable state, and then the electronic lock acquires the command.
For example, a button is provided on the electronic lock as a command triggering mechanism for the electronic lock to enter the bindable state. The user may manually press the button, which, after pressing, generates a command for the electronic lock to enter the bindable state.
At step 506, the state information is updated to state information representing a bindable state according to the instruction.
Specifically, an instruction for enabling the electronic lock to enter the bindable state is received, the state information of the electronic lock is updated according to the instruction, and the updated electronic lock information indicates that the electronic lock is in the bindable state.
Optionally, the status information of the electronic lock includes flag bit data, and the flag bit data is used to indicate the status of the electronic lock. For example, the flag bit data may be 0 or 1, indicating an unbondable state and a bindable state, respectively. The electronic lock changes the state of the electronic lock by changing the flag bit data in the state information.
And step 508, broadcasting the electronic lock information after the state information is updated to a preset range, so that the electronic equipment obviously displays the introduction information after detecting the electronic lock information after the state information is updated.
Specifically, the electronic lock broadcasts the electronic lock information after the state information is updated to a preset range by using Bluetooth, and the electronic equipment displays introduction information after detecting the electronic lock information after the state information is updated.
Optionally, the status information of the electronic lock includes flag bit data, and the flag bit data is used to indicate the status of the electronic lock. For example, the flag bit data may be 0 or 1, indicating an unbondable state and a bindable state, respectively. The electronic equipment judges the state of the electronic lock by detecting the flag bit data in the state information.
And 510, receiving a binding instruction with the electronic equipment, and binding with the electronic equipment according to the binding instruction.
Specifically, the electronic device displays electronic lock information of the target electronic lock on a graphical user interface, and the user selects the target electronic lock to be bound. The electronic equipment acquires the instruction corresponding to the electronic lock and sends binding information to the electronic lock according to the instruction.
Optionally, the electronic device displays the electronic lock information of the target electronic lock on a graphical user interface, the user clicks the electronic lock information to be bound, the electronic device obtains an instruction for binding the electronic lock, displays a page being bound on the graphical user interface, and sends the binding information to the electronic lock according to the instruction.
In this embodiment, the state information of the electronic lock is detected by updating the electronic lock information which is obviously displayed, and the state of the electronic lock can be updated in time, so that the electronic device can change the display state of the electronic lock in time, and the condition that a plurality of electronic locks are obviously displayed is avoided. The accuracy of binding the target electronic lock by the user is effectively improved, so that the user can correctly judge and select the electronic lock to be bound in the using process, the binding speed is improved, and the binding of the electronic lock is more convenient.
In one embodiment, obtaining an instruction to bring an electronic lock into a to-be-bound state includes: and responding to the pressing action of the binding key, and generating an instruction for enabling the electronic lock to enter a to-be-bound state according to the pressing action.
Specifically, the electronic lock is provided with a key, and when the case is pressed, the electronic lock responds to the pressing action of the binding key and generates an instruction for enabling the electronic lock to enter a to-be-bound state according to the pressing action.
Optionally, the key of the electronic lock, which generates the instruction to make the electronic lock enter the to-be-bound state, may be set in various shapes, and the pressing action of the user may be a short press or a long press.
In this embodiment, the electronic lock is provided with a button that can be pressed to enter a to-be-bound state, so that a user can manually trigger the bindable state of the target electronic lock.
In one embodiment, after broadcasting the electronic lock information after updating the status information to the preset range, the method further includes: and when the state information indicates that the maintaining time length in the bindable state reaches the preset time length, restoring the state information indicating the bindable state into the state information indicating the non-bindable state.
Specifically, the electronic lock responds to the pressing action of the binding key, generates a command for enabling the electronic lock to enter a to-be-bound state according to the pressing action, generates a command for enabling the electronic lock to enter the to-be-bound state within a preset time length by one pressing action, and generates state information for enabling the electronic lock to enter a non-bound state when the preset time length is exceeded.
In this embodiment, the electronic lock responds to an action of triggering the electronic lock to enter the bindable state by the user, and generates an instruction for enabling the electronic lock to enter the bindable state within a preset time, so that the electronic lock is in the bindable state within the preset time after being triggered by the user, and is obviously displayed on the electronic device. The problem that information of a plurality of electronic locks is displayed on the electronic equipment at the same time in a display state due to the fact that the electronic locks are in the display state for a long time is effectively solved.
In one embodiment, as shown in fig. 6, receiving a binding instruction with an electronic device, and binding with the electronic device according to the binding instruction includes:
step 602, a binding instruction sent by the electronic device is received through the first wireless communication unit, where the binding instruction includes a first verification key.
The first wireless communication unit refers to a wireless communication unit on the electronic lock.
Specifically, the electronic device sends a binding request for the prominently displayed electronic lock to the server, and the server generates a first verification key according to the binding request and sends the first verification key to the electronic device. The electronic equipment sends the first verification key to the electronic lock, and the electronic lock receives the first verification key sent by the electronic equipment through the wireless communication unit of the electronic lock.
Optionally, the first verification key may be sent to the electronic lock in an encrypted manner, and the electronic lock may decrypt the first verification key according to a decryption manner corresponding to the secret key to obtain the electronic key. Optionally, the wireless communication unit of the electronic lock may be a bluetooth module.
Step 604, a second authentication key is generated according to the first authentication key.
In particular, the electronic lock may generate the second authentication key from the first authentication key. And sending the first verification key to the electronic equipment. Alternatively, the first authentication key may be a randomly generated character string with a combination of letters, numbers, special symbols, and the like having a preset number of digits, for example, a character string formed by 15 digits.
Step 606, sending an authentication indication comprising the second authentication key to the server via the second wireless communication unit.
The verification instruction is used for instructing the server to carry out consistency verification on the received second verification secret key sent by the electronic lock and the first verification secret key sent by the electronic equipment; the second wireless communication unit is used for communication between the electronic lock and the server.
Specifically, the electronic lock may generate a second authentication key from the first authentication key, and the second wireless communication unit may transmit an authentication indication including the second authentication key to the server. And instructing the server to perform consistency verification on the received second verification key sent by the electronic lock and the first verification key sent by the electronic equipment.
Step 608, receiving the information that the binding of the target electronic lock is successful, which is returned by the server after the server verifies the consistency.
Specifically, the server verifies whether the first key and the second key are consistent, if so, the server sends information of successful binding to the electronic lock, and the electronic lock receives the information.
Optionally, after receiving the information that the binding is successful sent by the server, the electronic lock displays that the binding is successful on the display screen of the electronic lock, and prompts that the binding is successful through voice so as to remind the user that the electronic device has bound the target electronic lock.
In this embodiment, the electronic lock does not need to be pasted with the two-dimensional code, but the electronic device, the server and the electronic lock are communicated with each other, and the electronic device and the target electronic lock are bound by adopting mutual verification of the two keys, so that the binding efficiency of the electronic device and the electronic lock is improved.
In one embodiment, as shown in FIG. 7, a timing diagram of an electronic lock connection method is provided. The target electronic lock is the electronic lock to be bound, the terminal is the device for requesting to add the binding control on the target electronic lock, and the server is used for performing background management on the electronic lock. The method comprises the following steps:
step 702, the target electronic lock broadcasts electronic lock information of the electronic lock through the first wireless communication unit, wherein the electronic lock information includes introduction information of the electronic lock and state information of the electronic lock.
Alternatively, the first wireless communication unit may be a bluetooth communication unit, that is, the target electronic lock may broadcast its own electronic lock information to a bluetooth broadcast-enabled range through its wireless bluetooth communication unit.
Step 704, the terminal searches the bindable electronic lock and displays the introduction information of the searched electronic lock.
The terminal in the broadcasting range of the target electronic lock can search the receivable electronic lock information through the first wireless communication mode corresponding to the first wireless communication unit, for example, the terminal also receives the electronic lock information through the wireless Bluetooth communication mode. After the electronic lock information is received, introduction information of the electronic lock can be displayed in a corresponding interface.
As shown in fig. 8a and 8b, the terminal may provide a search button for "searching for bluetooth devices" on the search interface, and when a click operation of the search button by the user is detected, trigger a corresponding search instruction, search the bindable electronic lock through the bluetooth communication function, and display introduction information of the searched electronic lock on the electronic lock display interface. For example, the searched electronic lock name or number information of the electronic lock may be displayed in a list display manner as shown in fig. 8 b.
Step 706, the terminal detects whether the received state information of the electronic lock indicates a to-be-bound state, and if so, obviously displays introduction information corresponding to the electronic lock.
In one embodiment, the electronic lock is provided with a button for the user to enter the to-be-bound state, and the user can perform a pressing operation on the button, for example, perform a long-time pressing operation, so that the electronic lock enters the to-be-bound state. Under normal conditions, the electronic lock is in a non-binding state, so that the electronic lock is prevented from being bound by the terminal randomly. After the electronic lock detects the pressing operation of the button, the electronic lock may change the flag bit data broadcasted by the electronic lock, for example, change the flag bit data from 0 to 1, indicate that the electronic lock is in the to-be-bound state by a value of 1, and keep the state information unchanged within a preset time period.
The terminal can update the searched electronic lock information according to a certain frequency, detect whether the flag bit data in the electronic lock information is 1, and if so, judge that the corresponding electronic lock is in a to-be-bound state. When the electronic lock is identified to be in the to-be-bound state, the display mode of the introduction information of the electronic lock is changed, so that the display mode is different from the display mode of the introduction information of the electronic lock in the unbound state. For example, as shown in fig. 8c, the 3 rd electronic lock is in the to-be-bound state, and the terminal may flash and display the introduction information to prompt the user which electronic lock is the to-be-bound electronic lock.
In step 708, the terminal sends a binding request for the target electronic lock to the server.
As shown in fig. 8c, when the terminal detects that the user operates the motor of the 3 rd electronic lock, a binding instruction for the electronic lock is triggered. The terminal can take the electronic lock acted by the motor operation as a target electronic lock, generate a binding request for the target electronic lock, and send the control request to the server to request the server to provide a service of binding the electronic lock. The binding request comprises the electronic lock identifier of the target electronic lock and the terminal identifier of the terminal, so that the server can know which terminal seeks to bind and control which electronic lock.
In step 710, the server generates a first authentication key according to the binding request.
In step 712, the server sends the first authentication key to the terminal.
The server can randomly generate a first verification secret key with a preset number of digits and send the first verification secret key to the terminal.
In step 714, the terminal sends the first authentication key to the electronic lock through the first wireless communication mode.
When the terminal receives the first verification secret key, a prompt interface for the first verification secret key can be generated, so that a user can input the first verification secret key into a target electronic lock to be bound according to the first verification secret key displayed on the interface. As shown in fig. 8d, the first authentication key may be composed of 15 digits.
In one embodiment, the terminal may further send the first authentication key to the electronic lock directly in bluetooth communication without displaying the first authentication key, and without manual input by the user. Meanwhile, a prompt interface as shown in fig. 8e may be generated to prompt the user that the binding target electronic lock is being connected.
In step 716, the electronic lock generates a second authentication key according to the first authentication key.
In step 718, the electronic lock sends a second authentication key to the server through the second wireless communication unit.
Optionally, after the electronic lock receives the first verification key sent by the terminal through the first wireless communication unit, the received verification key may be forwarded to the server through the second wireless communication unit, so as to improve the sending efficiency of the verification key. The verification key sent by the electronic lock to the server is the second verification key.
Step 720, verify whether the first verification key and the second verification key are consistent.
The server can check whether the verification secret key generated by the server and sent to the terminal is the same as the verification secret key sent by the electronic lock, and if so, the server and the terminal are judged to be consistent. Optionally, one or both of the first verification key and the second verification key may be an encrypted key, and if the first verification key and the second verification key are encrypted keys, the server may decrypt the corresponding keys according to the corresponding decryption rules, and verify the decrypted keys.
In one embodiment, the electronic lock also carries the electronic lock identifier of the electronic lock in the message that sends the second authentication key to the server. Therefore, the server can further verify whether the electronic lock identifier in the message sent by the electronic lock is consistent with the electronic lock identifier carried in the binding request sent by the terminal before, besides verifying the verification key, so as to further ensure that the electronic lock bound with the terminal is the electronic lock requested to be bound by the terminal, thereby avoiding binding errors of the electronic lock and further improving the accuracy of binding the electronic lock.
In step 722, the server feeds back the verification result to the terminal.
In step 724, the server feeds back the verification result to the electronic lock.
And if the verification is consistent, the server binds the electronic lock identification of the corresponding target electronic lock and the terminal identification of the terminal, so that the binding control of the terminal on the electronic lock is realized, and a message which is consistent in verification and successfully bound is sent to the terminal and/or the electronic lock. And if the verification is inconsistent, sending a message of the inconsistent binding failure to the terminal and/or the electronic lock.
After receiving the verification result, the mobile phone can display a corresponding interface of the binding result to inform the user. For example, a result interface as shown in fig. 8f may be displayed, and the user may be further prompted to set a corresponding device name for the target electronic lock, such as a customizable device name "lock outside gate", "lock inside gate", or "garage lock", or "master horizontal lock", and so on. Therefore, the user can quickly select the target electronic lock according to the self-defined name subsequently, and control such as unlocking and the like is performed.
According to the electronic lock connection method, the introduction information of the electronic lock to be bound is obviously displayed, so that a user can clearly find the electronic lock to be added, the second verification secret key is directly sent to the electronic lock by the terminal, the user does not need to enter, the user operation is simplified, the binding convenience is improved, and meanwhile, in the verification process, besides the verification of the first verification secret key and the second verification secret key, the verification of the electronic lock identification is also carried out, and the safety and the accuracy of the terminal in controlling the electronic lock are further improved.
It should be understood that, although the steps in the flowcharts of fig. 2 to 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps of fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, an electronic lock connecting apparatus is provided, which includes an information query module 902, an information display module 904, an information detection module 906, and an electronic lock binding module 908. Wherein:
the information query module 902 is used for querying the recognizable electronic lock information in the preset range;
the information display module 904 is configured to display the queried information of the electronic lock;
the information detection module 906 is configured to detect whether the status information of the electronic lock is in a bindable state;
the information display module 904 is further configured to, when the state information is in a bindable state, obviously display electronic lock information indicating an electronic lock corresponding to the bindable state;
the electronic lock binding module 908 is configured to bind the prominently displayed electronic lock.
In one embodiment, the information display module 904 is further configured to update the status information of the prominently displayed electronic lock; and when the updated state information is detected to represent the state of being unbound, canceling the obvious display of the electronic lock information of the corresponding electronic lock.
In one embodiment, the status information includes flag bit data for indicating a status of the electronic lock; the information detecting module 906 is further configured to detect whether the flag bit data is data indicating a bindable state, if so, determine that the state information indicates the bindable state, otherwise, determine that the state information indicates the unbound state.
In one embodiment, as shown in fig. 10, the electronic lock binding module 908 further includes a binding request transmitting unit 1002, a first authentication key receiving unit 1004, a feedback information transmitting unit 1006, and a binding result information first receiving unit 1008. Wherein:
the binding request sending unit 1002 is configured to send a binding request for the prominently displayed electronic lock to the server.
The first authentication key receiving unit 1004 is configured to receive a first authentication key generated by the server according to the binding request.
The feedback information sending unit 1006 is configured to send feedback information that the verification key is received to the server, where the feedback information is used to instruct the server to perform consistency verification on the second verification key sent by the target electronic lock and the first verification key sent by the electronic device.
The binding result information first receiving unit 1008 is used for receiving information that the server successfully binds the electronic lock which is obviously displayed after the server verifies the consistency.
In one embodiment, as shown in FIG. 11, another electronic lock connection apparatus is provided and includes an information broadcasting module 1102, an instruction obtaining module 1104, a status information updating module 1106, and an electronic device connection module 1108. Wherein:
the information broadcasting module 1102 is configured to broadcast electronic lock information to a preset range, where the electronic lock information includes status information and introduction information of an electronic lock.
The instruction obtaining module 1104 is configured to obtain an instruction for bringing the electronic lock into a to-be-bound state.
The status information updating module 1106 is configured to update the status information into status information representing a bindable status according to the instruction.
The information broadcasting module 1102 is further configured to broadcast the electronic lock information after the status information is updated to the preset range, so that the electronic device obviously displays the introduction information after detecting the electronic lock information after the status information is updated.
The electronic device connection module 1108 is configured to receive a binding instruction with the electronic device, and bind with the electronic device according to the binding instruction.
In one embodiment, the instruction obtaining module 1104 is further configured to generate, in response to the pressing action of the binding key, an instruction for bringing the electronic lock into the to-be-bound state according to the pressing action.
In one embodiment, the information broadcasting module 1102 is further configured to restore the state information indicating the bindable state to the state information indicating the non-bindable state after the state information indicates that the duration of the bindable state reaches the preset duration.
In one embodiment, as shown in FIG. 12, the electronic device connection module 1108 comprises:
a second authentication key generation unit 1202 for receiving the first authentication key transmitted by the electronic device through the first wireless communication unit; a second authentication key is generated from the first authentication key.
A verification instruction sending unit 1204, configured to send, to the server through the second wireless communication unit, a verification instruction including a second verification key, where the verification instruction is used to instruct the server to perform consistency verification on the received second verification key sent by the electronic lock and the first verification key sent by the electronic device.
And the second receiving unit 1206 of the binding result information is used for receiving the information of successful binding of the target electronic lock, which is returned by the server after the server verifies the consistency.
For specific limitations of the electronic lock connection device, reference may be made to the above limitations of the electronic lock method, which are not described herein again. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
inquiring the electronic lock information of the recognizable electronic lock in a preset range, wherein the electronic lock information comprises electronic lock introduction information and electronic lock state information;
displaying the inquired electronic lock information of the electronic lock;
detecting whether the state information represents a bindable state, if so, detecting whether the state information represents a bindable state
The electronic lock information of the electronic lock corresponding to the bindable state is obviously displayed;
and binding the electronic lock with the obvious display.
In one embodiment, the processor of the electronic device, when executing the computer program, further performs the steps of:
updating the state information of the electronic lock which is obviously displayed;
and when the updated state information is detected to represent the state of being unbound, canceling the obvious display of the electronic lock information of the corresponding electronic lock.
The state information comprises flag bit data used for representing the state of the electronic lock;
in one embodiment, the status information includes flag bit data for indicating a status of the electronic lock; the processor of the electronic device, when executing the computer program, further implements the steps of:
and detecting whether the flag bit data is data representing a bindable state, if so, judging that the state information represents the bindable state, and otherwise, judging that the state information represents the unbound state.
In one embodiment, the processor of the electronic device, when executing the computer program, further performs the steps of:
sending a binding request for the prominently displayed electronic lock to a server;
receiving a first verification secret key generated by a server according to the binding request;
sending feedback information of the received verification secret key to a server, wherein the feedback information is used for indicating the server to carry out consistency verification on a second verification secret key sent by the target electronic lock and a first verification secret key sent by the electronic equipment;
and receiving the information of successful binding of the electronic lock which is obviously displayed after the server verifies the consistency.
In one embodiment, there is provided an electronic lock comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
broadcasting electronic lock information to a preset range, wherein the electronic lock information comprises state information and introduction information of an electronic lock;
acquiring an instruction for enabling the electronic lock to enter a to-be-bound state;
updating the state information into state information representing a bindable state according to the instruction;
broadcasting the electronic lock information after updating the state information to a preset range, so that the electronic equipment obviously displays the introduction information after detecting the electronic lock information after updating the state information;
and receiving a binding instruction with the electronic equipment, and binding with the electronic equipment according to the binding instruction.
In one embodiment, the processor of the electronic lock, when executing the computer program, further performs the steps of:
and responding to the pressing action of the binding key, and generating an instruction for enabling the electronic lock to enter a to-be-bound state according to the pressing action.
In one embodiment, the processor of the electronic lock, when executing the computer program, further performs the steps of:
and when the state information indicates that the maintaining time length in the bindable state reaches the preset time length, restoring the state information indicating the bindable state into the state information indicating the non-bindable state.
In one embodiment, the processor of the electronic lock, when executing the computer program, further performs the steps of:
receiving a binding instruction sent by electronic equipment through a first wireless communication unit, wherein the binding instruction comprises a first verification secret key;
generating a second verification key according to the first verification key;
sending a verification instruction containing a second verification secret key to the server through the second wireless communication unit, wherein the verification instruction is used for instructing the server to carry out consistency verification on the received second verification secret key sent by the electronic lock and the first verification secret key sent by the electronic equipment;
and receiving the information of successful binding of the target electronic lock returned by the server after the server verifies the consistency.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the computer program causes the processor to execute the steps of the electronic lock connection method in the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An electronic lock connection method, the method comprising:
the electronic equipment inquires electronic lock information of an identifiable electronic lock in a preset range, wherein the electronic lock information comprises electronic lock introduction information and electronic lock state information; the state information comprises flag bit data of the electronic lock;
the electronic equipment displays the inquired electronic lock information of the electronic lock;
when a trigger mechanism on the electronic lock responds to a trigger operation to generate an instruction for enabling the electronic lock to enter a bindable state, the electronic equipment acquires updated state information; the updated state information is obtained by updating the state information by the electronic lock according to the instruction for entering the bindable state;
the electronic device detecting whether the updated state information represents a bindable state includes: detecting whether the updated flag bit data is data representing a bindable state, and if so, judging that the updated state information represents the bindable state;
the electronic equipment displays the electronic lock information of the electronic lock corresponding to the bindable state obviously;
the electronic lock with the electronic equipment binding prominent display comprises: and acquiring an instruction for binding the obviously displayed electronic lock, and sending binding information to the electronic lock according to the instruction for binding the obviously displayed electronic lock.
2. The method according to claim 1, further comprising, after the prominently displaying the electronic lock information indicating the electronic lock corresponding to the bindable state:
updating the state information of the electronic lock which is obviously displayed;
and when the updated state information is detected to represent the state of being unbound, canceling the obvious display of the electronic lock information of the corresponding electronic lock.
3. The method of claim 1, wherein the detecting whether the updated state information represents a bindable state further comprises:
and if the flag bit data of the updated state information does not represent the data of the bindable state, judging that the updated state information represents the unbound state.
4. The method of claim 1, wherein binding the prominently displayed electronic lock comprises:
sending a binding request for the prominently displayed electronic lock to a server;
receiving a first authentication key generated by the server according to the binding request;
sending feedback information of the received verification secret key to the server, wherein the feedback information is used for indicating the server to carry out consistency verification on a second verification secret key sent by the target electronic lock and the first verification secret key sent by the electronic equipment;
and receiving the information of successful binding of the electronic lock which is obviously displayed, returned by the server after the server is verified to be consistent.
5. An electronic lock connection method, the method comprising:
the method comprises the steps that electronic lock information is broadcasted to a preset range, wherein the electronic lock information comprises state information and introduction information of the electronic lock; the state information comprises flag bit data of the electronic lock;
the electronic lock acquires a command which is generated by a trigger mechanism on the electronic lock in response to a trigger operation and enables the electronic lock to enter a to-be-bound state;
the electronic lock updates the state information into state information representing a bindable state according to the instruction, and the state information is updated into the state information representing the bindable state by changing flag bit data in the state information;
the electronic lock broadcasts the electronic lock information after the state information is updated to the preset range, so that the electronic equipment obviously displays the introduction information after detecting the electronic lock information after the state information is updated;
the electronic lock receives a binding instruction with the electronic equipment, and binds with the electronic equipment according to the binding instruction.
6. The method according to claim 5, further comprising, after the broadcasting the electronic lock information after updating the status information to the preset range:
and when the state information indicates that the maintaining time length in the bindable state reaches the preset time length, restoring the state information indicating the bindable state into the state information indicating the non-bindable state.
7. The method of claim 5, wherein receiving a binding instruction with the electronic device, and binding with the electronic device according to the binding instruction comprises:
receiving a binding instruction sent by electronic equipment through a first wireless communication unit, wherein the binding instruction comprises a first verification secret key;
generating a second verification secret key according to the first verification secret key;
sending, by a second wireless communication unit, a verification instruction including the second verification key to a server, where the verification instruction is used to instruct the server to perform consistency verification on the received second verification key sent by the electronic lock and the first verification key sent by the electronic device;
and receiving the information of successful binding of the target electronic lock returned by the server after the server is verified to be consistent.
8. An electronic lock attachment device, the device comprising:
the information query module is used for querying the recognizable electronic lock information in the preset range; the electronic lock information comprises electronic lock introduction information and electronic lock state information; the state information comprises flag bit data of the electronic lock;
the information display module is used for displaying the inquired electronic lock information;
when a trigger mechanism on the electronic lock responds to a trigger operation to generate an instruction for enabling the electronic lock to enter a bindable state, acquiring updated state information; the updated state information is obtained by updating the state information by the electronic lock according to the instruction for entering the bindable state;
the information detection module is used for detecting whether the updated state information of the electronic lock is in a bindable state or not, and comprises the following steps: detecting whether the updated flag bit data is data representing a bindable state, and if so, judging that the updated state information represents the bindable state;
the information display module is also used for obviously displaying the electronic lock information of the electronic lock corresponding to the bindable state when the state information is in the bindable state;
an electronic lock binding module for binding a prominently displayed electronic lock, comprising: and acquiring an instruction for binding the obviously displayed electronic lock, and sending binding information to the electronic lock according to the instruction for binding the obviously displayed electronic lock.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201811209595.6A 2018-10-17 2018-10-17 Electronic lock connection method and device, electronic equipment and storage medium Active CN109544732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811209595.6A CN109544732B (en) 2018-10-17 2018-10-17 Electronic lock connection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811209595.6A CN109544732B (en) 2018-10-17 2018-10-17 Electronic lock connection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109544732A CN109544732A (en) 2019-03-29
CN109544732B true CN109544732B (en) 2021-10-12

Family

ID=65844114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811209595.6A Active CN109544732B (en) 2018-10-17 2018-10-17 Electronic lock connection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109544732B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070654B (en) * 2019-04-29 2022-01-11 深圳前海微众银行股份有限公司 Electronic lock unlocking method, system, terminal, electronic lock and computer storage medium
CN115376229B (en) * 2022-08-26 2023-11-07 广东好太太智能家居有限公司 Intelligent lock binding method and device, storage medium and computer equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533198A (en) * 2013-11-05 2014-01-22 东莞安尔发智能科技股份有限公司 Mobile phone anti-theft lock
CN103632243A (en) * 2012-08-30 2014-03-12 贾松仁 Logistics distribution system and distribution method thereof
CN103713528A (en) * 2013-10-18 2014-04-09 上海擎云物联网有限公司 Parking space lock multi point to multi point intelligent Bluetooth networking control method and device thereof
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
CN106302762A (en) * 2016-08-19 2017-01-04 北京小米移动软件有限公司 Smart machine binding method and device
CN107665532A (en) * 2017-10-12 2018-02-06 深圳市驿固科技有限公司 A kind of method of intelligent terminal binding smart lock
CN107833321A (en) * 2017-11-01 2018-03-23 潍柴动力股份有限公司 A kind of apparatus bound, unbind method, vehicle locking method and relevant device
CN207966006U (en) * 2018-02-06 2018-10-12 高芯电子(广州)有限公司 Binding system between a kind of electronic lock and user

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030140025A1 (en) * 2002-01-24 2003-07-24 Daum Steven B. Enhanced air travel security method and apparatus
CA2845050A1 (en) * 2013-03-01 2014-09-01 Yves Paquin Electronic door access control system
CN105407454A (en) * 2015-11-23 2016-03-16 深圳还是威健康科技有限公司 Binding method and device for wearable device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632243A (en) * 2012-08-30 2014-03-12 贾松仁 Logistics distribution system and distribution method thereof
CN103713528A (en) * 2013-10-18 2014-04-09 上海擎云物联网有限公司 Parking space lock multi point to multi point intelligent Bluetooth networking control method and device thereof
CN103533198A (en) * 2013-11-05 2014-01-22 东莞安尔发智能科技股份有限公司 Mobile phone anti-theft lock
CN103971435A (en) * 2014-05-22 2014-08-06 广东欧珀移动通信有限公司 Unlocking method, server, mobile terminal, electronic lock and unlocking system
CN106302762A (en) * 2016-08-19 2017-01-04 北京小米移动软件有限公司 Smart machine binding method and device
CN107665532A (en) * 2017-10-12 2018-02-06 深圳市驿固科技有限公司 A kind of method of intelligent terminal binding smart lock
CN107833321A (en) * 2017-11-01 2018-03-23 潍柴动力股份有限公司 A kind of apparatus bound, unbind method, vehicle locking method and relevant device
CN207966006U (en) * 2018-02-06 2018-10-12 高芯电子(广州)有限公司 Binding system between a kind of electronic lock and user

Also Published As

Publication number Publication date
CN109544732A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN110519115B (en) Gateway interface test method, terminal device, storage medium and device
CN106034134B (en) Method, auxiliary method and device for carrying out identity authentication request in webpage application program
CN102595409B (en) Method, equipment and system for acquiring encryption information based on wireless access
CN109544732B (en) Electronic lock connection method and device, electronic equipment and storage medium
CN112580014B (en) Verification code obtaining method and device
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN105553920A (en) Data interaction method, apparatus, and system
CN103914520B (en) Data query method, terminal device and server
CN113940037B (en) Resource subscription method, device, computer equipment and storage medium
CN111628871B (en) Block chain transaction processing method and device, electronic equipment and storage medium
CN112738046B (en) One-key login method, terminal and system server
CN109544731B (en) Electronic lock control method, computer device, and storage medium
CN105577619B (en) Client login method, client and system
CN109544265B (en) Electronic lock information processing method, electronic device and storage medium
CN111586671A (en) Embedded user identification card configuration method and device, communication equipment and storage medium
CN113630246A (en) Smart home control method and device, electronic equipment and storage medium
KR20140033213A (en) Method for accessing at least one service and corresponding system
CN102508650B (en) A kind of method, device and a kind of browser starting browser extension and apply
CN104050236B (en) Web site contents update reminding method, server and client side
CN112954647A (en) Vehicle Bluetooth key registration method and device, computer equipment and storage medium
CN105657028A (en) System virtualization technology implementation method and terminal
CN105430601A (en) Method and device for displaying Bluetooth device lists as well as mobile terminal
CN107181595A (en) A kind of account method for retrieving and device for retrieving based on intelligent terminal
CN112954654A (en) Vehicle NFC key registration method, computer device and storage medium
JP2008005042A (en) Personal data utilizing system for mobile terminal, mobile terminal, personal data utilizing method of mobile terminal, and program

Legal Events

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