CN111524258A - Device control method, device and storage medium - Google Patents

Device control method, device and storage medium Download PDF

Info

Publication number
CN111524258A
CN111524258A CN202010203304.3A CN202010203304A CN111524258A CN 111524258 A CN111524258 A CN 111524258A CN 202010203304 A CN202010203304 A CN 202010203304A CN 111524258 A CN111524258 A CN 111524258A
Authority
CN
China
Prior art keywords
door opening
intelligent
server
door
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010203304.3A
Other languages
Chinese (zh)
Inventor
王乐
陈孝良
苏少炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010203304.3A priority Critical patent/CN111524258A/en
Publication of CN111524258A publication Critical patent/CN111524258A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/22Interactive procedures; Man-machine interfaces

Abstract

The application discloses a device control method, a device, equipment and a storage medium, and belongs to the technical field of device control. The method comprises the following steps: acquiring a door opening password corresponding to the intelligent door lock; sending a setting request of the door opening password to a server, wherein the setting request is used for indicating the server to control the intelligent door lock to perform door opening authority authentication based on the door opening password and execute door opening operation when the intelligent door lock passes the door opening authority authentication; when the door opening information of the intelligent door lock is received from the server, reminding is carried out according to a target reminding mode, the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors. The application makes the user can set the door opening password of the intelligent door lock through the intelligent device, so that the visitor can open the door through the password, the door opening information can be fed back to the intelligent device, and the user is reminded, and the interaction between the visitor and the intelligent device is increased while the convenience of opening the door is improved.

Description

Device control method, device and storage medium
Technical Field
The present application relates to the field of device control technologies, and in particular, to a device control method, apparatus, device, and storage medium.
Background
Along with the requirement of people on security is higher and higher, the application of intelligent lock is more and more extensive, for example more and more hotels set up intelligent lock on the door, guaranteed user's safety of living in to a certain extent.
In the related art, an intelligent door lock is generally implemented by using technologies such as a magnetic card, a radio frequency card, a TM (Touch Memory) card, a password, fingerprint identification, iris identification, and the like, and a user controls the intelligent door lock to perform an opening operation by swiping a card, inputting a password, inputting a fingerprint, or shooting an iris image, and the like, so that the operation is inconvenient and deep interaction with the user cannot be generated.
Disclosure of Invention
The embodiment of the application provides a device control method, a device and a storage medium, which can improve the convenience of opening a door and increase the interaction with a user. The technical scheme is as follows:
in a first aspect, a device control method is provided, which is applied to an intelligent device, and includes:
acquiring a door opening password corresponding to the intelligent door lock;
sending a setting request of the door opening password to a server, wherein the setting request is used for indicating the server to control the intelligent door lock to perform door opening authority authentication based on the door opening password and execute door opening operation when the intelligent door lock passes the door opening authority authentication;
when the door opening information of the intelligent door lock is received from the server, reminding is carried out according to a target reminding mode, the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
In one possible implementation manner, the obtaining of the door opening password corresponding to the smart door lock includes:
when first voice is collected, the first voice is sent to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock;
when second voice returned by the server based on the first voice is received, outputting the second voice, wherein the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock;
and when third voice is collected, taking the third voice as a door opening password corresponding to the intelligent door lock.
In one possible implementation manner, the obtaining of the door opening password corresponding to the smart door lock includes:
displaying a door opening password setting interface;
and acquiring the door opening password corresponding to the intelligent door lock through the door opening password setting interface.
In one possible implementation manner, the setting request of the door opening password carries the validity period of the door opening password;
before the sending the setting request of the door opening password to the server, the method further comprises:
and acquiring the validity period of the door opening password corresponding to the intelligent door lock.
In one possible implementation manner, the obtaining the validity period of the door opening password corresponding to the intelligent door lock includes:
outputting a fourth voice, wherein the fourth voice is used for prompting the setting of the validity period of the door opening password;
and when fifth voice is collected, carrying out voice recognition on the fifth voice, and taking the time information obtained by recognition as the valid period of the door opening password.
In one possible implementation manner, the obtaining the validity period of the door opening password corresponding to the intelligent door lock includes:
displaying a validity period input control;
and acquiring the time information input in the validity period input control as the validity period corresponding to the door opening password.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, the reminding is performed according to a target reminding manner, and the reminding includes at least one of the following:
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice;
when door opening information of the intelligent door lock is received from the server, controlling the intelligent equipment to vibrate;
and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
In one possible implementation manner, the controlling the intelligent device to emit light when the door opening information of the intelligent door lock is received from the server includes:
when the door opening information of the intelligent door lock is received from the server, the reminding indicating lamp of the intelligent equipment is controlled to emit light with a first color and in a flashing state.
In one possible implementation manner, before the receiving of the door opening information of the intelligent door lock from the server, the method further includes:
and controlling a reminding indicator lamp of the intelligent equipment to emit light with the first color and in a non-flashing state.
In one possible implementation manner, before the obtaining of the door opening password corresponding to the smart door lock, the method further includes:
and controlling the reminding indicator lamp of the intelligent equipment to emit light of a second color.
In a possible implementation manner, after the door opening information of the intelligent door lock is received from the server and is reminded according to a target reminding manner, the method further includes:
and when the viewing event of the door opening information is detected, displaying the door opening information.
In a second aspect, a device control method is provided, which is applied to an intelligent door lock, and the method includes:
when user voice is collected, carrying out door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock;
when the door opening authority passes the authentication, the door opening operation is executed;
and sending an interactive request of door opening information to the server, wherein the interactive request is used for indicating the server to send the door opening information to the intelligent equipment, the door opening information comprises the door opening state of the intelligent door lock and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
In one possible implementation, before the collecting the user voice, the method further includes:
and receiving a door opening password corresponding to the intelligent door lock from a server, wherein the door opening password is sent to the server by intelligent equipment.
In a possible implementation manner, the performing, based on the door opening password corresponding to the smart door lock, door opening permission authentication on the user voice includes:
acquiring text content corresponding to the user voice and text content corresponding to the door opening password;
and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
In one possible implementation, before the collecting the user voice, the method further includes:
receiving the validity period of the door opening password from the server, wherein the validity period of the door opening password is sent to the server by the intelligent device;
the method further comprises the following steps:
and when the current time is within the validity period of the door opening password, executing a step of performing door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock.
In a possible implementation manner, the performing, based on the door opening password corresponding to the smart door lock, door opening permission authentication on the user voice includes:
sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment;
and when an authentication passing message returned by the server based on the door opening authority authentication request is received, confirming that the door opening authority authentication passes.
In a third aspect, an apparatus for controlling a device is provided, which is applied to an intelligent device, and the apparatus includes:
the acquisition module is used for acquiring a door opening password corresponding to the intelligent door lock;
the sending module is used for sending a setting request of the door opening password to a server, wherein the setting request is used for indicating the server to control the intelligent door lock to carry out door opening authority authentication based on the door opening password and execute door opening operation when the intelligent door lock passes the door opening authority authentication;
and the reminding module is used for reminding according to a target reminding mode when the door opening information of the intelligent door lock is received from the server, wherein the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
In one possible implementation, the obtaining module is configured to:
when first voice is collected, the first voice is sent to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock;
when second voice returned by the server based on the first voice is received, outputting the second voice, wherein the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock;
and when third voice is collected, taking the third voice as a door opening password corresponding to the intelligent door lock.
In one possible implementation, the obtaining module is configured to:
displaying a door opening password setting interface;
and acquiring the door opening password corresponding to the intelligent door lock through the door opening password setting interface.
In one possible implementation manner, the setting request of the door opening password carries the validity period of the door opening password;
the obtaining module is further used for obtaining the validity period of the door opening password corresponding to the intelligent door lock.
In one possible implementation, the obtaining module is configured to:
outputting a fourth voice, wherein the fourth voice is used for prompting the setting of the validity period of the door opening password;
and when fifth voice is collected, carrying out voice recognition on the fifth voice, and taking the time information obtained by recognition as the valid period of the door opening password.
In one possible implementation, the obtaining module is configured to:
displaying a validity period input control;
and acquiring the time information input in the validity period input control as the validity period corresponding to the door opening password.
In one possible implementation, the reminder module is to perform at least one of:
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice;
when door opening information of the intelligent door lock is received from the server, controlling the intelligent equipment to vibrate;
and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
In one possible implementation, the reminder module is configured to:
when the door opening information of the intelligent door lock is received from the server, the reminding indicating lamp of the intelligent equipment is controlled to emit light with a first color and in a flashing state.
In one possible implementation, the reminder module is further configured to:
and controlling a reminding indicator lamp of the intelligent equipment to emit light with the first color and in a non-flashing state.
In one possible implementation, the reminder module is further configured to:
and controlling the reminding indicator lamp of the intelligent equipment to emit light of a second color.
In one possible implementation, the apparatus further includes:
and the display module is used for displaying the door opening information when a viewing event of the door opening information is detected.
In a fourth aspect, an apparatus control device is provided for an intelligent door lock, the apparatus comprising:
the authentication module is used for carrying out door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock when the user voice is collected;
the door opening module is used for executing door opening operation when the door opening authority passes the authentication;
the intelligent door lock comprises a sending module and a server, wherein the sending module is used for sending an interactive request of door opening information to the server, the interactive request is used for indicating the server to send the door opening information to the intelligent device, the door opening information comprises a door opening state of the intelligent door lock and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
In one possible implementation, the apparatus further includes:
and the receiving module is used for receiving the door opening password corresponding to the intelligent door lock from the server, and the door opening password is sent to the server by the intelligent equipment.
In one possible implementation, the authentication module is to:
acquiring text content corresponding to the user voice and text content corresponding to the door opening password;
and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
In one possible implementation, the receiving module is further configured to receive a validity period of the door opening password from the server, where the validity period of the door opening password is sent to the server by the smart device;
and the authentication module is used for executing the step of performing door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock when the current time is within the validity period of the door opening password.
In one possible implementation, the authentication module is to:
sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment;
and when an authentication passing message returned by the server based on the door opening authority authentication request is received, confirming that the door opening authority authentication passes.
In a third aspect, an electronic device is provided, which includes one or more processors and one or more memories having at least one program code stored therein, where the at least one program code is loaded into and executed by the one or more processors to implement the method steps of any one of the implementations of the aspect.
In a fourth aspect, a computer readable storage medium is provided, in which at least one program code is stored, the at least one program code being loaded and executed by a processor to implement the method steps of any one of the implementation manners of the aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the method comprises the steps that a door opening password corresponding to an intelligent door lock is obtained through intelligent equipment, a setting request of the door opening password is sent to a server, so that the server can control the intelligent door lock to carry out door opening authority authentication based on the door opening password, door opening operation is carried out when the door opening authority authentication is passed, and further, when door opening information including a door opening state and visitor information is received, reminding is carried out according to a target reminding mode. By the technical scheme, the user can set the door opening password of the intelligent door lock through the intelligent equipment, so that the visitor can open the door by using the password, the door opening information can be fed back to the intelligent equipment, the user is reminded, and the interaction with the user is increased while the convenience of opening the door is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a device control method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an intelligent device provided in an embodiment of the present application;
fig. 3 is a flowchart of an apparatus control method provided in an embodiment of the present application;
fig. 4 is a flowchart of an apparatus control method provided in an embodiment of the present application;
fig. 5 is a flowchart of an apparatus control method provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a voice interaction provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a voice interaction provided by an embodiment of the present application;
FIG. 8 is a flowchart of an interaction for authorizing a visitor to open a door according to an embodiment of the present disclosure;
FIG. 9 is an interaction flow diagram of a timed reminder provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, some terms referred to in the embodiments of the present application are explained below:
ASR (Automatic Speech Recognition): the vocabulary content in human speech is converted into computer-readable input, such as keystrokes, binary codes or character sequences.
NLP (Natural Language Processing): information is extracted from the text and various problems are solved, such as automatic summarization, machine translation, named entity recognition, relationship extraction, sentiment analysis, and the like.
NLG (Natural Language Generation): generating natural language from a knowledge base or a machine expression system in a logical form, etc.
TTS (Text To Speech, Speech synthesis): the function of converting computer text information into voice is mainly completed.
Fig. 1 is a schematic view of an application scenario of a device control method according to an embodiment of the present application. Referring to fig. 1, the application scenario may include an intelligent device 101, an intelligent door lock 102, and a server 103. The intelligent device 101 and the server 103 can establish communication connection in a wireless mode, the intelligent door lock 102 and the server 103 can also establish communication connection in a wireless mode, and data interaction can be performed between the intelligent device 101 and the intelligent door lock 102 through the server 103.
The intelligent device 101 is held by a user, the intelligent door lock 102 is installed on the door of the user, and the server 103 can be deployed in the cloud. Taking a hotel as an example, the hotel can provide the intelligent device for the user who checks in, and one intelligent device corresponds to one intelligent door lock. The user can set a door opening password corresponding to the intelligent door lock 102 on the intelligent device 101, the user can inform the visitor of the door opening password, and the visitor can use the door opening password to control the intelligent door lock 102 to execute a door opening operation.
The intelligent device can be an intelligent voice peripheral and has a voice interaction function. Referring to fig. 2, fig. 2 is a schematic diagram of an intelligent device provided by an embodiment of the present application, and as shown in fig. 2, the intelligent device is configured with a touch screen to support handwriting input. The intelligent device can be internally provided with a communication module, supports various communication modes such as mobile communication (3G/4G/5G), Wireless-Fidelity (Wireless Internet), Bluetooth and the like, and can be used in different scenes. The intelligent device may have an EOS (Embedded Operating System) built therein, may load a corresponding APP (Application), and may perform instruction interaction with the server.
The intelligent device can be internally provided with a vibrator, and can remind a user in a vibration mode. This smart machine can embed adapter and megaphone, and accessible speech mode and user interaction are including gathering pronunciation and output pronunciation. The intelligent device can be configured with a power-on indicator light and a reminding indicator light. For the status of the power-on indicator: when the computer is turned off, the power-on indicator lamp is not on; when the computer is started, the starting indicator light is green; when the power is lower than the threshold (e.g. 30%), the power-on indicator lamp is yellow. For the status of the warning indicator: the intelligent device can detect whether a door opening password or a timing reminding event exists in a target time period (such as 24 hours), and if so, the reminding indicator lamp is red; if not, the reminding indicator light is green; if the visitor is opening the door by the password or reaching the reminding time point, the reminding indicator lamp can flash in red.
Fig. 3 is a flowchart of an apparatus control method according to an embodiment of the present application. The method is applied to the smart device, i.e. the method is performed by the smart device, see fig. 3, the method comprising:
301. and acquiring a door opening password corresponding to the intelligent door lock.
302. And sending a setting request of the door opening password to a server, wherein the setting request is used for indicating the server to control the intelligent door lock to perform door opening authority authentication based on the door opening password and executing door opening operation when the intelligent door lock passes the door opening authority authentication.
303. When door opening information of the intelligent door lock is received from the server, reminding is carried out according to a target reminding mode, the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
According to the method, the intelligent device obtains the door opening password corresponding to the intelligent door lock, the setting request of the door opening password is sent to the server, the server can control the intelligent door lock to carry out door opening authority authentication based on the door opening password, door opening operation is carried out when the door opening authority authentication is passed, and further when door opening information including a door opening state and visitor information is received, reminding is carried out according to a target reminding mode. By the technical scheme, the user can set the door opening password of the intelligent door lock through the intelligent equipment, so that the visitor can open the door by using the password, the door opening information can be fed back to the intelligent equipment, the user is reminded, and the interaction with the user is increased while the convenience of opening the door is improved.
In one possible implementation manner, the acquiring a door opening password corresponding to the smart door lock includes:
when first voice is collected, the first voice is sent to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock;
when second voice returned by the server based on the first voice is received, outputting the second voice, wherein the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock;
and when the third voice is collected, taking the third voice as a door opening password corresponding to the intelligent door lock.
In one possible implementation manner, the acquiring a door opening password corresponding to the smart door lock includes:
displaying a door opening password setting interface;
and acquiring a door opening password corresponding to the intelligent door lock through the door opening password setting interface.
In one possible implementation, the setting request of the door-opening password carries the validity period of the door-opening password;
before sending the request for setting the door opening password to the server, the method further includes:
and acquiring the valid period of the door opening password corresponding to the intelligent door lock.
In one possible implementation manner, the obtaining the validity period of the door opening password corresponding to the intelligent door lock includes:
outputting a fourth voice which is used for prompting the setting of the validity period of the door opening password;
and when the fifth voice is collected, carrying out voice recognition on the fifth voice, and taking the time information obtained by recognition as the valid period of the door opening password.
In one possible implementation manner, the obtaining the validity period of the door opening password corresponding to the intelligent door lock includes:
displaying a validity period input control;
and acquiring the time information input in the validity period input control as the validity period corresponding to the door opening password.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, the reminding is performed according to a target reminding manner, and the method includes at least one of the following steps:
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice;
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to vibrate;
and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, the intelligent device is controlled to emit light, including:
when the door opening information of the intelligent door lock is received from the server, the reminding indicating lamp of the intelligent equipment is controlled to emit light with a first color and in a flashing state.
In one possible implementation manner, before the receiving of the door opening information of the intelligent door lock from the server, the method further includes:
and controlling a reminding indicator lamp of the intelligent equipment to emit light with the first color and in a non-flashing state.
In one possible implementation manner, before the obtaining of the door opening password corresponding to the smart door lock, the method further includes:
and controlling the reminding indicator lamp of the intelligent equipment to emit light of a second color.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, after the reminding is performed according to a target reminding manner, the method further includes:
and when the viewing event of the door opening information is detected, displaying the door opening information.
Fig. 4 is a flowchart of an apparatus control method according to an embodiment of the present application. The method is applied to the intelligent door lock, that is, the method is executed by the intelligent door lock, and referring to fig. 4, the method comprises:
401. and when the voice of the user is collected, carrying out door opening authority authentication on the voice of the user based on the door opening password corresponding to the intelligent door lock.
402. And when the door opening authority passes the authentication, executing the door opening operation.
403. And sending an interactive request of door opening information to the server, wherein the interactive request is used for indicating the server to send the door opening information to the intelligent equipment, the door opening information comprises the door opening state of the intelligent door lock and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
According to the method provided by the embodiment of the application, the door opening authority authentication is carried out on the user voice based on the door opening password corresponding to the intelligent door lock, the door opening operation is executed when the door opening authority authentication is carried out, and further the door opening information comprising the door opening state and the visitor information is sent to the intelligent equipment through the server, so that the intelligent equipment can remind according to a target reminding mode. By the aid of the technical scheme, the visitor can open the door by using the password, the door opening information can be fed back to the intelligent equipment, and the user is reminded, so that the door opening convenience is improved, and interaction between the visitor and the user is increased.
In one possible implementation, before the collecting the user voice, the method further includes:
and receiving a door opening password corresponding to the intelligent door lock from the server, wherein the door opening password is sent to the server by the intelligent equipment.
In a possible implementation manner, the performing the door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock includes:
acquiring text content corresponding to the user voice and text content corresponding to the door opening password;
and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
In one possible implementation, before the collecting the user voice, the method further includes:
receiving the validity period of the door opening password from the server, wherein the validity period of the door opening password is sent to the server by the intelligent device;
the method further comprises the following steps:
and when the current time is within the validity period of the door opening password, executing a step of performing door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock.
In a possible implementation manner, the performing the door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock includes:
sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment;
and when receiving an authentication passing message returned by the server based on the door opening authority authentication request, confirming that the door opening authority authentication passes.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
The flows shown in fig. 3 and fig. 4 are basic flows of the embodiment of the present disclosure, and a detailed flow of the technical solution of the present disclosure is described below based on the basic flows.
Fig. 5 is a flowchart of an apparatus control method according to an embodiment of the present application. In the method, as an example, the intelligent device, the intelligent door lock and the server are interactively executed, referring to fig. 5, the method includes:
501. and the intelligent equipment acquires the door opening password corresponding to the intelligent door lock.
The door opening password is information for opening a door in a voice mode, the intelligent door lock can be an intelligent door lock corresponding to the intelligent equipment, and the door opening password corresponding to the intelligent door lock is a door opening password for controlling the intelligent door lock to execute door opening operation.
This step 501 includes, but is not limited to, the following two possible implementations:
in a first possible implementation manner, the acquiring a door opening password corresponding to the smart door lock includes:
step one, when first voice is collected, the intelligent equipment sends the first voice to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock.
Referring to fig. 6, fig. 6 is a schematic diagram of voice interaction provided in an embodiment of the present application, as shown in fig. 6, an intelligent device may acquire a first voice through a sound pickup, send the first voice to a server, and after receiving the first voice, the server may perform voice recognition and natural language processing on the first voice, where the voice recognition may obtain text content corresponding to the first voice, the natural voice processing may perform semantic understanding on the text content to obtain semantic information, the server may learn, through the semantic information, that the first voice is used to request to set a door opening password corresponding to an intelligent door lock, so as to obtain corresponding response information, and then perform natural language generation and voice synthesis on the response information, the natural language generation may generate a natural language text corresponding to the response information, and the voice synthesis may synthesize a voice based on the natural language text, i.e. the second speech.
And step two, when second voice returned by the server based on the first voice is received, the intelligent equipment outputs the second voice, and the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock.
The server may send the second voice to the smart device as a response to the first voice, as shown in fig. 6, after receiving the second voice, the smart device may play the second voice through the microphone, so that the user may hear the second voice.
It should be noted that fig. 6 only shows one server, and the server has the functions of speech recognition, natural speech processing, response information acquisition, natural language generation, and speech synthesis, etc., and it is understood that the functions of the server may be separated as two servers, such as a speech server and a backend server, where the speech server has the functions of speech recognition, natural speech processing, natural language generation, and speech synthesis, etc., and the backend server has the function of response information acquisition, as shown in fig. 7.
And step three, when third voice is collected, the intelligent equipment takes the third voice as a door opening password corresponding to the intelligent door lock.
After hearing the second voice, the user can speak the door opening password which is desired to be set, that is, the third voice, and after acquiring the third voice, the intelligent device can use the third voice as the door opening password corresponding to the intelligent door lock.
In the first step to the third step, the intelligent device acquires the door opening password corresponding to the intelligent door lock in a voice interaction mode with the user, so that the user operation is simplified, the efficiency of setting the door opening password is improved, and the mode of setting the door opening password is enriched.
In a second possible implementation manner, the acquiring of the door opening password corresponding to the intelligent door lock includes the following steps a and b:
step a, the intelligent equipment displays a door opening password setting interface.
The door opening password setting interface can display identification information of the intelligent door lock and a corresponding setting button, wherein the identification information of the intelligent door lock can be position information of the intelligent door lock. The door opening password setting interface can be triggered by clicking operation of a user on the intelligent device to set an entrance to the door opening password.
And b, the intelligent equipment acquires the door opening password corresponding to the intelligent door lock through the door opening password setting interface.
The user can select a setting button corresponding to the intelligent door lock to perform triggering operation from the door opening password setting interface, the intelligent device can prompt the user to input a door opening password corresponding to the intelligent door lock in a mode of displaying prompt information or outputting prompt voice after detecting the triggering operation, the user can speak the door opening password to be set after seeing the prompt information or hearing the prompt voice, and the intelligent device can take the collected user voice as the door opening password corresponding to the intelligent door lock.
In one possible implementation manner, the method provided by the embodiment of the present application further includes: and acquiring the valid period of the door opening password corresponding to the intelligent door lock. Wherein, this validity period also is valid period, and the visitor can use this password control intelligent lock that opens the door to open the door in the validity period, and the visitor can't use this password control intelligent lock that opens the door to open the door after exceeding the validity period. By setting the validity period of the door opening password, the door opening password can be limited to be valid only within a certain time period, and the safety is improved. The intelligent device can prompt the user to further set the validity period of the door opening password after acquiring the door opening password corresponding to the intelligent door lock.
To a first possible implementation manner that the intelligent device acquires a door opening password corresponding to the intelligent door lock, the intelligent device acquires the validity period of the door opening password corresponding to the intelligent door lock, including: outputting a fourth voice which is used for prompting the setting of the validity period of the door opening password; and when the fifth voice is collected, carrying out voice recognition on the fifth voice, and taking the time information obtained by recognition as the valid period of the door opening password. The validity period of the door opening password is set in a voice interaction mode, so that the user operation is simplified, the efficiency of the validity period is improved, and the mode of the validity period is enriched.
To second possible implementation manner that the intelligent device acquires the door opening password corresponding to the intelligent door lock, the intelligent device acquires the validity period of the door opening password corresponding to the intelligent door lock, including: displaying a validity period input control; and acquiring the time information input in the validity period input control as the validity period corresponding to the door opening password. The valid period input control can be provided in the door opening password setting interface, so that a user can set the valid period in a mode of manually inputting time information, and the flexibility of setting the valid period is improved.
In some possible embodiments, the smart device may also use a default validity period as the validity period of the door opening password corresponding to the smart door lock, which is not limited in this embodiment of the present application.
502. And the intelligent equipment sends a setting request of the door opening password to the server, wherein the setting request is used for indicating the server to control the intelligent door lock to carry out door opening authority authentication based on the door opening password and execute door opening operation when the door opening authority authentication is passed.
After the intelligent device obtains the door opening password corresponding to the intelligent door lock, the door opening password can be carried in the setting request and sent to the server, and the setting request of the door opening password in the step 502 can also carry the validity period of the door opening password for the purpose of obtaining the validity period of the door opening password in the step 501.
503. And after receiving the setting request of the door opening password, the server sends the door opening password to the intelligent door lock.
After receiving the setting request, the server can acquire the door opening password corresponding to the intelligent door lock from the setting request and send the door opening password to the intelligent door lock. In a possible implementation manner, one intelligent device may correspond to one intelligent door lock, the server may maintain a correspondence between the intelligent device and the intelligent door lock, and the server may send a door opening password to the intelligent door lock corresponding to the intelligent device after receiving a setting request sent by the intelligent device.
The server can also acquire the validity period of the door opening password from the setting request aiming at the condition that the setting request also carries the validity period of the door opening password, so that the server can also send the validity period of the door opening password to the intelligent door lock when sending the door opening password to the intelligent door lock.
It should be noted that, in this step 503, the server sends the door opening password to the smart door lock as an optional step. In some possible embodiments, the server may not send the door opening password to the smart door lock, but store the door opening password corresponding to the smart door lock locally.
504. When the voice of the user is collected, the intelligent door lock performs door opening authority authentication on the voice of the user based on the door opening password corresponding to the intelligent door lock.
Wherein the user voice may be a voice generated by a visitor speaking to the smart door lock.
In this step 504, the intelligent door lock performs the door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock, which includes but is not limited to the following two possible implementation manners:
in a first possible implementation manner, before the intelligent door lock collects the user voice, the intelligent door lock may receive the door opening password corresponding to the intelligent door lock from the server, and accordingly, the intelligent door lock performs the door opening permission authentication on the user voice based on the door opening password corresponding to the intelligent door lock, including: acquiring text content corresponding to the user voice and text content corresponding to the door opening password; and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
The intelligent door lock can respectively carry out voice recognition on the user voice and the door opening password to obtain text contents corresponding to the user voice and text contents corresponding to the door opening password, then the two text contents are compared, if the two text contents are the same, the door opening authority authentication is confirmed to be passed, namely, the visitor corresponding to the user voice is confirmed to have the door opening authority, and if the two text contents are different, the door opening authority authentication is not passed.
According to the method, the intelligent door lock acquires the door opening password from the server, and when the voice of the user of the visitor is acquired, the door opening permission of the visitor can be authenticated based on the door opening password, so that the authentication efficiency is improved.
In a second possible implementation manner, the method for authenticating the door opening permission of the user voice by the intelligent door lock based on the door opening password corresponding to the intelligent door lock includes: sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment; and when receiving an authentication passing message returned by the server based on the door opening authority authentication request, confirming that the door opening authority authentication passes.
The method can be used for solving the problem that a server does not send a door opening password to an intelligent door lock, the intelligent door lock can send collected user voice to the server, the server performs door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock, specifically, the server can perform voice recognition on the user voice and the door opening password respectively to obtain text content corresponding to the user voice and text content corresponding to the door opening password, then the two text contents are compared, if the two text contents are the same, the door opening authority authentication is confirmed to be passed, an authentication passing message is returned to the intelligent door lock, and the intelligent door lock can confirm that the door opening authority authentication is passed after receiving the authentication passing message. The collected voice of the user of the visitor is sent to the server to carry out door opening permission authentication, and the functional requirements on the intelligent door lock can be reduced.
For the case that the server sends the validity period of the door opening password to the smart door lock, in one possible implementation, the smart door lock may receive the validity period of the door opening password from the server before collecting the user voice. Correspondingly, after the intelligent door lock collects the voice of the user, whether the current time is in the valid period of the door opening password or not can be judged, and when the current time is in the valid period of the door opening password, the step of performing door opening authority authentication on the voice of the user based on the door opening password corresponding to the intelligent door lock is executed. If the current time exceeds the validity period of the door opening password, the intelligent door lock can output prompt information for prompting that the door opening password is invalid. The door opening authority authentication is carried out on the user voice collected in the validity period, so that the visitor can be ensured to open the door only by using the door opening password in the validity period of the door opening password, and the safety is improved.
505. When the door opening authority is authenticated, the intelligent door lock executes door opening operation.
The intelligent door lock can execute door opening operation when confirming that the visitor passes the door opening authority authentication, otherwise, the intelligent door lock can not execute the door opening operation. Aiming at the condition that the user does not pass the door opening authority authentication, the intelligent door lock can prompt the user to input the door opening password again, and if the user voices collected by the intelligent door lock for many times do not pass the door opening authority authentication, the intelligent door lock can prompt the user that the times reach the upper limit, and the user needs to wait for a period of time and then input the door opening password again.
506. The intelligent door lock sends an interaction request of door opening information to the server, the interaction request is used for indicating the server to send the door opening information to the intelligent equipment, the door opening information comprises a door opening state of the intelligent door lock and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
The intelligent door lock can carry the door opening information in the interaction request of the door opening information and send the door opening information to the server.
For the door opening state in the door opening information, if the door opening operation is executed through the door opening authority authentication, the intelligent door lock can generate the door opening state used for indicating the successful door opening, and if the door opening authority authentication is not passed, the door opening operation is not executed, the intelligent door lock can generate the door opening state used for indicating the door opening failure.
Aiming at visitor information in the door opening information, the intelligent door lock can capture videos or pictures when the visitor opens the door through the camera module.
507. And after receiving the interactive request of the door opening information, the server sends the door opening information to the intelligent equipment.
After receiving the interactive request of the door opening information, the server can acquire the door opening information from the interactive request and send the door opening information to the intelligent device.
508. And when the door opening information of the intelligent door lock is received from the server, the intelligent equipment reminds according to a target reminding mode.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, the reminding is performed according to a target reminding manner, and the method includes at least one of the following steps: when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice; when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to vibrate; and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
After receiving the information of opening the door, the intelligent device can output reminding voice through the loudspeaker of the intelligent device, can control the vibrator of the intelligent device to vibrate, and can also control the reminding indicator lamp of the intelligent device to emit light. The intelligent device prompts the user through voice, vibration or light, so that the user can check the door opening information in time.
In a possible implementation manner, when the door opening information of the intelligent door lock is received from the server, the intelligent device is controlled to emit light, including: when the door opening information of the intelligent door lock is received from the server, the reminding indicating lamp of the intelligent equipment is controlled to emit light with a first color and in a flashing state.
The light with the first color and in the flashing state is used for indicating that the visitor uses the door opening password at present.
The warning pilot lamp of smart machine can be in different states under the circumstances of difference, and it has the visitor to open the door to express when receiving the information of opening the door, and then smart machine can control and remind the pilot lamp to send out red scintillation's light for the user sees this light, can learn to have the visitor to open the door at present.
In one possible implementation manner, before the receiving of the door opening information of the intelligent door lock from the server, the method further includes: and controlling a reminding indicator lamp of the intelligent equipment to emit light with the first color and in a non-flashing state.
The light with the first color and in the non-flashing state is used for indicating that the door opening password is set currently.
After the intelligent equipment sets the door opening password, the reminding indicator lamp can be controlled to emit red light, so that a user can know that the door opening password corresponding to the intelligent door lock is set currently by seeing the light.
In one possible implementation manner, before the obtaining of the door opening password corresponding to the smart door lock, the method further includes: and controlling the reminding indicator lamp of the intelligent equipment to emit light of a second color.
And the light with the second color is used for indicating that the door opening password is not set currently.
Before the intelligent equipment sets the door opening password, the reminding indicating lamp can be controlled to emit green light, so that a user can know that the door opening password corresponding to the intelligent door lock is not set currently by seeing the green light.
509. And when a viewing event of the door opening information is detected, the intelligent equipment displays the door opening information.
The viewing event refers to an event requesting to view door opening information.
In one possible implementation, the detecting of the viewing event of the door opening information includes any one of: acquiring a fifth voice, wherein the fifth voice is used for requesting to check the door opening information; and detecting the viewing operation of the door opening information.
The user can trigger the viewing event of the door opening information in a voice mode, and can also trigger the viewing event of the door opening information in a manual operation mode, so that the flexibility of viewing the door opening information is improved.
The intelligent device provided by the embodiment of the application can also provide a timing reminding function, and in a possible implementation mode, the intelligent device displays a timing reminding setting interface; acquiring a target time point and a target event through the timing reminding setting interface; and when the current time is monitored to reach the target time point, reminding the target event. In another possible implementation manner, the intelligent device acquires a fifth voice, and the fifth voice is used for requesting a target event set at a target time point for reminding; and when the current time is monitored to reach the target time point, reminding the target event. The user can set the timed reminding task in a voice mode or a manual operation mode on the interface, so that the intelligent device can remind the user to do something at a target time point, and the functions of the intelligent device are enriched. The intelligent device may adopt a reminding mode similar to that of step 508 to remind the target event, including modes of voice, vibration, light, etc., which are not described herein again.
In this method embodiment, the steps related to the smart device side may be implemented separately as a device control method for the smart device side, the steps related to the smart door lock side may be implemented separately as a device control method for the smart door lock side, and the steps related to the server side may be implemented separately as a device control method for the server side.
The intelligent equipment provided by the embodiment of the application provides a voice interaction mode for facilitating user interaction. When the user goes out or is inconvenient to open the door during sleep and rest, the user can conveniently use the intelligent equipment to set a door opening password, if an effective password in a certain time period is set, the intelligent equipment is communicated and interacted with a rear-end server and an intelligent door lock to complete door opening authorization, so that a visitor with permission can open the door through the password. When the visitor uses the password to open the door, the door opening information of the visitor can be fed back to the intelligent equipment, the intelligent equipment can prompt the user through voice, vibration and light, and the user can browse pictures and videos for the visitor to open the door. The intelligent equipment also has a reminding function, a user can set a certain time point to remind of doing something, and when the time is up, the intelligent equipment can remind the user through voice, vibration and light. The interactive process that the user authorizes the visitor to open the door through the intelligent device and the interactive process that the user sets the timing prompt through the intelligent device are more intuitively displayed through the fig. 8 and the fig. 9 respectively.
Referring to fig. 8, fig. 8 is an interaction flowchart for authorizing a visitor to open a door according to an embodiment of the present application, and as shown in fig. 8, a user sets a door opening password corresponding to an intelligent door lock through an intelligent device, where the door opening password is valid only within a certain period of time, and the user notifies the visitor of the password. The intelligent equipment interacts with the back-end server, the door opening password is sent to the back-end server, and the back-end server sends the door opening password to the intelligent door lock. And after the visitor arrives, the visitor is authenticated and opened through the door opening password. The intelligent door lock captures videos and pictures of the door opened by the visitor, the door opening state and the videos and pictures of the door opened by the visitor are sent to the rear-end server, and the rear-end server sends the door opening information to the intelligent equipment. The intelligent device reminds the user through voice, vibration and light, and the user can check the door opening state and videos and pictures of opening doors of visitors through the intelligent device.
Referring to fig. 9, fig. 9 is an interaction flowchart of a timed reminder provided in an embodiment of the present application, as shown in fig. 9, a user may set a timed reminder task on an intelligent device, the intelligent device starts a timer, monitors whether a time point of the timed reminder is reached at intervals (e.g., 10 seconds), and reminds the user through voice, vibration, or light if the time point is reached.
According to the method provided by the embodiment of the application, the door opening password corresponding to the intelligent door lock is obtained through the intelligent equipment, the setting request of the door opening password is sent to the server, the server can control the intelligent door lock to carry out door opening authority authentication based on the door opening password, door opening operation is carried out when the door opening authority authentication is passed, and further when door opening information including a door opening state and visitor information is received, reminding is carried out according to a target reminding mode. By the technical scheme, the user can set the door opening password of the intelligent door lock through the intelligent equipment, so that the visitor can open the door by using the password, the door opening information can be fed back to the intelligent equipment, the user is reminded, and the interaction with the user is increased while the convenience of opening the door is improved.
Fig. 10 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application. Referring to fig. 10, the apparatus includes:
the obtaining module 1001 is used for obtaining a door opening password corresponding to the intelligent door lock;
the sending module 1002 is configured to send a setting request of the door opening password to a server, where the setting request is used to instruct the server to control the smart door lock to perform door opening permission authentication based on the door opening password, and execute a door opening operation when the smart door lock passes the door opening permission authentication;
the reminding module 1003 is used for reminding according to a target reminding mode when door opening information of the intelligent door lock is received from the server, wherein the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
In one possible implementation, the obtaining module is configured to:
when first voice is collected, the first voice is sent to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock;
when second voice returned by the server based on the first voice is received, outputting the second voice, wherein the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock;
and when the third voice is collected, taking the third voice as a door opening password corresponding to the intelligent door lock.
In one possible implementation, the obtaining module is configured to:
displaying a door opening password setting interface;
and acquiring a door opening password corresponding to the intelligent door lock through the door opening password setting interface.
In one possible implementation, the setting request of the door-opening password carries the validity period of the door-opening password;
the obtaining module is also used for obtaining the valid period of the door opening password corresponding to the intelligent door lock.
In one possible implementation, the obtaining module is configured to:
outputting a fourth voice which is used for prompting the setting of the validity period of the door opening password;
and when the fifth voice is collected, carrying out voice recognition on the fifth voice, and taking the time information obtained by recognition as the valid period of the door opening password.
In one possible implementation, the obtaining module is configured to:
displaying a validity period input control;
and acquiring the time information input in the validity period input control as the validity period corresponding to the door opening password.
In one possible implementation, the reminder module is to perform at least one of:
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice;
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to vibrate;
and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
In one possible implementation, the reminder module is to:
when the door opening information of the intelligent door lock is received from the server, the reminding indicating lamp of the intelligent equipment is controlled to emit light with a first color and in a flashing state.
In one possible implementation, the reminder module is further configured to:
and controlling a reminding indicator lamp of the intelligent equipment to emit light with the first color and in a non-flashing state.
In one possible implementation, the reminder module is further configured to:
and controlling the reminding indicator lamp of the intelligent equipment to emit light of a second color.
In one possible implementation, the apparatus further includes:
and the display module is used for displaying the door opening information when a viewing event of the door opening information is detected.
Fig. 11 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application. Referring to fig. 11, the apparatus includes:
the authentication module 1101 is used for performing door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock when the user voice is acquired;
the door opening module 1102 is configured to execute a door opening operation when the door opening authority authentication is passed;
the sending module 1103 is configured to send an interaction request of door opening information to the server, where the interaction request is used to instruct the server to send the door opening information to the smart device, where the door opening information includes a door opening state of the smart door lock and visitor information, and the visitor information includes at least one of a video or a picture of a visitor.
In one possible implementation, the apparatus further includes:
and the receiving module is used for receiving the door opening password corresponding to the intelligent door lock from the server, and the door opening password is sent to the server by the intelligent equipment.
In one possible implementation, the authentication module is to:
acquiring text content corresponding to the user voice and text content corresponding to the door opening password;
and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
In one possible implementation, the receiving module is further configured to receive a validity period of the door opening password from the server, where the validity period of the door opening password is sent to the server by the smart device;
the authentication module is used for executing the step of carrying out door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock when the current time is within the validity period of the door opening password.
In one possible implementation, the authentication module is to:
sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment;
and when receiving an authentication passing message returned by the server based on the door opening authority authentication request, confirming that the door opening authority authentication passes.
It should be noted that: in the device control apparatus provided in the above embodiment, only the division of the above functional modules is illustrated when the device is controlled, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the device control apparatus and the device control method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 1200 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 1201 and one or more memories 1202, where the memory 1202 stores at least one program code, and the at least one program code is loaded and executed by the processors 1201 to implement the methods provided by the foregoing method embodiments. Of course, the electronic device may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, there is also provided a computer readable storage medium, such as a memory, storing at least one program code, which is loaded and executed by a processor, to implement the device control method in the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A device control method is applied to an intelligent device, and comprises the following steps:
acquiring a door opening password corresponding to the intelligent door lock;
sending a setting request of the door opening password to a server, wherein the setting request is used for indicating the server to control the intelligent door lock to perform door opening authority authentication based on the door opening password and execute door opening operation when the intelligent door lock passes the door opening authority authentication;
when the door opening information of the intelligent door lock is received from the server, reminding is carried out according to a target reminding mode, the door opening information comprises a door opening state and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
2. The method of claim 1, wherein obtaining the door opening password corresponding to the smart door lock comprises:
when first voice is collected, the first voice is sent to the server, and the first voice is used for requesting to set a door opening password corresponding to the intelligent door lock;
when second voice returned by the server based on the first voice is received, outputting the second voice, wherein the second voice is used for prompting to set a door opening password corresponding to the intelligent door lock;
and when third voice is collected, taking the third voice as a door opening password corresponding to the intelligent door lock.
3. The method of claim 1, wherein obtaining the door opening password corresponding to the smart door lock comprises:
displaying a door opening password setting interface;
and acquiring the door opening password corresponding to the intelligent door lock through the door opening password setting interface.
4. The method of claim 1, wherein the setting request of the door opening password carries a validity period of the door opening password;
before the sending the setting request of the door opening password to the server, the method further comprises:
and acquiring the validity period of the door opening password corresponding to the intelligent door lock.
5. The method according to claim 1, wherein when the door opening information of the intelligent door lock is received from the server, the reminding is performed according to a target reminding mode, and the method comprises at least one of the following steps:
when door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to output reminding voice;
when door opening information of the intelligent door lock is received from the server, controlling the intelligent equipment to vibrate;
and when the door opening information of the intelligent door lock is received from the server, the intelligent equipment is controlled to emit light.
6. The method according to claim 1, wherein after the reminding is performed in a target reminding manner when the door opening information of the intelligent door lock is received from the server, the method further comprises:
and when the viewing event of the door opening information is detected, displaying the door opening information.
7. An equipment control method is characterized by being applied to an intelligent door lock, and comprises the following steps:
when user voice is collected, carrying out door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock;
when the door opening authority passes the authentication, the door opening operation is executed;
and sending an interactive request of door opening information to the server, wherein the interactive request is used for indicating the server to send the door opening information to the intelligent equipment, the door opening information comprises the door opening state of the intelligent door lock and visitor information, and the visitor information comprises at least one of videos or pictures of visitors.
8. The method of claim 7, wherein prior to the capturing of the user speech, the method further comprises:
receiving a door opening password corresponding to the intelligent door lock from the server, wherein the door opening password is sent to the server by the intelligent equipment;
based on the password that opens the door that intelligent door lock corresponds, to user's pronunciation carry out the authority authentication that opens the door, include:
acquiring text content corresponding to the user voice and text content corresponding to the door opening password;
and when the text content corresponding to the user voice is the same as the text content corresponding to the door opening password, confirming that the authentication passes the door opening authority.
9. The method of claim 8, wherein prior to the capturing of the user speech, the method further comprises:
receiving the validity period of the door opening password from the server, wherein the validity period of the door opening password is sent to the server by the intelligent device;
after the collecting the user voice, the method further comprises:
and when the current time is within the validity period of the door opening password, executing a step of performing door opening authority authentication on the user voice based on the door opening password corresponding to the intelligent door lock.
10. The method of claim 7, wherein the authenticating the door opening authority of the user voice based on the door opening password corresponding to the intelligent door lock comprises:
sending a door opening authority authentication request to a server based on the user voice, wherein the door opening authority authentication request is used for requesting the server to perform door opening authority authentication on the user voice based on a door opening password corresponding to the intelligent door lock, and the door opening password is sent to the server by intelligent equipment;
and when an authentication passing message returned by the server based on the door opening authority authentication request is received, confirming that the door opening authority authentication passes.
11. An apparatus for controlling a device, the apparatus comprising a plurality of functional modules for performing the method for controlling a device according to any one of claims 1 to 10.
12. An electronic device, comprising one or more processors and one or more memories having at least one program code stored therein, the at least one program code being loaded and executed by the one or more processors to implement the device control method of any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that at least one program code is stored therein, which is loaded and executed by a processor, to implement the device control method according to any one of claims 1 to 10.
CN202010203304.3A 2020-03-20 2020-03-20 Device control method, device and storage medium Pending CN111524258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010203304.3A CN111524258A (en) 2020-03-20 2020-03-20 Device control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010203304.3A CN111524258A (en) 2020-03-20 2020-03-20 Device control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111524258A true CN111524258A (en) 2020-08-11

Family

ID=71900915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010203304.3A Pending CN111524258A (en) 2020-03-20 2020-03-20 Device control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111524258A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203271329U (en) * 2013-02-05 2013-11-06 深圳市伊莱贝尔智能科技有限公司 Electronic lock with voice navigation function
CN204791242U (en) * 2015-07-21 2015-11-18 吴志华 Intelligence lock system
CN107293004A (en) * 2017-05-11 2017-10-24 合肥中科奔巴科技有限公司 A kind of finger vena identification intelligent gate control system
CN108320752A (en) * 2018-01-26 2018-07-24 青岛易方德物联科技有限公司 Cloud Voiceprint Recognition System and its method applied to community gate inhibition
CN110415406A (en) * 2019-07-24 2019-11-05 上海征晨信息科技有限公司 A kind of double nets are mutual to monitor security intelligent door lock system for speech recognition
CN110428519A (en) * 2019-04-30 2019-11-08 图正(无锡)研究院有限公司 A kind of low-power consumption multifunctional intellectual hotel lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203271329U (en) * 2013-02-05 2013-11-06 深圳市伊莱贝尔智能科技有限公司 Electronic lock with voice navigation function
CN204791242U (en) * 2015-07-21 2015-11-18 吴志华 Intelligence lock system
CN107293004A (en) * 2017-05-11 2017-10-24 合肥中科奔巴科技有限公司 A kind of finger vena identification intelligent gate control system
CN108320752A (en) * 2018-01-26 2018-07-24 青岛易方德物联科技有限公司 Cloud Voiceprint Recognition System and its method applied to community gate inhibition
CN110428519A (en) * 2019-04-30 2019-11-08 图正(无锡)研究院有限公司 A kind of low-power consumption multifunctional intellectual hotel lock
CN110415406A (en) * 2019-07-24 2019-11-05 上海征晨信息科技有限公司 A kind of double nets are mutual to monitor security intelligent door lock system for speech recognition

Similar Documents

Publication Publication Date Title
CN106850648B (en) Identity verification method, client and service platform
WO2018113526A1 (en) Face recognition and voiceprint recognition-based interactive authentication system and method
US20190104340A1 (en) Intelligent Terminal Control Method and Intelligent Terminal
KR101884291B1 (en) Display apparatus and control method thereof
EP2631843A2 (en) Method and system for authenticating user of a mobile device via hybrid biometics information
EP3992962A1 (en) Voice interaction method and related device
CN103577737A (en) Mobile terminal and automatic authority adjusting method thereof
CN108986245A (en) Work attendance method and terminal based on recognition of face
CN111489464A (en) Identity verification method and device, electronic equipment and computer readable storage medium
CN103617385A (en) Terminal and method for unlocking screen
US9928399B2 (en) Non-contact palmprint authentication method, device and mobile terminal
CN109067628A (en) Sound control method, control device and the intelligent appliance of intelligent appliance
CN113386129B (en) Service robot and safety interaction device
CN109729400A (en) Apparatus control method, device, equipment and storage medium based on sound
CN114860187A (en) Intelligent voice equipment control method and device, computer equipment and storage medium
EP3249570A1 (en) Method and device for providing prompt indicating loss of terminal
CN110675539A (en) Identity verification method and device, electronic equipment and storage medium
CN110166726A (en) A kind of video conference terminal and system of self-identifying user
CN111131702A (en) Method and device for acquiring image, storage medium and electronic equipment
CN111223219A (en) Identity recognition method and storage medium
CN112399239A (en) Video playing method and device
CN109032554A (en) A kind of audio-frequency processing method and electronic equipment
CN106469269B (en) A kind of method, apparatus and terminal of Password Management
CN212160784U (en) Identity recognition device and entrance guard equipment
CN110557596B (en) Conference system

Legal Events

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

Application publication date: 20200811

RJ01 Rejection of invention patent application after publication