CN112365640A - Method, system and device for replacing user information of intelligent door lock - Google Patents

Method, system and device for replacing user information of intelligent door lock Download PDF

Info

Publication number
CN112365640A
CN112365640A CN202011359761.8A CN202011359761A CN112365640A CN 112365640 A CN112365640 A CN 112365640A CN 202011359761 A CN202011359761 A CN 202011359761A CN 112365640 A CN112365640 A CN 112365640A
Authority
CN
China
Prior art keywords
user information
information
door lock
running water
intelligent door
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
CN202011359761.8A
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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202011359761.8A priority Critical patent/CN112365640A/en
Publication of CN112365640A publication Critical patent/CN112365640A/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/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00825Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The application discloses a method, a system and a device for replacing user information of an intelligent door lock, and relates to the technical field of intelligent home. The method comprises the following steps: receiving an operation request, wherein the operation request is used for modifying first user information into second user information; modifying the first user information stored in the intelligent door lock into the second user information according to the operation request, and updating the first running water information stored in the intelligent door lock; and sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information. Therefore, the running water information is updated when the user information is modified in the intelligent door lock, and the user information in the server is updated according to the running water value of the running water information, so that the inconsistency of the user information in the intelligent door lock and the server can be avoided.

Description

Method, system and device for replacing user information of intelligent door lock
Technical Field
The application relates to the technical field of smart homes, in particular to a method, a system and a device for replacing user information of a smart door lock.
Background
The home safety is always a problem of people paying attention, and along with the development of technologies such as the Internet of things and smart homes, the smart door lock gradually appears in the middle of the life of people. Different from the lockset of the traditional mechanical lock which needs to use a key to open the door, the intelligent door lock can be unlocked in various verification unlocking modes, and is simpler, more convenient and more intelligent in the aspects of user safety, identification capability, management performance and the like. The intelligent door lock can store data in the server, and the server needs to keep consistent with the data in the intelligent door lock. However, as the user information in the intelligent door lock is changed frequently, once the data is changed, the data is not synchronized with the server in time, and the situation of data inconsistency occurs. Therefore, how to ensure that the user information in the intelligent door lock and the user information in the server are kept consistent is a problem to be solved urgently in the field of the intelligent door lock at present.
Disclosure of Invention
In view of the above problems, the present application provides a method, a system, and a device for replacing user information of an intelligent door lock to improve the above problems.
In a first aspect, an embodiment of the present application provides a method for replacing user information of an intelligent door lock, which is applied to the intelligent door lock, and the method includes: receiving an operation request, wherein the operation request is used for modifying first user information into second user information; modifying the first user information stored in the intelligent door lock into the second user information according to the operation request, and updating the first running water information stored in the intelligent door lock; and sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
In a second aspect, an embodiment of the present application provides a method for replacing user information of an intelligent door lock, which is applied to a server, and the method includes: receiving second user information from an intelligent door lock and first flow information generated when the intelligent door lock generates the second user information; and comparing the second running water information of the stored third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
In a third aspect, an embodiment of the present application provides a system for replacing user information of an intelligent door lock, where the system includes the intelligent door lock and a server; the intelligent door lock is used for receiving an operation request, and the operation request is used for requesting to modify first user information into second user information; the intelligent door lock modifies the first user information stored in the intelligent door lock into the second user information according to the operation request, and updates the first running water information stored in the intelligent door lock; the intelligent door lock sends the second user information and the first running water information to a server; the server is used for comparing the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
In a fourth aspect, an embodiment of the present application provides a device for replacing user information of an intelligent door lock, which is applied to the intelligent door lock, and the device includes: the device comprises a request receiving module, a first sending module and a second sending module, wherein the request receiving module is used for receiving an operation request which is used for requesting to modify first user information into second user information; the first processing module is used for modifying the first user information stored in the intelligent door lock into the second user information according to the operation request and updating the first running water information stored in the intelligent door lock; and the sending module is used for sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
In a fifth aspect, an embodiment of the present application provides a device for replacing user information of an intelligent door lock, which is applied to a server, and the device includes: the information receiving module is used for receiving second user information from the intelligent door lock and first flow information generated when the intelligent door lock generates the second user information; and the second processing module is used for comparing the stored second running water information of the third user information with the running water value of the first running water information so as to determine whether to replace the third user information with the second user information.
The embodiment of the application discloses a method, a system and a device for replacing user information of an intelligent door lock, wherein the intelligent door lock receives an operation request, and the operation request is used for modifying first user information into second user information; the intelligent door lock modifies the first user information stored in the intelligent door lock into second user information according to the operation request, updates the first running water information stored in the intelligent door lock, and sends the second user information and the first running water information to the server, so that the server compares the second running water information of the stored third user information with the running water value of the first running water information, and whether the third user information is replaced by the second user information is determined. In the embodiment of the application, the running water information represents the modification operation of the user information, the running water information may include a running water value, the running water value is used for representing the time corresponding to the modification operation, the running water value may be a serial number updated according to a preset rule when the user information is modified, or may be a timestamp corresponding to the modification time, the running water information is updated when the user information is modified in the intelligent door lock, and the user information and the running water information in the intelligent door lock are sent to the server together, so that the server can update the user information in the server according to the running water value of the running water information, and the condition that the information in the server and the information in the intelligent door lock are inconsistent is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an alternative system for providing user information of an intelligent door lock according to an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating an alternative system for providing user information for an intelligent door lock according to another embodiment of the present application.
Fig. 3 shows a flowchart of a method for replacing user information of an intelligent door lock according to an embodiment of the present application.
Fig. 4 shows a flowchart of a method for replacing the user information of the intelligent door lock according to another embodiment of the present application.
Fig. 5 is a flowchart illustrating a method for replacing user information of an intelligent door lock according to another embodiment of the present application.
Fig. 6 shows a block diagram of an apparatus for replacing user information of an intelligent door lock according to an embodiment of the present application.
Fig. 7 is a block diagram illustrating a structure of an apparatus for replacing user information of an intelligent door lock according to another embodiment of the present application.
Fig. 8 shows a block diagram of an electronic device according to an embodiment of the present application.
Fig. 9 illustrates a storage unit for storing or carrying program codes for implementing an alternative method of user information of an intelligent door lock according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
Along with the development of technologies such as the internet of things and smart homes, the smart door lock gradually appears in the middle of the life of people. The intelligent door lock is different from a lock of a traditional mechanical lock, can be unlocked in various verification unlocking modes, is simpler, more convenient and more intelligent in the aspects of user safety, identification capability, management performance and the like, and has wide application in the field of intelligent home.
The intelligent door lock generally needs to synchronize data to a server in real time after updating door lock data each time. However, in some cases, the user information stored in the intelligent door lock and the user information stored in the server may be different, and after the data sent by the intelligent door lock is obtained, the data synchronization may not be correctly performed, which affects the normal use of the intelligent door lock. For example, data may be lost when the smart door lock sends synchronization data, or a server down may cause the server to be out of synchronization with the data in the smart door lock. For another example, when a user adds a user and an unlocking mode to an intelligent door lock through a Wireless Access Point (AP) of a terminal device, the intelligent door lock and the terminal device need to be disconnected from a server, which may cause that the added user and the unlocking mode of the user cannot be synchronized to the server in real time, and after the terminal device and the door lock are disconnected, the server is connected and data is reported, which may cause that data reported by the door lock is different from data reported by the terminal device.
In view of the above problems, the inventors have found and proposed a method, an apparatus, and a system for replacing user information of an intelligent door lock according to embodiments of the present invention through long-term research, and characterize a modification condition of the user information by using running water information corresponding to the user information, and send the user information and the running water information in the intelligent door lock to a server together, so that the server updates the user information in the server according to a running water value of the running water information, and a situation that the information in the server and the information in the intelligent door lock are inconsistent can be avoided.
Referring to fig. 1, a schematic diagram of an alternative system for providing user information of an intelligent door lock according to an embodiment of the present application is shown. As shown in fig. 1, the system 100 for replacing the user information of the intelligent door lock comprises an intelligent door lock 101 and a server 102, wherein the intelligent door lock 101 and the server 102 are in communication connection, and data interaction is performed through a wireless network or a wired network. The server 102 may be an individual server, or a server cluster, or a local server, or a cloud server, and is not limited specifically herein.
In some embodiments, the user can directly operate the intelligent door lock, and the user information is operated on the intelligent door lock. For example, operations such as adding, deleting, or modifying user information are performed. Optionally, the user information may be an unlocking manner of the user, the user information may also be information such as a user name, and the user information may also be a user name and an unlocking manner corresponding to the user name.
In some embodiments, as shown in fig. 2, the system 100 for replacing the user information of the intelligent door lock may further include a terminal device 103, and the terminal device 103 may be in communication connection with the intelligent door lock 101 and the server 102, respectively. The terminal device 103 may be a personal computer, a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein.
In some embodiments, the terminal device 103 may establish communication with the smart door lock through a wireless communication module such as a ZigBee module or a bluetooth module, and perform interaction. For example, when the terminal device 103 is connected to the intelligent door lock 101 in the AP mode, both the terminal device 103 and the intelligent door lock 101 need to be disconnected from the server 102, and the user can operate the user information in the terminal device 103, so that the user information in the intelligent door lock 101 is changed accordingly. In other embodiments, the terminal device 103 may also establish a connection with a server through a data network such as 2G/3G/4G/5G or a wireless network such as WIFI, so as to perform data interaction with the intelligent door lock through the server.
Optionally, a client capable of managing the smart door lock 101 may be installed in the terminal device 103, and a user may operate user information of the smart door lock on the terminal device 103 through the client, where the client may be an application client (such as a mobile phone APP) or a web page client, and is not limited herein. As one mode, the user can add the same account information with the intelligent door lock 101 at the terminal, and data synchronization between the intelligent door lock 101 and the terminal device 103 can be realized through the account. Alternatively, the same account information may be added to other terminal devices 103 and the smart door lock 101, and data synchronization between the smart door lock 101 and the plurality of terminal devices 103 may be achieved through the account.
It should be noted that, in this embodiment of the application, after each operation of the intelligent door lock 101, the operated user information may be uploaded to the server 102, so that the terminal device 103 presents the user information to the user in a visual manner according to the data stored in the server 102. In some embodiments, because the memory of the intelligent door lock 101 is small, when a user name and an unlocking mode corresponding to the user name are added to the intelligent door lock 101, a number corresponding to the user name and a number corresponding to the unlocking mode can be stored in the intelligent door lock 101, the user name and the unlocking mode are uploaded to the server 102, the terminal device 103 can obtain the stored user name and the stored unlocking mode through the server 102, and when the unlocking mode is used for unlocking, the user name and the unlocking mode can be displayed on the terminal device 103. For example, a user with the user name of "zhang san" is added through the APP on the terminal device, a fingerprint is recorded into "zhang san" and named as "fingerprint 1", the number of "zhang san" stored in the intelligent door lock is "user 1", the number of "pwd 1" of the unlocking mode "fingerprint 1", and the user name of "zhang san" and the number corresponding to the user name and the "fingerprint 1" are uploaded to the server through the APP by the intelligent door lock. When "three" of opening is unblanked with "fingerprint 1", APP can show corresponding user name and the mode of unblanking through the information of unblanking that the server acquireed on APP.
Specifically, the roles of the smart door lock, the server, and the terminal device are described in detail in the following embodiments.
As shown in fig. 3, an embodiment of the present application provides a method for replacing user information of an intelligent door lock, which is applied to the system for replacing user information of an intelligent door lock. Specifically, the execution subject of the method of the embodiment of the application is an intelligent door lock. The method comprises the following steps: s210 to S240.
And S210, receiving an operation request.
The operation request is used for modifying the first user information into the second user information. The operation request can be a request for modifying user information directly input by a user on the intelligent door lock, or can be an operation request sent to the intelligent door lock by the user through the terminal device when the terminal device is in communication with the intelligent door lock. The first user information is user information stored in the intelligent door lock, the second user information is user information which is expected to be obtained by modifying the first user information according to the operation request, and the modification of the user information can be operations of adding, deleting or replacing the user information and the like.
As a mode, the user information may be an unlocking mode of the user, where the unlocking mode may be a password, an access card, or the like, and may also be biometric information for representing the identity of the user. For example, the unlocking mode can be information such as fingerprints, voiceprints, irises, face images and the like. The unlocking mode is not limited herein.
Alternatively, the user information may be a user name of the user. The operation request can be used for modifying the user name of the first user information in the intelligent door lock into the user name of the second user information. For example, the operation request may be to modify the user name "user 1" to "zhang san" in the smart door lock.
As another way, the user information may include a user name and an unlocking manner corresponding to the user name. Specifically, a user name and an unlocking mode corresponding to the user name may be stored in the smart door lock, wherein one user name may correspond to one or more unlocking modes. Alternatively, the user name may be a user number automatically generated by the intelligent door lock according to different users, or may be a user name input by the user. Correspondingly, the operation request may include a user name to be modified and an unlocking manner corresponding to the user name. For example, the operation request may be to add a "fingerprint 1" to the user "zhang san". Through the mode, the user can manage unlocking modes corresponding to different users in the intelligent door lock more conveniently.
In some embodiments, the operation request may further include a validity period of the user information, where the validity period may be a permanent or a custom time. As one mode, when the second user information in the operation request is the user information using the intelligent door lock within a period of time, a validity period may be set for the second user information, and the validity period is the time during which the unlocking mode in the user information can be used to control the intelligent door lock. For example, when the landlord adds the unlocking mode of the tenant in the intelligent door lock by requesting information, the lease term of the tenant can be set as the validity period of the user information, so that the tenant can use the intelligent door lock in the unlocking mode only in the validity period.
S220: and modifying the first user information stored in the intelligent door lock into second user information according to the operation request, and updating the first running water information stored in the intelligent door lock.
The intelligent door lock is provided with a log pipelining function, and the log pipelining function is used for recording modification operation of the user information in the intelligent door lock every time, and generating and storing first pipelining information. After the intelligent door lock obtains the operation request, the intelligent door lock can modify the first user information stored in the intelligent door lock into the second user information according to the operation request, and update the first running water information stored in the intelligent door lock according to the modification operation.
The first flow information can be used for representing operation information corresponding to the user information which is modified each time. Specifically, the first flow information may include an identifier corresponding to each time the user information is modified, and a flow value corresponding to the operation, where the identifier may be used to determine the modified user information, and the flow value may represent a time when the user information is modified corresponding to the operation. Optionally, the running water value may be a timestamp corresponding to the modified user information, that is, a time corresponding to the modified user information, and the time corresponding to the modified user information may be determined more accurately by using the timestamp as the running water value; the running water value can also be a first serial number, the first serial number is updated according to a first updating rule, and the memory required for storing the running water information in the intelligent door lock can be saved by using the first serial number as the running water value.
When the running water value is the first serial number, as a mode, the first update rule is to increase the running water information corresponding to the user information by a preset value when the user information is updated. Specifically, when the running water information corresponding to the user information is established, the running water value, that is, the first serial number, may be initialized to an initial value, and when the user information is updated, a preset value may be added on the basis of the initial value of the first serial number, where the initialization value may be preset in the intelligent door lock. As another mode, the first update rule may also be that when the user information is updated, a preset value is subtracted from the running information corresponding to the user information, that is, a preset value is subtracted from an initial value of the first serial number corresponding to the user information.
In some embodiments, the user information in the smart door lock corresponds to the first flow information. Specifically, the first flow information may include an identifier corresponding to each time of modifying the user information and a flow value corresponding to the operation, each time of modifying the user information in the intelligent door lock is recorded in the first flow information through a log flow function, and a recording sequence of the first flow information is consistent with an actually performed modifying sequence. For example, when the operation request is to add "fingerprint 1" and "fingerprint 2" to "zhang san" of the user, the modification operation sequence of the data in the smart door lock is to add "fingerprint 1" and "fingerprint 2", accordingly, the sequence recorded in the first stream information is "pwd 1", "pwd 2", and the first sequence number "10" corresponding to the modified user information, where "pwd 1" is the identifier of "fingerprint 1", and "pwd 2" is the identifier of "fingerprint 2", and the first sequence number before the modification operation is "9", and the first sequence number is increased by "1" each time the user information is modified according to the request information.
In other embodiments, when the user information is a user name and an unlocking mode corresponding to the user name, each user in the intelligent door lock corresponds to the first running water information. And recording the first flow information corresponding to the user through the log flow function every time the user information corresponding to the user in the intelligent door lock is modified. Specifically, the first running water information may include the user identifier of each modification, the running water value corresponding to the operation, and the like. Wherein the user identification may uniquely identify the user. The first user information and the second user information are user information corresponding to the same user identification.
As one mode, a plurality of user information corresponding to one user in the intelligent door lock is modified according to one operation request, and may be recorded as a running stream of information. For example, when the operation request is to add "fingerprint 1" and "fingerprint 2" to "zhang san" of the user, the intelligent door lock adds "fingerprint 1" and "fingerprint 2" to the unlocking mode corresponding to "user 1" according to the operation request, and records the running water value corresponding to "user 1" and "user 1" in the first running water information, where "user 1" is the user identifier corresponding to "zhang san", and the running water value may be the first serial number obtained after performing the updating operation on the first serial number corresponding to the user identifier according to the first updating rule, or may be the timestamp corresponding to the completion of the input writing of "fingerprint 1" and "fingerprint 2" in the intelligent door lock.
As another way, a plurality of user information corresponding to one user in the intelligent door lock is modified according to one operation request, and the modification of each user information may be recorded as a flow information. For example, when the operation request is to add "fingerprint 1" and "fingerprint 2" to "zhang san" of the user, a running water value corresponding to "user 1" and the data written in "fingerprint 1" and a running water value corresponding to "user 1" and the data written in "fingerprint 2" may be recorded in the first running water information, respectively.
It can be understood that, when the request information is user information corresponding to a new user added to the intelligent door lock, the intelligent door lock may modify the first user information into the second user information according to the request information, and add new running water information corresponding to the new user to the local data of the intelligent door lock, that is, add a user identifier and a running water value corresponding to the new user. The running water value may be an initialized first sequence number, or may be a timestamp modified to correspond to the completion time of the second user information.
In some embodiments, when the operation request includes the validity period of the user information, the first user information may be modified into the second user information, and the first running water information stored in the intelligent door lock may be updated. When the modification time reaches the validity period, the intelligent door lock can delete the user information and update the first running water information stored in the intelligent door lock again.
In some embodiments, it may also be determined whether the first user information stored in the intelligent door lock is successfully modified into the second user information according to the operation request, and feedback information may be sent to the user. The feedback information can be in the form of a prompt in the form of sound, light and the like, and can also be in the form of information push sent to the terminal equipment bound with the intelligent door lock. In this way, on one hand, the user can know whether the intelligent door lock successfully replaces the user information according to the operation request; on the other hand, when the operation request is an illegal operation, for example, a thief maliciously modifies the operation request, the security performance can be improved by sending the feedback information.
S230: and sending the second user information and the first flow information to a server.
After the intelligent door lock modifies the first user information stored in the intelligent door lock into the second user information according to the operation request and updates the first running water information stored in the intelligent door lock, the second user information and the first running water information can be sent to the server, so that the server compares the second running water information of the stored third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
The running water information in the server is used for representing the operation information corresponding to the user information modified in the server every time, and the forms of the running water information in the server and the intelligent door lock are the same. Specifically, when the running water value of the running water information in the intelligent door lock is a timestamp, the running water value of the running water information in the server is also the timestamp; when the running water value of the running water information in the intelligent door lock is the first serial number, the running water value of the running water information in the server is the second serial number. The relationship between the user information and the flow information in the server and the intelligent door lock is the same. Specifically, when the user information in the intelligent door lock corresponds to the flow information, the user information in the server also corresponds to the flow information; when each user in the intelligent door lock corresponds to the flow information, each user in the server also corresponds to the flow information, that is, the second flow information of the third user information is the flow information corresponding to the user of the third user information, the flow information comprises the user identifier of the third user information, and the flow value corresponding to the operation of modifying the third user information is obtained, the first user information, the second user information and the third user information are the user information corresponding to the same user identifier, and the first flow information and the second flow information are the flow information corresponding to the same user identifier.
It should be noted that, after the server updates the third user information according to the information sent by the terminal device, the running water information corresponding to the third user information is also updated, so that by comparing the running water value of the first running water information with the second running water information of the third user information, it can be determined whether the user information in the server is consistent with the user information of the intelligent door lock, and further, it is determined whether to replace the third user information with the second user information. As one mode, the first running water information and the second running water information are both updated according to a preset rule, where the preset rule is to increase the running water information corresponding to the user information by a preset value when the user information is updated. Specifically, please refer to the following embodiments.
The method for replacing the user information of the intelligent door lock, provided by the embodiment of the application, comprises the steps of receiving an operation request, wherein the operation request is used for modifying first user information into second user information; modifying the first user information stored in the intelligent door lock into second user information according to the operation request, and updating the first running water information stored in the intelligent door lock; the second user information and the first running water information are sent to the server, so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information, the server can accurately synchronize the user information according to the running water value of the running water information, and the condition that the information in the server and the intelligent door lock is inconsistent is avoided.
As shown in fig. 4, an embodiment of the present application provides a method for replacing user information of an intelligent door lock, which is applied to the system for replacing user information of an intelligent door lock. Specifically, the execution subject of the method of the embodiment of the application is an intelligent door lock. The method comprises the following steps: s310 to S340.
S310: and when the terminal equipment is connected with the intelligent door lock and the terminal equipment and the intelligent door lock are disconnected from the server, receiving an operation request sent by the terminal equipment.
The terminal equipment can perform near field communication with the intelligent door lock through wireless communication modules such as a ZigBee module or a Bluetooth module. As a mode, a communication module for AP communication is installed in the intelligent door lock, the intelligent door lock may be connected to the terminal device in an AP mode, at this time, both the terminal device and the intelligent door lock need to be disconnected from the server, and the user may send an operation request to the intelligent door lock through the terminal device, where the operation request is used to modify the first user information into the second user information. Through the mode, the user information is only interacted between the terminal equipment and the intelligent door lock locally, a server is not needed, and the safety of the intelligent door lock is higher.
For a detailed description of receiving the operation request, refer to step S210, which is not described herein again.
S320: and modifying the first user information stored in the intelligent door lock into second user information according to the operation request, and updating the first running water information stored in the intelligent door lock.
Specifically, please refer to step S220 for detailed description of step S320, which is not described herein.
In some embodiments, after the intelligent door lock modifies the first user information stored in the intelligent door lock into the second user information according to the operation request and updates the first running water information stored in the intelligent door lock, the information of successful modification can be fed back to the terminal device, so that the terminal device can manage the information.
As a mode, the intelligent door lock can also send the first flow information to the terminal device, so that the second user information and the first flow information corresponding to the user information are stored in the terminal device. Further, after the terminal device obtains the first flow information sent by the intelligent door lock, the second user information and the first flow information corresponding to the user information can be sent to the server for data synchronization. Specifically, please refer to the following embodiments in detail.
S330: and disconnecting the terminal equipment and establishing connection with the server.
In some embodiments, the intelligent door lock is connected with the server in real time, and after the first user information stored in the intelligent door lock is modified into the second user information according to the operation request and the first flow information stored in the intelligent door lock is updated, the intelligent door lock can automatically establish connection with the server when the terminal device is disconnected from the intelligent door lock.
S340: and sending the second user information and the first flow information to a server.
Specifically, please refer to step S230 for detailed description of step S340, which is not described herein.
According to the method for replacing the user information of the intelligent door lock, when the terminal equipment is connected with the intelligent door lock and the terminal equipment and the intelligent door lock are disconnected with the server, the terminal equipment sends an operation request to the intelligent door lock; modifying the first user information stored in the intelligent door lock into second user information according to the operation request, and updating the first running water information stored in the intelligent door lock; and sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information. The user can modify the user information in the intelligent door lock through the terminal equipment, and the user information among the terminal equipment, the intelligent door lock and the server can be kept synchronous, so that the flexibility of the intelligent door lock is improved, and the user experience is improved.
As shown in fig. 5, an embodiment of the present application provides a method for replacing user information of an intelligent door lock, which is applied to the system for replacing user information of an intelligent door lock. Specifically, the execution subject of the method of the embodiment of the present application is a server. The method comprises the following steps: s410 to S420.
S410: and receiving second user information from the intelligent door lock, and generating first running water information of the second user information by the intelligent door lock.
The server and the intelligent door lock can be connected in real time, and after the user information is modified by the intelligent door lock every time, the second user information stored in the intelligent door lock and the first running water information generated by the intelligent door lock when the second user information is generated can be sent to the server.
S420: and comparing the second running water information of the stored third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
The running information in the server is used for representing the operation information corresponding to the user information modified in the server every time, the forms of the running information in the server and the intelligent door lock are the same, and the relationship between the user information and the running information is also the same.
In some embodiments, the flow value in the flow information is a timestamp, and the time in the server and the clock in the intelligent door lock need to be synchronized in advance to keep the time of the server and the time of the intelligent door lock consistent. And if the timestamp of the second pipeline information of the third user information is earlier than the timestamp of the first pipeline information, the server performs data synchronization according to the first user information and the first pipeline information, specifically, the server replaces the third user information with the second user information, and the server also replaces the timestamp of the third user information with the timestamp corresponding to the second user information.
In other embodiments, the running water value in the running water information is a serial number, a first serial number in first running water information in the intelligent door lock can be updated according to a preset first update rule, and a second serial number in second running water information in the server can be updated only when the server and the intelligent door lock are successfully synchronized, that is, when the third user information is replaced by the second user information, the running water information corresponding to the third user information. And if the modification time of the third user information is determined to be earlier than that of the second user information according to the updating rule, replacing the third user information in the server with the second user information, and replacing the second running water information with the first running water information.
Specifically, as a manner, when the first update rule is that when the user information is updated, the running water information corresponding to the user information is increased by a preset value, if the second serial number of the second running water information of the third user information is smaller than the first serial number, it is determined that the modification time of the third user information is earlier than that of the second user information. As another mode, when the first update rule is that when the user information is updated, the running water information corresponding to the user information is reduced by a preset value, and if a second serial number of second running water information of third user information is greater than the first serial number, it is determined that the modification time of the third user information is earlier than that of the second user information.
In still other embodiments, the running water value in the running water information is a serial number, and both the first running water information and the second running water information are updated according to a preset rule. Specifically, a running water value in first running water information of the terminal device is a first serial number, and when user information is modified in the intelligent door lock, the first serial number is updated according to a first updating rule; and when the user information is modified in the server, updating the second serial number according to a second updating rule. The specified condition may be determined according to the first update rule and the second update rule, and when the relationship between the magnitude of the second running water value of the third user information and the magnitude of the running water value of the first running water information satisfies the specified condition, the server determines to replace the third user information with the second user information. Wherein the specified condition may be used to characterize that the modification time of the third user information is earlier than the modification time of the second user information.
It can be understood that, according to the first update rule and the second update rule, the magnitude relationship between the two running water values is different, and the corresponding specified conditions are different.
For example, if the first update rule and the second update rule are the same and the same value is added on the basis of the same initial value, the specified condition is whether the first sequence number is greater than the second sequence number, if the first sequence number is greater than the second sequence number, it is determined that the size relationship of the running water values satisfies the specified condition, otherwise, it is determined that the size relationship does not satisfy the specified condition.
For another example, if the first update rule and the second update rule are the same and the same value is subtracted on the basis of the same initial value, the specified condition is whether the first sequence number is smaller than the second sequence number, if the first sequence number is smaller than the second sequence number, it is determined that the size relationship of the running water value satisfies the specified condition, otherwise, it is determined that the size relationship does not satisfy the specified condition.
In this embodiment of the application, the first update rule and the second update rule may be the same preset rule, that is, when the user information is updated, the same preset value is added to the running water information corresponding to the user information, and the server may determine whether the running water value of the second running water information is smaller than the running water value of the first running water information, and if so, the server replaces the third user information with the second user information and updates the running water value of the second running water information according to the preset rule. As one way, the preset rule may be to increase the same value, for example, by 1, on the basis of the initial value.
In some embodiments, the intelligent door lock may send the first running water information to the server, and the server may determine whether the third user information needs to be updated according to the second running water information of the third user information and the running water value of the first running water information, and if so, obtain the second user information sent by the intelligent door lock, and update the third user information in the server to the second user information. By the method, the data volume transmitted in the server and the intelligent door lock can be reduced, data transmission when user information does not need to be updated is avoided, and therefore power consumption is reduced.
Furthermore, after the server judges that the third user information needs to be updated, the server can determine the data needing to be updated in the server according to the running water value in the server and the running water value of the first running water information, so that the server can instruct the intelligent door lock to send the data needing to be updated in the second user information to the server. By the mode, the intelligent door lock does not need to send all user information to the server for synchronization, and power consumption is further reduced.
As one mode, when the flow information includes the user identifier modified each time and the flow value corresponding to the operation, the server may send the user identifier that needs to be updated to the intelligent door lock, so that the intelligent door lock determines the data that needs to be sent according to the received user identifier. For example, when the running water value of the second running water information of the third user information is smaller than the running water value of the first running water information, and the server determines to replace the third user information with the second user information, if the first running water information includes the running water value "5" corresponding to the user identifier "user 1" and "user 1" and the running water value "6" corresponding to the user identifier "user 2" and "user 2", the running water value corresponding to "user 1" in the second running water information in the server is "5", and the running water value "4" corresponding to "user 2". The server may send the user identifier "user 2" to the terminal device, so that the terminal device sends the user information corresponding to "user 2" in the second user information to the server to update the user information corresponding to "user 2" in the third user information.
In some embodiments, the intelligent door lock can also send the second user information and the first running water information to the terminal device, so that the terminal device and the intelligent door lock perform data synchronization. Specifically, the terminal device can update the user information and the running water information corresponding to the user information in the terminal device according to the information sent by the intelligent door lock. In this way, when the terminal device communicates with the server and performs data interaction, whether to modify the user information in the terminal device can be determined according to the running information in the terminal device.
Further, the terminal device may send the running water information in the terminal device to the server, so that the server compares the stored second running water information of the third user information with the running water value of the running water information sent by the terminal device, thereby determining whether to update the user information in the terminal device according to the third user information in the server. When the time for modifying the user information represented by the pipelining information in the terminal device is earlier than the time for modifying the user information represented by the first pipelining information in the server, the server may send the third user information to the terminal device, so that the terminal device updates the user information stored in the terminal device according to the third user information. Through the mode, the phenomenon of data asynchronism caused by the fact that the terminal equipment and the intelligent door lock are communicated with the server respectively can be solved, and the phenomenon of data asynchronism generated when a plurality of terminal equipment operate one intelligent door lock simultaneously can also be solved.
For example, after the user information is modified on the intelligent door lock through the terminal device and the data of the terminal device and the intelligent door lock are synchronized, the user may also directly modify the user information on the intelligent door lock and synchronize the data of the intelligent door lock and the server. Therefore, the running water value of the running water information corresponding to the user information in the server is greater than the running water value of the running water information of the terminal device, that is, the time for modifying the user information represented by the running water information in the terminal device is earlier than the time for modifying the user information represented by the first running water information in the server, in which case, the server may send the user information to the terminal device to update the user information stored in the terminal device.
In some embodiments, the running water value in the running water information is a serial number, the first running water information in the intelligent door lock can be updated according to a preset first update rule, and the second running water information in the server can be updated only after the server and the intelligent door lock are successfully synchronized, that is, after the server replaces the third user information with the second user information, the second running water information is also updated to be the first running water information.
For example, when the intelligent door lock does not have the running water information, the user directly exits from the APP after adding user 'zhang san' and fingerprint 'fingerprint 1' to the door lock by using the APP in the terminal device through the AP mode, which may result in that the information reported and stored by the APP cannot be reported to the server. After that, the user directly operates the intelligent door lock, the fingerprint 1 is deleted on the intelligent door lock and reported to the server through the intelligent door lock, and the server can remove the information of the fingerprint 1. After this, when the user opened APP, the APP will report the information of saving before for the server, and the server will add "fingerprint 1" back, will lead to the information of saving on the server to be inconsistent with the information of intelligent lock the inside like this.
And when each user corresponds to the running water information and the first updating rule is that 1 is added on the basis of the initial value, after the user adds three Zhang users and the fingerprint 1 to the intelligent door lock by using the terminal equipment in the AP mode, the running water value corresponding to the user in the intelligent door lock is 1, and after the intelligent door lock and the terminal equipment perform data synchronization, the user information and the running water value corresponding to the user are stored in the intelligent door lock and the terminal equipment. The intelligent door lock sends the user information and the running water value to the server, and the server stores the user information 'Zhang III' and 'fingerprint 1' and the running water value 1 corresponding to the user. If the intelligent door lock is directly operated at the moment and the fingerprint 1 is deleted, the running water value corresponding to the user in the intelligent door lock is updated to be 2. After the intelligent door lock is connected with the server and data synchronization is carried out, the data of the fingerprint 1 are deleted from the server, and the running water value corresponding to the user is updated to be 2. When the terminal equipment is connected with the server again, the terminal equipment sends the running water value 1 corresponding to the user to the server, and the server judges that the running water value of the user is smaller than the running water value in the server, then the server sends user information to the terminal equipment, so that the terminal equipment deletes the fingerprint 1, and updates the running water value of the user to 2. Through the mode, data consistency of the intelligent door lock, the server and the terminal equipment can be realized.
The method for replacing the user information of the intelligent door lock is applied to a server in a system for replacing the user information of the intelligent door lock, wherein the server receives second user information from the intelligent door lock and first running water information generated when the second user information is generated by the intelligent door lock; and comparing the second running water information of the stored third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information. By the method, when the running water value of the second running water information of the third user information in the server is smaller than the running water value of the first running water information sent by the intelligent door lock, the third user information in the server is replaced by the second user information, so that the reliability of information synchronization is realized, and the consistency of the user information in the server and the intelligent door lock is ensured.
The embodiment of the application also provides a system for replacing the user information of the intelligent door lock, which comprises the intelligent door lock and a server. The intelligent door lock is used for receiving an operation request, and the operation request is used for requesting to modify first user information into second user information; modifying the first user information stored in the intelligent door lock into second user information according to the operation request, and updating the first running water information stored in the intelligent door lock; and sending the second user information and the first flow information to a server. And the server is used for comparing the stored second running water information of the third user information with the running water value of the first running water information so as to determine whether to replace the third user information with the second user information.
In some embodiments, the system may further include a terminal device. The terminal equipment is used for sending an operation request to the intelligent door lock when the terminal equipment is connected with the intelligent door lock and the terminal equipment and the intelligent door lock are disconnected with the server; the intelligent door lock is used for modifying first user information stored in the intelligent door lock into second user information according to the operation request, updating first flow information stored in the intelligent door lock and then sending the first flow information to the terminal equipment; before the second user information and the first running water information are sent to the server, the intelligent door lock is also used for disconnecting from the terminal equipment and establishing connection with the server.
For specific functions of the intelligent door lock, the server and the terminal device in the system, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Referring to fig. 6, a block diagram of a structure of an apparatus for replacing user information of an intelligent door lock according to an embodiment of the present application is shown, where the apparatus 500 is applied to an intelligent door lock, and the apparatus 500 includes: a request receiving module 510, a first processing module 520, and a sending module 530.
A request receiving module 510, configured to receive an operation request, where the operation request is used to request that the first user information is modified into the second user information.
And the first processing module 520 is configured to modify the first user information stored in the intelligent door lock into the second user information according to the operation request, and update the first running water information stored in the intelligent door lock.
A sending module 530, configured to send the second user information and the first running water information to a server, so that the server compares the stored second running water information of the third user information with the running water value of the first running water information, to determine whether to replace the third user information with the second user information.
Further, the first user information, the second user information, and the third user information are all user information corresponding to the same user identifier, and the first running water information and the second running water information are all running water information corresponding to the same user identifier.
Further, the first running water information and the second running water information are updated according to a preset rule, and the preset rule is that when the user information is updated, a preset value is added to the running water information corresponding to the user information.
Further, the operation request is a request sent by the terminal device to the intelligent door lock, wherein the terminal device is connected with the intelligent door lock, the terminal device and the intelligent door lock are disconnected from the server, and before the second user information and the first flow information are sent to the server, the device further comprises a connection module, and the connection module is used for disconnecting from the terminal device and establishing connection with the server.
Referring to fig. 7, a structural block diagram of an apparatus for replacing user information of an intelligent door lock according to an embodiment of the present application is shown, where the apparatus 600 is applied to a server, and the apparatus 600 includes: an information receiving module 610, and a second processing module 620.
The information receiving module 610 is configured to receive second user information from the intelligent door lock, and first flow information when the intelligent door lock generates the second user information.
A second processing module 620, configured to compare a running water value of the first running water information with a second running water information of the stored third user information, so as to determine whether to replace the third user information with the second user information.
Further, the second processing module 620 includes a pipeline value determination sub-module and an information replacement sub-module.
And the running water value judgment submodule is used for judging whether the running water value of the second running water information is smaller than the running water value of the first running water information.
And the information replacement submodule is used for replacing the third user information with the second user information and updating the running water value of the second running water information according to a preset rule if the running water value of the second running water information is smaller than the running water value of the first running water information, wherein the preset rule is that the running water information corresponding to the user information is increased by a preset value when the user information is updated.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 8, a block diagram of an electronic device that can perform an alternative method for user information of the intelligent door lock according to the embodiment of the present application is shown. The electronic device 700 may include one or more of the following components: a processor 710, a memory 720, and one or more applications, wherein the one or more applications may be stored in the memory 720 and configured to be executed by the one or more processors 710, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 710 may include one or more processing cores. The processor 710 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720 and invoking data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a communication chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the electronic device 700 during use (e.g., phone books, audio-visual data, chat log data), and the like.
Referring to fig. 9, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 1000 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for replacing user information of an intelligent door lock is applied to the intelligent door lock, and comprises the following steps:
receiving an operation request, wherein the operation request is used for modifying first user information into second user information;
modifying the first user information stored in the intelligent door lock into the second user information according to the operation request, and updating the first running water information stored in the intelligent door lock;
and sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
2. The method according to claim 1, wherein the first user information, the second user information, and the third user information are all user information corresponding to a same user identifier, and the first pipelining information and the second pipelining information are all pipelining information corresponding to the same user identifier.
3. The method according to claim 1, wherein the first running water information and the second running water information are updated according to a preset rule, and the preset rule is that when user information is updated, the running water information corresponding to the user information is increased by a preset value.
4. The method according to any one of claims 1 to 3, wherein the operation request is a request sent by the terminal device to the intelligent door lock, wherein the terminal device is connected with the intelligent door lock, and the terminal device and the intelligent door lock are both disconnected from the server;
before the sending the second user information and the first flow information to a server, the method further includes:
and disconnecting the terminal equipment and establishing connection with the server.
5. A method for replacing user information of an intelligent door lock is applied to a server, and comprises the following steps:
receiving second user information from an intelligent door lock and first flow information generated when the intelligent door lock generates the second user information;
and comparing the second running water information of the stored third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
6. The method of claim 5, the comparing a second running water value magnitude of the stored third user information to the first running water information to determine whether to replace the third user information with the second user information, comprising:
judging whether the running water value of the second running water information is smaller than that of the first running water information;
and if the third user information is smaller than the second user information, replacing the third user information with the second user information, and updating the running water value of the second running water information according to a preset rule, wherein the preset rule is that when the user information is updated, the running water information corresponding to the user information is increased by a preset numerical value.
7. The system for replacing the user information of the intelligent door lock is characterized by comprising the intelligent door lock and a server;
the intelligent door lock is used for receiving an operation request, and the operation request is used for requesting to modify first user information into second user information;
the intelligent door lock modifies the first user information stored in the intelligent door lock into the second user information according to the operation request, and updates the first running water information stored in the intelligent door lock;
the intelligent door lock sends the second user information and the first running water information to a server;
the server is used for comparing the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
8. The system of claim 7, wherein the system further comprises a terminal device;
the terminal device is used for sending an operation request to the intelligent door lock when the terminal device is connected with the intelligent door lock and the terminal device and the intelligent door lock are disconnected with the server;
the intelligent door lock is used for modifying the first user information stored in the intelligent door lock into the second user information according to the operation request and updating the first flow information stored in the intelligent door lock, and then sending the first flow information to the terminal equipment;
before the second user information and the first running water information are sent to a server, the intelligent door lock is also used for disconnecting from the terminal equipment and establishing connection with the server.
9. The utility model provides a replacement device of user's information of intelligence lock which characterized in that, is applied to intelligence lock, the device includes:
the device comprises a request receiving module, a first sending module and a second sending module, wherein the request receiving module is used for receiving an operation request which is used for requesting to modify first user information into second user information;
the first processing module is used for modifying the first user information stored in the intelligent door lock into the second user information according to the operation request and updating the first running water information stored in the intelligent door lock;
and the sending module is used for sending the second user information and the first running water information to a server so that the server compares the stored second running water information of the third user information with the running water value of the first running water information to determine whether to replace the third user information with the second user information.
10. An apparatus for replacing user information of an intelligent door lock, which is applied to a server, the apparatus comprising:
the information receiving module is used for receiving second user information from the intelligent door lock and first flow information generated when the intelligent door lock generates the second user information;
and the second processing module is used for comparing the stored second running water information of the third user information with the running water value of the first running water information so as to determine whether to replace the third user information with the second user information.
CN202011359761.8A 2020-11-27 2020-11-27 Method, system and device for replacing user information of intelligent door lock Pending CN112365640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011359761.8A CN112365640A (en) 2020-11-27 2020-11-27 Method, system and device for replacing user information of intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011359761.8A CN112365640A (en) 2020-11-27 2020-11-27 Method, system and device for replacing user information of intelligent door lock

Publications (1)

Publication Number Publication Date
CN112365640A true CN112365640A (en) 2021-02-12

Family

ID=74535401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011359761.8A Pending CN112365640A (en) 2020-11-27 2020-11-27 Method, system and device for replacing user information of intelligent door lock

Country Status (1)

Country Link
CN (1) CN112365640A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147077A (en) * 2018-09-04 2019-01-04 北京工业大学 Movable attendance checking method, apparatus and server
CN109584421A (en) * 2018-12-07 2019-04-05 郭瑞东 A kind of intelligent door lock authentication administrative system based on domestic safety chip
CN110708196A (en) * 2019-09-30 2020-01-17 中国工商银行股份有限公司 Data processing method and device
CN111882704A (en) * 2020-07-10 2020-11-03 安安(深圳)智能电子有限公司 Control method of intelligent door lock system and intelligent door lock management system
CN111915768A (en) * 2020-06-30 2020-11-10 广东科徕尼智能科技有限公司 Intelligent door lock with customized voice, using method thereof and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147077A (en) * 2018-09-04 2019-01-04 北京工业大学 Movable attendance checking method, apparatus and server
CN109584421A (en) * 2018-12-07 2019-04-05 郭瑞东 A kind of intelligent door lock authentication administrative system based on domestic safety chip
CN110708196A (en) * 2019-09-30 2020-01-17 中国工商银行股份有限公司 Data processing method and device
CN111915768A (en) * 2020-06-30 2020-11-10 广东科徕尼智能科技有限公司 Intelligent door lock with customized voice, using method thereof and storage medium
CN111882704A (en) * 2020-07-10 2020-11-03 安安(深圳)智能电子有限公司 Control method of intelligent door lock system and intelligent door lock management system

Similar Documents

Publication Publication Date Title
CN102087615B (en) Messages merger method and system in message queue
CN104350723B (en) The method and device that account is logged in
CN107862194B (en) A kind of method, device and mobile terminal of safety verification
CN103533011A (en) Intelligent terminal data configuration method and system based on cloud terminal
CN113438355A (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN111222153B (en) Application program authority management method and device and storage medium
CN111782722B (en) Data management method and device, electronic equipment and storage medium
CN109814964B (en) Interface display method, terminal equipment and computer readable storage medium
CN106296917A (en) A kind of unlocking system, method and cloud management platform
CN111694660A (en) Cloud mobile phone data sending method, computer device and storage medium
CN109218444A (en) A kind of wireless digital image delivering system based on Android
CN116132175B (en) Event-driven network engine-based remote back door detection method
CN104346346A (en) Service issuing method and system, service updating method and client
CN104346165A (en) Information processing apparatus, information processing method, program, storage medium, and information processing system
CN116610336A (en) Firmware upgrading method, system, device and readable storage medium
CN112365640A (en) Method, system and device for replacing user information of intelligent door lock
CN113992494B (en) Method for creating fortress machine and automatically hosting cloud host by cloud platform
CN107168648B (en) File storage method and device and terminal
CN112448909A (en) Electronic lock management method, device, system and storage medium
CN113342811A (en) HBase table data processing method and device
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium
CN107256151A (en) Processing method, device and the terminal of page rendering
CN110838973A (en) Key configuration method and device of intelligent gateway and electronic equipment
CN113391834A (en) Data updating method and device, electronic equipment and storage medium
CN103052060A (en) Method for improving information security of mobile terminal and mobile terminal

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: 20210212

RJ01 Rejection of invention patent application after publication