WO2018098725A1 - Unlocking method, terminal, and system - Google Patents

Unlocking method, terminal, and system Download PDF

Info

Publication number
WO2018098725A1
WO2018098725A1 PCT/CN2016/108123 CN2016108123W WO2018098725A1 WO 2018098725 A1 WO2018098725 A1 WO 2018098725A1 CN 2016108123 W CN2016108123 W CN 2016108123W WO 2018098725 A1 WO2018098725 A1 WO 2018098725A1
Authority
WO
WIPO (PCT)
Prior art keywords
access request
server
door lock
mobile terminal
visitor
Prior art date
Application number
PCT/CN2016/108123
Other languages
French (fr)
Chinese (zh)
Inventor
熊益冲
Original Assignee
深圳益强信息科技有限公司
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 深圳益强信息科技有限公司 filed Critical 深圳益强信息科技有限公司
Priority to PCT/CN2016/108123 priority Critical patent/WO2018098725A1/en
Publication of WO2018098725A1 publication Critical patent/WO2018098725A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • 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

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to an unlocking method, a terminal thereof, and a system.
  • the mobile terminal can establish a communication connection with the door lock terminal based on the terminal application in the terminal, and control the opening of the door lock. For example, after the mobile phone establishes a communication connection with the door lock end, the household owner does not bring the key or forget the door lock. When the password is used, you can open the door lock by shaking the door, scanning the code, opening the door, and opening the door. When the head of the household opens the door for the family or visitors without the key, you can verify the identity of the family or the visitor by voice or video. The send door open control command controls the opening of the door lock. However, when the head of the household opens the door for a long distance, the identity of the visitor is verified only by one-way, and there is a big security risk.
  • the embodiment of the present invention provides an unlocking method, a terminal, and a system thereof, which can implement identity verification of a visitor by a household owner and identity verification of a server by a server, and increase the identity of the visitor and the head of the household by two-way verification, thereby increasing the opening of the door at a long distance. safety.
  • a first aspect of the embodiments of the present invention provides an unlocking method, where the method includes:
  • a second aspect of the embodiments of the present invention provides another unlocking method, where the method includes:
  • the third aspect of the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
  • An access request sending unit configured to receive an access request sent by the server at the door lock end, and obtain visitor information carried by the access request
  • a confirmation information sending unit configured to send the visitor confirmation information corresponding to the visitor information to the server, so that the server returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
  • a verification information sending unit configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server, so that the server is configured to the identity The verification information is verified, so that the server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the fourth aspect of the embodiment of the present invention further provides another server, where the server includes:
  • An access request receiving unit configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal, so that the mobile terminal acquires the visitor information carried by the access request after receiving the access request;
  • a confirmation information receiving unit configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information, so as to Returning, by the mobile terminal, identity verification information corresponding to the identity verification request;
  • the verification information receiving unit is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send the unlock after the verification is passed The instruction unlocks the door lock to the door lock end.
  • the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor.
  • the server confirms the information based on the visitor.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
  • FIG. 1 is a schematic flow chart of an unlocking method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another unlocking method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another unlocking method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another unlocking method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an access request sending unit according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another server according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an access request receiving unit according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an unlocking system according to an embodiment of the present invention.
  • the unlocking method provided by the embodiment of the present invention can be applied to the two-way verification of the identity of the visitor and the household owner when the remote control is unlocked (for example, when the householder is not at home, the householder is required to open the door for the visitor or the family without the key, the identity of the visitor or the family member
  • the verification and the server-to-householder authentication for example, receiving an access request sent by the server at the door lock end, acquiring the visitor information carried by the access request; and transmitting the visitor confirmation corresponding to the visitor information Transmitting information to the server, causing the server to return an authentication request for verifying the identity of the household owner based on the visitor confirmation information, receiving the authentication request, obtaining identity verification information input based on the identity verification request, and
  • the authentication information is sent to the server, so that the server verifies the identity verification information, so that the server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
  • the mobile terminal may include: a smart phone, a palmtop computer, a wearable device (such as a smart watch), and a mobile Internet device (MID), and other mobile terminal devices capable of installing a door lock monitoring application client.
  • the server may be a server that provides background services for the door lock monitoring application.
  • FIG. 1 is a schematic flow chart of an unlocking method according to an embodiment of the present invention. As shown in FIG. 1, the method described in the embodiment of the present invention may include the following steps S101 to S103.
  • S101 Receive an access request sent by the server at the door lock end, and obtain visitor information carried by the access request.
  • the mobile terminal can receive the access request sent by the server and input at the door lock end, and Obtaining visitor information carried by the access request.
  • the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the unlocking device, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the unlocking device is in an open state, and then send the access request to the unlocking device by using different communication manners according to the state of the door lock monitoring application. .
  • the mobile terminal may send the visitor confirmation information corresponding to the visitor information to the server.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the mobile terminal may send the visitor confirmation information to the voice or text to The server, for example, replies to the server "Yes” in the form of a text message or voice or responds to the code "01" representing "Yes".
  • the server may return an identity verification request for verifying the identity of the household to the unlocking device.
  • S103 Receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server.
  • the mobile terminal may receive the identity verification request sent by the server.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the mobile terminal may acquire identity verification information input by the user, and send the identity verification information to the server.
  • the authentication information may be an answer to the authentication request, for example, may be for identity The information that proves the identity of the user's household, such as the answer to the question or the verification code received by the pre-bound mailbox.
  • the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor.
  • the server confirms the information based on the visitor.
  • the unlock command is sent to the door lock to unlock the door lock.
  • the unlocking device verifies the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information.
  • the server verifies the authentication information returned by the unlocking device by sending an authentication request, and realizes the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
  • FIG. 2 is a schematic flowchart of another unlocking method according to an embodiment of the present invention. As shown in FIG. 2, the method of the embodiment of the present invention may include the following steps S201 to S205.
  • the application identifier of the door lock monitoring application may be reported to the server.
  • the application identifier of the door lock monitoring application may be a user code of the door lock monitoring application (for example, a user mobile phone number or a document number) or other door lock monitoring application capable of registering the household owner to be used by other users. The identification of the door lock monitoring application.
  • the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the mobile terminal by using different communication manners according to the state of the door lock monitoring application. .
  • the server detects that the door lock monitoring application in the mobile terminal is enabled.
  • the mobile terminal may receive an access request sent by the server in a communication manner of the wireless network based on the door lock monitoring application, and acquire the visitor information carried by the access request.
  • the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the communication manner of the wireless network may be various wireless local area networks, such as: Bluetooth, Wireless-Fidelity (Wi-Fi), Hyper Text Transfer Protocol (HTTP), and the like.
  • Wi-Fi Wireless-Fidelity
  • HTTP Hyper Text Transfer Protocol
  • the mobile terminal may receive an access request sent by the server in a communication manner of the communication network, and acquire visitor information carried by the access request. For example, the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the communication mode of the communication network may be the number of wireless provided by the mobile operator. According to business, for example: 3rd-generation mobile communication technology (3rd-Generation, 3G), (4th-Generation, 4G).
  • the server determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and can use the different communication manners according to the determination result.
  • a request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal receives the access request.
  • the mobile terminal may send the visitor confirmation information corresponding to the visitor information to the server.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor.
  • the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes” in the form of a text message or voice or replying to the code "01" representing "Yes".
  • the server may return an identity verification request for verifying the identity of the household to the unlocking device.
  • S205 Receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server.
  • the mobile terminal may receive the identity verification request sent by the server.
  • the identity verification request may be used to verify the identity of the account owner, for example, may be a preset identity verification problem or A verification code such as a pre-bound mailbox that can prove the identity of the user's household identity.
  • the mobile terminal may acquire identity verification information input by the user, and send the identity verification information to the server.
  • the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
  • the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the server by receiving an access request sent by the server at the door lock end, Obtaining the visitor information carried by the access request, and sending the visitor confirmation information corresponding to the visitor information to the server, causing the server to return an authentication request for verifying the identity of the household owner based on the visitor confirmation information, receiving the identity verification request, and obtaining the identity verification request
  • the entered authentication information sends the authentication information to the server, so that the server verifies the authentication information, so that the server sends an unlock command to the door lock to unlock the door lock after the verification is passed.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
  • FIG. 3 is a schematic flowchart diagram of another unlocking method according to an embodiment of the present invention. As shown in FIG. 3, the method in the embodiment of the present invention may include the following steps S301 to S303.
  • S301 Receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the server may receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the server may receive an access request for sending visitor information including voice, video, short message, etc., sent by the door lock end, and send the access request to the mobile terminal.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application.
  • Mobile terminal may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application.
  • the server may receive the visit corresponding to the visitor information sent by the mobile terminal.
  • the customer confirms the information and returns an authentication request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor.
  • the visitor confirmation information may be “yes” or reply that the user responds by using the mobile terminal in the form of a short message or a voice.
  • the code "01" stands for "yes".
  • the server may return an identity verification request for verifying the identity of the owner to the mobile terminal.
  • S303 Receive identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the server may receive identity verification information corresponding to the identity verification request sent by the mobile terminal.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
  • the server may verify the identity verification information, for example, determining whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
  • the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal.
  • the visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal,
  • the authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server sends the identity verification request and returns the mobile terminal.
  • the authentication information is verified, and the server confirms the identity of the household owner.
  • FIG. 4 is a schematic flowchart diagram of another unlocking method according to an embodiment of the present invention. As shown in FIG. 4, the method of the embodiment of the present invention may include the following steps S401-S405.
  • the server may receive an application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the door lock. Monitor the app's app launch collection.
  • the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
  • the access request is sent to the mobile terminal by using a communication manner of a wireless network.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application.
  • Mobile terminal may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application.
  • the server when the server detects the application identifier that matches the communication identifier in the application startup set, that is, the server detects that the door lock monitoring application in the mobile terminal is enabled.
  • the server may send the access request to the mobile terminal by using a communication manner of a wireless network.
  • the mobile terminal may be based on the door lock monitoring application Receiving the access request, and obtaining the visitor information carried by the access request.
  • the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the access information, such as voice, video, and short message, sent by the server.
  • the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, or HTTP.
  • the server may send the access request to the mobile terminal by using a communication manner of a communication network.
  • the mobile terminal may acquire the visitor information carried by the access request, for example, the mobile terminal may receive a voice and video sent by the unlocking device via the unlocking device. Access requests for visitor information such as short messages.
  • the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
  • the server determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and can adopt different communication manners according to the judgment result.
  • the access request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal receives the access request.
  • S404 Receive visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
  • the server may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor.
  • the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes” in the form of a text message or voice or replying to the code "01" representing "Yes".
  • the server may return an identity verification request for verifying the identity of the owner to the mobile terminal.
  • the server may receive the identity verification information corresponding to the mobile terminal sending the identity verification request.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
  • the server may verify the identity verification information, for example, determining whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
  • the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal.
  • the visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal,
  • the authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
  • the mobile terminal provided by the embodiment of the present invention will be described in detail below with reference to FIG. 5 to FIG. 7. It should be noted that the mobile terminal shown in FIG. 5 to FIG. 7 is used to perform the method of the embodiment shown in FIG. 1 and FIG. 2 of the present invention. For the convenience of description, only the related embodiments of the present invention are shown. Part, with The physical details are not disclosed, please refer to the embodiment shown in Figs. 1 and 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 1 of the embodiment of the present invention may include an access request sending unit 11, an acknowledgment information transmitting unit 12, and a verification information transmitting unit 13.
  • the access request sending unit 11 is configured to receive an access request sent by the server at the door lock end, and acquire the visitor information carried by the access request.
  • the access request sending unit 11 may receive an access request that is sent by the server at the door lock end, and acquire the visitor information carried by the access request.
  • the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal 1, for example, the user registers the door.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal 1 is in an open state, and then send the access request to the mobile by using different communication manners according to the state of the door lock monitoring application. Terminal 1.
  • the confirmation information sending unit 12 is configured to send the visitor confirmation information corresponding to the visitor information to the server.
  • the confirmation information sending unit 12 may send the visitor confirmation information corresponding to the visitor information. To the server.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the confirmation information sending unit 12 may send the visitor in the form of voice or text. Confirmation of the information to the server, for example: replying to the server "Yes” in the form of a text message or voice or replying to the code "01" representing "Yes".
  • the server may return to the verification user.
  • An authentication request of the primary identity to the mobile terminal 1.
  • the verification information sending unit 13 is configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server.
  • the verification information sending unit 13 may receive the identity verification request sent by the server.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the verification information sending unit 13 may acquire identity verification information input by the user, and send the identity verification information to the server.
  • the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
  • the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor.
  • the server confirms the information based on the visitor.
  • the unlock command is sent to the door lock to unlock the door lock.
  • the unlocking device verifies the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information.
  • the server verifies the authentication information returned by the unlocking device by sending an authentication request, and realizes the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
  • FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
  • the mobile terminal 1 of the embodiment of the present invention may include: an access request sending unit 11, an acknowledgment information transmitting unit 12, a verification information transmitting unit 13, and an identification reporting unit 14.
  • the identification reporting unit 14 is configured to serve when the startup operation of the door lock monitoring application is detected The application identifier of the door lock monitoring application is reported.
  • the application identifier of the door lock monitoring application may be reported to the server.
  • the application identifier of the door lock monitoring application may be a user code of the door lock monitoring application (for example, a user mobile phone number or a document number) or other door lock monitoring application capable of registering the household owner to be used by other users. The identification of the door lock monitoring application.
  • the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
  • the access request sending unit 11 is configured to receive an access request sent by the server at the door lock end, and acquire the visitor information carried by the access request.
  • the access request sending unit 11 may receive an access request that is sent by the server at the door lock end, and acquire the visitor information carried by the access request.
  • FIG. 7 is a schematic structural diagram of an access request sending unit 11 according to an embodiment of the present invention.
  • the access request sending unit 11 may include:
  • the first request receiving subunit 111 is configured to: when the server detects the application identifier that matches the communication identifier in the application startup set, receive the server to use the wireless based on the door lock monitoring application The access request sent by the communication mode of the network, and the visitor information carried by the access request is obtained.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the mobile terminal by using different communication manners according to the state of the door lock monitoring application. 1.
  • the first request receiving subunit 111 may be based on the door lock monitoring application. Receiving an access request sent by the server in a communication manner of a wireless network, and acquiring visitor information carried by the access request.
  • the door lock monitoring application in the mobile terminal 1 may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, HTTP, and the like.
  • the second request receiving subunit 112 is configured to: when the server does not detect the application identifier that matches the communication identifier in the application startup set, receive the server to send by using a communication manner of a communication network. Accessing the request and obtaining the visitor information carried by the access request.
  • the second request receiving subunit 112 may receive an access request sent by the server in a communication manner of the communication network, and acquire the visitor information carried by the access request.
  • the second request receiving subunit 112 may receive an access request by the door lock end based on the visitor information including the voice, the video, the short message, and the like sent by the server.
  • the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
  • the server determines whether the door lock monitoring application in the mobile terminal 1 is in an open state by matching the communication identifier and the application identifier, and may use the different communication manner according to the determination result. An access request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal 1 receives the access request.
  • the confirmation information sending unit 12 is configured to send the visitor confirmation information corresponding to the visitor information to the server.
  • the confirmation information sending unit 12 may send the visitor confirmation information corresponding to the visitor information. To the server.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the confirmation information sending unit 12 may use the voice.
  • the visitor confirmation information is sent to the server in the form of a text, for example, replying to the server "Yes” in the form of a short message or voice or replying to the code "01" representing "Yes".
  • the server may return an identity verification request for verifying the identity of the household to the mobile terminal 1.
  • the verification information sending unit 13 is configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server.
  • the verification information sending unit 13 may receive the identity verification request sent by the server.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the verification information sending unit 13 may acquire identity verification information input by the user, and send the identity verification information to the server.
  • the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
  • the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor.
  • the server confirms the information based on the visitor.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
  • the server provided by the embodiment of the present invention will be described in detail below with reference to FIG. 8 to FIG. It should be noted that the server shown in FIG. 8 to FIG. 10 is used to execute the method of the embodiment shown in FIG. 3 and FIG. 4 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. , the specific technical details are not disclosed, please refer to the embodiment shown in FIG. 3 and FIG. 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • the server 2 of the embodiment of the present invention may include an access request receiving unit 21, an acknowledgment information receiving unit 22, and a verification information receiving unit 23.
  • the access request receiving unit 21 is configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the access request receiving unit 21 may receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the access request receiving unit 21 may receive an access request including visitor information such as voice, video, short message, etc. sent by the door lock end, and send the access request to the mobile terminal.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server 2 may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the location according to the state of the door lock monitoring application by using different communication modes.
  • the mobile terminal may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the location according to the state of the door lock monitoring application by using different communication modes.
  • the confirmation information receiving unit 22 is configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
  • the confirmation information receiving unit 22 may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile based on the visitor confirmation information. terminal.
  • the visitor confirmation information may be a confirmation sent by the user after confirming the identity of the visitor. information.
  • the visitor confirmation information may be “yes” or reply that the user responds by using the mobile terminal in the form of a short message or a voice.
  • the code "01" stands for "yes".
  • the confirmation information receiving unit 22 may return an identity verification request for verifying the identity of the household owner to the mobile terminal.
  • the verification information receiving unit 23 is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlocking command to the door lock end after the verification is passed Unlock the door lock.
  • the verification information receiving unit 23 may receive the identity verification information corresponding to the identity verification request sent by the mobile terminal.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
  • the verification information receiving unit 23 may verify the identity verification information, for example, whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
  • the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal.
  • the visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal,
  • the authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
  • FIG. 9 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • the server 2 of the embodiment of the present invention may include an access request receiving unit 21, an acknowledgement information receiving unit 22, a verification information receiving unit 23, and an identifier receiving unit 24.
  • the identifier receiving unit 24 is configured to: when the mobile terminal detects the startup operation of the door lock monitoring application, receive an application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the door lock Monitor the app's app launch collection.
  • the identifier receiving unit 24 may receive the application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the The application of the door lock monitoring application is launched in a collection.
  • the identifier receiving unit 24 may add the application identifier to an application launch set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
  • the access request receiving unit 21 is configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the access request receiving unit 21 may receive an access request sent by the door lock end, and send the access request to the mobile terminal.
  • the server 2 can be a server that provides the background service by the door lock monitoring application.
  • FIG. 10 is a schematic structural diagram of an access request receiving unit 21 according to an embodiment of the present invention.
  • the access request receiving unit 21 may include:
  • a first request sending subunit 211 configured to send the access request to the mobile by using a communication manner of a wireless network when detecting the application identifier that matches the communication identifier in the application startup set terminal.
  • the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
  • the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app.
  • the server 2 can be based on The communication identifier determines whether the door lock monitoring application in the mobile terminal is in an open state, and then sends the access request to the mobile terminal by using a different communication manner according to the state of the door lock monitoring application.
  • the first request sending subunit 211 may send the access request to the mobile terminal by using a communication manner of a wireless network. Further, the mobile terminal may receive the access request based on the door lock monitoring application, and may obtain visitor information carried by the access request. For example, the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the access information, such as voice, video, and short message, sent by the server.
  • the access information such as voice, video, and short message
  • the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, or HTTP.
  • a second request sending subunit 212 configured to: when the application identifier that matches the communication identifier is not detected in the application startup set, send the access request to the Mobile terminal.
  • the second request sending subunit 212 may send the access request to the mobile terminal by using a communication manner of a communication network.
  • the mobile terminal may acquire the visitor information carried by the access request, for example, the mobile terminal may receive the voice and video sent by the server 2 via the server 2 Access requests for visitor information such as short messages.
  • the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
  • the server 2 determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and may adopt different communication manners according to the judgment result.
  • the access request is sent to the mobile terminal, thereby adding the The probability that the mobile terminal receives the access request.
  • the confirmation information receiving unit 22 is configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
  • the confirmation information receiving unit 22 may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal.
  • the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor.
  • the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes” in the form of a text message or voice or replying to the code "01" representing "Yes".
  • the confirmation information receiving unit 22 may return an identity verification request for verifying the identity of the household owner to the mobile terminal.
  • the verification information receiving unit 23 is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlocking command to the door lock end after the verification is passed Unlock the door lock.
  • the verification information receiving unit 23 may receive the identity verification information corresponding to the mobile terminal sending the identity verification request.
  • the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
  • the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
  • the verification information receiving unit 23 may verify the identity verification information, for example, whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the verification information receiving unit 23 may send an unlocking instruction to the door lock end to unlock the door lock.
  • the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal.
  • the visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, so that the mobile terminal returns an authentication request correspondingly
  • the authentication information receives the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verifies the identity verification information, and sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
  • FIG. 11 is a schematic structural diagram of an unlocking system according to an embodiment of the present invention.
  • the system may include a mobile terminal 1, a server 2, and a door lock terminal 3.
  • the mobile terminal 1 and the server 2 may establish a communication connection through a network, and the server 2 and the door lock 3 may also be connected to each other through a network.
  • the mobile terminal 1 is specifically the mobile terminal 1 of the embodiment shown in any of FIG. 5 to FIG. 7, and the server 2 is specifically the server 2 of the embodiment shown in any of FIG. 8 to FIG.
  • the mobile terminal 1 is configured to receive an access request sent by the server 2 and input the visitor information carried by the access request;
  • the mobile terminal 1 is further configured to send the visitor confirmation information corresponding to the visitor information to the server 2, so that the server 2 returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
  • the mobile terminal 1 is further configured to receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server 2, so that the server 2 The authentication information is verified, so that the server 2 sends an unlock command to the door lock end 3 to unlock the door lock after the verification is passed.
  • the mobile terminal 1 is further configured to report an application identifier of the door lock monitoring application to the server 2 when the startup operation of the door lock monitoring application is detected, so that the server 2 An application identifier is added to the application launch collection of the door lock monitoring application.
  • the access request further includes the communication identifier
  • the mobile terminal 1 is further configured to: when the server 2 detects the application identifier that matches the communication identifier in the application startup set, receive, by using the door lock monitoring application, the server 2 An access request sent by the communication mode of the wireless network, and acquiring visitor information carried by the access request;
  • the mobile terminal 1 is further configured to: when the server 2 does not detect the application identifier that matches the communication identifier in the application startup set, receive the server 2 to send by using a communication manner of a communication network. Access request and obtain visitor information carried by the access request.
  • the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal.
  • the visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal,
  • the authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock.
  • the mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit is implemented as a software functional unit and as a standalone product When sold or used, it can be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • the storage medium includes: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Landscapes

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

Abstract

Disclosed are an unlocking method, terminal, and system. The unlocking method comprises: receiving an access request inputted at a door lock end and sent by a server, and obtaining visitor information carried by the access request; sending visitor confirmation information corresponding to the visitor information to the server so that the server returns, according to the visitor confirmation information, an identity authentication request for verifying the identity of a householder; receiving the identity authentication request, obtaining identity authentication information inputted according to the identity authentication request, and sending the identity authentication information to the server so that the server verifies the identity authentication information and sends an unlocking instruction to the door lock end for unlocking after the verification is successful. According to the present invention, the identity authentication by a householder on a visitor and the identity authentication by a server on the householder can be realized. By means of mutual authentication on the visitor and the householder, the security for remote unlocking is improved.

Description

一种开锁方法及其终端、系统Unlocking method, terminal and system thereof 技术领域Technical field
本发明涉及互联网技术领域,尤其涉及一种开锁方法及其终端、系统。The present invention relates to the field of Internet technologies, and in particular, to an unlocking method, a terminal thereof, and a system.
背景技术Background technique
随着互联网技术的快速发展,小区门锁、业主门锁和仓库门锁等各种门锁端都可以通过智能手机和平板电脑等移动终端控制其开启。现有技术中,移动终端可以基于终端中的终端应用与门锁端建立通信连接,控制门锁的开启,例如:在手机与门锁端建立通信连接后,当户主没带钥匙或忘记门锁密码时,可以通过手机摇一摇开门、扫码开门、语音开门等方式打开门锁,当户主远距离为没带钥匙的家人或访客开门时,通过语音或视频验证家人或访客身份后,可以发送开门控制指令控制门锁的开启。然而,当户主远距离为访客开门时,只通过单向的验证访客身份,存在较大的安全隐患。With the rapid development of Internet technology, various door locks such as community door locks, owner door locks and warehouse door locks can be controlled by mobile terminals such as smartphones and tablets. In the prior art, the mobile terminal can establish a communication connection with the door lock terminal based on the terminal application in the terminal, and control the opening of the door lock. For example, after the mobile phone establishes a communication connection with the door lock end, the household owner does not bring the key or forget the door lock. When the password is used, you can open the door lock by shaking the door, scanning the code, opening the door, and opening the door. When the head of the household opens the door for the family or visitors without the key, you can verify the identity of the family or the visitor by voice or video. The send door open control command controls the opening of the door lock. However, when the head of the household opens the door for a long distance, the identity of the visitor is verified only by one-way, and there is a big security risk.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种开锁方法及其终端、系统,可以实现户主对访客的身份验证和服务器对户主的身份验证,通过双向验证访客和户主的身份,增加了远距离开门的安全性。In view of this, the embodiment of the present invention provides an unlocking method, a terminal, and a system thereof, which can implement identity verification of a visitor by a household owner and identity verification of a server by a server, and increase the identity of the visitor and the head of the household by two-way verification, thereby increasing the opening of the door at a long distance. safety.
为了解决上述技术问题,本发明实施例第一方面提供了一种开锁方法,所述方法包括:In order to solve the above technical problem, a first aspect of the embodiments of the present invention provides an unlocking method, where the method includes:
接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息;Receiving an access request sent by the server at the door lock end, and acquiring visitor information carried by the access request;
发送所述访客信息对应的访客确认信息至所述服务器,以使所述服务器基于所述访客确认信息返回用于验证户主身份的身份验证请求;Sending visitor confirmation information corresponding to the visitor information to the server, so that the server returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器,以使所述服务器对所述身份验证信息进行验证,使所述服务器在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Receiving the identity verification request, obtaining identity verification information input based on the identity verification request, and sending the identity verification information to the server, so that the server verifies the identity verification information, so that the server The server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
本发明实施例第二方面提供了另一种开锁方法,所述方法包括: A second aspect of the embodiments of the present invention provides another unlocking method, where the method includes:
接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息;Receiving an access request sent by the door lock end, and sending the access request to the mobile terminal, so that the mobile terminal acquires the visitor information carried by the access request after receiving the access request;
接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端,以使所述移动终端返回所述身份验证请求对应的身份验证信息;Receiving visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and returning an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information, so that the mobile terminal returns the identity Verify the authentication information corresponding to the request;
接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。And receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verifying the identity verification information, and sending an unlocking command to the door lock end to unlock the door lock after the verification is passed.
相应地,本发明实施例第三方面还提供了一种移动终端,所述移动终端包括:Correspondingly, the third aspect of the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
访问请求发送单元,用于接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息;An access request sending unit, configured to receive an access request sent by the server at the door lock end, and obtain visitor information carried by the access request;
确认信息发送单元,用于发送所述访客信息对应的访客确认信息至所述服务器,以使所述服务器基于所述访客确认信息返回用于验证户主身份的身份验证请求;a confirmation information sending unit, configured to send the visitor confirmation information corresponding to the visitor information to the server, so that the server returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
验证信息发送单元,用于接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器,以使所述服务器对所述身份验证信息进行验证,使所述服务器在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。a verification information sending unit, configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server, so that the server is configured to the identity The verification information is verified, so that the server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
本发明实施例第四方面还提供了另一种服务器,所述服务器包括:The fourth aspect of the embodiment of the present invention further provides another server, where the server includes:
访问请求接收单元,用于接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息;An access request receiving unit, configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal, so that the mobile terminal acquires the visitor information carried by the access request after receiving the access request;
确认信息接收单元,用于接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端,以使所述移动终端返回所述身份验证请求对应的身份验证信息;a confirmation information receiving unit, configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information, so as to Returning, by the mobile terminal, identity verification information corresponding to the identity verification request;
验证信息接收单元,用于接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁 指令至所述门锁端对门锁进行解锁。The verification information receiving unit is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send the unlock after the verification is passed The instruction unlocks the door lock to the door lock end.
在本发明实施例中,通过接收服务器发送的在门锁端所输入的访问请求,获取访问请求携带的访客信息,并发送访客信息对应的访客确认信息至服务器,使所述服务器基于访客确认信息返回用于验证户主身份的身份验证请求,接收身份验证请求,并获取基于身份验证请求所输入的身份验证信息,将身份验证信息发送至服务器,使服务器对身份验证信息进行验证,进而使服务器在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。In the embodiment of the present invention, the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor. Returning an authentication request for verifying the identity of the household owner, receiving an authentication request, and obtaining authentication information input based on the authentication request, sending the authentication information to the server, causing the server to verify the authentication information, thereby causing the server to After the verification is passed, the unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the art.
图1是本发明实施例提供的一种开锁方法的流程示意图;1 is a schematic flow chart of an unlocking method according to an embodiment of the present invention;
图2是本发明实施例提供的另一种开锁方法的流程示意图;2 is a schematic flow chart of another unlocking method according to an embodiment of the present invention;
图3是本发明实施例提供的另一种开锁方法的流程示意图;3 is a schematic flow chart of another unlocking method according to an embodiment of the present invention;
图4是本发明实施例提供的另一种开锁方法的流程示意图;4 is a schematic flow chart of another unlocking method according to an embodiment of the present invention;
图5是本发明实施例提供的一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图6是本发明实施例提供的另一种移动终端的结构示意图;FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图7是本发明实施例提供的访问请求发送单元的结构示意图;FIG. 7 is a schematic structural diagram of an access request sending unit according to an embodiment of the present invention;
图8是本发明实施例提供的一种服务器的结构示意图;FIG. 8 is a schematic structural diagram of a server according to an embodiment of the present invention;
图9是本发明实施例提供的另一种服务器的结构示意图;FIG. 9 is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图10是本发明实施例提供的访问请求接收单元的结构示意图;FIG. 10 is a schematic structural diagram of an access request receiving unit according to an embodiment of the present invention;
图11是本发明实施例提供的开锁系统的结构示意图。 FIG. 11 is a schematic structural diagram of an unlocking system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的开锁方法可以应用在远距离控制开锁时对访客和户主身份的双向验证(例如:户主不在家时,需要为访客或未带钥匙的家人开门时,户主对访客或家人身份的验证和服务器对户主身份验证)的应用场景中,例如:接收服务器发送的在门锁端所输入的访问请求,获取所述访问请求携带的访客信息;并发送所述访客信息对应的访客确认信息至所述服务器,使所述服务器基于所述访客确认信息返回用于验证户主身份的身份验证请求,接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器,使所述服务器对所述身份验证信息进行验证,进而使所述服务器在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。The unlocking method provided by the embodiment of the present invention can be applied to the two-way verification of the identity of the visitor and the household owner when the remote control is unlocked (for example, when the householder is not at home, the householder is required to open the door for the visitor or the family without the key, the identity of the visitor or the family member In the application scenario of the verification and the server-to-householder authentication, for example, receiving an access request sent by the server at the door lock end, acquiring the visitor information carried by the access request; and transmitting the visitor confirmation corresponding to the visitor information Transmitting information to the server, causing the server to return an authentication request for verifying the identity of the household owner based on the visitor confirmation information, receiving the authentication request, obtaining identity verification information input based on the identity verification request, and The authentication information is sent to the server, so that the server verifies the identity verification information, so that the server sends an unlock command to the door lock end to unlock the door lock after the verification is passed. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
本发明实施例涉及的移动终端可以包括:智能手机、掌上电脑、可穿戴设备(例如智能手表)以及移动互联网设备(Mobile Internet Device,MID)等其他可安装部署门锁监控应用客户端的移动终端设备;所述服务器可以是为所述门锁监控应用提供后台服务的服务器。The mobile terminal according to the embodiment of the present invention may include: a smart phone, a palmtop computer, a wearable device (such as a smart watch), and a mobile Internet device (MID), and other mobile terminal devices capable of installing a door lock monitoring application client. The server may be a server that provides background services for the door lock monitoring application.
下面将结合附图1-附图4,对本发明实施例提供的开锁方法进行详细介绍。The unlocking method provided by the embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例提供的一种开锁方法的流程示意图。如图1所示,本发明实施例中所述的方法可以包括以下步骤S101-步骤S103。FIG. 1 is a schematic flow chart of an unlocking method according to an embodiment of the present invention. As shown in FIG. 1, the method described in the embodiment of the present invention may include the following steps S101 to S103.
S101,接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息。S101. Receive an access request sent by the server at the door lock end, and obtain visitor information carried by the access request.
具体的,移动终端可以接收服务器发送的在门锁端所输入的访问请求,并 获取所述访问请求携带的访客信息。例如:所述移动终端可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。Specifically, the mobile terminal can receive the access request sent by the server and input at the door lock end, and Obtaining visitor information carried by the access request. For example, the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述开锁设备中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。服务器可以根据所述通信标识判断所述开锁设备中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述开锁设备。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the unlocking device, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server may determine, according to the communication identifier, whether the door lock monitoring application in the unlocking device is in an open state, and then send the access request to the unlocking device by using different communication manners according to the state of the door lock monitoring application. .
S102,发送所述访客信息对应的访客确认信息至所述服务器。S102. Send visitor confirmation information corresponding to the visitor information to the server.
具体的,所述移动终端在接收到所述访问请求并获取所述访问请求携带的所述访客信息后,可以发送所述访客信息对应的访客确认信息至所述服务器。Specifically, after receiving the access request and acquiring the visitor information carried by the access request, the mobile terminal may send the visitor confirmation information corresponding to the visitor information to the server.
进一步的,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述移动终端可以以语音或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。Further, the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the mobile terminal may send the visitor confirmation information to the voice or text to The server, for example, replies to the server "Yes" in the form of a text message or voice or responds to the code "01" representing "Yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述开锁设备。Further, after receiving the visitor confirmation information, the server may return an identity verification request for verifying the identity of the household to the unlocking device.
S103,接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器。S103. Receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server.
具体的,所述移动终端可以接收所述服务器发送的所述身份验证请求。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。Specifically, the mobile terminal may receive the identity verification request sent by the server. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
进一步的,所述移动终端接收到所述身份验证请求后,可以获取用户输入的身份验证信息,并将所述身份验证信息发送至所述服务器。可以理解的是,所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份 验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Further, after receiving the identity verification request, the mobile terminal may acquire identity verification information input by the user, and send the identity verification information to the server. It can be understood that the authentication information may be an answer to the authentication request, for example, may be for identity The information that proves the identity of the user's household, such as the answer to the question or the verification code received by the pre-bound mailbox.
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
在本发明实施例中,通过接收服务器发送的在门锁端所输入的访问请求,获取访问请求携带的访客信息,并发送访客信息对应的访客确认信息至服务器,使所述服务器基于访客确认信息返回用于验证户主身份的身份验证请求,接收身份验证请求,并获取基于身份验证请求所输入的身份验证信息,将身份验证信息发送至服务器,使服务器对身份验证信息进行验证,进而使服务器在验证通过后发送解锁指令至门锁端对门锁进行解锁。开锁设备通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对开锁设备返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。In the embodiment of the present invention, the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor. Returning an authentication request for verifying the identity of the household owner, receiving an authentication request, and obtaining authentication information input based on the authentication request, sending the authentication information to the server, causing the server to verify the authentication information, thereby causing the server to After the verification is passed, the unlock command is sent to the door lock to unlock the door lock. The unlocking device verifies the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information. The server verifies the authentication information returned by the unlocking device by sending an authentication request, and realizes the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
请参见图2,为本发明实施例提供了另一种开锁方法的流程示意图。如图2所示,本发明实施例的所述方法可以包括以下步骤S201-步骤S205。2 is a schematic flowchart of another unlocking method according to an embodiment of the present invention. As shown in FIG. 2, the method of the embodiment of the present invention may include the following steps S201 to S205.
S201,当检测到对门锁监控应用的启动操作时,向服务器上报所述门锁监控应用的应用标识。S201. When detecting a startup operation of the door lock monitoring application, report an application identifier of the door lock monitoring application to the server.
具体的,当移动终端检测到用户对门锁监控应用的启动操作时,可以向服务器上报所述门锁监控应用的应用标识。其中,所述门锁监控应用的应用标识可以是所述门锁监控应用的用户代码(例如:用户手机号码或证件号码)或其他能够使户主注册使用的门锁监控应用区别于其他用户使用的门锁监控应用的标识。Specifically, when the mobile terminal detects that the user initiates the door lock monitoring application, the application identifier of the door lock monitoring application may be reported to the server. The application identifier of the door lock monitoring application may be a user code of the door lock monitoring application (for example, a user mobile phone number or a document number) or other door lock monitoring application capable of registering the household owner to be used by other users. The identification of the door lock monitoring application.
进一步的,所述服务器接收到所述应用标识后,可以将所述应用标识添加至所述门锁监控应用的应用启动集合中。可以理解的是,所述应用启动集合中包含了所有在线用户的门锁监控应用的应用标识。Further, after receiving the application identifier, the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
S202,当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,基于所述门锁监控应用接收所述服务器采用无线网络的通 信方式发送的访问请求,并获取所述访问请求携带的访客信息。S202. When the server detects the application identifier that matches the communication identifier in the application startup set, receiving, according to the door lock monitoring application, the server adopting a wireless network. An access request sent by the method, and obtaining the visitor information carried by the access request.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。服务器可以根据所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the mobile terminal by using different communication manners according to the state of the door lock monitoring application. .
具体的,当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,即所述服务器检测到所述移动终端中的所述门锁监控应用处于开启状态时,所述移动终端可以基于所述门锁监控应用接收所述服务器采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。例如:所述移动终端中的门锁监控应用可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。Specifically, when the server detects the application identifier that matches the communication identifier in the application startup set, that is, the server detects that the door lock monitoring application in the mobile terminal is enabled. In the state, the mobile terminal may receive an access request sent by the server in a communication manner of the wireless network based on the door lock monitoring application, and acquire the visitor information carried by the access request. For example, the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述无线网络的通信方式可以是各种无线局域网,例如:蓝牙、无线保真(WIreless-Fidelity,Wi-Fi)、超文本传输协议(Hyper Text Transfer Protocol,HTTP)等。It can be understood that the communication manner of the wireless network may be various wireless local area networks, such as: Bluetooth, Wireless-Fidelity (Wi-Fi), Hyper Text Transfer Protocol (HTTP), and the like.
S203,当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。S203. When the server does not detect the application identifier that matches the communication identifier in the application startup set, receive an access request sent by the server by using a communication manner of a communication network, and obtain the access. Requested visitor information.
具体的,当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,即所述服务器检测到所述移动终端中的所述门锁监控应用处于未开启状态时,所述移动终端可以接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。例如:所述移动终端可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。Specifically, when the server does not detect the application identifier that matches the communication identifier in the application startup set, that is, the server detects that the door lock monitoring application in the mobile terminal is in When the state is not on, the mobile terminal may receive an access request sent by the server in a communication manner of the communication network, and acquire visitor information carried by the access request. For example, the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述通信网络的通信方式可以是移动运营商提供的无线数 据业务,例如:第三代移动通信技术(3rd-Generation,3G)、(4th-Generation,4G)。It can be understood that the communication mode of the communication network may be the number of wireless provided by the mobile operator. According to business, for example: 3rd-generation mobile communication technology (3rd-Generation, 3G), (4th-Generation, 4G).
可以看出,服务器通过匹配所述通信标识和所述应用标识对所述移动终端中的所述门锁监控应用是否处于开启状态进行判断,并可以根据判断结果采用不同的通信方式将所述访问请求发送至所述移动终端,从而增加了所述移动终端接收到所述访问请求的概率。It can be seen that the server determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and can use the different communication manners according to the determination result. A request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal receives the access request.
S204,发送所述访客信息对应的访客确认信息至所述服务器。S204. Send visitor confirmation information corresponding to the visitor information to the server.
具体的,当所述移动终端接收到所述访客请求并获取所述访客请求携带的所述访客信息后,可以发送所述访客信息对应的访客确认信息至所述服务器。可以理解的是,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述移动终端可以以语音或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。Specifically, after the mobile terminal receives the visitor request and obtains the visitor information carried by the visitor request, the mobile terminal may send the visitor confirmation information corresponding to the visitor information to the server. It can be understood that the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes" in the form of a text message or voice or replying to the code "01" representing "Yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述开锁设备。Further, after receiving the visitor confirmation information, the server may return an identity verification request for verifying the identity of the household to the unlocking device.
S205,接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器。S205. Receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server.
具体的,所述移动终端可以接收所述服务器发送的所述身份验证请求,可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。Specifically, the mobile terminal may receive the identity verification request sent by the server. It may be understood that the identity verification request may be used to verify the identity of the account owner, for example, may be a preset identity verification problem or A verification code such as a pre-bound mailbox that can prove the identity of the user's household identity.
进一步的,所述移动终端接收到所述身份验证请求后,可以获取用户输入的身份验证信息,并将所述身份验证信息发送至所述服务器。可以理解的是,所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Further, after receiving the identity verification request, the mobile terminal may acquire identity verification information input by the user, and send the identity verification information to the server. It can be understood that the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
在本发明实施例中,通过接收服务器发送的在门锁端所输入的访问请求, 获取访问请求携带的访客信息,并发送访客信息对应的访客确认信息至服务器,使所述服务器基于访客确认信息返回用于验证户主身份的身份验证请求,接收身份验证请求,并获取基于身份验证请求所输入的身份验证信息,将身份验证信息发送至服务器,使服务器对身份验证信息进行验证,进而使服务器在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性;服务器基于门锁监控应用的开启和关闭状态,采用两种不同的方式将访问请求发送至移动终端,增加了移动终端接收到访问请求的概率。In the embodiment of the present invention, by receiving an access request sent by the server at the door lock end, Obtaining the visitor information carried by the access request, and sending the visitor confirmation information corresponding to the visitor information to the server, causing the server to return an authentication request for verifying the identity of the household owner based on the visitor confirmation information, receiving the identity verification request, and obtaining the identity verification request The entered authentication information sends the authentication information to the server, so that the server verifies the authentication information, so that the server sends an unlock command to the door lock to unlock the door lock after the verification is passed. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
请参见图3,为本发明实施例提供了另一种开锁方法的流程示意图。如图3所示,本发明实施例的所述方法可以包括以下步骤S301-步骤S303。FIG. 3 is a schematic flowchart diagram of another unlocking method according to an embodiment of the present invention. As shown in FIG. 3, the method in the embodiment of the present invention may include the following steps S301 to S303.
S301,接收门锁端发送的访问请求,并将所述访问请求发送至移动终端。S301. Receive an access request sent by the door lock end, and send the access request to the mobile terminal.
具体的,服务器可以接收门锁端发送的访问请求,并将所述访问请求发送至所述移动终端。例如:所述服务器可以接收门锁端发送的包含语音、视频、短信息等访客信息的访问请求,并将所述访问请求发送至所述移动终端。Specifically, the server may receive an access request sent by the door lock end, and send the access request to the mobile terminal. For example, the server may receive an access request for sending visitor information including voice, video, short message, etc., sent by the door lock end, and send the access request to the mobile terminal.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。所述服务器可以根据所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application. Mobile terminal.
S302,接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。S302. Receive guest confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
具体的,所述服务器可以接收所述移动终端发送的所述访客信息对应的访 客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。Specifically, the server may receive the visit corresponding to the visitor information sent by the mobile terminal. The customer confirms the information and returns an authentication request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
进一步的,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息。例如:当访客信息是访客的即时图像、即时语音或即时小视频中的至少一种时,所述访客确认信息可以是用户采用所述移动终端以短信或语音的形式回复的“是”或回复代表“是”的代码“01”。Further, the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. For example, when the visitor information is at least one of a visitor's instant image, instant voice or instant small video, the visitor confirmation information may be “yes” or reply that the user responds by using the mobile terminal in the form of a short message or a voice. The code "01" stands for "yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述移动终端。Further, after receiving the visitor confirmation information, the server may return an identity verification request for verifying the identity of the owner to the mobile terminal.
S303,接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。S303. Receive identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
具体的,所述服务器可以接收所述移动终端发送的所述身份验证请求对应的身份验证信息。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。进一步的,所述身份验证请求对应的所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Specifically, the server may receive identity verification information corresponding to the identity verification request sent by the mobile terminal. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user. Further, the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,例如:判断对身份验证问题的答案是否正确或返回的邮箱验证码是否正确等。进一步的,在验证通过后,所述服务器可以发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, for example, determining whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
在本发明实施例中,通过接收门锁端发送的访问请求,并将访问请求发送至移动终端,使移动终端接收访问请求后获取访问请求携带的访客信息,接收移动终端发送的访客信息对应的访客确认信息,并基于访客确认信息返回用于验证户主身份的身份验证请求至移动终端,使移动终端返回身份验证请求对应的身份验证信息,接收移动终端发送的身份验证请求对应的身份验证信息,并对身份验证信息进行验证,且在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的 身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。In the embodiment of the present invention, the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal. The visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, The authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server sends the identity verification request and returns the mobile terminal. The authentication information is verified, and the server confirms the identity of the household owner. By verifying the identity of the visitor and the head of the household in both directions, the security of opening the door at a long distance is increased.
请参见图4,为本发明实施例提供了另一种开锁方法的流程示意图。如图4所示,本发明实施例的所述方法可以包括以下步骤S401-步骤S405。FIG. 4 is a schematic flowchart diagram of another unlocking method according to an embodiment of the present invention. As shown in FIG. 4, the method of the embodiment of the present invention may include the following steps S401-S405.
S401,当移动终端检测到门锁监控应用的启动操作时,接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。S401, when the mobile terminal detects the startup operation of the door lock monitoring application, receiving an application identifier of the door lock monitoring application returned by the mobile terminal, and adding the application identifier to the application of the door lock monitoring application In the collection.
具体的,当移动终端检测到门锁监控应用的启动操作时,所述服务器可以接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。Specifically, when the mobile terminal detects the startup operation of the door lock monitoring application, the server may receive an application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the door lock. Monitor the app's app launch collection.
进一步的,所述服务器接收到所述应用标识后,可以将所述应用标识添加至所述门锁监控应用的应用启动集合中。可以理解的是,所述应用启动集合中包含了所有在线用户的门锁监控应用的应用标识。Further, after receiving the application identifier, the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
S402,当在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,采用无线网络的通信方式将所述访问请求发送至所述移动终端。S402. When the application identifier that matches the communication identifier is detected in the application startup set, the access request is sent to the mobile terminal by using a communication manner of a wireless network.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。所述服务器可以根据所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the foregoing by using different communication manners according to the state of the door lock monitoring application. Mobile terminal.
具体的,当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,即所述服务器检测到所述移动终端中的所述门锁监控应用处于开启状态时,所述服务器可以采用无线网络的通信方式将所述访问请求发送至所述移动终端。进一步的,所述移动终端可以基于所述门锁监控应用接 收所述访问请求,并可以获取所述访问请求携带的访客信息。例如:所述移动终端中的门锁监控应用可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访问信息的访问请求。Specifically, when the server detects the application identifier that matches the communication identifier in the application startup set, that is, the server detects that the door lock monitoring application in the mobile terminal is enabled. In the state, the server may send the access request to the mobile terminal by using a communication manner of a wireless network. Further, the mobile terminal may be based on the door lock monitoring application Receiving the access request, and obtaining the visitor information carried by the access request. For example, the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the access information, such as voice, video, and short message, sent by the server.
可以理解的是,所述无线网络的通信方式可以是各种无线局域网,例如:蓝牙、Wi-Fi或HTTP等。It can be understood that the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, or HTTP.
S403,当在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,采用通信网络的通信方式将所述访问请求发送至所述移动终端。S403. When the application identifier that matches the communication identifier is not detected in the application startup set, send the access request to the mobile terminal by using a communication manner of a communication network.
具体的,当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,即所述服务器检测到所述移动终端中的所述门锁监控应用处于未开启状态时,所述服务器可以采用通信网络的通信方式将所述访问请求发送至所述移动终端。Specifically, when the server does not detect the application identifier that matches the communication identifier in the application startup set, that is, the server detects that the door lock monitoring application in the mobile terminal is in When the state is not on, the server may send the access request to the mobile terminal by using a communication manner of a communication network.
进一步的,所述移动终端接收到所述访问请求后,可以获取所述访问请求携带的所述访客信息,例如:所述移动终端可以接收门锁端经所述开锁设备发送的包含语音、视频、短信息等访客信息的访问请求。Further, after receiving the access request, the mobile terminal may acquire the visitor information carried by the access request, for example, the mobile terminal may receive a voice and video sent by the unlocking device via the unlocking device. Access requests for visitor information such as short messages.
可以理解的是,所述通信网络的通信方式可以是移动运营商提供的无线数据业务,例如:3G、4G。It can be understood that the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
可以看出,所述服务器通过匹配所述通信标识和所述应用标识对所述移动终端中的所述门锁监控应用是否处于开启状态进行判断,并可以根据判断结果采用不同的通信方式将所述访问请求发送至所述移动终端,从而增加了所述移动终端接收到所述访问请求的概率。It can be seen that the server determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and can adopt different communication manners according to the judgment result. The access request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal receives the access request.
S404,接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。S404. Receive visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
具体的,所述服务器可以接收所述移动终端发送的所述访客信息对应的访客确认信息。可以理解的是,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述移动终端可以以语音或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。Specifically, the server may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal. It can be understood that the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes" in the form of a text message or voice or replying to the code "01" representing "Yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述移动终端。 Further, after receiving the visitor confirmation information, the server may return an identity verification request for verifying the identity of the owner to the mobile terminal.
S405,接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。S405. Receive identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
具体的,所述服务器可以接收所述移动终端发送所述身份验证请求对应的身份验证信息。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。进一步的,所述身份验证请求对应的所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Specifically, the server may receive the identity verification information corresponding to the mobile terminal sending the identity verification request. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user. Further, the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,例如:判断对身份验证问题的答案是否正确或返回的邮箱验证码是否正确等。进一步的,在验证通过后,所述服务器可以发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, for example, determining whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
在本发明实施例中,通过接收门锁端发送的访问请求,并将访问请求发送至移动终端,使移动终端接收访问请求后获取访问请求携带的访客信息,接收移动终端发送的访客信息对应的访客确认信息,并基于访客确认信息返回用于验证户主身份的身份验证请求至移动终端,使移动终端返回身份验证请求对应的身份验证信息,接收移动终端发送的身份验证请求对应的身份验证信息,并对身份验证信息进行验证,且在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性;服务器基于门锁监控应用的开启和关闭状态,采用两种不同的方式将访问请求发送至移动终端,增加了移动终端接收到访问请求的概率。In the embodiment of the present invention, the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal. The visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, The authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
下面将结合附图5-附图7,对本发明实施例提供的移动终端进行详细介绍。需要说明的是,附图5-附图7所示的移动终端,用于执行本发明图1和图2所示实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具 体技术细节未揭示的,请参照本发明图1和图2所示的实施例。The mobile terminal provided by the embodiment of the present invention will be described in detail below with reference to FIG. 5 to FIG. 7. It should be noted that the mobile terminal shown in FIG. 5 to FIG. 7 is used to perform the method of the embodiment shown in FIG. 1 and FIG. 2 of the present invention. For the convenience of description, only the related embodiments of the present invention are shown. Part, with The physical details are not disclosed, please refer to the embodiment shown in Figs. 1 and 2 of the present invention.
请参见图5,为本发明实施例提供了一种移动终端的结构示意图。如图5所示,本发明实施例的所述移动终端1可以包括:访问请求发送单元11、确认信息发送单元12和验证信息发送单元13。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the mobile terminal 1 of the embodiment of the present invention may include an access request sending unit 11, an acknowledgment information transmitting unit 12, and a verification information transmitting unit 13.
访问请求发送单元11,用于接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息。The access request sending unit 11 is configured to receive an access request sent by the server at the door lock end, and acquire the visitor information carried by the access request.
具体实现中,所述访问请求发送单元11可以接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息。例如:所述移动终端可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。In a specific implementation, the access request sending unit 11 may receive an access request that is sent by the server at the door lock end, and acquire the visitor information carried by the access request. For example, the mobile terminal may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端1中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。服务器可以根据所述通信标识判断所述移动终端1中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端1。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal 1, for example, the user registers the door. The mobile phone number or ID number used to lock the monitoring application. The server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal 1 is in an open state, and then send the access request to the mobile by using different communication manners according to the state of the door lock monitoring application. Terminal 1.
确认信息发送单元12,用于发送所述访客信息对应的访客确认信息至所述服务器。The confirmation information sending unit 12 is configured to send the visitor confirmation information corresponding to the visitor information to the server.
具体实现中,所述访问请求发送单元11在接收到所述访问请求并获取所述访问请求携带的所述访客信息后,所述确认信息发送单元12可以发送所述访客信息对应的访客确认信息至所述服务器。In a specific implementation, after the access request sending unit 11 receives the access request and obtains the visitor information carried by the access request, the confirmation information sending unit 12 may send the visitor confirmation information corresponding to the visitor information. To the server.
进一步的,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述确认信息发送单元12可以以语音或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。Further, the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the confirmation information sending unit 12 may send the visitor in the form of voice or text. Confirmation of the information to the server, for example: replying to the server "Yes" in the form of a text message or voice or replying to the code "01" representing "Yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户 主身份的身份验证请求至所述移动终端1。Further, after receiving the visitor confirmation information, the server may return to the verification user. An authentication request of the primary identity to the mobile terminal 1.
验证信息发送单元13,用于接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器。The verification information sending unit 13 is configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server.
具体实现中,所述验证信息发送单元13可以接收所述服务器发送的所述身份验证请求。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。In a specific implementation, the verification information sending unit 13 may receive the identity verification request sent by the server. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
进一步的,所述验证信息发送单元13接收到所述身份验证请求后,可以获取用户输入的身份验证信息,并将所述身份验证信息发送至所述服务器。可以理解的是,所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Further, after receiving the identity verification request, the verification information sending unit 13 may acquire identity verification information input by the user, and send the identity verification information to the server. It can be understood that the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
在本发明实施例中,通过接收服务器发送的在门锁端所输入的访问请求,获取访问请求携带的访客信息,并发送访客信息对应的访客确认信息至服务器,使所述服务器基于访客确认信息返回用于验证户主身份的身份验证请求,接收身份验证请求,并获取基于身份验证请求所输入的身份验证信息,将身份验证信息发送至服务器,使服务器对身份验证信息进行验证,进而使服务器在验证通过后发送解锁指令至门锁端对门锁进行解锁。开锁设备通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对开锁设备返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。In the embodiment of the present invention, the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor. Returning an authentication request for verifying the identity of the household owner, receiving an authentication request, and obtaining authentication information input based on the authentication request, sending the authentication information to the server, causing the server to verify the authentication information, thereby causing the server to After the verification is passed, the unlock command is sent to the door lock to unlock the door lock. The unlocking device verifies the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information. The server verifies the authentication information returned by the unlocking device by sending an authentication request, and realizes the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
请参见图6,为本发明实施例提供了另一种移动终端的结构示意图。如图6所示,本发明实施例的所述移动终端1可以包括:访问请求发送单元11、确认信息发送单元12、验证信息发送单元13和标识上报单元14。FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. As shown in FIG. 6, the mobile terminal 1 of the embodiment of the present invention may include: an access request sending unit 11, an acknowledgment information transmitting unit 12, a verification information transmitting unit 13, and an identification reporting unit 14.
标识上报单元14,用于当检测到对门锁监控应用的启动操作时,向服务 器上报所述门锁监控应用的应用标识。The identification reporting unit 14 is configured to serve when the startup operation of the door lock monitoring application is detected The application identifier of the door lock monitoring application is reported.
具体实现中,当所述标识上报单元14检测到用户对门锁监控应用的启动操作时,可以向服务器上报所述门锁监控应用的应用标识。其中,所述门锁监控应用的应用标识可以是所述门锁监控应用的用户代码(例如:用户手机号码或证件号码)或其他能够使户主注册使用的门锁监控应用区别于其他用户使用的门锁监控应用的标识。In a specific implementation, when the identifier reporting unit 14 detects that the user initiates the door lock monitoring application, the application identifier of the door lock monitoring application may be reported to the server. The application identifier of the door lock monitoring application may be a user code of the door lock monitoring application (for example, a user mobile phone number or a document number) or other door lock monitoring application capable of registering the household owner to be used by other users. The identification of the door lock monitoring application.
进一步的,所述服务器接收到所述应用标识后,可以将所述应用标识添加至所述门锁监控应用的应用启动集合中。可以理解的是,所述应用启动集合中包含了所有在线用户的门锁监控应用的应用标识。Further, after receiving the application identifier, the server may add the application identifier to an application startup set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
访问请求发送单元11,用于接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息。The access request sending unit 11 is configured to receive an access request sent by the server at the door lock end, and acquire the visitor information carried by the access request.
具体实现中,所述访问请求发送单元11可以接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息。In a specific implementation, the access request sending unit 11 may receive an access request that is sent by the server at the door lock end, and acquire the visitor information carried by the access request.
请一并参见图7,为本发明实施例提供了访问请求发送单元11的结构示意图。如图7所示,所述访问请求发送单元11可以包括:Referring to FIG. 7, FIG. 7 is a schematic structural diagram of an access request sending unit 11 according to an embodiment of the present invention. As shown in FIG. 7, the access request sending unit 11 may include:
第一请求接收子单元111,用于当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,基于所述门锁监控应用接收所述服务器采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。The first request receiving subunit 111 is configured to: when the server detects the application identifier that matches the communication identifier in the application startup set, receive the server to use the wireless based on the door lock monitoring application The access request sent by the communication mode of the network, and the visitor information carried by the access request is obtained.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。服务器可以根据所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端1。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the mobile terminal by using different communication manners according to the state of the door lock monitoring application. 1.
具体实现中,当所述服务器在所述应用启动集合中检测到与所述通信标识 相匹配的所述应用标识时,即所述服务器检测到所述移动终端1中的所述门锁监控应用处于开启状态时,所述第一请求接收子单元111可以基于所述门锁监控应用接收所述服务器采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。例如:所述移动终端1中的门锁监控应用可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。In a specific implementation, when the server detects the communication identifier in the application startup set When the application identifier is matched, that is, when the server detects that the door lock monitoring application in the mobile terminal 1 is in an open state, the first request receiving subunit 111 may be based on the door lock monitoring application. Receiving an access request sent by the server in a communication manner of a wireless network, and acquiring visitor information carried by the access request. For example, the door lock monitoring application in the mobile terminal 1 may receive an access request by the door lock terminal based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述无线网络的通信方式可以是各种无线局域网,例如:蓝牙、Wi-Fi、HTTP等。It can be understood that the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, HTTP, and the like.
第二请求接收子单元112,用于当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。The second request receiving subunit 112 is configured to: when the server does not detect the application identifier that matches the communication identifier in the application startup set, receive the server to send by using a communication manner of a communication network. Accessing the request and obtaining the visitor information carried by the access request.
具体实现中,当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,即所述服务器检测到所述移动终端1中的所述门锁监控应用处于未开启状态时,所述第二请求接收子单元112可以接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。例如:所述第二请求接收子单元112可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访客信息的访问请求。In a specific implementation, when the server does not detect the application identifier that matches the communication identifier in the application startup set, that is, the server detects the door lock monitoring in the mobile terminal 1 When the application is in the unopened state, the second request receiving subunit 112 may receive an access request sent by the server in a communication manner of the communication network, and acquire the visitor information carried by the access request. For example, the second request receiving subunit 112 may receive an access request by the door lock end based on the visitor information including the voice, the video, the short message, and the like sent by the server.
可以理解的是,所述通信网络的通信方式可以是移动运营商提供的无线数据业务,例如:3G、4G。It can be understood that the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
可以看出,服务器通过匹配所述通信标识和所述应用标识对所述移动终端1中的所述门锁监控应用是否处于开启状态进行判断,并可以根据判断结果采用不同的通信方式将所述访问请求发送至所述移动终端,从而增加了所述移动终端1接收到所述访问请求的概率。It can be seen that the server determines whether the door lock monitoring application in the mobile terminal 1 is in an open state by matching the communication identifier and the application identifier, and may use the different communication manner according to the determination result. An access request is sent to the mobile terminal, thereby increasing the probability that the mobile terminal 1 receives the access request.
确认信息发送单元12,用于发送所述访客信息对应的访客确认信息至所述服务器。The confirmation information sending unit 12 is configured to send the visitor confirmation information corresponding to the visitor information to the server.
具体实现中,所述访问请求发送单元11在接收到所述访问请求并获取所述访问请求携带的所述访客信息后,所述确认信息发送单元12可以发送所述访客信息对应的访客确认信息至所述服务器。In a specific implementation, after the access request sending unit 11 receives the access request and obtains the visitor information carried by the access request, the confirmation information sending unit 12 may send the visitor confirmation information corresponding to the visitor information. To the server.
进一步的,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述确认信息发送单元12可以以语音 或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。Further, the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the confirmation information sending unit 12 may use the voice. The visitor confirmation information is sent to the server in the form of a text, for example, replying to the server "Yes" in the form of a short message or voice or replying to the code "01" representing "Yes".
进一步的,所述服务器接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述移动终端1。Further, after receiving the visitor confirmation information, the server may return an identity verification request for verifying the identity of the household to the mobile terminal 1.
验证信息发送单元13,用于接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器。The verification information sending unit 13 is configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server.
具体实现中,所述验证信息发送单元13可以接收所述服务器发送的所述身份验证请求。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。In a specific implementation, the verification information sending unit 13 may receive the identity verification request sent by the server. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user.
进一步的,所述验证信息发送单元13接收到所述身份验证请求后,可以获取用户输入的身份验证信息,并将所述身份验证信息发送至所述服务器。可以理解的是,所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。Further, after receiving the identity verification request, the verification information sending unit 13 may acquire identity verification information input by the user, and send the identity verification information to the server. It can be understood that the authentication information may be an answer to the identity verification request, for example, may be an answer to an authentication question or a verification code received by a pre-bound mailbox, and the like to prove the identity of the user. .
进一步的,所述服务器接收到所述身份验证信息后,可以对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the server may verify the identity verification information, and send an unlock command to the door lock end to unlock the door lock after the verification is passed.
在本发明实施例中,通过接收服务器发送的在门锁端所输入的访问请求,获取访问请求携带的访客信息,并发送访客信息对应的访客确认信息至服务器,使所述服务器基于访客确认信息返回用于验证户主身份的身份验证请求,接收身份验证请求,并获取基于身份验证请求所输入的身份验证信息,将身份验证信息发送至服务器,使服务器对身份验证信息进行验证,进而使服务器在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性;服务器基于门锁监控应用的开启和关闭状态,采用两种不同的方式将访问请求发送至移动终端,增加了移动终端接收到访问请求的概率。 In the embodiment of the present invention, the access information carried by the access terminal is received by the receiving server, the visitor information carried by the access request is obtained, and the visitor confirmation information corresponding to the visitor information is sent to the server, so that the server confirms the information based on the visitor. Returning an authentication request for verifying the identity of the household owner, receiving an authentication request, and obtaining authentication information input based on the authentication request, sending the authentication information to the server, causing the server to verify the authentication information, thereby causing the server to After the verification is passed, the unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
下面将结合附图8-附图10,对本发明实施例提供的服务器进行详细介绍。需要说明的是,附图8-附图10所示的服务器,用于执行本发明图3和图4所示实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明图3和图4所示的实施例。The server provided by the embodiment of the present invention will be described in detail below with reference to FIG. 8 to FIG. It should be noted that the server shown in FIG. 8 to FIG. 10 is used to execute the method of the embodiment shown in FIG. 3 and FIG. 4 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. , the specific technical details are not disclosed, please refer to the embodiment shown in FIG. 3 and FIG. 4 of the present invention.
请参见图8,为本发明实施例提供了另一种服务器的结构示意图。如图8所示,本发明实施例的所述服务器2可以包括:访问请求接收单元21、确认信息接收单元22和验证信息接收单元23。FIG. 8 is a schematic structural diagram of another server according to an embodiment of the present invention. As shown in FIG. 8, the server 2 of the embodiment of the present invention may include an access request receiving unit 21, an acknowledgment information receiving unit 22, and a verification information receiving unit 23.
访问请求接收单元21,用于接收门锁端发送的访问请求,并将所述访问请求发送至移动终端。The access request receiving unit 21 is configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal.
具体实现中,所述访问请求接收单元21可以接收门锁端发送的访问请求,并将所述访问请求发送至所述移动终端。例如:所述访问请求接收单元21可以接收门锁端发送的包含语音、视频、短信息等访客信息的访问请求,并将所述访问请求发送至所述移动终端。In a specific implementation, the access request receiving unit 21 may receive an access request sent by the door lock end, and send the access request to the mobile terminal. For example, the access request receiving unit 21 may receive an access request including visitor information such as voice, video, short message, etc. sent by the door lock end, and send the access request to the mobile terminal.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。所述服务器2可以根据所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server 2 may determine, according to the communication identifier, whether the door lock monitoring application in the mobile terminal is in an open state, and then send the access request to the location according to the state of the door lock monitoring application by using different communication modes. The mobile terminal.
确认信息接收单元22,用于接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。The confirmation information receiving unit 22 is configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
具体实现中,所述确认信息接收单元22可以接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。In a specific implementation, the confirmation information receiving unit 22 may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile based on the visitor confirmation information. terminal.
进一步的,所述访客确认信息可以是用户确认来访者的身份后发送的确认 信息。例如:当访客信息是访客的即时图像、即时语音或即时小视频中的至少一种时,所述访客确认信息可以是用户采用所述移动终端以短信或语音的形式回复的“是”或回复代表“是”的代码“01”。Further, the visitor confirmation information may be a confirmation sent by the user after confirming the identity of the visitor. information. For example, when the visitor information is at least one of a visitor's instant image, instant voice or instant small video, the visitor confirmation information may be “yes” or reply that the user responds by using the mobile terminal in the form of a short message or a voice. The code "01" stands for "yes".
进一步的,所述确认信息接收单元22接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述移动终端。Further, after receiving the visitor confirmation information, the confirmation information receiving unit 22 may return an identity verification request for verifying the identity of the household owner to the mobile terminal.
验证信息接收单元23,用于接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。The verification information receiving unit 23 is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlocking command to the door lock end after the verification is passed Unlock the door lock.
具体实现中,所述验证信息接收单元23可以接收所述移动终端发送的所述身份验证请求对应的身份验证信息。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。进一步的,所述身份验证请求对应的所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。In a specific implementation, the verification information receiving unit 23 may receive the identity verification information corresponding to the identity verification request sent by the mobile terminal. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user. Further, the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
进一步的,所述验证信息接收单元23接收到所述身份验证信息后,可以对所述身份验证信息进行验证,例如:判断对身份验证问题的答案是否正确或返回的邮箱验证码是否正确等。进一步的,在验证通过后,所述服务器可以发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the verification information receiving unit 23 may verify the identity verification information, for example, whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the server may send an unlocking command to the door lock end to unlock the door lock.
在本发明实施例中,通过接收门锁端发送的访问请求,并将访问请求发送至移动终端,使移动终端接收访问请求后获取访问请求携带的访客信息,接收移动终端发送的访客信息对应的访客确认信息,并基于访客确认信息返回用于验证户主身份的身份验证请求至移动终端,使移动终端返回身份验证请求对应的身份验证信息,接收移动终端发送的身份验证请求对应的身份验证信息,并对身份验证信息进行验证,且在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性。 In the embodiment of the present invention, the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal. The visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, The authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, increased the security of opening the door at a distance.
请参见图9,为本发明实施例提供了另一种服务器的结构示意图。如图9所示,本发明实施例的所述服务器2可以包括:访问请求接收单元21、确认信息接收单元22、验证信息接收单元23和标识接收单元24。FIG. 9 is a schematic structural diagram of another server according to an embodiment of the present invention. As shown in FIG. 9, the server 2 of the embodiment of the present invention may include an access request receiving unit 21, an acknowledgement information receiving unit 22, a verification information receiving unit 23, and an identifier receiving unit 24.
标识接收单元24,用于当移动终端检测到门锁监控应用的启动操作时,接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。The identifier receiving unit 24 is configured to: when the mobile terminal detects the startup operation of the door lock monitoring application, receive an application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the door lock Monitor the app's app launch collection.
具体实现中,当移动终端检测到门锁监控应用的启动操作时,所述标识接收单元24可以接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。In a specific implementation, when the mobile terminal detects the startup operation of the door lock monitoring application, the identifier receiving unit 24 may receive the application identifier of the door lock monitoring application returned by the mobile terminal, and add the application identifier to the The application of the door lock monitoring application is launched in a collection.
进一步的,所述标识接收单元24接收到所述应用标识后,可以将所述应用标识添加至所述门锁监控应用的应用启动集合中。可以理解的是,所述应用启动集合中包含了所有在线用户的门锁监控应用的应用标识。Further, after receiving the application identifier, the identifier receiving unit 24 may add the application identifier to an application launch set of the door lock monitoring application. It can be understood that the application launch collection includes the application identifiers of the door lock monitoring applications of all online users.
访问请求接收单元21,用于接收门锁端发送的访问请求,并将所述访问请求发送至移动终端。The access request receiving unit 21 is configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal.
具体实现中,所述访问请求接收单元21可以接收门锁端发送的访问请求,并将所述访问请求发送至所述移动终端。可以理解的是,所述服务器2可以是所述门锁监控应用提供后台服务的服务器。In a specific implementation, the access request receiving unit 21 may receive an access request sent by the door lock end, and send the access request to the mobile terminal. It can be understood that the server 2 can be a server that provides the background service by the door lock monitoring application.
请一并参见图10,为本发明实施例提供了访问请求接收单元21的结构示意图。如图10所示,所述访问请求接收单元21可以包括:Please refer to FIG. 10, which is a schematic structural diagram of an access request receiving unit 21 according to an embodiment of the present invention. As shown in FIG. 10, the access request receiving unit 21 may include:
第一请求发送子单元211,用于当在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,采用无线网络的通信方式将所述访问请求发送至所述移动终端。a first request sending subunit 211, configured to send the access request to the mobile by using a communication manner of a wireless network when detecting the application identifier that matches the communication identifier in the application startup set terminal.
可以理解的是,所述访问请求可以包含所述访客信息,例如:可以包含门锁端获取的访客的即时图像、即时语音或即时小视频等能证明访客身份的信息。It can be understood that the access request may include the visitor information, for example, an instant image of a visitor acquired by the door lock, an instant voice or an instant small video, and the like, which can prove the identity of the visitor.
优选的,所述访客信息还可以包含门锁端发送的通信标识,所述通信标识可以是识别所述移动终端中的所述门锁监控应用的唯一识别码,例如:用户注册所述门锁监控应用时使用的手机号码或证件号码等。所述服务器2可以根据 所述通信标识判断所述移动终端中的所述门锁监控应用是否处于开启状态,进而根据所述门锁监控应用的状态采用不同的通信方式发送所述访问请求至所述移动终端。Preferably, the visitor information may further include a communication identifier sent by the door lock end, and the communication identifier may be a unique identifier for identifying the door lock monitoring application in the mobile terminal, for example, the user registers the door lock The mobile phone number or ID number used to monitor the app. The server 2 can be based on The communication identifier determines whether the door lock monitoring application in the mobile terminal is in an open state, and then sends the access request to the mobile terminal by using a different communication manner according to the state of the door lock monitoring application.
具体的,当所述第一请求发送子单元211在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,即所述第一请求发送子单元211检测到所述移动终端中的所述门锁监控应用处于开启状态时,所述第一请求发送子单元211可以采用无线网络的通信方式将所述访问请求发送至所述移动终端。进一步的,所述移动终端可以基于所述门锁监控应用接收所述访问请求,并可以获取所述访问请求携带的访客信息。例如:所述移动终端中的门锁监控应用可以接收门锁端基于所述服务器发送的包含语音、视频、短信息等访问信息的访问请求。Specifically, when the first request sending subunit 211 detects the application identifier that matches the communication identifier in the application startup set, that is, the first request sending subunit 211 detects the When the door lock monitoring application in the mobile terminal is in an open state, the first request sending subunit 211 may send the access request to the mobile terminal by using a communication manner of a wireless network. Further, the mobile terminal may receive the access request based on the door lock monitoring application, and may obtain visitor information carried by the access request. For example, the door lock monitoring application in the mobile terminal may receive an access request by the door lock terminal based on the access information, such as voice, video, and short message, sent by the server.
可以理解的是,所述无线网络的通信方式可以是各种无线局域网,例如:蓝牙、Wi-Fi或HTTP等。It can be understood that the wireless network can communicate in various wireless local area networks, such as Bluetooth, Wi-Fi, or HTTP.
第二请求发送子单元212,用于当在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,采用通信网络的通信方式将所述访问请求发送至所述移动终端。a second request sending subunit 212, configured to: when the application identifier that matches the communication identifier is not detected in the application startup set, send the access request to the Mobile terminal.
具体实现中,当所述第二请求发送子单元212在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,即所述第二请求发送子单元212检测到所述移动终端中的所述门锁监控应用处于未开启状态时,所述第二请求发送子单元212可以采用通信网络的通信方式将所述访问请求发送至所述移动终端。In a specific implementation, when the second request sending subunit 212 does not detect the application identifier that matches the communication identifier in the application startup set, that is, the second request sending subunit 212 detects When the door lock monitoring application in the mobile terminal is in an unopened state, the second request sending subunit 212 may send the access request to the mobile terminal by using a communication manner of a communication network.
进一步的,所述移动终端接收到所述访问请求后,可以获取所述访问请求携带的所述访客信息,例如:所述移动终端可以接收门锁端经所述服务器2发送的包含语音、视频、短信息等访客信息的访问请求。Further, after receiving the access request, the mobile terminal may acquire the visitor information carried by the access request, for example, the mobile terminal may receive the voice and video sent by the server 2 via the server 2 Access requests for visitor information such as short messages.
可以理解的是,所述通信网络的通信方式可以是移动运营商提供的无线数据业务,例如:3G、4G。It can be understood that the communication mode of the communication network may be a wireless data service provided by a mobile operator, for example, 3G, 4G.
可以看出,所述服务器2通过匹配所述通信标识和所述应用标识对所述移动终端中的所述门锁监控应用是否处于开启状态进行判断,并可以根据判断结果采用不同的通信方式将所述访问请求发送至所述移动终端,从而增加了所述 移动终端接收到所述访问请求的概率。It can be seen that the server 2 determines whether the door lock monitoring application in the mobile terminal is in an open state by matching the communication identifier and the application identifier, and may adopt different communication manners according to the judgment result. The access request is sent to the mobile terminal, thereby adding the The probability that the mobile terminal receives the access request.
确认信息接收单元22,用于接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端。The confirmation information receiving unit 22 is configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information.
具体实现中,所述确认信息接收单元22可以接收所述移动终端发送的所述访客信息对应的访客确认信息。可以理解的是,所述访客确认信息可以是用户确认来访者的身份后发送的确认信息,在确认了访客的身份是本人后,所述移动终端可以以语音或文字的形式发送所述访客确认信息至所述服务器,例如:以短信或语音的形式回复服务器“是”或回复代表“是”的代码“01”。In a specific implementation, the confirmation information receiving unit 22 may receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal. It can be understood that the visitor confirmation information may be confirmation information sent by the user after confirming the identity of the visitor. After confirming that the identity of the visitor is the person, the mobile terminal may send the visitor confirmation in the form of voice or text. Information to the server, for example, replying to the server "Yes" in the form of a text message or voice or replying to the code "01" representing "Yes".
进一步的,所述确认信息接收单元22接收到所述访客确认信息后,可以返回用于验证户主身份的身份验证请求至所述移动终端。Further, after receiving the visitor confirmation information, the confirmation information receiving unit 22 may return an identity verification request for verifying the identity of the household owner to the mobile terminal.
验证信息接收单元23,用于接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。The verification information receiving unit 23 is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlocking command to the door lock end after the verification is passed Unlock the door lock.
具体实现中,所述验证信息接收单元23可以接收所述移动终端发送所述身份验证请求对应的身份验证信息。可以理解的是,所述身份验证请求可以用于验证户主的身份,例如:可以是预设的身份验证问题或针对预先绑定的邮箱的验证码等能够证明用户的户主身份的验证请求。进一步的,所述身份验证请求对应的所述身份验证信息可以是对所述身份验证请求的回答,例如:可以是针对身份验证问题的答案或预先绑定的邮箱接受到的验证码等证明用户的户主身份的信息。In a specific implementation, the verification information receiving unit 23 may receive the identity verification information corresponding to the mobile terminal sending the identity verification request. It can be understood that the authentication request can be used to verify the identity of the account owner, for example, it can be a preset authentication question or a verification code for a pre-bound mailbox, etc., such as a verification request that can prove the identity of the user. Further, the identity verification information corresponding to the identity verification request may be an answer to the identity verification request, for example, the user may be an answer to the identity verification question or a verification code received by a pre-bound mailbox. Information on the identity of the head of the household.
进一步的,所述验证信息接收单元23接收到所述身份验证信息后,可以对所述身份验证信息进行验证,例如:判断对身份验证问题的答案是否正确或返回的邮箱验证码是否正确等。进一步的,在验证通过后,所述验证信息接收单元23可以发送解锁指令至所述门锁端对门锁进行解锁。Further, after receiving the identity verification information, the verification information receiving unit 23 may verify the identity verification information, for example, whether the answer to the identity verification question is correct or whether the returned mailbox verification code is correct. Further, after the verification is passed, the verification information receiving unit 23 may send an unlocking instruction to the door lock end to unlock the door lock.
在本发明实施例中,通过接收门锁端发送的访问请求,并将访问请求发送至移动终端,使移动终端接收访问请求后获取访问请求携带的访客信息,接收移动终端发送的访客信息对应的访客确认信息,并基于访客确认信息返回用于验证户主身份的身份验证请求至移动终端,使移动终端返回身份验证请求对应 的身份验证信息,接收移动终端发送的身份验证请求对应的身份验证信息,并对身份验证信息进行验证,且在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性;服务器基于门锁监控应用的开启和关闭状态,采用两种不同的方式将访问请求发送至移动终端,增加了移动终端接收到访问请求的概率。In the embodiment of the present invention, the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal. The visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, so that the mobile terminal returns an authentication request correspondingly The authentication information receives the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verifies the identity verification information, and sends an unlock command to the door lock end to unlock the door lock after the verification is passed. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
请参见图11,为本发明实施例提供了一种开锁系统的结构示意图。如图11所示,所述系统可以包括移动终端1、服务器2和门锁端3,移动终端1和服务器2可以通过网络建立通信连接,服务器2和门锁的3也可以通过网络相互连接,其中,移动终端1具体为图5-图7任一所示实施例的移动终端1,服务器2具体为图8-图10任一所示实施例的服务器2。FIG. 11 is a schematic structural diagram of an unlocking system according to an embodiment of the present invention. As shown in FIG. 11, the system may include a mobile terminal 1, a server 2, and a door lock terminal 3. The mobile terminal 1 and the server 2 may establish a communication connection through a network, and the server 2 and the door lock 3 may also be connected to each other through a network. The mobile terminal 1 is specifically the mobile terminal 1 of the embodiment shown in any of FIG. 5 to FIG. 7, and the server 2 is specifically the server 2 of the embodiment shown in any of FIG. 8 to FIG.
所述移动终端1,用于接收服务器2发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息;The mobile terminal 1 is configured to receive an access request sent by the server 2 and input the visitor information carried by the access request;
所述移动终端1,还用于发送所述访客信息对应的访客确认信息至所述服务器2,以使所述服务器2基于所述访客确认信息返回用于验证户主身份的身份验证请求;The mobile terminal 1 is further configured to send the visitor confirmation information corresponding to the visitor information to the server 2, so that the server 2 returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
所述移动终端1,还用于接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器2,以使所述服务器2对所述身份验证信息进行验证,使所述服务器2在验证通过后发送解锁指令至所述门锁端3对门锁进行解锁。The mobile terminal 1 is further configured to receive the identity verification request, obtain identity verification information input according to the identity verification request, and send the identity verification information to the server 2, so that the server 2 The authentication information is verified, so that the server 2 sends an unlock command to the door lock end 3 to unlock the door lock after the verification is passed.
在一个实施例中,所述移动终端1,还用于当检测到对门锁监控应用的启动操作时,向服务器2上报所述门锁监控应用的应用标识,以使所述服务器2将所述应用标识添加至所述门锁监控应用的应用启动集合中。In an embodiment, the mobile terminal 1 is further configured to report an application identifier of the door lock monitoring application to the server 2 when the startup operation of the door lock monitoring application is detected, so that the server 2 An application identifier is added to the application launch collection of the door lock monitoring application.
在一个实施例中,所述访问请求还包括所述通信标识;In one embodiment, the access request further includes the communication identifier;
所述接收服务器2发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息,包括: The access request sent by the receiving server 2 and input the visitor information carried by the access request, including:
所述移动终端1,还用于当所述服务器2在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,基于所述门锁监控应用接收所述服务器2采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息;The mobile terminal 1 is further configured to: when the server 2 detects the application identifier that matches the communication identifier in the application startup set, receive, by using the door lock monitoring application, the server 2 An access request sent by the communication mode of the wireless network, and acquiring visitor information carried by the access request;
所述移动终端1,还用于当所述服务器2在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,接收所述服务器2采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。The mobile terminal 1 is further configured to: when the server 2 does not detect the application identifier that matches the communication identifier in the application startup set, receive the server 2 to send by using a communication manner of a communication network. Access request and obtain visitor information carried by the access request.
在本发明实施例中,通过接收门锁端发送的访问请求,并将访问请求发送至移动终端,使移动终端接收访问请求后获取访问请求携带的访客信息,接收移动终端发送的访客信息对应的访客确认信息,并基于访客确认信息返回用于验证户主身份的身份验证请求至移动终端,使移动终端返回身份验证请求对应的身份验证信息,接收移动终端发送的身份验证请求对应的身份验证信息,并对身份验证信息进行验证,且在验证通过后发送解锁指令至门锁端对门锁进行解锁。移动终端通过验证访问请求携带的访问信息并返回访客确认信息,实现了户主对访客身份的确认,服务器通过发送身份验证请求并对移动终端返回的身份验证信息进行验证,实现了服务器对户主身份的确认,通过双向验证访客和户主的身份,增加了远距离开门的安全性;服务器基于门锁监控应用的开启和关闭状态,采用两种不同的方式将访问请求发送至移动终端,增加了移动终端接收到访问请求的概率。In the embodiment of the present invention, the access request sent by the door lock end is received, and the access request is sent to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, and receives the visitor information corresponding to the mobile terminal. The visitor confirms the information, and returns an authentication request for verifying the identity of the household to the mobile terminal based on the visitor confirmation information, causing the mobile terminal to return the authentication information corresponding to the authentication request, and receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, The authentication information is verified, and after the verification is passed, an unlock command is sent to the door lock to unlock the door lock. The mobile terminal confirms the identity of the visitor by verifying the access information carried by the access request and returns the visitor confirmation information, and the server verifies the identity verification information returned by the mobile terminal by sending an identity verification request, thereby realizing the identity of the server to the owner. Confirmation, by two-way verification of the identity of the visitor and the head of the household, the security of opening the door at a long distance is increased; the server sends the access request to the mobile terminal in two different ways based on the opening and closing state of the door lock monitoring application, and the mobile terminal is added. The probability of receiving an access request.
需要说明的是,对于以上各方法实施例,为了简单描述将其表述为一系列动作的组合,但本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,某些步骤可以采用其他顺序或同时进行。其次,本领域技术人员应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的操作和单元并不一定是本发明所必须的。且在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。It should be noted that, for the above method embodiments, for a brief description, it is expressed as a combination of a series of actions, but those skilled in the art should understand that the present invention is not limited by the described action sequence, and some steps may be Use other sequences or at the same time. In addition, those skilled in the art should understand that the embodiments described in the specification are all preferred embodiments, and the operations and units involved are not necessarily required by the present invention. In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
另外,本发明各个实施例中的各功能单元可以集成在一个处理的单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的产品 销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。其中所述的存储介质包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. The integrated unit is implemented as a software functional unit and as a standalone product When sold or used, it can be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The storage medium includes: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (13)

  1. 一种开锁方法,其特征在于,包括:An unlocking method, comprising:
    接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息;Receiving an access request sent by the server at the door lock end, and acquiring visitor information carried by the access request;
    发送所述访客信息对应的访客确认信息至所述服务器,以使所述服务器基于所述访客确认信息返回用于验证户主身份的身份验证请求;Sending visitor confirmation information corresponding to the visitor information to the server, so that the server returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
    接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器,以使所述服务器对所述身份验证信息进行验证,使所述服务器在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。Receiving the identity verification request, obtaining identity verification information input based on the identity verification request, and sending the identity verification information to the server, so that the server verifies the identity verification information, so that the server The server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
  2. 如权利要求1所述的方法,其特征在于,所述接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息之前,还包括:The method of claim 1, wherein the receiving, by the receiving server, the access request input by the door lock, and obtaining the visitor information carried by the access request, further includes:
    当检测到对门锁监控应用的启动操作时,向服务器上报所述门锁监控应用的应用标识,以使所述服务器将所述应用标识添加至所述门锁监控应用的应用启动集合中。When the startup operation of the door lock monitoring application is detected, the application identifier of the door lock monitoring application is reported to the server, so that the server adds the application identifier to the application startup set of the door lock monitoring application.
  3. 如权利要求2所述的方法,其特征在于,所述访问请求还包括所述通信标识;The method of claim 2, wherein the access request further comprises the communication identifier;
    所述接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息,包括:Receiving, by the receiving server, the access request input at the door lock end, and acquiring the visitor information carried by the access request, including:
    当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,基于所述门锁监控应用接收所述服务器采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息;And when the server detects the application identifier that matches the communication identifier in the application startup set, receiving, according to the door lock monitoring application, an access request sent by the server by using a wireless network communication manner, and Obtaining visitor information carried by the access request;
    当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。 When the server does not detect the application identifier that matches the communication identifier in the application startup set, receiving an access request sent by the server in a communication manner of a communication network, and acquiring the access request to carry Visitor information.
  4. 一种开锁方法,其特征在于,包括:An unlocking method, comprising:
    接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息;Receiving an access request sent by the door lock end, and sending the access request to the mobile terminal, so that the mobile terminal acquires the visitor information carried by the access request after receiving the access request;
    接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端,以使所述移动终端返回所述身份验证请求对应的身份验证信息;Receiving visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and returning an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information, so that the mobile terminal returns the identity Verify the authentication information corresponding to the request;
    接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。And receiving the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verifying the identity verification information, and sending an unlocking command to the door lock end to unlock the door lock after the verification is passed.
  5. 如权利要求4所述的方法,其特征在于,所述接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息之前,还包括:The method according to claim 4, wherein the receiving an access request sent by the door lock end and transmitting the access request to the mobile terminal, so that the mobile terminal acquires the access request after receiving the access request Before accessing the visitor information carried by the request, it also includes:
    当所述移动终检测到门锁监控应用的启动操作时,接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。Receiving, by the mobile terminal, an application identifier of the door lock monitoring application returned by the mobile terminal, and adding an application identifier to an application start of the door lock monitoring application, when the mobile terminal detects a startup operation of the door lock monitoring application In the collection.
  6. 如权利要求5所述的方法,其特征在于,所述访问请求还包括所述通信标识;The method of claim 5 wherein said access request further comprises said communication identifier;
    所述接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息,包括:Receiving the access request sent by the door lock end, and sending the access request to the mobile terminal, so that the mobile terminal obtains the visitor information carried by the access request after receiving the access request, including:
    当在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,采用无线网络的通信方式将所述访问请求发送至所述移动终端,以使所述移动终端基于所述门锁监控应用接收所述访问请求,并获取所述访问请求携带的访客信息;When the application identifier matching the communication identifier is detected in the application startup set, the access request is sent to the mobile terminal by using a communication manner of a wireless network, so that the mobile terminal is based on the The door lock monitoring application receives the access request and obtains visitor information carried by the access request;
    当在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,采用通信网络的通信方式将所述访问请求发送至所述移动终端,以使所述移动终端接收所述访问请求,并获取所述访问请求携带的访客信息。 When the application identifier matching the communication identifier is not detected in the application startup set, the access request is sent to the mobile terminal by using a communication manner of a communication network, so that the mobile terminal receives The access request is obtained, and the visitor information carried by the access request is obtained.
  7. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    访问请求发送单元,用于接收服务器发送的在门锁端所输入的访问请求,并获取所述访问请求携带的访客信息;An access request sending unit, configured to receive an access request sent by the server at the door lock end, and obtain visitor information carried by the access request;
    确认信息发送单元,用于发送所述访客信息对应的访客确认信息至所述服务器,以使所述服务器基于所述访客确认信息返回用于验证户主身份的身份验证请求;a confirmation information sending unit, configured to send the visitor confirmation information corresponding to the visitor information to the server, so that the server returns an identity verification request for verifying the identity of the household owner based on the visitor confirmation information;
    验证信息发送单元,用于接收所述身份验证请求,获取基于所述身份验证请求所输入的身份验证信息,并将所述身份验证信息发送至所述服务器,以使所述服务器对所述身份验证信息进行验证,使所述服务器在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。a verification information sending unit, configured to receive the identity verification request, obtain identity verification information input based on the identity verification request, and send the identity verification information to the server, so that the server is configured to the identity The verification information is verified, so that the server sends an unlock command to the door lock end to unlock the door lock after the verification is passed.
  8. 如权利要求7所述的终端,其特征在于,还包括:The terminal of claim 7, further comprising:
    标识上报单元,用于当检测到对门锁监控应用的启动操作时,向服务器上报所述门锁监控应用的应用标识,以使所述服务器将所述应用标识添加至所述门锁监控应用的应用启动集合中。An identifier reporting unit, configured to report an application identifier of the door lock monitoring application to a server, so that the server adds the application identifier to the door lock monitoring application, when detecting a startup operation of the door lock monitoring application The application launches the collection.
  9. 如权利要求8所述的终端,其特征在于,所述访问请求还包括所述通信标识;The terminal according to claim 8, wherein the access request further comprises the communication identifier;
    所述访问请求发送单元包括:The access request sending unit includes:
    第一请求接收子单元,用于当所述服务器在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,基于所述门锁监控应用接收所述服务器采用无线网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息;a first request receiving subunit, configured to: when the server detects the application identifier that matches the communication identifier in the application startup set, receive, according to the door lock monitoring application, the server adopts a wireless network The communication request is sent by the access method, and the visitor information carried by the access request is obtained;
    第二请求接收子单元,用于当所述服务器在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,接收所述服务器采用通信网络的通信方式发送的访问请求,并获取所述访问请求携带的访客信息。a second request receiving subunit, configured to receive, when the server does not detect the application identifier that matches the communication identifier in the application startup set, receive an access sent by the server by using a communication manner of a communication network Requesting and obtaining visitor information carried by the access request.
  10. 一种服务器,其特征在于,包括: A server, comprising:
    访问请求接收单元,用于接收门锁端发送的访问请求,并将所述访问请求发送至移动终端,以使所述移动终端接收所述访问请求后获取所述访问请求携带的访客信息;An access request receiving unit, configured to receive an access request sent by the door lock end, and send the access request to the mobile terminal, so that the mobile terminal acquires the visitor information carried by the access request after receiving the access request;
    确认信息接收单元,用于接收所述移动终端发送的所述访客信息对应的访客确认信息,并基于所述访客确认信息返回用于验证户主身份的身份验证请求至所述移动终端,以使所述移动终端返回所述身份验证请求对应的身份验证信息;a confirmation information receiving unit, configured to receive the visitor confirmation information corresponding to the visitor information sent by the mobile terminal, and return an identity verification request for verifying the identity of the household owner to the mobile terminal based on the visitor confirmation information, so as to Returning, by the mobile terminal, identity verification information corresponding to the identity verification request;
    验证信息接收单元,用于接收所述移动终端发送的所述身份验证请求对应的身份验证信息,并对所述身份验证信息进行验证,且在验证通过后发送解锁指令至所述门锁端对门锁进行解锁。The verification information receiving unit is configured to receive the identity verification information corresponding to the identity verification request sent by the mobile terminal, and verify the identity verification information, and send an unlocking command to the door lock end to the door after the verification is passed The lock is unlocked.
  11. 如权利要求10所述的服务器,其特征在于,还包括:The server according to claim 10, further comprising:
    标识接收单元,用于当所述移动终检测到门锁监控应用的启动操作时,接收所述移动终端返回的所述门锁监控应用的应用标识,并将所述应用标识添加至所述门锁监控应用的应用启动集合中。An identifier receiving unit, configured to receive an application identifier of the door lock monitoring application returned by the mobile terminal when the mobile terminal detects a startup operation of the door lock monitoring application, and add the application identifier to the door The application of the lock monitoring application is launched in the collection.
  12. 如权利要求11所述的服务器,其特征在于,所述访问请求还包括所述通信标识;The server according to claim 11, wherein said access request further comprises said communication identifier;
    所述访问请求接收单元包括:The access request receiving unit includes:
    第一请求发送子单元,用于当在所述应用启动集合中检测到与所述通信标识相匹配的所述应用标识时,采用无线网络的通信方式将所述访问请求发送至所述移动终端,以使所述移动终端基于所述门锁监控应用接收所述访问请求,并获取所述访问请求携带的访客信息;a first request sending subunit, configured to send the access request to the mobile terminal by using a communication manner of a wireless network when detecting the application identifier that matches the communication identifier in the application startup set So that the mobile terminal receives the access request based on the door lock monitoring application, and acquires visitor information carried by the access request;
    第二请求发送子单元,用于当在所述应用启动集合中未检测到与所述通信标识相匹配的所述应用标识时,采用通信网络的通信方式将所述访问请求发送至所述移动终端,以使所述移动终端接收所述访问请求,并获取所述访问请求携带的访客信息。a second request sending subunit, configured to send the access request to the mobile by using a communication manner of a communication network when the application identifier matching the communication identifier is not detected in the application startup set a terminal, so that the mobile terminal receives the access request, and acquires visitor information carried by the access request.
  13. 一种开锁系统,其特征在于,包括如权利要求7-9任一项所述的移动 终端以及如权利要求10-12任一项所述的服务器。 An unlocking system, comprising the movement of any one of claims 7-9 A terminal and a server according to any of claims 10-12.
PCT/CN2016/108123 2016-11-30 2016-11-30 Unlocking method, terminal, and system WO2018098725A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108123 WO2018098725A1 (en) 2016-11-30 2016-11-30 Unlocking method, terminal, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108123 WO2018098725A1 (en) 2016-11-30 2016-11-30 Unlocking method, terminal, and system

Publications (1)

Publication Number Publication Date
WO2018098725A1 true WO2018098725A1 (en) 2018-06-07

Family

ID=62241084

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108123 WO2018098725A1 (en) 2016-11-30 2016-11-30 Unlocking method, terminal, and system

Country Status (1)

Country Link
WO (1) WO2018098725A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145391A (en) * 2018-11-05 2020-05-12 赵青贺 Door lock control method and device
CN113284275A (en) * 2021-05-13 2021-08-20 武汉少掌门科技有限公司 Door opening system and door opening method
WO2023045133A1 (en) * 2021-09-27 2023-03-30 深圳市商汤科技有限公司 Visitor management method and apparatus, and electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957521A (en) * 2014-04-09 2014-07-30 华中科技大学 Community visitor authentication method and system based on NFC technology
CN204480357U (en) * 2015-03-12 2015-07-15 厦门宏泰睿通安全技术开发有限公司 A kind of visible building talkback door lock system with safety certification
CN104966340A (en) * 2015-06-19 2015-10-07 深圳市幸福立方科技有限公司 Access control system, access control method and cloud service platform
US20160117874A1 (en) * 2014-10-28 2016-04-28 The Chamberlain Group, Inc. Remote Guest Access to a Secured Premises
CN106157390A (en) * 2015-03-12 2016-11-23 厦门宏泰睿通安全技术开发有限公司 The visible building talkback door lock system of a kind of band safety certification and method of work thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957521A (en) * 2014-04-09 2014-07-30 华中科技大学 Community visitor authentication method and system based on NFC technology
US20160117874A1 (en) * 2014-10-28 2016-04-28 The Chamberlain Group, Inc. Remote Guest Access to a Secured Premises
CN204480357U (en) * 2015-03-12 2015-07-15 厦门宏泰睿通安全技术开发有限公司 A kind of visible building talkback door lock system with safety certification
CN106157390A (en) * 2015-03-12 2016-11-23 厦门宏泰睿通安全技术开发有限公司 The visible building talkback door lock system of a kind of band safety certification and method of work thereof
CN104966340A (en) * 2015-06-19 2015-10-07 深圳市幸福立方科技有限公司 Access control system, access control method and cloud service platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145391A (en) * 2018-11-05 2020-05-12 赵青贺 Door lock control method and device
CN113284275A (en) * 2021-05-13 2021-08-20 武汉少掌门科技有限公司 Door opening system and door opening method
WO2023045133A1 (en) * 2021-09-27 2023-03-30 深圳市商汤科技有限公司 Visitor management method and apparatus, and electronic device and storage medium

Similar Documents

Publication Publication Date Title
US10362613B2 (en) Pairing management method, recording medium, and terminal apparatus
US11297051B2 (en) Authenticated session management across multiple electronic devices using a virtual session manager
US10223520B2 (en) System and method for integrating two-factor authentication in a device
EP2888855B1 (en) Systems and methods for lock access management using wireless signals
US20130254858A1 (en) Encoding an Authentication Session in a QR Code
WO2016197934A1 (en) Barcode security authentication method
KR101341256B1 (en) Apparatus and method for strengthening security connection of network
US9113320B2 (en) Transferring an account between devices
WO2018184433A1 (en) Internet-of-things authentication system and internet-of-things authentication method
JP2010519640A (en) Method and apparatus for deploying a dynamic credential infrastructure based on proximity
US11025595B2 (en) Secure and anonymous data sharing
JP2007025802A (en) Gate system and gate release method using radio communication terminal
JP2017526995A (en) Dual channel identification and authentication
WO2018098725A1 (en) Unlocking method, terminal, and system
US20200336476A1 (en) Credential for a service
CN109964499A (en) There are identifications
KR101603963B1 (en) Authentication method using fingerprint information and certification number, user terminal and financial institution server
US20180115896A1 (en) Seamless unique user identification and management
CN109460647B (en) Multi-device secure login method
US8731195B2 (en) Method and system for initiating secure transactions within a defined geographic region
KR101980828B1 (en) Authentication method and apparatus for sharing login ID
EP2978249B1 (en) Method and system for initiating a communication protocol
JP5937276B1 (en) Visitor authentication system and visitor authentication method
CN109067880B (en) Remote unlocking method of shared equipment, device, equipment and storage medium thereof
US10841306B2 (en) System for authentication center

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16923042

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16923042

Country of ref document: EP

Kind code of ref document: A1