CN112652096A - NB door lock information synchronization method, device, equipment and medium - Google Patents

NB door lock information synchronization method, device, equipment and medium Download PDF

Info

Publication number
CN112652096A
CN112652096A CN202011470281.9A CN202011470281A CN112652096A CN 112652096 A CN112652096 A CN 112652096A CN 202011470281 A CN202011470281 A CN 202011470281A CN 112652096 A CN112652096 A CN 112652096A
Authority
CN
China
Prior art keywords
door lock
password
validity period
request
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011470281.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011470281.9A priority Critical patent/CN112652096A/en
Publication of CN112652096A publication Critical patent/CN112652096A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the invention provides an NB door lock information synchronization method, device, equipment and medium, wherein an input first request for establishing communication connection is received, and a second request for requesting information synchronization is sent according to the first request so as to perform information synchronization.

Description

NB door lock information synchronization method, device, equipment and medium
Technical Field
The invention relates to the technical field of intelligent lock application, in particular to an NB door lock information synchronization method, device, equipment and medium.
Background
With the development of science and technology, more and more door locks are replaced by Narrow-Band Internet of Things (NB) door locks, especially for houses rented outside, more and more door locks start to use the NB door locks, and the NB door locks can be used by tenants to set passwords, so that the security of the houses rented by the tenants is improved.
However, the existing NB door lock updates the password according to the command issued by the server, and therefore the NB door lock needs to be in a communication standby state all the time, that is, needs to be in communication with the server all the time, which causes the NB door lock to consume too much power and consume too much power.
Disclosure of Invention
The embodiment of the invention provides an NB door lock information synchronization method, device, equipment and medium, which are used for solving the problems of overhigh power consumption and high power consumption of an NB door lock caused by the fact that the existing NB door lock needs to be always in communication with a server.
The embodiment of the invention provides an NB door lock information synchronization method, which comprises the following steps:
receiving an input first request for establishing a communication connection;
and sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
Further, the performing information synchronization includes:
receiving feedback information which carries a door lock password and a target validity period of the door lock password and is sent;
if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period;
and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
Further, after saving the door lock password in the NB door lock and setting the door lock password as an invalid password, the method further comprises:
and sending response information that the invalid password setting is successful.
Further, if the setting of the door lock password as the invalid password fails, the method further includes:
and displaying information of response failure on a display interface of the NB door lock.
Further, the method further comprises:
recognizing that the validity period of the door lock password stored in the NB door lock expires, and setting the door lock password stored in the NB door lock as an invalid password.
Further, the door lock password includes:
the button password and the NFC information of NB lock.
Further, the receiving the input first request to establish communication with the server and perform password synchronization includes:
and if the triggering operation of the external key of the NB door lock is received, determining that the input first request for establishing communication with the server and carrying out password synchronization is received.
The embodiment of the invention also provides a narrowband internet of things communication NB door information synchronization device, which comprises:
the receiving module is used for receiving an input first request for establishing communication connection;
and the synchronization module is used for sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
Further, the synchronization module is specifically configured to receive feedback information that is sent by the server and carries the door lock password and the target validity period of the door lock password; if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period; and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
Further, the synchronization module is further configured to send a response message that the invalid password setting is successful to the server.
Further, the apparatus further comprises:
and the display module is used for displaying the information of response failure on the display interface of the NB door lock.
Further, the synchronization module is further configured to recognize that the validity period of the door lock password stored in the NB door lock expires, and set the door lock password stored in the NB door lock as an invalid password.
Further, the receiving module is specifically configured to determine that an input first request for establishing communication with a server and performing password synchronization is received if a trigger operation on an external key of the NB door lock is received.
An embodiment of the present invention further provides an electronic device, where the electronic device at least includes a processor and a memory, and the processor is configured to implement any one of the above steps of the NB door lock information synchronization method when executing a computer program stored in the memory.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize any one of the steps of the NB door lock information synchronization method.
In the embodiment of the invention, the NB door lock can be communicated with the server only after receiving the input first request for establishing the communication connection, so that the NB door lock is prevented from always keeping communication with the server, the power consumption of the NB door lock is reduced, the working power consumption of the NB door lock is also reduced, and the service time of the NB door lock is prolonged.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic process diagram of an NB door lock information synchronization method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating an operation of locking an NB door according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an NB door lock lease release operation according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an NB door lock information synchronization apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 order to reduce the power consumption of the NB door lock, embodiments of the present invention provide an NB door lock information synchronization method, apparatus, device, and medium.
Example 1:
fig. 1 is a schematic process diagram of an NB door lock information synchronization method according to an embodiment of the present invention, where the process includes the following steps:
s101: an incoming first request to establish a communication connection is received.
The embodiment of the invention provides an NB door lock information synchronization method, which is based on devices such as an NB door lock and the like supporting network-based access.
In the embodiment of the invention, in order to save resources of the NB door lock, the NB door lock is in a state of not performing communication connection with the server for a long time, that is, is in a state of not being online for a long time, and when there is a need for updating the password for the NB door lock, a first request for establishing communication connection may be sent to the NB door lock. Specifically, a button exists outside the NB door lock, and when there is a need to update the door lock password of the NB door lock, the button may be triggered to implement sending the first request for establishing the communication connection to the NB door lock.
In the embodiment of the invention, when a user rents for the first time, the set password needs to be synchronized to the NB door lock, and at the moment, a first request needs to be sent to the NB door lock by triggering a key outside the NB door lock; when a user already logs in, but needs to renew the lease, at this time, the validity period of the password stored in the NB door lock needs to be extended to the validity period after the lease renewal, at this time, the first request needs to be sent to the NB door lock by triggering a key outside the NB door lock; when the user finishes the check-in and needs to quit the lease, the NB door lock is required to set the stored password of the user as an invalid password, and at the moment, the first request needs to be sent to the NB door lock by triggering a key outside the NB door lock.
S102: and sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
In the embodiment of the invention, when the user logs in, the user sets the door lock password through the application software of the terminal equipment, the terminal equipment sends the door lock password to the server, and the server stores the door lock password after receiving the door lock password.
And after the NB door lock receives the input first request for establishing the communication connection, sending a second request for requesting information synchronization to the server. The second request carries the ID of the NB door lock, the current password information of the NB door lock, the request time of the second request, and the current state of the NB door lock. The current state of the NB door lock comprises at least one of information of whether the NB door lock is locked or not and power information of the NB door lock. And the server determines the current password setting condition of the door lock according to the second request, so that feedback information is sent to the NB door lock.
In the embodiment of the invention, after receiving the second request of the NB door lock, the server determines the password information of the NB door lock stored by the server and the renting state of the house renting where the NB door lock is located according to the ID of the NB door lock carried in the second request, and sends the feedback information carrying the door lock password to the NB door lock.
And after the NB door lock receives the feedback information which is sent by the server and carries the door lock password, the password in the NB door lock is updated according to the door lock password. Specifically, the updating the password in the NB door lock includes: and saving the door lock password carried in the feedback information, and deleting other passwords in the NB door lock.
In the embodiment of the invention, the NB door lock can be communicated with the server only after receiving the input first request for establishing the communication connection, so that the NB door lock can be prevented from being communicated with the server all the time, but can be communicated with the server only after receiving the starting operation, the power consumption of the NB door lock is reduced, the working power consumption of the NB door lock is also reduced, and the service life of the NB door lock is prolonged.
Example 2:
in order to update the password of the NB door lock, on the basis of the above embodiment, in an embodiment of the present invention, the performing information synchronization includes:
receiving feedback information which carries a door lock password and a target validity period of the door lock password and is sent;
the updating the password in the NB door lock according to the door lock password comprises:
if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period;
and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
In the embodiment of the invention, the feedback information sent by the server and received by the NB door lock carries the door lock password of the NB door lock and the target validity period of the door lock password. Wherein the target validity period is the time range within which the door lock password is valid.
In the embodiment of the invention, when the password in the NB door lock is updated according to the door lock password, the relationship between the target validity period of the door lock password and the current time needs to be judged first. And if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period. Specifically, when the current time is within the target validity period, it may be considered that the user is initially checked in, or the user renews the lease, and at this time, the NB door lock updates the saved password and validity period by using the door lock password and the target validity period.
And if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password. Specifically, the current time is not within the target validity period, the user is considered to withdraw the lease at the moment, the NB door lock stores the door lock password at the moment, and the door lock password is set to be an invalid password, that is, the stored password and the valid period are updated by using the invalid password.
Fig. 2 is a schematic diagram of a control flow of an NB door lock at check-in according to an embodiment of the present invention, as shown in fig. 2, the process includes:
s201: the NB door lock receives an input first request to establish communication with the server and perform password synchronization.
S202: and sending a second request for requesting the synchronization of the password information to the server according to the first request.
S203: and receiving feedback information which is sent by the server and carries the door lock password, and updating the password and the validity period in the NB door lock according to the door lock password and the target validity period of the door lock password when the NB door lock recognizes that the current time is within the target validity period.
S204: and receiving the input door lock password, judging whether the door lock password is stored in the NB door lock, if so, executing S205, and if not, executing 201.
S205: and unlocking according to the door lock password.
Example 3:
in order to update the password of the NB door lock, on the basis of the foregoing embodiments, in an embodiment of the present invention, after the door lock password is stored in the NB door lock and is set as an invalid password, the method further includes:
and sending response information that the invalid password setting is successful.
In the embodiment of the invention, when the user rents the house, the deposit is required to be paid, and when the user rents the house, the deposit is returned. Before returning the deposit, the door lock password set by the user needs to be set as an invalid password in the NB door lock, so that whether the NB password is successfully set or not can be conveniently known.
Therefore, in the embodiment of the present invention, after saving the door lock password in the NB door lock and setting the door lock password as the invalid password, the NB door lock transmits response information that the setting of the invalid password is successful to the server. When the NB door lock transmits response information indicating that the invalid password setting is successful to the server, the NB door lock needs to transmit the response information within a set time length. If the response message is not sent within the set time length, the server considers that the NB door lock does not set the door lock password as an invalid password, and then the subsequent operation of returning the deposit to the user is not carried out.
In order to update the password of the NB door lock, on the basis of the foregoing embodiments, in an embodiment of the present invention, if the setting of the door lock password as the invalid password fails, the method further includes:
and displaying information of response failure on a display interface of the NB door lock.
In the embodiment of the invention, if the NB door lock does not send response information that the setting of the invalid password to the server is successful within the preset time range, the NB door lock is considered to fail to set the door lock password to the invalid setting, and the response failure information is displayed on the display interface of the NB door lock, so that the user triggers the external key of the NB door lock again, the NB door lock receives an input first request for establishing communication with the server and performing password synchronization, sends a second request for requesting the password information synchronization to the server again, receives the door lock password sent by the server again, and sets the door lock password as the invalid password.
Fig. 3 is a schematic flowchart of an NB door lock lease releasing operation according to an embodiment of the present invention, and as shown in fig. 3, the process includes:
s301: the NB door lock receives an input first request to establish communication with the server and perform password synchronization.
S302: and the NB door lock sends a second request for requesting the password information synchronization to the server.
S303: and receiving feedback information which is sent by the server and carries the door lock password, identifying that the current time is not within the target validity period by the NB door lock, storing the door lock password in the NB door lock by the NB door lock, and setting the door lock password as an invalid password.
S304: and judging whether the door lock password is set as an invalid password or not, if so, executing S305, and if not, executing S306.
S305: and sending response information of successful setting of the invalid password to the server.
S306: the information of response failure is displayed on the display interface of the NB door lock, and S301 is continuously executed.
Example 4:
for updating the password of the NB door lock, on the basis of the above embodiments, in an embodiment of the present invention, the method further includes:
recognizing that the validity period of the door lock password stored in the NB door lock expires, and setting the door lock password stored in the NB door lock as an invalid password.
In the embodiment of the invention, if the user does not renew the lease before the validity period of the NB door lock expires and the user does not quit the lease in advance, when the validity period of the door lock password expires, the NB door lock recognizes that the validity period expires, and the door lock password of the NB door lock is automatically set as the invalid password.
In order to update the password of the NB door lock, on the basis of the above embodiments, in an embodiment of the present invention, the door lock password includes:
the button password and the NFC information of NB lock.
In the embodiment of the present invention, the door lock password is a key password and Near Field Communication (NFC) information.
In order to realize password updating of the NB door lock, on the basis of the above embodiments, the receiving the input first request for establishing a communication connection includes:
and if the external key triggering operation on the NB door lock is received, determining that the input first request for establishing the communication connection is received.
In the embodiment of the invention, a key is arranged outside the NB door lock, and the key is triggered to input a first request for establishing communication connection to the NB door lock.
Example 5:
fig. 4 is a schematic structural diagram of an NB door lock information synchronization apparatus provided in an embodiment of the present invention, where the apparatus includes:
a receiving module 401, configured to receive an input first request for establishing communication with a server and performing password synchronization;
a synchronization module 402, configured to send a second request for information synchronization according to the first request, so as to perform information synchronization.
In a possible implementation manner, the synchronization module 402 is specifically configured to receive sent feedback information carrying the door lock password and the target validity period of the door lock password; if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period; and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
In a possible implementation manner, the synchronization module 402 is further configured to send a response message indicating that the invalid password setting is successful.
In a possible embodiment, the apparatus further comprises:
a display module 403, configured to display, on a display interface of the NB door lock, information of response failure.
In a possible embodiment, the synchronization module 402 is further configured to recognize that the validity period of the door lock password stored in the NB door lock expires, and set the door lock password stored in the NB door lock as an invalid password.
In a possible implementation manner, the receiving module 401 is specifically configured to determine that the input first request for establishing the communication connection is received if a triggering operation of an external key of the NB door lock is received.
Example 6:
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 5, including: the system comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504;
the memory 503 has stored therein a computer program which, when executed by the processor 501, causes the processor 501 to perform the steps of:
receiving an input first request for establishing a communication connection;
and sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
In one possible implementation, the performing information synchronization includes:
receiving feedback information which carries a door lock password and a target validity period of the door lock password and is sent;
if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period;
and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
In one possible embodiment, after saving the door lock password in the NB door lock and setting the door lock password as an invalid password, the method further comprises:
and sending response information that the invalid password setting is successful.
In a possible embodiment, if the setting of the door lock password as the invalid password fails, the method further includes:
and displaying information of response failure on a display interface of the NB door lock.
In one possible embodiment, the method further comprises:
recognizing that the validity period of the door lock password stored in the NB door lock expires, and setting the door lock password stored in the NB door lock as an invalid password.
In one possible embodiment, the door lock password includes:
the button password and the NFC information of NB lock.
In a possible embodiment, the receiving the input first request for establishing a communication connection includes:
and if the triggering operation of the external key of the NB door lock is received, determining that the input first request for establishing the communication connection is received.
Because the principle of the electronic device for solving the problems is similar to the NB door lock information synchronization method, the implementation of the electronic device can be referred to the implementation of the method, and repeated details are not repeated.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 7:
on the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
receiving an input first request for establishing a communication connection;
and sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
In one possible implementation, the performing information synchronization includes:
receiving feedback information which carries a door lock password and a target validity period of the door lock password and is sent;
if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period;
and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
In one possible embodiment, after saving the door lock password in the NB door lock and setting the door lock password as an invalid password, the method further comprises:
and sending response information that the invalid password setting is successful.
In a possible embodiment, if the setting of the door lock password as the invalid password fails, the method further includes:
and displaying information of response failure on a display interface of the NB door lock.
In one possible embodiment, the method further comprises:
recognizing that the validity period of the door lock password stored in the NB door lock expires, and setting the door lock password stored in the NB door lock as an invalid password.
In one possible embodiment, the door lock password includes:
the button password and the NFC information of NB lock.
In a possible embodiment, the receiving the input first request for establishing a communication connection includes:
and if the triggering operation of the external key of the NB door lock is received, determining that the input first request for establishing the communication connection is received.
Since the principle of the computer readable medium for solving the problem is similar to that of the NB door lock information synchronization method, after the processor executes the computer program in the computer readable medium, the steps implemented may refer to the other embodiments, and repeated parts are not described again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. A narrowband Internet of things communication NB door lock information synchronization method is characterized by comprising the following steps:
receiving an input first request for establishing a communication connection;
and sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
2. The method of claim 1, wherein the synchronizing information comprises:
receiving feedback information which carries a door lock password and a target validity period of the door lock password and is sent;
if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period;
and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
3. The method of claim 2, wherein after saving the door lock password in the NB door lock and setting the door lock password as an invalid password, the method further comprises:
and sending response information that the invalid password setting is successful.
4. The method of claim 2, wherein if the setting of the door lock password as an invalid password fails, the method further comprises:
and displaying information of response failure on a display interface of the NB door lock.
5. The method according to any one of claims 1-4, further comprising:
recognizing that the validity period of the door lock password stored in the NB door lock expires, and setting the door lock password stored in the NB door lock as an invalid password.
6. The method of claim 1, wherein the door lock passcode comprises:
the button password and the NFC information of NB lock.
7. The method according to any of claims 1-4, wherein receiving the incoming first request to establish a communication connection comprises:
and if the triggering operation of the external key of the NB door lock is received, determining that the input first request for establishing the communication connection is received.
8. The utility model provides a narrowband thing networking communication NB lock information synchronizer, its characterized in that, the device includes:
the receiving module is used for receiving an input first request for establishing communication connection;
and the synchronization module is used for sending a second request for requesting information synchronization according to the first request so as to perform information synchronization.
9. The apparatus according to claim 8, wherein the synchronization module is specifically configured to receive the sent feedback information carrying the door lock password and the target validity period of the door lock password; if the current time is within the target validity period, updating the password and the validity period stored in the NB door lock according to the door lock password and the target validity period; and if the current time is not within the target validity period, storing the door lock password in the NB door lock and setting the door lock password as an invalid password.
10. The apparatus of claim 9, wherein the synchronization module is further configured to send a response message indicating that the invalid password setting is successful.
11. The apparatus of claim 9, further comprising:
and the display module is used for displaying the information of response failure on the display interface of the NB door lock.
12. The apparatus of any of claims 8-11, wherein the synchronization module is further configured to recognize that a validity period of the lock password stored in the NB lock expires, and to set the lock password stored in the NB lock to an invalid password.
13. The device according to any one of claims 8 to 11, wherein the receiving module is specifically configured to determine that the input first request for establishing the communication connection is received if a trigger operation on an external key of the NB door lock is received.
14. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being configured to implement the steps of the NB door lock information synchronization method according to any one of claims 1 to 7 when executing a computer program stored in the memory.
15. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the NB door lock information synchronization method according to any one of claims 1-7.
CN202011470281.9A 2020-12-14 2020-12-14 NB door lock information synchronization method, device, equipment and medium Pending CN112652096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011470281.9A CN112652096A (en) 2020-12-14 2020-12-14 NB door lock information synchronization method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011470281.9A CN112652096A (en) 2020-12-14 2020-12-14 NB door lock information synchronization method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112652096A true CN112652096A (en) 2021-04-13

Family

ID=75353901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011470281.9A Pending CN112652096A (en) 2020-12-14 2020-12-14 NB door lock information synchronization method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112652096A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831686A (en) * 2012-09-03 2012-12-19 深圳达实信息技术有限公司 Access control system and control method for visitor access permission
US20130257588A1 (en) * 2012-03-29 2013-10-03 Seiko Epson Corporation Image display device, image display system, and method of controlling image display device
CN103491090A (en) * 2013-09-23 2014-01-01 金蝶软件(中国)有限公司 Safety authentication method, device and system
CN104484917A (en) * 2014-11-17 2015-04-01 深圳市科荣实业有限公司 Safe box renting system
CN105761340A (en) * 2016-01-29 2016-07-13 北京三快在线科技有限公司 Network control method and network control device for door lock, server and PMS (Property Management System)
KR101765080B1 (en) * 2016-05-09 2017-08-23 주식회사 코맥스 smart door lock system based on iot and the method thereof
CN107230139A (en) * 2017-06-01 2017-10-03 天网互联科技(深圳)有限公司 A kind of unattended Management System on Public Rooms based on arrowband Internet of Things
CN107733994A (en) * 2017-09-20 2018-02-23 美的智慧家居科技有限公司 Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock
CN110110519A (en) * 2019-04-30 2019-08-09 深圳力维智联技术有限公司 Password remapping method, password resetting equipment and the readable storage medium storing program for executing of safety device
CN111489464A (en) * 2020-03-25 2020-08-04 北京小米移动软件有限公司 Identity verification method and device, electronic equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130257588A1 (en) * 2012-03-29 2013-10-03 Seiko Epson Corporation Image display device, image display system, and method of controlling image display device
CN102831686A (en) * 2012-09-03 2012-12-19 深圳达实信息技术有限公司 Access control system and control method for visitor access permission
CN103491090A (en) * 2013-09-23 2014-01-01 金蝶软件(中国)有限公司 Safety authentication method, device and system
CN104484917A (en) * 2014-11-17 2015-04-01 深圳市科荣实业有限公司 Safe box renting system
CN105761340A (en) * 2016-01-29 2016-07-13 北京三快在线科技有限公司 Network control method and network control device for door lock, server and PMS (Property Management System)
KR101765080B1 (en) * 2016-05-09 2017-08-23 주식회사 코맥스 smart door lock system based on iot and the method thereof
CN107230139A (en) * 2017-06-01 2017-10-03 天网互联科技(深圳)有限公司 A kind of unattended Management System on Public Rooms based on arrowband Internet of Things
CN107733994A (en) * 2017-09-20 2018-02-23 美的智慧家居科技有限公司 Control method, intelligent door lock and the readable storage medium storing program for executing of intelligent door lock
CN110110519A (en) * 2019-04-30 2019-08-09 深圳力维智联技术有限公司 Password remapping method, password resetting equipment and the readable storage medium storing program for executing of safety device
CN111489464A (en) * 2020-03-25 2020-08-04 北京小米移动软件有限公司 Identity verification method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110213356B (en) Login processing method based on data processing and related equipment
KR101018435B1 (en) Apparatus and method for security management of user terminal
US20190340348A1 (en) Security verification method and device
KR20130142961A (en) Automatic application updates
CN110839071B (en) Information storage method, device and storage medium based on block chain
CN111399772A (en) Method, device, equipment and storage medium for synchronizing bitmap information between nodes
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN110912990B (en) Method and related equipment for updating consensus period
CN114866250B (en) Method and device for constructing in-vehicle CAN network freshness value, vehicle and storage medium
RU2018142367A (en) METHOD AND SYSTEM FOR INTELLECTUAL TERMINAL INITIATED BY A MOBILE DEVICE
CN116011590A (en) Federal learning method, device and system
CN113542256B (en) Method, device, equipment and storage medium for updating login credentials in client
CN111414605A (en) Unlocking method and device of embedded security unit, electronic equipment and storage medium
CN106507300A (en) A kind of method for giving loss terminal for change, device and terminal
CN116962114A (en) Equipment interconnection method, device, equipment and medium based on distributed soft bus
CN103023943A (en) Method, device and terminal equipment for task processing
CN112652096A (en) NB door lock information synchronization method, device, equipment and medium
CN112349003B (en) Door lock password transmission method, lock body, server and readable storage medium
CN104753755A (en) System access method, system access device, application client, and IM background system
CN117520362B (en) Data management system, method, equipment and storage medium based on distributed lock
CN114362960B (en) Resource account data supervision method and device, computer equipment and medium
CN116440504B (en) Game resource processing method, device and storage medium
CN116627469A (en) Method, device, equipment and medium for generating unique identifier of Android equipment
CN114489863A (en) System parameter configuration method and device, computer equipment and storage medium
CN115512472B (en) Information matching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210413

RJ01 Rejection of invention patent application after publication