CN110972332A - Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment - Google Patents

Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment Download PDF

Info

Publication number
CN110972332A
CN110972332A CN201811159235.XA CN201811159235A CN110972332A CN 110972332 A CN110972332 A CN 110972332A CN 201811159235 A CN201811159235 A CN 201811159235A CN 110972332 A CN110972332 A CN 110972332A
Authority
CN
China
Prior art keywords
intelligent
communication technology
short
intelligent lock
wireless communication
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
CN201811159235.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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811159235.XA priority Critical patent/CN110972332A/en
Publication of CN110972332A publication Critical patent/CN110972332A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The embodiment of the invention provides an intelligent lock networking method, an intelligent lock networking device, an intelligent lock networking system, an intelligent gateway device, and an intelligent lock networking system, wherein the intelligent lock networking system comprises: the intelligent lock and the intelligent gateway equipment establish communication connection through a second short-distance wireless communication technology; the control terminal is used for acquiring the network access information of the router and sending the network access information to the intelligent lock through a first short-distance wireless communication technology; the intelligent lock is used for receiving the network access information sent by the control terminal and sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology; and the intelligent gateway equipment is used for receiving the network access information sent by the intelligent lock and establishing communication connection with the router according to the network access information. The intelligent network locking system provided by the embodiment of the invention can realize intelligent network locking without depending on the broadcast packet function of the router, and can increase the application range of the intelligent lock.

Description

Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment
Technical Field
The invention relates to the technical field of intelligent home, in particular to an intelligent lock networking method, device and system, an intelligent lock and intelligent gateway equipment.
Background
With the development of electronic technology, smart devices such as smart phones, smart glasses and smart watches are widely used in life, and provide better life quality for people. The intelligent lock is a member of intelligent equipment and plays a key role in daily life of people.
The intelligent lock can expand functions through networking, and in the related art, the connection to the world wide web generally needs to rely on a WIFI (Wireless-Fidelity) module, but because the intelligent lock is generally powered by a battery, and the WIFI module consumes more power, the networking function of the intelligent lock is generally realized through an intelligent gateway device in the industry at present. The intelligent gateway equipment is powered by a 12V power supply and is connected with the router through the WIFI module, and Sub1G protocol communication is used between the intelligent lock and the intelligent gateway equipment, so that the networking function of the intelligent lock is realized.
In the related intelligent interlocking network method, a control terminal, such as a smart phone or a smart watch, sends a broadcast packet through a router, the broadcast packet contains WIFI information, the WIFI information comprises a WIFI name and a password, the intelligent gateway device enters a state of receiving the broadcast packet, after receiving a specific broadcast packet, analyzes corresponding broadcast packet content to obtain WIFI information, and is connected to the router through the WIFI information.
However, by adopting the above method, the control terminal needs to send the broadcast packet through the router, which is limited by the compatibility of the router, and some routers of certain brands or models in the market cannot correctly forward a specific broadcast packet, so that the intelligent gateway device cannot be connected with the router, and some routers are closed by default or do not support the broadcast packet function, so that the intelligent gateway device cannot be connected with the router. In short, the existing intelligent lock networking method limits the application range of the intelligent lock.
Disclosure of Invention
The embodiment of the invention aims to provide an intelligent lock networking method, an intelligent lock networking device, an intelligent lock networking system, an intelligent lock and intelligent gateway equipment, so as to increase the application range of the intelligent lock. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an intelligent internet of lock system, where the system includes:
the intelligent lock and the intelligent gateway equipment establish communication connection through a second short-distance wireless communication technology;
the control terminal is used for acquiring network access information of the router and sending the network access information to the intelligent lock through a first short-distance wireless communication technology;
the intelligent lock is used for receiving the network access information sent by the control terminal and sending the network access information to the intelligent gateway equipment through the second short-distance wireless communication technology;
and the intelligent gateway equipment is used for receiving the network access information sent by the intelligent lock and establishing communication connection with the router according to the network access information.
Optionally, in the intelligent lock networking system according to the embodiment of the present invention, the control terminal is further configured to acquire gateway identification information of the intelligent gateway device, establish a communication connection with the intelligent lock through the first short-distance wireless communication technology, and send the gateway identification information to the intelligent lock;
the intelligent lock is further used for receiving the gateway identification information sent by the control terminal and sending the gateway identification information through the second short-distance wireless communication technology;
the intelligent gateway device is further configured to receive the gateway identification information sent by the intelligent lock, and establish communication connection with the intelligent lock through the second short-distance wireless communication technology when it is determined that the gateway identification information matches the identification information of the intelligent gateway device itself.
Optionally, in the intelligent internet of things system according to the embodiment of the present invention, the first short-distance wireless communication technology is other near-field communication technologies except for WIFI and AP.
Optionally, in the intelligent interlocking network system according to the embodiment of the present invention, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
Optionally, in the intelligent interlocking system according to the embodiment of the present invention, the intelligent lock is further configured to send a gateway connection success message to the control terminal after the intelligent lock establishes a communication connection with the intelligent gateway;
the control terminal is specifically configured to acquire network access information of a router, and send the network access information to the intelligent lock through a first short-distance wireless communication technology after receiving the gateway connection success message.
Optionally, in the intelligent network-lock system according to the embodiment of the present invention, the intelligent lock is configured to send the gateway identification information through the second short-distance wireless communication technology, and includes:
the intelligent lock is used for: and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
Optionally, in the intelligent interlocking system according to the embodiment of the present invention, the intelligent gateway device is further configured to send a router connection success message to the intelligent lock after the intelligent gateway device establishes a communication connection with the router;
the intelligent lock is further configured to receive the router connection success message sent by the intelligent gateway device, and send the router connection success message to the control terminal;
and the control terminal is also used for receiving the router connection success message sent by the intelligent lock and executing the display operation corresponding to the router connection success message.
In a second aspect, an embodiment of the present invention provides an intelligent lock networking method, which is applied to an intelligent lock, and the method includes:
receiving network access information of a router, which is sent by a control terminal through a first short-distance wireless communication technology;
and sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the router according to the network access information.
Optionally, before the receiving network entry information of the router sent by the control terminal through the first short-range wireless communication technology, the method further includes:
establishing communication connection with the control terminal through a first short-distance wireless communication technology, and receiving gateway identification information of the intelligent gateway equipment sent by the control terminal;
and sending the gateway identification information through a second short-distance wireless communication technology, so that after the intelligent gateway equipment receives the gateway identification information, the intelligent gateway equipment establishes communication connection with the intelligent lock through the second short-distance wireless communication technology according to the gateway identification information.
Optionally, the sending the gateway identification information through the second short-range wireless communication technology includes:
and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
Optionally, the method for networking an intelligent lock applied to an intelligent lock in the embodiment of the present invention further includes:
after the intelligent lock establishes communication connection with the intelligent gateway equipment, a gateway connection success message is sent to the control terminal through the first short-distance wireless communication technology, so that the control terminal sends the network access information to the intelligent lock after receiving the gateway connection success message.
Optionally, in the intelligent network-locking method applied to the intelligent lock in the embodiment of the present invention, the first short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking network method applied to the intelligent lock in the embodiment of the present invention, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In a third aspect, the present invention provides an intelligent network-locking method, which is applied to an intelligent gateway device, and includes:
receiving network access information of the router sent by the intelligent lock through a second short-distance wireless communication technology;
and establishing communication connection with the router according to the network access information.
Optionally, before the receiving the network entry information of the router sent by the smart lock through the second short-range wireless communication technology, the method further includes:
acquiring gateway identification information sent by the intelligent lock through a second short-distance wireless communication technology;
and when the gateway identification information is matched with the identification information of the intelligent gateway equipment, establishing communication connection with the intelligent lock through the second short-distance wireless communication technology.
Optionally, after the establishing of the communication connection with the router according to the network access information, the method further includes:
and sending a router connection success message to the intelligent lock so that the intelligent lock sends the router connection success message to a control terminal.
Optionally, in the intelligent networking method for locking an intelligent gateway device according to the embodiment of the present invention, the second short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking network method applied to the intelligent gateway device in the embodiment of the present invention, the second short-distance wireless communication technology is a Sub1G communication technology.
In a fourth aspect, an embodiment of the present invention provides an intelligent lock networking device, where the device is located in an intelligent lock, and the device includes:
the first information acquisition module is used for receiving the network access information of the router, which is sent by the control terminal through a first short-distance wireless communication technology;
and the first information sending module is used for sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the router according to the network access information.
Optionally, the intelligent lock networking device located in the intelligent lock in the embodiment of the present invention further includes:
the third information acquisition module is used for establishing communication connection with the control terminal through a first short-distance wireless communication technology and receiving gateway identification information of the intelligent gateway equipment sent by the control terminal;
and the second information sending module is used for sending the gateway identification information through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the intelligent lock through the second short-distance wireless communication technology according to the gateway identification information after receiving the gateway identification information.
Optionally, the second information sending module is specifically configured to:
and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
Optionally, the intelligent lock networking device located in the intelligent lock in the embodiment of the present invention further includes:
and the third information sending module is used for sending a gateway connection success message to the control terminal through the first short-distance wireless communication technology after the intelligent lock establishes communication connection with the intelligent gateway equipment, so that the control terminal sends the network access information to the intelligent lock after receiving the gateway connection success message.
Optionally, in the intelligent lock networking device according to the embodiment of the present invention, the first short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking device for the intelligent lock according to the embodiment of the present invention, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In a fifth aspect, an embodiment of the present invention provides an intelligent network-locking device, which is located in an intelligent gateway device, and includes:
the second information acquisition module is used for receiving the network access information of the router, which is sent by the intelligent lock through a second short-distance wireless communication technology;
and the router connection module is used for establishing communication connection with the router according to the network access information.
Optionally, the intelligent network locking device located in the intelligent gateway device in the embodiment of the present invention further includes:
the fourth information acquisition module is used for acquiring gateway identification information sent by the intelligent lock through the second short-distance wireless communication technology;
and the communication establishing module is used for establishing communication connection with the intelligent lock through the second short-distance wireless communication technology when the gateway identification information is matched with the identification information of the intelligent gateway equipment.
Optionally, the intelligent network locking device located in the intelligent gateway device in the embodiment of the present invention further includes:
and the fourth information sending module is used for sending a router connection success message to the intelligent lock so that the intelligent lock sends the router connection success message to the control terminal.
Optionally, in the intelligent interlocking network device located in the intelligent gateway apparatus according to the embodiment of the present invention, the second short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking networking device located in the intelligent gateway apparatus according to the embodiment of the present invention, the second short-distance wireless communication technology is a Sub1G communication technology.
In a sixth aspect, an embodiment of the present invention provides an intelligent lock, including a lock cylinder, where the intelligent lock further includes a processor, a communication module, and a memory;
the memory is used for storing a computer program;
the processor is configured to implement the intelligent network-locking method according to any one of the second aspects by using the communication module when executing the program stored in the memory.
In a seventh aspect, an embodiment of the present invention provides an intelligent gateway device, including a processor, a communication module, and a memory;
the memory is used for storing a computer program;
the processor is configured to implement the intelligent network-locking method according to any one of the third aspects by using the communication module when executing the program stored in the memory.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the intelligent interlocking method according to any one of the second aspects.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the intelligent interlocking method according to any one of the third aspects.
The embodiment of the invention provides an intelligent lock networking method, an intelligent lock networking device, an intelligent lock networking system and an intelligent gateway device, wherein the intelligent lock networking system comprises: the intelligent lock and the intelligent gateway equipment establish communication connection through a second short-distance wireless communication technology; the control terminal is used for acquiring the network access information of the router and sending the network access information to the intelligent lock through a first short-distance wireless communication technology; the intelligent lock is used for receiving the network access information sent by the control terminal and sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology; and the intelligent gateway equipment is used for receiving the network access information sent by the intelligent lock and establishing communication connection with the router according to the network access information. The control terminal sends the networking information of the router to the intelligent lock, the intelligent lock sends the networking information to the intelligent gateway device, the intelligent gateway device establishes communication connection with the router according to the networking information, the networking of the intelligent lock can be achieved without depending on the broadcast packet function of the router, and the application range of the intelligent lock can be enlarged. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an intelligent interlocking system according to an embodiment of the invention;
fig. 2 is a diagram illustrating a smooth operation of the intelligent lock network system according to the embodiment of the present invention;
fig. 3 is a schematic flowchart of an intelligent network locking method applied to a control terminal according to an embodiment of the present invention;
FIG. 4a is a schematic flow chart of an intelligent lock networking method applied to an intelligent lock according to an embodiment of the present invention;
fig. 4b is another schematic flow chart of the intelligent lock networking method applied to the intelligent lock according to the embodiment of the present invention;
fig. 5a is a schematic flowchart of an intelligent network locking method applied to an intelligent gateway device according to an embodiment of the present invention;
fig. 5b is another schematic flow chart of the intelligent network-locking method applied to the intelligent gateway device according to the embodiment of the present invention;
FIG. 6 is a schematic diagram of an intelligent network-locking device at a control terminal according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an intelligent lock networking device located in an intelligent lock according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an intelligent lock networking apparatus located in an intelligent gateway device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a control terminal according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an intelligent lock according to an embodiment of the present invention;
fig. 11 is a schematic diagram of an intelligent gateway device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related intelligent lock networking method, the control terminal broadcasts the broadcast packet containing the WIFI information through the router, so that the intelligent gateway equipment is connected with the router according to the WIFI information in the broadcast packet after receiving the broadcast packet, and the intelligent lock is communicated with the router through the intelligent gateway equipment, so that networking of the intelligent lock is realized. However, some brands or models of routers cannot correctly forward a specific broadcast packet, and some routers turn off or do not support the broadcast packet function by default, which limits the application scenarios of the intelligent lock.
In view of this, an embodiment of the present invention provides an intelligent internet locking system, and referring to fig. 1, the system includes:
the intelligent lock system comprises a control terminal 101, an intelligent lock 102 and an intelligent gateway device 103, wherein the intelligent lock 102 and the intelligent gateway device 103 establish communication connection through a second short-distance wireless communication technology;
the control terminal 101 is configured to acquire network access information of a router, and send the network access information to the smart lock 102 through a first short-range wireless communication technology.
The smart lock 102 is configured to receive the network access information transmitted by the control terminal 101, and transmit the network access information to the smart gateway device 103 through the second short-range wireless communication technology.
The intelligent gateway device 103 is configured to receive the network access information sent by the intelligent lock 102, and establish a communication connection with the router according to the network access information.
The control terminal 101 may be an intelligent device such as a smart phone, a smart watch, or a notebook computer. The control terminal 101 obtains network access information of the router, for example, the control terminal 101 searches for a router in a communication range, and obtains the network access information of the router after searching for the router, but in order to ensure communication security, the router may allow the control terminal 101 to obtain the network access information of the router after the control terminal 101 is verified by a privacy rule of the router; or the control terminal 101 acquires the network access information of the router input by the user; or the control terminal 101 acquires the network access information of the router to which the control terminal 101 is currently connected. The network access information comprises WIFI information of the router, namely the name and the password of WIFI of the router.
The control terminal 101 sends the network access information to the intelligent lock 102 through the first short-distance wireless communication technology, and the intelligent lock 102 sends the network access information to the intelligent gateway device 103 through the second near-field communication technology. The intelligent gateway device 103 establishes communication connection, specifically WIFI connection, with the router according to the network access information, and the intelligent lock 102 communicates with the router through the intelligent gateway device 103, so that the networking function of the intelligent lock 102 is realized.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, in the intelligent lock networking system according to the embodiment of the present invention, the control terminal 101 is further configured to obtain gateway identification information of the intelligent gateway device 103, establish a communication connection with the intelligent lock 102 through the first short-distance wireless communication technology, and send the gateway identification information to the intelligent lock 102;
the smart lock 102 is further configured to receive the gateway identification information sent by the control terminal 102, and send the gateway identification information through the second short-range wireless communication technology;
the smart gateway device 103 is further configured to receive the gateway identification information sent by the smart lock 102, and establish a communication connection with the smart lock 102 through the second short-range wireless communication technology when it is determined that the gateway identification information matches the identification information of the smart gateway device 103 itself.
The control terminal 101 may be an intelligent device such as a smart phone, a smart watch, or a notebook computer. The control terminal 101 acquires gateway identification information of the intelligent gateway device 103. For example, the control terminal 101 searches for the intelligent gateway device 103 within the communication range, and reads the gateway identification information of the intelligent gateway device 103 when the intelligent gateway device 103 is found, but to ensure the information security of the intelligent gateway device 103, a privacy rule may be added for the intelligent gateway device 103, and when the control terminal 101 passes the verification of the privacy rule of the intelligent gateway device 103, the control terminal 101 is allowed to obtain the gateway identification information of the intelligent gateway device 103; or the control terminal 101 acquires the gateway identification information of the intelligent gateway device 103 input by the user. The gateway identification information includes an identification of the intelligent gateway device 103, for example, the gateway identification information may be a serial number of the intelligent gateway device 103 or the like.
The control terminal 101 establishes a communication connection with the smart lock 102 through a first near field communication technology. For example, the control terminal 101 searches for the smart lock 102 within a communication range through bluetooth, and establishes a connection with the smart lock 102. After the connection is successful, the control terminal 101 sends the gateway identification information to the smart lock 102 through the first near field communication technology.
The intelligent lock 102 sends the gateway identification information through the second near field communication technology, and the intelligent gateway device 103 establishes communication connection with the intelligent lock 102 after receiving the gateway identification information. For example, the smart lock 102 sends a broadcast packet containing gateway identification information through Sub1G, and after the smart gateway device 103 receives the broadcast packet containing gateway identification information, the smart gateway device 103 establishes Sub1G connection with the smart lock 102.
The control terminal 101 obtains network access information of the router, for example, the control terminal 101 searches for a router in a communication range, and obtains the network access information of the router after searching for the router, but in order to ensure communication security, the router may allow the control terminal 101 to obtain the network access information of the router after the control terminal 101 is verified by a privacy rule of the router; or the control terminal 101 acquires the network access information of the router input by the user; or the control terminal 101 acquires the network access information of the router to which the control terminal 101 is currently connected. The network access information comprises WIFI information of the router, namely the name and the password of WIFI of the router.
The control terminal 101 sends the network access information to the intelligent lock 102 through the first short-distance wireless communication technology, and the intelligent lock 102 sends the network access information to the intelligent gateway device 103 through the second near-field communication technology. The intelligent gateway device 103 establishes communication connection, specifically WIFI connection, with the router according to the network access information, and the intelligent lock 102 communicates with the router through the intelligent gateway device 103, so that the networking function of the intelligent lock 102 is realized.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, the smart lock 102 is configured to send the gateway identification information through a second short-range wireless communication technology, and includes:
the smart lock 102 is configured to encapsulate the gateway identification information using a preset protocol format, and broadcast the encapsulated gateway identification information through a second short-distance wireless communication technology.
The preset protocol format can be set according to actual conditions. The intelligent lock 102 and the intelligent gateway device 103 both support a preset protocol format, the intelligent lock 102 encapsulates the gateway identification information through the preset protocol format, and the intelligent gateway device 103 decapsulates the encapsulated gateway identification information through the preset protocol format.
In the embodiment of the invention, the intelligent lock encapsulates the gateway identification information by using the preset protocol format, so that the safety of the gateway identification information can be ensured, and meanwhile, the encapsulated gateway identification information is sent in a broadcast mode, so that the intelligent gateway equipment can conveniently obtain the gateway identification information.
Optionally, the intelligent lock 102 is further configured to send a gateway connection success message to the control terminal 101 after the intelligent lock 102 establishes a communication connection with the intelligent gateway 103;
the control terminal 101 is specifically configured to acquire network access information of a router, and send the network access information to the smart lock 102 after receiving the gateway connection success message.
In the embodiment of the invention, after the control terminal receives the gateway connection success message, the second equipment message is sent to the intelligent lock, so that the intelligent lock can be ensured to successfully send the second equipment message to the intelligent gateway equipment.
Optionally, the intelligent gateway device 103 is further configured to: after the intelligent gateway device 103 establishes communication connection with the router, a router connection success message is sent to the intelligent lock 102;
the smart lock 102 is further configured to: receiving the router connection success message transmitted from the intelligent gateway device 103, and transmitting the router connection success message to the control terminal 101;
the control terminal 101 is further configured to: and receiving the router connection success message sent by the intelligent lock 102, and executing a display operation corresponding to the router connection success message.
After the intelligent gateway device establishes communication connection with the router, the intelligent gateway device sends a router connection success message to the intelligent lock, the intelligent lock sends a router connection success message to the control terminal, and the control terminal executes display operation corresponding to the router connection success message after receiving the router connection success message, for example, the display displays that the intelligent lock is successfully connected with the network.
In the embodiment of the invention, the control terminal executes the display operation corresponding to the router connection success message after receiving the router connection success message, so that a user can conveniently know whether the intelligent lock is successfully networked.
Optionally, the first short-range wireless communication technology is other near-field communication technologies except for WIFI and AP.
In an actual scene, the control terminal 101 is generally connected to the network through the WIFI to implement the functions of the control terminal 101 itself, for example, the smartphone is connected to the network through the WIFI to implement the functions of video playing, web browsing, and the like. However, for the WIFI module, an AP (Wireless Access Point) mode and a WIFI connection mode cannot be used simultaneously, and generally, the control terminal 101 does not support simultaneously connecting multiple devices with WIFI. Therefore, in order to ensure the networking of the control terminal 101, the first short-distance wireless communication technology between the control terminal 101 and the smart lock 102 is other near-field communication technologies except WIFI and AP.
In the embodiment of the invention, the first short-distance wireless communication technology is other near-field communication technologies except WIFI and AP, so that the control terminal can be ensured to be still connected with the network while controlling the intelligent lock networking.
Optionally, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In the embodiment of the invention, the control terminal and the intelligent lock are communicated through the Bluetooth communication technology, so that the control terminal can be ensured to be connected with a network through WIFI, the intelligent lock is communicated with the intelligent gateway equipment through Sub1G, and the energy consumption of the intelligent lock can be reduced.
Optionally, the control terminal 101 in the embodiment of the present invention may specifically be a smart phone, and accordingly, a networking process of the intelligent internet of lock system in the embodiment of the present invention may be as shown in fig. 2, where the networking process includes:
s201, the smart phone obtains the serial number of the smart gateway device input by the user.
And the serial number of the intelligent gateway equipment is used for subsequently establishing the connection between the intelligent lock and the intelligent gateway equipment.
S202, the smart phone searches for nearby smart locks through the Bluetooth and selects the designated smart lock to connect.
In order to ensure that the smart phone can be connected with the smart lock through the Bluetooth, the Bluetooth function of the smart lock needs to be opened in advance. After the smart phone searches the smart lock in the communication range, the searched smart lock is displayed to the user, and the user selects the designated smart lock to perform Bluetooth connection.
S203, the intelligent mobile phone sends the serial number of the intelligent gateway device to the intelligent lock through Bluetooth.
And after the smart phone is successfully connected with the smart lock through the Bluetooth, the smart phone sends the serial number of the smart gateway equipment to the smart lock through the Bluetooth.
S204, the intelligent lock receives the serial number of the intelligent gateway equipment, encapsulates the serial number through a preset protocol format, and sends a broadcast packet through Sub 1G.
S205, the intelligent gateway equipment receives the broadcast packet, decapsulates the broadcast packet to obtain a serial number, and establishes Sub1G connection with the intelligent lock according to the serial number.
The intelligent gateway equipment keeps monitoring the appointed broadcast packet, analyzes the preset protocol format after receiving the broadcast packet through Sub1G to obtain the serial number in the broadcast packet, and establishes Sub1G connection with the intelligent lock sending the broadcast packet when the serial number in the broadcast packet is consistent with the serial number of the intelligent gateway equipment.
S206, after the intelligent lock establishes communication connection with the intelligent gateway device, the intelligent lock sends information of successful gateway connection to the intelligent mobile phone through Bluetooth.
And S207, after receiving the gateway connection success message, the smart phone acquires WIFI information of the router.
After the smart phone confirms that the smart lock and the smart gateway are connected, the smart phone prompts a user to input configuration WIFI information.
S208, the smart phone sends the WIFI information to the smart lock through the Bluetooth.
S209, the intelligent lock receives the WIFI information and sends the WIFI information to the intelligent gateway equipment through Sub 1G.
And S210, after the intelligent gateway equipment receives the WIFI information, establishing communication connection with the router according to the WIFI information.
And after the intelligent gateway equipment receives the WIFI information, connecting the router according to the name and the password of the WIFI of the router in the WIFI information.
S211, after the intelligent gateway device is successfully or unsuccessfully connected with the router, the connection result is sent to the intelligent lock, and the intelligent lock sends the connection result to the intelligent mobile phone.
S212, the smart phone obtains the connection result and displays the connection result.
And the smart phone displays the success or failure of the intelligent network locking result on a screen according to the connection result.
In the embodiment of the invention, the intelligent lock networking can be realized without depending on the broadcast packet function of the router, and the application range of the intelligent lock can be enlarged. The smart phone and the smart lock communicate through a Bluetooth communication technology, the smart phone can be guaranteed to be connected with a network through WIFI, the smart lock and the smart gateway device communicate through Sub1G, and energy consumption of the smart lock can be reduced.
The embodiment of the invention also provides an intelligent network-locking method, which is applied to the control terminal and is shown in fig. 3, and the method comprises the following steps:
s301, gateway identification information of the intelligent gateway device is obtained, and communication connection with the intelligent lock is established through a first short-distance wireless communication technology.
The intelligent network locking method in the embodiment of the invention is applied to the control terminal, so that the intelligent network locking method can be realized through the control terminal. Specifically, the control terminal may be a smart phone, a smart watch, a notebook computer, or the like.
The control terminal acquires gateway identification information of the intelligent gateway device. For example, the control terminal searches for the intelligent gateway device within the communication range, reads the gateway identification information of the intelligent gateway device when the intelligent gateway device is searched, and may add a privacy rule for the intelligent gateway device in order to ensure the information security of the intelligent gateway device, and allow the control terminal to obtain the gateway identification information of the intelligent gateway device when the control terminal passes the verification of the privacy rule of the intelligent gateway device; or the control terminal acquires the gateway identification information of the intelligent gateway equipment input by the user. The gateway identification information includes an identification of the intelligent gateway device, for example, the gateway identification information may be a serial number of the intelligent gateway device, and the like.
The control terminal establishes communication connection with the intelligent lock through a first near field communication technology. For example, the control terminal searches for the smart lock within the communication range through bluetooth and establishes a connection with the smart lock.
And S302, sending the gateway identification information to the intelligent lock so that the intelligent lock establishes communication connection with the intelligent gateway device through a second short-distance wireless communication technology according to the gateway identification.
After the connection is successful, the control terminal sends the gateway identification information to the intelligent lock through the first near field communication technology, so that the intelligent lock sends the gateway identification information through the second near field communication technology, and after the intelligent gateway equipment receives the gateway identification information, the intelligent gateway equipment establishes communication connection with the intelligent lock.
And S303, acquiring network access information of a router, sending the network access information to the intelligent lock through the first short-distance wireless communication technology, so that the intelligent lock sends the network access information to the intelligent gateway device, and the intelligent gateway device establishes communication connection with the router according to the network access information.
And the control terminal acquires the network access information of the router. The network access information comprises WIFI information of the router, namely the name and the password of WIFI of the router. The control terminal sends networking information to the intelligent lock through the first short-distance wireless communication technology, so that the intelligent lock receives the networking information, the intelligent lock sends the networking information to the intelligent gateway device through the second near-field communication technology, and the intelligent gateway device establishes WIFI connection with the router according to the networking information. The intelligent lock is communicated with the router through the intelligent gateway equipment, and therefore the networking function of the intelligent lock is achieved.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, the first short-range wireless communication technology is other near-field communication technologies except for WIFI and AP.
In the embodiment of the invention, the first short-distance wireless communication technology is other near-field communication technologies except WIFI and AP, so that the control terminal can be ensured to be still connected with the network while controlling the intelligent lock networking.
Optionally, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In the embodiment of the invention, the control terminal and the intelligent lock are communicated through the Bluetooth communication technology, so that the control terminal can be ensured to be connected with a network through WIFI, the intelligent lock is communicated with the intelligent gateway equipment through Sub1G, and the energy consumption of the intelligent lock can be reduced.
Optionally, the sending the network access information to the smart lock through the first short-distance wireless communication technology includes:
and after receiving a gateway connection success message sent by the intelligent lock, sending the network access information to the intelligent lock through the first short-distance wireless communication technology.
In the embodiment of the invention, after the control terminal receives the gateway connection success message, the second equipment message is sent to the intelligent lock, so that the intelligent lock can be ensured to successfully send the second equipment message to the intelligent gateway equipment.
The embodiment of the invention provides an intelligent lock networking method, which is applied to an intelligent lock and comprises the following steps:
s401, receiving the network access information of the router sent by the control terminal through the first short-distance wireless communication technology.
The intelligent lock networking method in the embodiment of the invention is applied to the intelligent lock, so that the intelligent lock networking method can be realized through the intelligent lock. And the control terminal sends the network access information of the router to the intelligent lock through a first short-distance wireless communication technology. And the intelligent lock receives the network access information.
S402, sending the network access information to the intelligent gateway device through a second short-range wireless communication technology, so that the intelligent gateway device establishes a communication connection with the router according to the network access information.
The intelligent lock sends the network access information through a second short-distance wireless communication technology, so that the intelligent gateway equipment is connected with the router according to the network access information after receiving the network access information.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, referring to fig. 4b, before the receiving network entry information of the router sent by the control terminal through the first short-range wireless communication technology, the method further includes:
s4001, establishing a communication connection with the control terminal through a first short-range wireless communication technology, and receiving gateway identification information of the intelligent gateway device sent by the control terminal.
The intelligent lock establishes communication connection with the control terminal through a first near field communication technology. For example, the control terminal searches for the smart lock within the communication range through bluetooth, and establishes a connection between the control device and the smart lock. After the connection is successful, the control terminal sends the gateway identification information to the intelligent lock through a first near field communication technology, and the intelligent lock receives the gateway identification information. Specifically, the gateway identification information may be a serial number of the intelligent gateway device.
S4002, sending the gateway identification information through a second short-range wireless communication technology, so that the intelligent gateway device establishes a communication connection with the intelligent lock through the second short-range wireless communication technology according to the gateway identification information after receiving the gateway identification information.
After receiving the gateway identification information, the intelligent lock sends the gateway identification information through a second near field communication technology, so that after receiving the gateway identification information, the intelligent gateway equipment establishes communication connection with the intelligent lock. And then the control terminal sends the network access information of the router to the intelligent lock. The intelligent lock receives the network access information and sends the network access information through a second short-distance wireless communication technology, so that the intelligent gateway equipment is connected with the router according to the network access information after receiving the network access information.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, the sending the gateway identification information through the second short-range wireless communication technology includes:
and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
The preset protocol format can be set according to actual conditions. The intelligent lock and the intelligent gateway device both support a preset protocol format, the intelligent lock encapsulates the gateway identification information through the preset protocol format, and the intelligent gateway device can decapsulate the encapsulated gateway identification information through the preset protocol format.
In the embodiment of the invention, the intelligent lock encapsulates the gateway identification information by using the preset protocol format, so that the safety of the gateway identification information can be ensured, and meanwhile, the encapsulated gateway identification information is sent in a broadcast mode, so that the intelligent gateway equipment can conveniently obtain the gateway identification information.
Optionally, the method for networking an intelligent lock applied to an intelligent lock in the embodiment of the present invention further includes:
after the intelligent lock establishes communication connection with the intelligent gateway device, a gateway connection success message is sent to the control terminal through the first short-distance wireless communication technology, so that the control terminal sends the network access information to the intelligent lock after receiving the gateway connection success message.
In the embodiment of the invention, the gateway connection success message is sent to the control terminal, so that the control terminal sends the second equipment message to the intelligent lock after receiving the gateway connection success message, and the intelligent lock can be ensured to successfully send the second equipment message to the intelligent gateway equipment.
Optionally, the first short-range wireless communication technology is other near-field communication technologies except for WIFI and AP.
In the embodiment of the invention, the first short-distance wireless communication technology is other near-field communication technologies except WIFI and AP, so that the control terminal can be ensured to be still connected with the network while controlling the intelligent lock networking.
Optionally, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In the embodiment of the invention, the control terminal and the intelligent lock are communicated through the Bluetooth communication technology, so that the control terminal can be ensured to be connected with a network through WIFI, the intelligent lock is communicated with the intelligent gateway equipment through Sub1G, and the energy consumption of the intelligent lock can be reduced.
An embodiment of the present invention provides an intelligent network-locking method, see fig. 5a, applied to an intelligent gateway device, where the method includes:
and S501, receiving the network access information of the router, which is sent by the intelligent lock through a second short-distance wireless communication technology.
The intelligent network locking method in the embodiment of the invention is applied to the intelligent gateway equipment, so that the intelligent network locking method can be realized through the intelligent gateway equipment. The control terminal sends the network access information of the router to the intelligent lock, and the intelligent lock sends the network access information to the intelligent gateway equipment through the second short-distance wireless communication technology after receiving the network access information. And the intelligent gateway equipment receives the broadcast packet and acquires the gateway identification information.
And S502, establishing communication connection with the router according to the network access information.
The intelligent gateway equipment establishes WIFI connection with the router according to the network access information, such as the WIFI name and the password in the network access information.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, referring to fig. 5b, before the receiving network entry information of the router sent by the smart lock through the second short-range wireless communication technology, the method further includes:
s5001, acquiring gateway identification information sent by the intelligent lock through a second short-distance wireless communication technology.
The control terminal sends gateway identification information to the intelligent lock, and the intelligent lock sends a broadcast packet of the gateway identification information after receiving the gateway identification information. And the intelligent gateway equipment receives the broadcast packet and acquires the gateway identification information.
S5002, when the gateway identification information matches the identification information of the intelligent gateway device, establishing a communication connection with the intelligent lock through the second short-distance wireless communication technology.
When detecting that the gateway identification information matches the device information of the intelligent gateway device itself, for example, when the intelligent gateway device detects that the serial number in the received gateway identification information is the same as the serial number of the intelligent gateway device itself, the intelligent gateway device establishes a communication connection with the intelligent lock through the first short-distance wireless communication technology. And then the control terminal sends the network access information of the router to the intelligent lock, and the intelligent lock sends the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology after receiving the network access information. And the intelligent gateway equipment receives the broadcast packet and acquires the gateway identification information. The intelligent gateway equipment establishes WIFI connection with the router according to the network access information, such as the WIFI name and the password in the network access information.
In the embodiment of the invention, the control terminal sends the network access information of the router to the intelligent lock, the intelligent lock sends the network access information to the intelligent gateway equipment, the intelligent gateway equipment establishes communication connection with the router according to the network access information, and the networking of the intelligent lock can be realized without depending on the broadcast packet function of the router, so that the application range of the intelligent lock can be enlarged.
Optionally, the intelligent networking locking method applied to the intelligent gateway device in the embodiment of the present invention further includes:
after the intelligent gateway equipment establishes communication connection with the router, a router connection success message is sent to the intelligent lock, so that the intelligent lock sends the router connection success message to a control terminal.
In the embodiment of the invention, the intelligent gateway equipment sends the router connection success message to the intelligent lock, so that the intelligent lock sends the router connection success message to the control terminal, and a user can conveniently know whether the intelligent lock is successfully networked or not through the control terminal.
Optionally, the first short-range wireless communication technology is other near-field communication technologies except for WIFI and AP.
In the embodiment of the invention, the first short-distance wireless communication technology is other near-field communication technologies except WIFI and AP, so that the control terminal can be ensured to be still connected with the network while controlling the intelligent lock networking.
Optionally, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
In the embodiment of the invention, the control terminal and the intelligent lock are communicated through the Bluetooth communication technology, so that the control terminal can be ensured to be connected with a network through WIFI, the intelligent lock is communicated with the intelligent gateway equipment through Sub1G, and the energy consumption of the intelligent lock can be reduced.
The embodiment of the invention provides an intelligent network locking device, which is positioned at a control terminal and comprises the following components in part by weight, as shown in fig. 6:
the communication connection module 601 is configured to acquire gateway identification information of the intelligent gateway device, and establish communication connection with the intelligent lock through a first short-distance wireless communication technology;
a fifth information sending module 602, configured to send the gateway identifier information to the smart lock, so that the smart lock establishes a communication connection with an intelligent gateway device through a second short-range wireless communication technology according to the gateway identifier;
a sixth information sending module 603, configured to obtain network access information of a router, send the network access information to the smart lock through the first short-range wireless communication technology, so that the smart lock sends the network access information to the smart gateway device, and the smart gateway device establishes a communication connection with the router according to the network access information.
Optionally, the first short-range wireless communication technology is other near-field communication technologies except for WIFI and AP.
Optionally, the sixth information sending module 603 is specifically configured to:
and acquiring network access information of a router, and after receiving a gateway connection success message sent by the intelligent lock, sending the network access information to the intelligent lock through the first short-distance wireless communication technology so that the intelligent lock sends the network access information to the intelligent gateway device, and the intelligent gateway device establishes communication connection with the router according to the network access information.
The embodiment of the invention provides an intelligent lock networking device, which is positioned on an intelligent lock and comprises the following components in part by weight, as shown in figure 7:
a first information obtaining module 701, configured to receive network access information of a router, which is sent by a control terminal through a first short-range wireless communication technology;
a first information sending module 702, configured to send the network access information to the intelligent gateway device through a second short-distance wireless communication technology, so that the intelligent gateway device establishes a communication connection with the router according to the network access information.
Optionally, the intelligent lock networking device located in the intelligent lock in the embodiment of the present invention further includes:
the third information acquisition module is used for establishing communication connection with the control terminal through a first short-distance wireless communication technology and receiving gateway identification information of the intelligent gateway equipment sent by the control terminal;
and the second information sending module is used for sending the gateway identification information through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the intelligent lock through the second short-distance wireless communication technology according to the gateway identification information after receiving the gateway identification information.
Optionally, the second information sending module is specifically configured to:
and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
Optionally, the intelligent lock networking device located in the intelligent lock in the embodiment of the present invention further includes:
and the third information sending module is used for sending a gateway connection success message to the control terminal through the first short-distance wireless communication technology after the intelligent lock establishes communication connection with the intelligent gateway equipment, so that the control terminal sends the network access information to the intelligent lock after receiving the gateway connection success message.
Optionally, in the intelligent lock networking device according to the embodiment of the present invention, the first short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking device for the intelligent lock according to the embodiment of the present invention, the first short-range wireless communication technology is a bluetooth communication technology, and the second short-range wireless communication technology is a Sub1G communication technology.
An embodiment of the present invention provides an intelligent network locking device, which is located in an intelligent gateway device, with reference to fig. 8, and includes:
a second information obtaining module 801, configured to receive network access information of the router, which is sent by the smart lock through a second short-range wireless communication technology;
a router connection module 802, configured to establish a communication connection with the router according to the network access information.
Optionally, the intelligent network locking device located in the intelligent gateway device in the embodiment of the present invention further includes:
the fourth information acquisition module is used for acquiring gateway identification information sent by the intelligent lock through the second short-distance wireless communication technology;
and the communication establishing module is used for establishing communication connection with the intelligent lock through the second short-distance wireless communication technology when the gateway identification information is matched with the identification information of the intelligent gateway equipment.
Optionally, the intelligent network locking device located in the intelligent gateway device in the embodiment of the present invention further includes:
and the fourth information sending module is used for sending a router connection success message to the intelligent lock so that the intelligent lock sends the router connection success message to the control terminal.
Optionally, in the intelligent interlocking network device located in the intelligent gateway apparatus according to the embodiment of the present invention, the second short-distance wireless communication technology is other near-field communication technologies except for WIFI (wireless fidelity) and AP (wireless access point).
Optionally, in the intelligent interlocking networking device located in the intelligent gateway apparatus according to the embodiment of the present invention, the second short-distance wireless communication technology is a Sub1G communication technology.
An embodiment of the present invention provides a control terminal, see fig. 9, including a processor 901, a communication module 902, and a memory 903;
the memory 903 is used for storing a computer program;
the processor 901 is configured to implement the following steps by using the communication module 902 when executing the program stored in the memory 903:
acquiring gateway identification information of intelligent gateway equipment, and establishing communication connection with an intelligent lock through a first short-distance wireless communication technology;
sending the gateway identification information to the intelligent lock so that the intelligent lock establishes communication connection with intelligent gateway equipment through a second short-distance wireless communication technology according to the gateway identification;
acquiring network access information of a router, sending the network access information to the intelligent lock through the first short-distance wireless communication technology, so that the intelligent lock sends the network access information to the intelligent gateway device, and the intelligent gateway device establishes communication connection with the router according to the network access information.
Optionally, the processor 901 is configured to implement any one of the above-mentioned intelligent network-locking methods applied to the control terminal by using the communication module 902 when executing the program stored in the memory 903.
The embodiment of the invention provides an intelligent lock, which is shown in fig. 10 and comprises a lock cylinder 1001, a processor 1002, a communication module 1003 and a memory 1004;
the memory 1004 for storing a computer program;
the processor 1002 is configured to, when executing the program stored in the memory 1004, implement the following steps by using the communication module 1003:
receiving network access information of a router, which is sent by a control terminal through a first short-distance wireless communication technology;
and sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the router according to the network access information.
The lock cylinder 1001 is an arbitrary intelligent lock cylinder and is used for realizing functions of locking and unlocking a door of an intelligent lock and the like.
Optionally, when the processor 1002 is configured to execute the program stored in the memory 1004, the communication module 1003 may be further configured to implement any one of the above-described intelligent lock networking methods applied to the intelligent lock.
An embodiment of the present invention provides an intelligent gateway device, see fig. 11, including a processor 1101, a communication module 1102, and a memory 1103;
the memory 1102 is used for storing computer programs;
the processor 1101 is configured to, when executing the program stored in the memory 1102, implement the following steps by using the communication module 1103:
receiving network access information of the router sent by the intelligent lock through a second short-distance wireless communication technology;
and establishing communication connection with the router according to the network access information.
Optionally, the processor 1101 is configured to, when executing the program stored in the memory 1103, utilize the communication module 1102 to implement any one of the above-mentioned intelligent network locking methods applied to the intelligent gateway device.
An embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute any one of the above intelligent network locking methods applied to a control terminal.
An embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute any one of the above intelligent lock networking methods applied to an intelligent lock.
An embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute any one of the above intelligent network locking methods applied to an intelligent gateway device.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment is mainly described as different from the other embodiments, and related parts may be referred to the part description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (22)

1. An intelligent lock networking system, the system comprising:
the intelligent lock and the intelligent gateway equipment establish communication connection through a second short-distance wireless communication technology;
the control terminal is used for acquiring network access information of the router and sending the network access information to the intelligent lock through a first short-distance wireless communication technology;
the intelligent lock is used for receiving the network access information sent by the control terminal and sending the network access information to the intelligent gateway equipment through the second short-distance wireless communication technology;
and the intelligent gateway equipment is used for receiving the network access information sent by the intelligent lock and establishing communication connection with the router according to the network access information.
2. The system according to claim 1, wherein the control terminal is further configured to obtain gateway identification information of the intelligent gateway device, establish a communication connection with the intelligent lock through the first short-range wireless communication technology, and send the gateway identification information to the intelligent lock;
the intelligent lock is further used for receiving the gateway identification information sent by the control terminal and sending the gateway identification information through the second short-distance wireless communication technology;
the intelligent gateway device is further configured to receive the gateway identification information sent by the intelligent lock, and establish communication connection with the intelligent lock through the second short-distance wireless communication technology when it is determined that the gateway identification information matches the identification information of the intelligent gateway device itself.
3. The system of claim 1, wherein the first short-range wireless communication technology is a near-field communication technology other than WIFI and AP.
4. The system of claim 3, wherein the first short-range wireless communication technology is a Bluetooth communication technology and the second short-range wireless communication technology is a Sub1G communication technology.
5. The system according to claim 1, wherein the smart lock is further configured to send a gateway connection success message to the control terminal after the smart lock establishes a communication connection with the smart gateway;
the control terminal is specifically configured to acquire network access information of a router, and send the network access information to the intelligent lock through a first short-distance wireless communication technology after receiving the gateway connection success message.
6. The system of claim 2, wherein the smart lock, configured to send the gateway identification information via the second short-range wireless communication technology, comprises:
the intelligent lock is used for: and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
7. The system according to claim 1, wherein the intelligent gateway device is further configured to send a router connection success message to the intelligent lock after the intelligent gateway device establishes a communication connection with the router;
the intelligent lock is further configured to receive the router connection success message sent by the intelligent gateway device, and send the router connection success message to the control terminal;
and the control terminal is also used for receiving the router connection success message sent by the intelligent lock and executing the display operation corresponding to the router connection success message.
8. An intelligent lock networking method is applied to an intelligent lock, and comprises the following steps:
receiving network access information of a router, which is sent by a control terminal through a first short-distance wireless communication technology;
and sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the router according to the network access information.
9. The method of claim 8, wherein prior to said receiving the network entry information of the router transmitted by the control terminal through the first short-range wireless communication technology, the method further comprises:
establishing communication connection with the control terminal through a first short-distance wireless communication technology, and receiving gateway identification information of the intelligent gateway equipment sent by the control terminal;
and sending the gateway identification information through a second short-distance wireless communication technology, so that after the intelligent gateway equipment receives the gateway identification information, the intelligent gateway equipment establishes communication connection with the intelligent lock through the second short-distance wireless communication technology according to the gateway identification information.
10. The method of claim 9, wherein the sending the gateway identification information via the second short-range wireless communication technology comprises:
and encapsulating the gateway identification information by using a preset protocol format, and broadcasting the encapsulated gateway identification information by using a second short-distance wireless communication technology.
11. The method of claim 9, further comprising:
after the intelligent lock establishes communication connection with the intelligent gateway equipment, a gateway connection success message is sent to the control terminal through the first short-distance wireless communication technology, so that the control terminal sends the network access information to the intelligent lock after receiving the gateway connection success message.
12. The method of claim 9, wherein the first short-range wireless communication technology is a near-field communication technology other than WIFI and AP.
13. The method of claim 12, wherein the first short-range wireless communication technology is a bluetooth communication technology, and wherein the second short-range wireless communication technology is a Sub1G communication technology.
14. An intelligent network locking method is applied to an intelligent gateway device, and comprises the following steps:
receiving network access information of the router sent by the intelligent lock through a second short-distance wireless communication technology;
and establishing communication connection with the router according to the network access information.
15. The method of claim 14, wherein prior to said receiving the network entry information of the router sent by the smart lock via the second short-range wireless communication technology, the method further comprises:
acquiring gateway identification information sent by the intelligent lock through a second short-distance wireless communication technology;
and when the gateway identification information is matched with the identification information of the intelligent gateway equipment, establishing communication connection with the intelligent lock through the second short-distance wireless communication technology.
16. The method of claim 14, wherein after said establishing a communication connection with said router according to said network entry information, said method further comprises:
and sending a router connection success message to the intelligent lock so that the intelligent lock sends the router connection success message to a control terminal.
17. The method of claim 14, wherein the second short-range wireless communication technology is a near-field communication technology other than WIFI and AP.
18. The method of claim 17, wherein the second short-range wireless communication technology is Sub1G communication technology.
19. An intelligent lock networking device, characterized in that, is located intelligent lock, the device includes:
the first information acquisition module is used for receiving the network access information of the router, which is sent by the control terminal through a first short-distance wireless communication technology;
and the first information sending module is used for sending the network access information to the intelligent gateway equipment through a second short-distance wireless communication technology so that the intelligent gateway equipment establishes communication connection with the router according to the network access information.
20. An intelligent lock networking device, located at an intelligent gateway device, the device comprising:
the second information acquisition module is used for receiving the network access information of the router, which is sent by the intelligent lock through a second short-distance wireless communication technology;
and the router connection module is used for establishing communication connection with the router according to the network access information.
21. An intelligent lock comprises a lock core and is characterized by further comprising a processor, a communication module and a memory;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, is configured to implement the method steps of any of claims 8-13 using the communication module.
22. The intelligent gateway equipment is characterized by comprising a processor, a communication module and a memory;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, is configured to implement the method steps of any of claims 14-18 using the communication module.
CN201811159235.XA 2018-09-30 2018-09-30 Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment Pending CN110972332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811159235.XA CN110972332A (en) 2018-09-30 2018-09-30 Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811159235.XA CN110972332A (en) 2018-09-30 2018-09-30 Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment

Publications (1)

Publication Number Publication Date
CN110972332A true CN110972332A (en) 2020-04-07

Family

ID=70028850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811159235.XA Pending CN110972332A (en) 2018-09-30 2018-09-30 Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment

Country Status (1)

Country Link
CN (1) CN110972332A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227647A1 (en) * 2012-02-28 2013-08-29 Apple Inc. Shared network access via a peer-to-peer link
CN204377020U (en) * 2014-09-18 2015-06-03 江西台智电子科技有限公司 There is the web camera of Bluetooth function
CN105513179A (en) * 2015-12-07 2016-04-20 小米科技有限责任公司 Unlocking method and device, as well as intelligent lock
CN105657640A (en) * 2015-12-25 2016-06-08 杭州索那声美科技有限公司 Wireless network access parameter obtaining method and device of intelligent communication devices
CN106097497A (en) * 2016-06-07 2016-11-09 杭州虹云网络科技有限公司 Based on the smart lock of GPS and Bluetooth control and realize the method that safety automation opens the door
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN107682857A (en) * 2017-08-24 2018-02-09 普联技术有限公司 Data sharing method, gateway device and the Zigbee network system of Zigbee network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227647A1 (en) * 2012-02-28 2013-08-29 Apple Inc. Shared network access via a peer-to-peer link
CN204377020U (en) * 2014-09-18 2015-06-03 江西台智电子科技有限公司 There is the web camera of Bluetooth function
CN105513179A (en) * 2015-12-07 2016-04-20 小米科技有限责任公司 Unlocking method and device, as well as intelligent lock
CN105657640A (en) * 2015-12-25 2016-06-08 杭州索那声美科技有限公司 Wireless network access parameter obtaining method and device of intelligent communication devices
CN106097497A (en) * 2016-06-07 2016-11-09 杭州虹云网络科技有限公司 Based on the smart lock of GPS and Bluetooth control and realize the method that safety automation opens the door
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN107682857A (en) * 2017-08-24 2018-02-09 普联技术有限公司 Data sharing method, gateway device and the Zigbee network system of Zigbee network

Similar Documents

Publication Publication Date Title
WO2021036513A1 (en) Smart device provisioning method, system, and readable medium
US10932107B2 (en) Electronic device and method for controlling node in network
US9955526B1 (en) Autonomous and remote pairing of internet of things devices utilizing a cloud service II
US11122392B2 (en) Provisioning wireless device profiles
CN110602692B (en) Data updating method and device and electronic equipment
CN111726769B (en) Communication system, method and device for miniature intelligent sensor
CN203219497U (en) Automatic authentication identification login system of web camera
US8965337B2 (en) Method and system for discovering communication devices
CN108781473B (en) Method and equipment for sharing files among different terminals
CN109391634A (en) Establish method, terminal and the computer readable storage medium of communication
CN103533512A (en) Method, device and system for configuring and adding equipment into network group
CN109640326B (en) Authority management method, device and system and mobile terminal
CN110944406B (en) Link establishment method of sidelink and terminal
US9307375B2 (en) Methods for connecting devices and devices using the same
US9402179B1 (en) Inductive pickup coil for secure pairing
CN105493539A (en) Porting WIFI settings
CN103888290A (en) Configuration information recovery method and device
EP3442250B1 (en) Data transmission
CN105191412A (en) Delegating WIFI network discovery and traffic monitoring
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN104168605A (en) Data transmission control method and apparatus
CN110045705B (en) Intelligent home control method, device and system adopting heterogeneous wireless network
CN103345828A (en) Method and system for controlling computer through intelligent terminal
US20070287421A1 (en) Method and system for providing continuity of service with an existing communication network
US9756608B1 (en) Systems and methods for providing wireless unconnected communication between devices

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

Application publication date: 20200407