Summary of the invention
Embodiment of the present invention technical matters to be solved is, provide a kind of method and the light control smart lock of revising door lock user list information, no matter whether door lock is fixed on door-plate, all can revise the user list information of door lock, thus improves Consumer's Experience.
In order to solve the problems of the technologies described above, one embodiment of the invention provides a kind of method revising door lock user list information, and described method comprises:
Receive the visible light signal that the first optical key sends, this visible light signal is converted to the first digital signal, obtain amendment user profile; Receive the visible light signal that the second optical key sends, this visible light signal is converted to the second digital signal, obtain user profile; According to the user list information that amendment user profile and user profile amendment store.
Wherein, described amendment user profile is write user profile;
Corresponding,
According to the user list information that amendment user profile and user profile amendment store, specifically comprise:
According to write user profile, in the user list information that described user profile write is stored.
Wherein, described amendment user profile is for deleting user profile;
Corresponding,
According to the user list information that amendment user profile and user profile amendment store, specifically comprise:
According to deletion user profile, described user profile is deleted from described user list information.
Wherein, before receiving the visible light signal of the second optical key transmission, also comprise:
Send response message.
Another embodiment of the present invention additionally provides a kind of light control smart lock, comprises reception visible light signal, and the visible light signal of reception is converted to the photoelectric sensor of digital signal; The central processing unit be connected with photoelectric sensor, when receiving the second digital signal of the first digital signal and the characterizing user information characterizing amendment user profile successively from photoelectric sensor, control connected storer according to described user profile amendment user list information.
Wherein, described light control smart lock also comprises the pilot lamp be connected with described central processing unit, for receive central processing unit send idsplay order time, send indicator signal.
Wherein, described light control smart lock also comprises the voice unit be connected with described central processing unit, for receive central processing unit send voice alerting instruction time, send prompt tone.
In technique scheme, when light control smart lock receives the visible light signal of the sign amendment visible light signal of user profile that the first optical key sends and the characterizing user information that the second optical key sends successively, according to the user profile list that amendment user profile and user profile amendment store.Therefore, adopt and contactlessly can revise user profile list, avoid door lock and be arranged on the situation cannot revising user list information after on door-plate.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, be clearly and completely described the technical scheme in embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In embodiments of the present invention, the optical key (super optical key) of amendment door lock user list information sends the visible light signal deleted or write user profile to door lock, after door lock receives visible light signal, light signal can be carried out authentication to what receive, if by authentication, then respond; Door lock receives the information that optical key corresponding to this user profile (common optical key) sends, and then from user list information, deletes this user profile, or by this user profile write user list information.Thus adopt the amendment of super optical key realization to door lock user list information, and then realize the management to door lock user list information.
See Fig. 1, it is the method flow diagram of the amendment door lock user list information that the embodiment of the present invention one provides.
S101: the first optical key sends the visible light signal characterizing amendment user profile.
S102: light control smart lock receives the visible light signal that the first optical key sends, and the visible light signal of reception is converted to electric signal, more described electric signal is converted to the first digital signal, obtains amendment user profile.
S103: the second optical key sends the visible light signal of characterizing user information to door lock.
S104: the visible light signal that the second optical key sends is converted to the second digital signal by what receive by light control smart lock, obtains user profile.
S105: light control smart lock, according to amendment user profile and user profile, revises the user list information stored.
In this enforcement, adopt the list of contactless amendment user profile, avoid door lock and be arranged on the situation cannot revising user list information after on door-plate.
See Fig. 2, it is the method flow diagram of the amendment door lock user list information that the embodiment of the present invention two provides.
S201: the first optical key sends the visible light signal characterizing and delete user profile.
S202: light control smart lock receives the visible light signal that the first optical key sends, and the visible light signal of reception is converted to electric signal by door lock, more described electric signal is converted to the first digital signal, obtains and deletes user profile.
S203: light control smart lock sends response message.
Concrete, this response message can be acoustic information, such as, sends the acoustic information of " please continue " or " ok " and so on; Also can be pilot lamp information, as pilot lamp sends blue light or ruddiness.
S204: the second optical key sends the visible light signal of characterizing user information to door lock.
S205: light control smart lock receives the visible light signal that the second optical key sends, and this visible light signal is converted to the second digital signal, obtains user profile.
S206: the user profile that the second optical key sends by light control smart lock is deleted from the user list information stored.
Present embodiment describes the method adopting contactless deletion door lock user list information, adopt the present embodiment, door lock can be avoided to be arranged on the situation cannot deleting user profile after on door-plate from door lock user list.
See Fig. 3, it is the method flow diagram of the amendment door lock user list information that the embodiment of the present invention three provides.
S301: the first optical key sends the visible light signal characterizing write user profile.
S302: light control smart lock receives the visible light signal that the first optical key sends, and the visible light signal of reception is converted to electric signal by door lock, more described electric signal is converted to the first digital signal, obtains write user profile.
S303: light control smart lock sends response message.
Concrete, this response message can be acoustic information, such as, sends the acoustic information of " please continue " or " ok " and so on; Also can be pilot lamp information, as pilot lamp sends blue light or ruddiness.
S304: the second optical key sends the visible light signal of characterizing user information to door lock.
S305: light control smart lock receives the visible light signal that the second optical key sends, and this visible light signal is converted to the second digital signal, obtains user profile.
S306: in the user list information that the user profile write that the second optical key sends by light control smart lock stores.
Present embodiment describes the method adopting contactless write door lock user list information, adopt the present embodiment, door lock can be avoided to be arranged on the situation that cannot write user profile after on door-plate.
See Fig. 4, be the light control smart lock structural representation that the embodiment of the present invention four provides, this light control smart lock comprises reception visible light signal, and the visible light signal of reception is converted to the photoelectric sensor 401 of digital signal.In concrete implementation process, what this photoelectric sensor 401 received may be the sign write that the first optical key sends or the visible light signal deleting user profile, also may be the visible light signal of the characterizing user information that the second optical key sends.
The central processing unit 402 be connected with photoelectric sensor 401, when receiving the second digital signal of the first digital signal and the characterizing user information characterizing amendment user profile successively from photoelectric sensor 401, the storer 403 controlling to be connected with central processing unit 402 revises user list information according to described user profile.
Concrete, central processing unit 402 receives user profile from photoelectric sensor 401 after receiving write user profile from photoelectric sensor 401 further, in the user list information that the write of this user profile stores by control store 403; Or after central processing unit 402 receives deletion user profile from photoelectric sensor 401, receive user profile from photoelectric sensor 401 further, this user profile is deleted by control store 403 from the user list information stored.
The light control smart lock that the present embodiment provides, can receive visible light signal, and deletes the user's column information stored according to visible light signal, avoids door lock to be arranged on situation door-plate cannot being deleted user list information.
See Fig. 5, be the light control smart lock structural representation that the embodiment of the present invention five provides, compare embodiment four, also comprise the pilot lamp 501 be connected with central processing unit 402, this pilot lamp can be LED, for receive central processing unit send idsplay order time, send indicator signal.Such as, when central processing unit 402 receives the first digital signal characterizing write user profile, the instruction of blue light is sent to pilot lamp 501; When central processing unit 402 receives the first digital signal characterizing and delete user profile, send the instruction of ruddiness to pilot lamp 501.
The present embodiment, when light-operated intelligent is locked in the amendment user profile receiving the transmission of super optical key, carrys out feedback information by signal lamp, and user can, according to the instruction of this signal lamp, continue to send user profile by common optical key.
See Fig. 6, be the light control smart lock structural representation that the embodiment of the present invention six provides, compare embodiment four, also comprise the voice unit 601 be connected with central processing unit 402, for receive central processing unit 402 send voice alerting instruction time, send prompt tone.Such as, when central processing unit 402 receives the first digital signal characterizing write user profile, the voice alerting instruction of " please write " is sent to voice unit 601, the sound that voice unit 601 sends " please write "; When central processing unit 402 receives the first digital signal characterizing and delete user profile, send the voice alerting instruction of " please delete " to voice unit 601, the sound that voice unit 601 sends " please delete ".
The present embodiment, when light-operated intelligent is locked in the amendment user profile receiving the transmission of super optical key, carrys out feedback information by auditory tone cues, and user can, according to this voice message, continue to send user profile by common optical key.
Above disclosedly be only a kind of better embodiment of the present invention, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.