CN109976236B - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN109976236B
CN109976236B CN201910388417.2A CN201910388417A CN109976236B CN 109976236 B CN109976236 B CN 109976236B CN 201910388417 A CN201910388417 A CN 201910388417A CN 109976236 B CN109976236 B CN 109976236B
Authority
CN
China
Prior art keywords
information
target equipment
query result
user identity
user
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.)
Active
Application number
CN201910388417.2A
Other languages
Chinese (zh)
Other versions
CN109976236A (en
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 Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910388417.2A priority Critical patent/CN109976236B/en
Publication of CN109976236A publication Critical patent/CN109976236A/en
Application granted granted Critical
Publication of CN109976236B publication Critical patent/CN109976236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The invention provides a device control method and device. The method comprises the following steps: identifying the received sound signal to obtain the user identity; obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity; acquiring information of target equipment corresponding to the first query result; and playing the interactive sound corresponding to the target equipment by using the first query result and the information of the target equipment. The embodiment of the invention can change the passive instruction receiving of the equipment into the active instruction playing request, thereby improving the interactivity of the equipment.

Description

Equipment control method and device
Technical Field
The invention relates to the technical field of intelligent control, in particular to a device control method and device.
Background
The intelligent control is a control mode with intelligent information processing, intelligent information feedback and intelligent control decision, is a high-level stage of control theory development, and is mainly used for solving the control problem of a complex system which is difficult to solve by using a traditional method. With the development of electronic technology, intelligent control is gradually applied to more and more fields, such as manufacturing, automobiles, home furnishing, and the like.
Nowadays, the technology of the internet of things also meets the period of generation and rapid development, and the internet of things is combined with the life of people, so that a great deal of convenience is brought to the life.
The Internet of things and intelligent control have wide development prospects in the fields of families, offices, individuals and society. . The method can be applied to various controlled devices, and improves the comfort, convenience and flexibility of the controlled devices.
Voice queries and responses are one way of intelligent control. In the prior art, the intelligent equipment passively receives inquiry, can not actively communicate with a user, and can not meet the requirement on the intelligence of the equipment in an ideal state.
Disclosure of Invention
The embodiment of the invention provides a device control method and device, which are used for solving one or more technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides an apparatus control method, including:
obtaining a user identity;
obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity;
acquiring information of target equipment corresponding to the first query result;
and playing the interactive sound corresponding to the target equipment by using the first query result and the information of the target equipment.
In an embodiment of the present invention, playing an interactive sound corresponding to the target device by using the first query result and the information of the target device includes:
acquiring the working state of the target equipment according to the information of the target equipment;
generating interactive sound for controlling the target equipment according to the working state and the first query result;
and playing the interactive sound.
In one embodiment of the invention, the method further comprises:
obtaining a second query result according to the slot position information of the user attribute corresponding to the user identity;
acquiring information of the target equipment corresponding to the second query result;
and playing the interactive sound corresponding to the target equipment by using the second query result and the information of the target equipment.
In one embodiment of the invention, the method further comprises:
identifying a first target device from the received sound signal;
determining a second target device associated with the first target device;
inquiring the working state of second target equipment to obtain a third inquiry result;
and transmitting the interactive sound according to the third inquiry result.
In one embodiment of the invention, the method further comprises:
inquiring the working state of the target equipment according to the acquired environmental information to obtain a fourth inquiry result;
playing interactive sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
In an embodiment of the present invention, when the environment information includes a geographical location, querying an operating state of the home appliance according to the acquired environment information includes:
inquiring corresponding temperature, humidity or air quality parameters of the geographic position;
and inquiring the working state of the target equipment according to the temperature, humidity or air quality parameters.
In an embodiment of the present invention, before obtaining the user identity, the method further includes:
establishing a user identity according to the voiceprint information of the user;
storing slot position information corresponding to the user identity;
the slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
In an embodiment of the present invention, after playing an interactive sound corresponding to the target device by using the first query result and the information of the target device, the method further includes:
and updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
In a second aspect, the present invention provides an apparatus control device comprising:
the user identity acquisition module is used for acquiring the user identity;
the behavior habit query module is used for obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity;
the first target equipment information acquisition module is used for acquiring the information of the target equipment corresponding to the first query result;
and the first interaction module is used for playing the interaction sound corresponding to the target equipment by utilizing the first query result and the information of the target equipment.
In one embodiment of the present invention, the first target device information acquiring module includes:
the working state acquisition unit is used for acquiring the working state of the target equipment according to the information of the target equipment;
the interactive sound production unit is used for generating interactive sound for controlling the target equipment according to the working state and the first query result;
and the interactive sound playing unit is used for playing the interactive sound.
In one embodiment of the present invention, the apparatus further comprises:
the user attribute query module is used for obtaining a second query result according to the slot position information of the user attribute corresponding to the user identity;
the second target device information acquisition module is used for acquiring the information of the target device corresponding to the second query result;
and the second interaction module is used for playing the interaction sound corresponding to the target equipment by utilizing the second query result and the information of the target equipment.
In one embodiment of the present invention, the apparatus further comprises:
the first target device identification module is used for identifying a first target device from the received sound signal;
a second target device determination module to determine a second target device associated with the first target device;
the associated equipment working state query module is used for querying the working state of the second target equipment to obtain a third query result;
and the third interactive module is used for sending interactive sound according to the third query result.
In one embodiment of the present invention, the apparatus further comprises:
the environment information query module is used for querying the working state of the target equipment according to the acquired environment information to obtain a fourth query result;
the fourth interaction module is used for playing interaction sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
In one embodiment of the present invention, when the environment information includes a geographical location, the environment information query module includes:
the geographical position information inquiry unit is used for inquiring the temperature, humidity or air quality parameters corresponding to the geographical position;
and the target equipment working state query unit is used for querying the working state of the target equipment according to the temperature, humidity or air quality parameters.
In one embodiment of the present invention, the apparatus further comprises:
the user identity establishing module is used for establishing the user identity according to the voiceprint information of the user;
the slot position information storage module is used for storing slot position information corresponding to the user identity;
the slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
In one embodiment of the present invention, the apparatus further comprises:
and the slot position information updating module is used for updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
The functions of the device can be realized by hardware, and can also be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the apparatus structurally includes a processor and a memory, the memory is used for storing a program supporting the apparatus to execute the search result presentation method, and the processor is configured to execute the program stored in the memory. The apparatus may also include a communication interface for communicating with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions for a search result presentation apparatus, which includes a program for executing the apparatus control method.
One of the above technical solutions has the following advantages or beneficial effects: the equipment can actively send out inquiry or interactive sound from the passive receiving of the instruction, the interactivity between the equipment and the user is improved, and the use effect and experience of the equipment are improved.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 shows a flowchart of an apparatus control method according to an embodiment of the present invention.
Fig. 2 shows a flowchart of a device control method according to an embodiment of the present invention.
Fig. 3 shows a flowchart of a device control method according to an embodiment of the present invention.
Fig. 4 is a diagram illustrating an application example of the device control method according to the embodiment of the present invention.
Fig. 5 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention.
Fig. 6 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention.
Fig. 7 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention.
Fig. 8 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Fig. 1 shows a flowchart of an apparatus control method according to an embodiment of the present invention. As shown in fig. 1, the device control method may specifically include:
and step S11, obtaining the user identity.
And step S12, obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity.
And step S13, acquiring the information of the target device corresponding to the first query result.
Step S14: and playing the interactive sound corresponding to the target equipment by using the first query result and the information of the target equipment.
In the embodiment of the invention, the user identity is obtained by identifying the received sound signal or identifying the voiceprint in the received sound signal, converting the sound signal into the electric signal and obtaining the voiceprint information. Because the voiceprint is specific, the voice signals of different users can be distinguished by identifying the received voice signals, so that the identity of the user can be determined.
The user identity is obtained, and the unique characteristic for distinguishing the user identity can be identified in other ways, so that the user identity is obtained.
The slot information of the behavior habit corresponding to the user identity may include rule information extracted from a record of the user using the device. For example, if the user 1 uses the device a more, after the user identity is identified, the first query result obtained from the slot information of the behavior habit of the user identity indicates that the user 1 is used to use the device a, and it is determined that the device a is the target device. The user 2 uses more B devices, after the user identity of the user 2 is recognized, the first query structure knowledge slot position information of the behavior habit of the user identity is obtained, the user 2 is used to the B devices, and the B devices are determined to be target devices.
In the embodiment of the invention, after the user identity is acquired, the slot position information of the behavior habit of the user can be inquired, and then the interactive sound about the target equipment is played according to the slot position information of the behavior habit of the user. Therefore, passive receiving instructions can be changed into active inquiry, and the experience of using the equipment is improved.
The target device may be one device, or may include more than one device. For example, the user 3 is used to use the C device and the D device, and the C device and the D device are determined to be target devices according to the slot position information of the behavior habit of the user 3.
The equipment control method provided by the embodiment of the invention can be applied to the field of intelligent home. For example, it can be applied to smart speakers. The intelligent sound box is a product of sound box upgrading, and can control intelligent household equipment, such as opening a curtain, setting the temperature of a refrigerator, warming a water heater in advance and the like. The smart speaker is generally able to passively receive the query, and execute a corresponding instruction according to the query. When the device control method provided by the embodiment of the invention is applied to an intelligent sound box, a sound receiving device of the sound box, such as a microphone assembly, can receive a sound signal, and an interactive sound corresponding to a target device can be sent through a sound sending device of the sound box, such as a loudspeaker assembly.
For example, according to the slot position information of the behavior habit, the user 2 sends out a sound signal for starting the B device for multiple times, and after obtaining the first query result, the B device is determined to be the target device. And when the B device is in the closed state, playing interactive sound and inquiring whether to start the B device.
The interaction sound corresponding to the target device may be an inquiry voice about the target device, for example, the first query result indicates that the user 1 is used to turn on the a device. After the acquired information of the device A, the interactive sound can be played: "is the a device turned on? "
In one example, before obtaining the information of the target device corresponding to the first query result, the method further includes: and receiving a sound signal and executing an instruction corresponding to the sound signal.
And after the latest instruction of the user is executed, operating the equipment in the instruction, updating the working state of the equipment, and then acquiring the information of the target equipment corresponding to the first query result.
In one embodiment, playing an interactive sound corresponding to the target device by using the first query result and the information of the target device includes:
acquiring the working state of the target equipment according to the information of the target equipment;
acquiring whether the interactive sound for controlling the target equipment is acquired according to the first query result and the working state;
and playing the interactive sound.
For example, the interactive sound may be generated at the cloud and then sent to the speaker for playing.
In one example, obtaining the operating state of the target device includes:
acquiring the on-off state of target equipment;
and when the switch state indicates that the target equipment is in the opening state, acquiring the running state of the target equipment.
The working state of the target device may include an on state of the target device, an operating state of the target device, and the like. The operation state of the target device may further include an operation mode and an operation range of the target device. For example, the target device is a television. And acquiring the on-off state of the television according to the first query result. If the television is in the on state, the channel where the television is located can be obtained. For another example, the target device is an air conditioner, and when the air conditioner is in an on state, acquiring the operating state of the air conditioner includes: refrigerating, 20 ℃. For another example, the target device is a refrigerator, and when the refrigerator is in an open state, acquiring the operation state of the refrigerator includes: and freezing the 2 nd grade.
The operation state of the target device may vary depending on the kind of the target device. For example, the target device is a television, and the user is used to start the television to watch the C television station at 8 pm, and the slot information of the behavior habit represents that the user watches the C television station at 8 pm. And acquiring the working state of the television according to the slot position information. And if the television is in the starting state, further acquiring the running state of the television, including the channel information of the television and the like. If the channel information of the television indicates that the television does not play the television station C after 8 o' clock in the evening, generating interactive sound: "is the television set tuned to the C station? "
As another example, the target device is a television, and the slot information of the user attribute indicates that the user is a young person, such as a child. And acquiring the working state of the television after the slot position information is acquired. And if the television is in the starting state, further acquiring the running state of the television, including the channel information of the television and the like. Then generating an interactive sound: "is the television set tuned to at least a few channels? "
In one embodiment, as shown in fig. 2, the method further comprises:
step S21: and obtaining a second query result according to the slot position information of the user attribute corresponding to the user identity.
Step S22: and acquiring the information of the target equipment corresponding to the second query result.
Step S23: and playing the interactive sound corresponding to the target equipment by using the second query result and the information of the target equipment.
The user attributes may include the age, gender, etc. of the user. The tendency to use the device may be different in the case of different user attributes.
For example, users of different ages and sexes have different requirements and trends in using household appliances in the field of smart home. For example, the elderly are used to turn the volume up when watching television; children like to watch channels of children, etc. When the second query result indicates that the user is the elderly, the target devices which can be acquired comprise a television, an air conditioner, an air purifier and the like. And playing the interactive sound corresponding to the target equipment by using the second query result and the information of the target equipment. For example: "is you your television set tuned to the elderly channel? "," is you turning on the air conditioner? "," do you turn on the purifier for you? "and the like.
In one example, playing an interactive sound corresponding to the target device by using the second query result and the information of the target device includes:
acquiring the working state of the target equipment according to the information of the target equipment;
generating interactive sound for controlling the target equipment according to a second query result and the working state;
and playing the interactive sound.
In one embodiment, the method further comprises:
identifying a first target device from the received sound signal;
determining a second target device associated with the first target device;
inquiring the working state of second target equipment to obtain a third inquiry result;
and transmitting the interactive sound according to the third inquiry result.
In the embodiment of the present invention, the association relationship between the first target device and the second target device may be preset, or may be determined according to the definition of the device. For example, air purifiers and air humidifiers are devices that perform some type of treatment on air. When the sound signal indicates that the air purifier is turned on, it is determined that the device associated with the air purifier includes an air humidifier. Inquiring the working state of the air humidifier, and if the air humidifier is in a closed state, the interactive information may be: "is the air humidifier turned on? "
In one embodiment, the method further comprises:
inquiring the working state of the target equipment according to the acquired environmental information to obtain a fourth inquiry result;
playing interactive sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
In one example, if the environmental information is temperature, the operating state of the device related to the temperature is queried accordingly. It may be an inquiry about the operating state of the air conditioner. And when the air conditioner is in an opening state, inquiring the running mode and the set temperature of the air conditioner. For example, the acquired environment information is: the temperature was 30 ℃. And inquiring the working state of the air conditioner to obtain an inquiry result of the closing of the air conditioner. According to the environment information, the air conditioner is judged to be in an open state, the working state of the air conditioner which is actually inquired is a closed state, and interactive sound can be played: "does the air conditioner turn on or off by detecting a temperature of 30? "
In one embodiment, when the environment information includes a geographical location, querying an operating state of the home appliance according to the environment information includes:
inquiring corresponding temperature, humidity or air quality parameters of the geographic position;
and inquiring the working state of the target equipment according to the temperature, humidity or air quality parameters.
In one example, if the air quality parameter corresponding to the current geographic location is queried to indicate that the air quality is heavily polluted, the operating state of the air purifier is queried. And if the humidity value corresponding to the current geographical position is too low, inquiring the working state of the humidifier. And if the air temperature corresponding to the current geographical position is too high, inquiring the working state of the air conditioner.
In one embodiment, before obtaining the user identity, as shown in fig. 3, the method further includes:
step S31: and establishing the user identity according to the voiceprint information of the user.
Step S32: and storing slot position information corresponding to the user identity.
The slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
In one example, when the user uses the system for the first time, voiceprint information is extracted according to voice information, and the user identity is newly established. The slot information corresponding to the user identity may include slot information of behavior habits corresponding to the user identity and slot information of user attributes corresponding to the user identity. Before using the device, the user attribute may be obtained based on the recognized voiceprint information, and slot position information of the user attribute may be stored. After the user uses the equipment for the first time, the slot position information of the behavior habit can be established and stored.
In one embodiment, after playing the interactive sound corresponding to the target device by using the first query result and the information of the target device, the method further includes:
and updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
In particular embodiments, the behavior habits of using the device may vary according to the user's needs. According to the embodiment of the invention, the slot position information is updated according to the acquired response information, so that the behavior habit changes of the user can be continuously learned and updated.
The embodiment of the invention can be applied to the field of intelligent home. In an example, the device control method provided by the embodiment of the present invention may be applied to a smart speaker, and receive a sound signal or send an interactive sound through a sound transceiver of the smart speaker.
In an example, the device control method provided by the embodiment of the present invention may also be applied to a cloud of a smart home, where the sound transceiver of the smart speaker or other household appliances with sound transceiving functions receive a sound signal or send an interactive sound.
In an application example, the device control method according to the embodiment of the present invention may be implemented by matching a sound box with a cloud server.
As shown in fig. 4, the device control method may determine whether to control the smart device based on the user identity, which is a device active interaction scheme. The intelligent sound box does not need active inquiry of the user, and related Internet of things product services can be automatically pushed to the user based on judgment. The method specifically comprises the following steps:
inquiring slot position information of behavior habits corresponding to the user identity through the cloud 41 to obtain a first inquiry result; and playing the interactive sound according to the first query result.
The slot position information of the behavior habit corresponding to the user identity records the control conditions of the user on each piece of equipment in the home networking, such as the cleaning frequency, the cleaning time and the cleaning mode of the sweeper 42; the time, frequency of turning on and off of the air cleaner 43; the temperature set by the air conditioner 49, and the outdoor temperature; the on-state of the humidifier 44, the on-state behavior of the television 45, and the like; different user identities can be created for different users based on the voiceprints, and user behaviors are recorded and uploaded to the slot position information database 47 of behavior habits of the corresponding user identities. The slot information of the user attribute corresponding to the user identity is stored in the slot information database 48 of the user attribute. The slot information database 47 for behavior habit and the slot information 48 for user attribute can store information of a plurality of users.
And the interactive sound can be actively inquired according to set conditions, and the intelligent sound box 46 plays the interactive sound according to the inquiry result. Smart speaker 46 is capable of playing and receiving audio signals.
The cloud 41 receives the information of each device in the family, and obtains the operating status and the environmental status of each device in the family, specifically, whether each device is turned on or off, humidity information, temperature information, channel information of the television 45, and the like.
The active query mode comprises the following steps: inquiring the working state of the associated equipment, inquiring the operation of other users on the equipment in a set area range, inquiring a risk value in an environment index, inquiring the working state of the set equipment in a timing manner, inquiring the abnormal threshold value of the working state of the equipment and inquiring the user attribute. The following is an example of the examination of each active query approach.
In one example, the query of the operating status of the associated device may be that when the user queries a device service, such as querying indoor air quality, the cloud detects the operating status of other devices, obtains the operating status of the associated device, and plays the interactive sound according to the operating status. For example, the received sound signal is: "asking for how much the indoor air quality is? ". A general air cleaner has an air quality detecting mechanism. Based on the sound signal, the operating state of the air purifier is checked. The obtained result indicates that the indoor air quality is good, the working state of the air conditioner associated with the air purifier is checked, and then the interactive sound is played according to the working state of the air conditioner closed: "is the indoor air quality good, but it is detected whether the air conditioner is turned on to 26 degrees if the indoor temperature is 23 degrees? "
In an example, the operation of other users on the device within the set area range is queried, and the regional behavior of the user is judged and recorded. Regional behavior refers to the behavior of other users in a certain region in the common operation of the equipment, such as when the temperature suddenly decreases, the user has the behavior of turning on the air conditioner for heating, and when the PM2.5 is increased suddenly, the user in a certain region has the requirement of turning on the air purifier at the same time. The machine may determine whether the behavior is regional behavior and make a recommendation to the user. When regional inspection is performed, the current position of the user can be inspected, the environmental information in the region is acquired through the network, and then the working state of the relevant equipment is inspected according to the environmental information. When performing the regional check, it is also possible to check that other users in the area where the user is currently located use the device. For example, when PM2.5 is proliferating, most other users in the area where the user is located turn on the air purifier, and according to this query result, play the interactive sound: "detect PM2.5 surge, surrounding users have turned on the air purifier, the current indoor PM2.5 index is 120, is turned on to purify air? ". The received feedback sound signal is yes. According to the sound signal, the air purifier is started, and a sound signal report is played: "air purifier has been turned on for you".
In one example, querying the risk value in the environmental index refers to making a determination of certain indices in the indoor environment, such as temperature, humidity, air quality, and the like. And if the related parameters exceed the risk expectation, giving a prompt to prompt a user to perform related operations so as to enable the environment index to be in a safe state. For example, through the temperature detection device, the query result of the over-temperature is obtained, and according to the query result, the interactive sound is played: "does you detect that the current temperature is 30 degrees, has exceeded the comfort temperature of 26 degrees, does you turn on the air conditioner to cool down? The received feedback sound signal is 'yes', and according to the feedback sound signal, the operation of starting the air conditioner is executed.
In one example, the working state of the device is set by timing query, which means that relevant parameters are checked within a certain time period to obtain a query result, and if a problem is detected, interactive sound is automatically played to give relevant suggestion information. For example, air quality is detected once over a twenty-four hour period. The received sound signal is: "how do the weather today? ", according to the query result, play interactive sound" today weather is 25 degrees, detect that you have not turned on air today, turn on for you? "
In one example, before obtaining the first query result according to the slot information of the behavior habit corresponding to the user identity, the method further includes: and acquiring the user identity through one of face recognition, iris recognition or fingerprint recognition. Therefore, the slot position information of the behavior habit corresponding to the user identity can be actively inquired under the condition that the user does not send out the sound signal. For example, at night, the user is accustomed to turning on the television and tuning to the designated station, the machine can record the user's habits and play interactive sound: "do you detect that you watch the conutus at 7 pm every day, and need i turn on the television and turn on the conutus content for you now automatically? ", to push the relevant service for the user for the specified period of time.
In one example, the abnormal query of the device working state threshold refers to that when the value set by the user is obviously deviated from the standard value, an interactive sound is emitted to give an alarm prompt. This query may be performed based on the actual operating state of the device or based on a received acoustic signal. For example, the received sound signal is: "please help me adjust the air conditioner temperature to 30 degrees", according to this sound signal, broadcast the interactive sound: "determine if you adjust the temperature to 30 degrees, the temperature is significantly higher, and adjust to 26 degrees for you to make you more comfortable? "
In one example, the user attribute query refers to providing internet of things device recommendations according to habits of different users when the users interact with each other, recording preferences of each user, and pushing targeted services for the users, and the users can be distinguished through face recognition besides voiceprints in received sound signals.
Fig. 5 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention. As shown in fig. 5, the apparatus may include:
a user identity obtaining module 51, configured to obtain a user identity;
the behavior habit query module 52 is configured to obtain a first query result according to the slot position information of the behavior habit corresponding to the user identity;
a first target device information obtaining module 53, configured to obtain information of a target device corresponding to the first query result;
and a first interaction module 54, configured to play an interaction sound corresponding to the target device by using the first query result and the information of the target device.
In one embodiment, the first target device information obtaining module includes:
the working state acquisition unit is used for acquiring the working state of the target equipment according to the information of the target equipment;
the interactive sound production unit is used for generating interactive sound for controlling the target equipment according to the working state and the first query result;
and the interactive sound playing unit is used for playing the interactive sound.
In one embodiment, as shown in fig. 6, the apparatus further comprises:
the user attribute query module 61 is configured to obtain a second query result according to the slot position information of the user attribute corresponding to the user identity;
a second target device information obtaining module 62, configured to obtain information of a target device corresponding to the second query result;
and a second interaction module 63, configured to play an interaction sound corresponding to the target device by using the second query result and the information of the target device.
In one embodiment, the apparatus further comprises:
the first target device identification module is used for identifying a first target device from the received sound signal;
a second target device determination module to determine a second target device associated with the first target device;
the associated equipment working state query module is used for querying the working state of the second target equipment to obtain a third query result;
and the third interactive module is used for sending interactive sound according to the third query result.
In one embodiment, the apparatus further comprises:
the environment information query module is used for querying the working state of the target equipment according to the acquired environment information to obtain a fourth query result;
the fourth interaction module is used for playing interaction sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
In one embodiment, when the environment information includes a geographical location, the environment information query module includes:
the geographical position information inquiry unit is used for inquiring the temperature, humidity or air quality parameters corresponding to the geographical position;
and the target equipment working state query unit is used for querying the working state of the target equipment according to the temperature, humidity or air quality parameters.
In one embodiment, as shown in fig. 7, the apparatus further comprises:
a user identity establishing module 71, configured to establish a user identity according to voiceprint information of the user;
a slot information storage module 72, configured to store slot information corresponding to the user identity;
the slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
In one embodiment, the apparatus further comprises:
and the slot position information updating module is used for updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
Fig. 8 shows a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention. As shown in fig. 8, the apparatus includes: a memory 910 and a processor 920, the memory 910 having stored therein computer programs operable on the processor 920. The processor 920 implements the method in the above embodiments when executing the computer program. The number of the memory 910 and the processor 920 may be one or more.
The device also includes:
and a communication interface 930 for communicating with an external device to perform data interactive transmission.
Memory 910 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 may complete communication with each other through an internal interface.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program is used for implementing the method of any one of the above embodiments when being executed by a processor.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (16)

1. An apparatus control method characterized by comprising:
obtaining a user identity;
obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity;
acquiring information of target equipment corresponding to the first query result;
playing interactive sound corresponding to the target equipment by using the first query result and the information of the target equipment;
playing the interactive sound corresponding to the target equipment by using the first query result and the information of the target equipment, wherein the playing comprises the following steps:
acquiring the working state of the target equipment according to the information of the target equipment;
acquiring whether the interactive sound for controlling the target equipment is acquired according to the working state and a first query result;
playing the interactive sound;
before the information of the target device corresponding to the first query result is acquired, the method further includes: and receiving a sound signal and executing an instruction corresponding to the sound signal.
2. The method of claim 1, further comprising:
obtaining a second query result according to the slot position information of the user attribute corresponding to the user identity;
acquiring information of the target equipment corresponding to the second query result;
and playing the interactive sound corresponding to the target equipment by using the second query result and the information of the target equipment.
3. The method of claim 1, further comprising:
identifying a first target device from the received sound signal;
determining a second target device associated with the first target device;
inquiring the working state of second target equipment to obtain a third inquiry result;
and transmitting the interactive sound according to the third inquiry result.
4. The method of claim 1, further comprising:
inquiring the working state of the target equipment according to the acquired environmental information to obtain a fourth inquiry result;
playing interactive sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
5. The method of claim 4, wherein when the environment information includes a geographical location, querying an operating state of the home appliance according to the acquired environment information comprises:
inquiring corresponding temperature, humidity or air quality parameters of the geographic position;
and inquiring the working state of the target equipment according to the temperature, humidity or air quality parameters.
6. The method of claim 1, prior to obtaining the user identity, further comprising:
establishing a user identity according to the voiceprint information of the user;
storing slot position information corresponding to the user identity;
the slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
7. The method of claim 1, wherein after playing the interactive sound corresponding to the target device using the first query result and the information of the target device, the method further comprises:
and updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
8. An apparatus control device, characterized by comprising:
the user identity acquisition module is used for acquiring the user identity;
the behavior habit query module is used for obtaining a first query result according to the slot position information of the behavior habit corresponding to the user identity;
the first target equipment information acquisition module is used for acquiring the information of the target equipment corresponding to the first query result;
the first interaction module is used for playing interaction sound corresponding to the target equipment by utilizing the first query result and the information of the target equipment;
the first target device information acquisition module includes:
the working state acquisition unit is used for acquiring the working state of the target equipment according to the information of the target equipment;
the interactive sound production unit is used for generating interactive sound for controlling the target equipment according to the working state and the first query result;
the interactive sound playing unit is used for playing the interactive sound;
before the first target device information obtaining module obtains the information of the target device corresponding to the first query result, the method further includes: and receiving a sound signal and executing an instruction corresponding to the sound signal.
9. The apparatus of claim 8, further comprising:
the user attribute query module is used for obtaining a second query result according to the slot position information of the user attribute corresponding to the user identity;
the second target device information acquisition module is used for acquiring the information of the target device corresponding to the second query result;
and the second interaction module is used for playing the interaction sound corresponding to the target equipment by utilizing the second query result and the information of the target equipment.
10. The apparatus of claim 8, further comprising:
the first target device identification module is used for identifying a first target device from the received sound signal;
a second target device determination module to determine a second target device associated with the first target device;
the associated equipment working state query module is used for querying the working state of the second target equipment to obtain a third query result;
and the third interactive module is used for sending interactive sound according to the third query result.
11. The apparatus of claim 8, further comprising:
the environment information query module is used for querying the working state of the target equipment according to the acquired environment information to obtain a fourth query result;
the fourth interaction module is used for playing interaction sound corresponding to the target equipment according to the environment information and a fourth query result;
the environmental information includes at least one of: temperature, humidity, air quality parameters, geographic location, other user's operations within a geographic location range.
12. The apparatus of claim 11, wherein when the environment information comprises a geographical location, the environment information query module comprises:
the geographical position information inquiry unit is used for inquiring the temperature, humidity or air quality parameters corresponding to the geographical position;
and the target equipment working state query unit is used for querying the working state of the target equipment according to the temperature, humidity or air quality parameters.
13. The apparatus of claim 8, further comprising:
the user identity establishing module is used for establishing the user identity according to the voiceprint information of the user;
the slot position information storage module is used for storing slot position information corresponding to the user identity;
the slot position information corresponding to the user identity comprises slot position information of behavior habits corresponding to the user identity and slot position information of user attributes corresponding to the user identity.
14. The apparatus of claim 8, further comprising:
and the slot position information updating module is used for updating the slot position information of the behavior habit corresponding to the user identity according to the acquired response information.
15. A household appliance control device, characterized by comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
16. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN201910388417.2A 2019-05-10 2019-05-10 Equipment control method and device Active CN109976236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910388417.2A CN109976236B (en) 2019-05-10 2019-05-10 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910388417.2A CN109976236B (en) 2019-05-10 2019-05-10 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN109976236A CN109976236A (en) 2019-07-05
CN109976236B true CN109976236B (en) 2021-04-30

Family

ID=67073415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910388417.2A Active CN109976236B (en) 2019-05-10 2019-05-10 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN109976236B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116721489B (en) * 2023-08-11 2023-10-13 南京财经大学 Intelligent lock control data processing method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442290A (en) * 2013-08-15 2013-12-11 安徽科大讯飞信息科技股份有限公司 Information providing method and system based on television terminal users and voices
CN104090553A (en) * 2014-06-27 2014-10-08 苏阳 Home furnishing intelligent control system with feedback function
CN107754212A (en) * 2016-08-16 2018-03-06 上海掌门科技有限公司 Road-work equipment and its virtual reality exchange method
CN106292322B (en) * 2016-09-13 2019-07-23 北京小米移动软件有限公司 Monitor the method and device of air quality
CN107672547B (en) * 2017-10-10 2020-09-18 新昌县捷庭科技有限公司 New energy automobile voice control method and device, mobile terminal and storage medium
CN107906676A (en) * 2017-11-08 2018-04-13 盛世乐居(亚东)智能科技有限公司 Intelligent sound controls the method and intelligent sound of air-conditioning
CN108563941A (en) * 2018-07-02 2018-09-21 信利光电股份有限公司 A kind of intelligent home equipment control method, intelligent sound box and intelligent domestic system

Also Published As

Publication number Publication date
CN109976236A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108181819B (en) Linkage control method, device and system for household electrical appliance and household electrical appliance
CN105700389B (en) Intelligent home natural language control method
CN105161099A (en) Voice-controlled remote control device and realization method thereof
CN110793167B (en) Air conditioner control method and device
CN112201233A (en) Voice control method, system and device of intelligent household equipment and computer storage medium
CN109448710B (en) Voice processing method and device, household appliance and storage medium electronic device
CN109976236B (en) Equipment control method and device
CN114755931A (en) Control instruction prediction method and device, storage medium and electronic device
CN112270926A (en) After-sale service method of environment adjusting equipment and after-sale service equipment
CA3162059A1 (en) Processing voice commands
CN109164713A (en) A kind of intelligent home furnishing control method and device
CN112102826A (en) System and method for controlling voice equipment multi-end awakening
CN108989894B (en) Method and device for playing television programs
CN111164678A (en) Control system
CN110285528B (en) Control method and device of air conditioner, air conditioner and household appliance
US20200084061A1 (en) System for monitoring and controlling device activity
CN111381507B (en) Recommendation method, medium, server and intelligent electrical appliance management system for electrical appliance operating parameters
JP6883451B2 (en) Servers, information processing methods, network systems, and terminals
CN117882130A (en) Terminal equipment and server for voice control
CN113568320A (en) Device control method and device, electronic device and computer-readable storage medium
CN112270927A (en) Intelligent interaction method based on environment adjusting equipment and intelligent interaction equipment
CN110793163B (en) Air conditioner configuration processing method and device
CN112781185A (en) Air conditioner, control method thereof, and computer-readable storage medium
WO2020024508A1 (en) Voice information obtaining method and apparatus
CN111183416A (en) Household appliance 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210510

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Patentee after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.