CN111273555B - Smart home control method and device, terminal and computer readable medium - Google Patents

Smart home control method and device, terminal and computer readable medium Download PDF

Info

Publication number
CN111273555B
CN111273555B CN202010048690.3A CN202010048690A CN111273555B CN 111273555 B CN111273555 B CN 111273555B CN 202010048690 A CN202010048690 A CN 202010048690A CN 111273555 B CN111273555 B CN 111273555B
Authority
CN
China
Prior art keywords
key
key parameters
parameters
setting
preset
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
CN202010048690.3A
Other languages
Chinese (zh)
Other versions
CN111273555A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010048690.3A priority Critical patent/CN111273555B/en
Publication of CN111273555A publication Critical patent/CN111273555A/en
Application granted granted Critical
Publication of CN111273555B publication Critical patent/CN111273555B/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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a control method of smart home, which comprises the following steps: receiving a control instruction; judging whether the number of first key parameters contained in the control instruction is not less than a preset number or not; if the number of first key parameters contained in the control instruction is smaller than a preset number, outputting setting reminding information aiming at second key parameters, and receiving setting reply information of a user until the sum of the number of the first key parameters and the number of second key parameters corresponding to the setting reply information is not smaller than the preset number, wherein the second key parameters are parameters except the first key parameters in the preset key parameters; and executing control processing according to the control instruction and the received setting reply information. According to the method and the system, the intelligent home comprises key parameters when guiding the user to reply the information, so that the intelligent home can make correct feedback on the reply of the user and execute the control instruction of the user.

Description

Smart home control method and device, terminal and computer readable medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a method, an apparatus, a terminal, and a computer-readable medium for controlling a smart home.
Background
With the development of science and technology, smart homes gradually enter families of people, and the voice control smart homes are in a great trend. The intelligent home is mainly characterized in that key parameters in a user control instruction are analyzed, then feedback is made according to the user control instruction, and if a user is unfamiliar with controlling the intelligent home and the control instruction does not contain the key parameters or contains the key parameters which are not complete, the intelligent home cannot execute the control instruction of the user and cannot make correct feedback.
Disclosure of Invention
An object of the embodiment of the application is to provide a method, a device, a terminal and a computer readable medium for controlling smart home, so as to solve the problem that the smart home cannot make feedback for a control instruction of a user. The specific technical scheme is as follows:
in a first aspect, a method for controlling smart home is provided, where the method includes:
receiving a control instruction;
judging whether the number of first key parameters contained in the control instruction is not less than a preset number or not;
if the number of first key parameters contained in the control instruction is smaller than a preset number, outputting setting reminding information aiming at second key parameters, and receiving setting reply information of a user until the sum of the number of the first key parameters and the number of second key parameters corresponding to the setting reply information is not smaller than the preset number, wherein the second key parameters are parameters except the first key parameters in the preset key parameters;
and executing control processing according to the control instruction and the received setting reply information.
Optionally, the method further includes:
and if the number of the first key parameters contained in the control instruction is not less than the preset number, executing control processing according to the control instruction.
Optionally, before receiving the control instruction, the method includes:
acquiring preset target parameters;
carrying out priority sequencing on the preset target parameters;
setting preset target parameters with preset numbers arranged in the sequence as key parameters, wherein the key parameters comprise the first key parameters and the second key parameters.
Optionally, before outputting the reminding information for setting the second key parameter, the method further includes:
acquiring historical reply information aiming at the second key parameter;
and generating set reminding information containing the second key parameters and the historical reply information.
Optionally, the outputting the setting reminding information for the second key parameter and receiving the setting reply information of the user includes:
when the number of the second key parameters is multiple, acquiring the priority of the preset second key parameters;
determining a second key parameter which needs to be set currently according to the sequence of the priority from high to low, and outputting a setting reminding message aiming at the second key parameter;
and when receiving the setting reply information aiming at the second key parameter, continuously outputting the setting reminding information corresponding to the next second key parameter.
Optionally, the method further includes:
when receiving the setting reply information aiming at the second key parameter, judging whether the number of the output setting reminding information reaches a preset number threshold value;
if the preset number threshold value is not reached, the step of continuously outputting the set reminding information corresponding to the next second key parameter is executed;
and if the preset number threshold is reached, executing the step of executing control processing according to the control instruction and the received setting reply information.
In a second aspect, a control device for smart home is provided, the device includes:
the receiving module is used for receiving a control instruction;
the judging module is used for judging whether the number of the first key parameters contained in the control instruction is not less than a preset number or not;
the output module is used for outputting setting reminding information aiming at second key parameters and receiving setting reply information of a user if the number of the first key parameters contained in the control instruction is smaller than a preset number, until the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number, wherein the second key parameters are parameters except the first key parameters in the preset key parameters;
and the execution module is used for executing control processing according to the control instruction and the received setting reply information.
Optionally, before receiving the control instruction, the method includes:
the acquisition module is used for acquiring preset target parameters;
the sorting module is used for carrying out priority sorting on the preset target parameters;
the setting module is configured to set a preset number of preset target parameters arranged in front in a sequence as key parameters, where the key parameters include the first key parameter and the second key parameter.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the method steps described herein when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out any of the method steps.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides a control method of an intelligent home, which is judged by the intelligent home, if a first key parameter contained in a control instruction is smaller than a preset threshold value, the intelligent home outputs a set reminding message aiming at a second key parameter, receives a set reply message of a user, and executes the control instruction until the sum of the number of the first key parameter and the number of the second key parameter corresponding to the set reply message is not smaller than the preset number. According to the method and the system, the intelligent home comprises key parameters when guiding the user to reply the information, so that the intelligent home can make correct feedback on the reply of the user and execute the control instruction of the user.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a control method for smart home provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for obtaining a key parameter according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for generating a set reminder message according to an embodiment of the present application;
fig. 4 is a flowchart of a method for outputting a set reminder message according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of an intelligent home provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a control method of an intelligent home, which can be applied to the intelligent home, such as an electric cooker, an air conditioner and the like, and is used for executing a control instruction of a user.
The following describes a control method for smart home provided in an embodiment of the present application in detail with reference to a specific implementation manner, and as shown in fig. 1, the specific steps are as follows:
step 101: and receiving a control instruction.
In this embodiment of the present application, when a user needs to control an intelligent home, a control instruction is sent to the intelligent home, and the intelligent home receives the control instruction sent by the user.
Step 102: and judging whether the number of the first key parameters contained in the control instruction is not less than a preset number.
In the embodiment of the application, after the smart home receives a control instruction sent by a user, the smart home first analyzes a first key parameter included in the control instruction, where the first key parameter refers to a control parameter for the smart home included in the control instruction of the user, and for example, the first key parameter is rice cooking, soup cooking, soft or hard, thick or thin.
The intelligent home has different functions and corresponding first key parameters, taking an electric cooker as an example, the functions of the electric cooker comprise cooking and soup cooking, and for the cooking function, the corresponding first key parameters are cooking, soft or hard; for the soup cooking function, the corresponding first key parameter is to cook soup, thick or thin.
After analyzing the first key parameters contained in the control command, the intelligent home acquires the number of the first key parameters, judges whether the number of the first key parameters is not less than a preset number, and executes step 103 if the intelligent home judges that the number of the first key parameters is less than the preset number; and if the intelligent home determines that the number of the first key parameters is not less than the preset number, the intelligent home executes the control instruction according to the first key parameters.
Step 103: if the number of the first key parameters contained in the control instruction is smaller than the preset number, outputting setting reminding information aiming at the second key parameters, and receiving setting reply information of a user until the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number.
The second key parameter is a parameter other than the first key parameter in the preset key parameters. The smart home obtains preset key parameters and first key parameters contained in the control command, and the smart home takes the parameters left after the first key parameters are removed from the preset key parameters as second key parameters.
In this embodiment of the application, the second key parameter included in the setting reminding information may be one parameter or a plurality of parameters.
The first method is as follows: and setting a second key parameter contained in the reminding information as a plurality of parameters.
If the intelligent home determines that the number of the first key parameters included in the control instruction is smaller than the preset number, the intelligent home cannot execute the control instruction, the intelligent home outputs setting reminding information aiming at a plurality of parameters in the second key parameters, after receiving the setting reminding information output by the intelligent home, the user replies, and the number of the parameters of the second key parameters corresponding to the setting reminding information of the user can be one or more.
After the smart home receives the setting reply information of the user, the smart home judges whether the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is not less than the preset number again. If the sum of the number of the first key parameters contained in the control instruction and the number of the corresponding second key parameters in the setting reply information is not less than the preset number, the intelligent home executes control processing aiming at the first key parameters in the control instruction according to the control instruction; if the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is smaller than the preset number, the intelligent home again outputs the setting reminding information until the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number.
For example, the predetermined number is 3, and the key parameters include rice cooking, soft or hard, short or oval rice or long rice. The control instruction received by the electric cooker is 'I want to cook rice', wherein 'cook rice' is a first key parameter, the number of the first key parameter contained in the control instruction is 1, the number of the first key parameter is smaller than a preset number, then the electric cooker can output setting reminding information 'you want to eat rice with soft mouthfeel or rice with hard mouthfeel', 'you place short rice, elliptical rice or long rice', the setting reminding information output by the electric cooker comprises two second key parameters 'soft or hard', 'short rice, elliptical rice or long rice', and a user answer can comprise two possibilities.
Firstly, the user answers ' i want to eat rice with soft taste ' long rice ', then the set reply information of the user contains two second key parameters, the electric cooker judges that the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters contained in the twice set reply information of the user is 3 and is not less than the preset number, and then the electric cooker executes corresponding actions according to the first key parameters ' cooking ' and the second key parameters ' soft ' and ' long rice '.
Secondly, the user answers that the user wants to eat rice with soft mouthfeel, the set reply information of the user contains a second key parameter, the electric cooker judges that the sum of the number of the first key parameter contained in the control instruction and the number of the second key parameter contained in the set reply information of the user is 2 and is smaller than the preset number, the electric cooker outputs the set reminding information again, namely that the rice type played by the user is short rice, elliptical rice or long rice, the user replies long rice, and the electric cooker acquires the second key parameter long rice contained in the set reply information of the user. And if the electric cooker judges that the sum of the number of the first key parameters contained in the control command and the number of the second key parameters contained in the two-time setting reply information of the user is 3 and is not less than the preset number, the electric cooker executes corresponding actions according to the first key parameters 'cooking' and the second key parameters 'soft' and 'long' respectively.
The second method comprises the following steps: and setting a second key parameter contained in the reminding information as a parameter.
If the intelligent home determines that the number of the first key parameters contained in the control instruction is smaller than the preset number, the intelligent home cannot execute the control instruction, the intelligent home outputs the setting reminding information aiming at one parameter in the second key parameters, and the user replies after receiving the setting reminding information output by the intelligent home.
After the smart home receives the setting reply information of the user, the smart home judges whether the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is not less than the preset number again. If the sum of the number of the first key parameters contained in the control instruction and the number of the corresponding second key parameters in the setting reply information is not less than the preset number, the intelligent home executes control processing aiming at the first key parameters in the control instruction according to the control instruction; if the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is smaller than the preset number, the intelligent home again outputs the setting reminding information until the sum of the number of the first key parameters contained in the control instruction and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number.
For example, the predetermined number is 3, and the key parameters include rice cooking, soft or hard, short or oval rice or long rice. The electric cooker receives a control instruction of 'i want to cook', wherein 'cook' is a first key parameter, the number of the first key parameter contained in the control instruction is 1, the number of the first key parameter is less than a preset number, the electric cooker outputs a set reminding message 'you want to eat rice with soft mouthfeel or rice with hard mouthfeel', the set reminding message output by the electric cooker contains a second key parameter 'soft or hard', a user makes a corresponding reply 'i want to eat rice with soft mouthfeel' after hearing the set reminding message of a terminal, the set reply message of the user contains the second key parameter 'soft', the electric cooker receives the set reply message of the user and obtains the second key parameter, the electric cooker judges that the sum of the number of the first key parameter contained in the control instruction and the number of the second key parameter contained in the reply set message of the user is 2, if the number of the rice cooker is less than the preset number, the rice cooker outputs a reminding message of setting whether the rice type put by the user is short rice, oval rice or long rice again, the user replies long rice, and the rice cooker acquires a second key parameter 'long rice' contained in the reply message set by the user. And if the electric cooker judges that the sum of the number of the first key parameters contained in the control command and the number of the second key parameters contained in the two-time setting reply information of the user is 3 and is not less than the preset number, the electric cooker executes corresponding actions according to the first key parameters 'cooking' and the second key parameters 'soft' and 'long' respectively.
Step 104: control processing is executed according to the control instruction and the received setting reply information.
In the embodiment of the application, the smart home executes corresponding control processing according to the first key parameter contained in the control command and the second key parameter contained in the received setting reply message.
Optionally, if the number of the first key parameters included in the control instruction is not less than the preset number, the control processing is executed according to the control instruction.
In the embodiment of the application, if the smart home determines that the number of the first key parameters included in the control instruction is not less than the preset number, the smart home may execute corresponding control processing according to the first key parameters included in the control instruction.
For example, the predetermined number is 3, and the key parameters include rice cooking, soft or hard, short or oval rice or long rice. The control instruction received by the electric cooker is 'I want to boil long rice with soft taste', the number of the first key parameters contained in the control instruction is 3, the number of the first key parameters is not less than the preset number, and then the electric cooker can directly execute control processing according to the control instruction.
Optionally, as shown in fig. 2, before receiving the control instruction, the method includes:
step 201: and acquiring preset target parameters.
In the embodiment of the application, the preset target parameters may be preset in the smart home, and the preset target parameters are all parameters corresponding to a certain function of the smart home.
Taking an electric cooker as an example, the cooking mode of the electric cooker comprises five preset target parameters: cooking rice, soft or hard, short or elliptical rice or long rice, time and long or glutinous rice or polished round-grained rice.
Step 202: and carrying out priority sequencing on the preset target parameters.
In the embodiment of the application, the smart home stores weights of all parameters in preset target parameters, the weights of the parameters are obtained by analyzing the degree of importance of a large number of users to the parameters, the smart home sets priorities of the target preset parameters according to the weights, wherein the preset target parameters with larger weights have higher priorities, and the smart home sorts the preset target parameters according to the sequence of the priorities from high to low.
Step 203: setting preset target parameters with preset numbers arranged in the sequence as key parameters, wherein the key parameters comprise a first key parameter and a second key parameter.
In the embodiment of the application, the smart home sets preset target parameters in a preset number arranged in the sequence as key parameters according to the arrangement sequence of the preset target parameters, wherein the key parameters include a first key parameter included in the control instruction and a second key parameter corresponding to the set reply information.
For example, the arrangement sequence of five preset target parameters of the rice cooking mode of the electric rice cooker is as follows: rice cooking, soft or hard, short rice or elliptical rice or long rice, time and long rice or glutinous rice or polished round-grained rice, the preset number is 3, then the electric rice cooker sets the first 3 preset target parameters in the sequence as key parameters, then the key parameters include: cooking, soft or hard, short or oval rice or long rice.
Optionally, as shown in fig. 3, before outputting the setting reminding information for the second key parameter, the method further includes:
step 301: and acquiring historical reply information aiming at the second key parameter.
In the embodiment of the application, each time the user replies the setting reminding information of the smart home, the smart home records the setting reply information of the user, analyzes the historical reply information of the user, records the reply information with the most times in the historical reply information, or records the reply contents of the latest times as the historical reply information of the user, the historical reply information of the user corresponds to the second key parameter, and the historical reply information of the user represents the habit of the user to a certain extent.
Step 302: and generating set reminding information containing the second key parameters and the historical reply information.
In the embodiment of the application, the smart home can determine the second key parameter according to the preset key parameter and the first key parameter included in the control instruction, and generates and outputs the setting reminding information including the second key parameter and the historical reply information, wherein the setting reminding information is used for reminding a user whether to set the second key parameter as the parameter in the historical reply information.
For example, the setting reminder information to be output by the smart home should include a second key parameter "soft or hard", and if the second key parameter corresponding to the history reply information obtained by the smart home from the user is "soft", the smart home may output "do you want to eat rice with a slightly soft mouthfeel", and if the user answers "yes", it indicates that the second key parameter corresponding to the setting reply information of the user is "soft"; if the user answers "no", it indicates that the second key parameter corresponding to the set reply information of the user is "hard", and the smart home can analyze the second key parameter contained in the reply information of the user.
Optionally, as shown in fig. 4, the number of the second key parameters included in the output setting reminding information is 1, and the method includes:
step 401: and when the number of the second key parameters is multiple, acquiring the preset priority of the second key parameters.
In the embodiment of the application, the smart home calculates the number of second key parameters according to the difference value between the preset key parameters and the first key parameters included in the control instruction, and if the number of the second key parameters is greater than 1 and the number of the second key parameters in the output setting reminding information of the smart home is 1, the smart home obtains the priority ranking of the preset second key parameters according to the priority ranking of the preset key parameters.
For example, the predetermined key parameter is prioritized as "rice cooked, soft or hard, short or elliptical rice or long rice", the first key parameter is "rice cooked", and the predetermined second key parameter is prioritized as "soft or hard, short or elliptical rice or long rice".
Step 402: and determining second key parameters which need to be set currently according to the sequence of the priorities from high to low, and outputting setting reminding information aiming at the second key parameters.
In the embodiment of the application, the smart home determines that the second key parameter with the highest priority, which is not output in the current second key parameter sequence, is the second key parameter to be set according to the sequence of the priorities of the second key parameters from high to low, and outputs the setting reminding information for the second key parameter.
For example, the preset second key parameter is ranked in priority as "soft or hard, short or elliptical rice or long rice", wherein the second key parameter with the highest priority that is not output is "soft or hard", then the smart home outputs a reminder message for "soft or hard", such as "you want to eat rice with a slightly soft mouthfeel or rice with a slightly hard mouthfeel".
The preset priority of the second key parameter is ranked to be 'soft or hard, short meter or elliptical meter or long meter', wherein the smart home already outputs the setting reminding information for 'soft or hard', then the second key parameter which needs to be set currently is 'short meter or elliptical meter or long meter', then the smart home outputs the setting reminding information for 'short meter or elliptical meter or long meter', for example, 'the meter type that you put is short meter, elliptical meter or long meter'.
Step 403: and when receiving the setting reply information aiming at the second key parameter, continuously outputting the setting reminding information corresponding to the next second key parameter.
In the embodiment of the application, after the smart home outputs the setting reminding information aiming at the second key parameter, the user replies according to the setting reminding information, the setting reply information of the user corresponds to the second key parameter, and the second key parameter is the same as the second key parameter aiming at the setting reminding information. When the smart home receives the setting reply information, if the smart home determines that the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is smaller than the preset number, the smart home continues to output the setting reminding information corresponding to the next second key parameters until the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number.
For example, the preset second key parameter is ranked in priority as "soft or hard, short or elliptical rice or long rice", the smart home outputs the setting reminder information as "you want to eat rice with a slightly soft mouthfeel or rice with a slightly hard mouthfeel", and the setting reminder information includes the second key parameter "soft or hard" with the highest priority that is not output. The user answers 'slightly soft', the smart home receives the setting reply information of the user, and judges that the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is smaller than a preset number, then the smart home can continue to output next setting reminding information 'whether the rice type put by the user is short rice, elliptical rice or long rice', and as 'soft or hard' in the second key parameters is output, the second key parameters with the highest priority level which are not output are 'short rice or elliptical rice' until the smart home judges that the sum of the number of the first key parameters and the number of the second key parameters corresponding to the setting reply information is not smaller than the preset number, then the smart home does not output the setting reminding information.
Optionally, the upper limit of the number of voice interactions may also be used, and the specific processing procedure is as follows: when receiving the setting reply information aiming at the second key parameter, judging whether the number of the output setting reminding information reaches a preset number threshold value; if the preset number threshold value is not reached, a step of continuously outputting the set reminding information corresponding to the next second key parameter is executed; and if the preset number threshold is reached, executing the step of controlling processing according to the control instruction and the received setting reply information.
In the embodiment of the application, under the condition that the repeated setting reply information of the user does not contain the second key parameter all the time, the smart home can always output the setting reminding information and perform useless interaction with the user. The intelligent home sets a preset number threshold value for the number of the output set reminding information, so that excessive useless interaction between the intelligent home and a user due to excessive times of the set reminding information output by the intelligent home is avoided. When the intelligent home receives the setting reply information aiming at the second key parameter, judging whether the number of the output setting reminding information reaches a preset number threshold value, if the intelligent home judges that the number of the setting reminding information does not reach the preset number threshold value, the intelligent home continues to output the setting reminding information corresponding to the next second key parameter; and if the intelligent home judges that the number of the set reminding information reaches the preset number threshold, the intelligent home executes control processing according to the control instruction and the received set reply information.
Based on the same technical concept, an embodiment of the present application further provides a control device for smart home, as shown in fig. 5, the device includes:
a receiving module 501, configured to receive a control instruction;
a first determining module 502, configured to determine whether a number of first key parameters included in the control instruction is not less than a preset number;
an output module 503, configured to output a setting reminding message for a second key parameter if the number of first key parameters included in the control instruction is smaller than a preset number, and receive a setting reply message of a user until a sum of the number of the first key parameters and a number of second key parameters corresponding to the setting reply message is not smaller than the preset number, where the second key parameters are parameters other than the first key parameters in the preset key parameters;
a first executing module 504, configured to execute a control process according to the control instruction and the received setting reply information.
Optionally, the apparatus further comprises:
and the second execution module is used for executing control processing according to the control instruction if the number of the first key parameters contained in the control instruction is not less than a preset number.
Optionally, before receiving the control instruction, the method includes:
the first acquisition module is used for acquiring preset target parameters;
the sorting module is used for carrying out priority sorting on the preset target parameters;
the setting module is configured to set a preset number of preset target parameters arranged in front in a sequence as key parameters, where the key parameters include the first key parameter and the second key parameter.
Optionally, before outputting the reminding information for setting the second key parameter, the method further includes:
the second acquisition module is used for acquiring historical reply information aiming at the second key parameter;
and the generating module is used for generating the set reminding information containing the second key parameters and the historical reply information.
Optionally, the output module 503 includes:
the acquiring unit is used for acquiring the priority of the preset second key parameter when the number of the second key parameters is multiple;
the first output unit is used for determining second key parameters which need to be set currently according to the sequence of the priorities from high to low, and outputting setting reminding information aiming at the second key parameters;
and the second output unit is used for continuously outputting the setting reminding information corresponding to the next second key parameter when receiving the setting reply information aiming at the second key parameter.
Optionally, the apparatus further comprises:
the second judging module is used for judging whether the number of the output set reminding information reaches a preset number threshold value or not when the set reply information aiming at the second key parameter is received;
the third execution module is used for executing the step of continuously outputting the setting reminding information corresponding to the next second key parameter if the preset number threshold value is not reached;
and a fourth executing module, configured to execute the step of executing control processing according to the control instruction and the received setting reply information if a preset number threshold is reached.
The embodiment of the application provides a control method of an intelligent home, which is judged by the intelligent home, if a first key parameter contained in a control instruction is smaller than a preset threshold value, the intelligent home outputs a set reminding message aiming at a second key parameter, receives a set reply message of a user, and executes the control instruction until the sum of the number of the first key parameter and the number of the second key parameter corresponding to the set reply message is not smaller than the preset number. According to the method and the system, the intelligent home comprises key parameters when guiding the user to reply the information, so that the intelligent home can make correct feedback on the reply of the user and execute the control instruction of the user.
Based on the same technical concept, an embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the above method steps when executing the program stored in the memory 603.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication 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, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In a further embodiment provided by the present invention, there is also provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of any of the methods described above.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A control method of smart home is characterized by comprising the following steps:
receiving a control instruction;
judging whether the number of first key parameters contained in the control instruction is not less than a preset number or not;
if the number of first key parameters contained in the control instruction is smaller than a preset number, outputting setting reminding information for second key parameters, and receiving setting reply information of a user until the sum of the number of the first key parameters and the number of second key parameters corresponding to the setting reply information is not smaller than the preset number, wherein the second key parameters are parameters except the first key parameters in the preset key parameters, and the second key parameters contained in the setting reminding information can be one parameter or a plurality of parameters;
executing control processing according to the control instruction and the received setting reply information;
wherein, before outputting the setting reminding information aiming at the second key parameter, the method further comprises:
acquiring historical reply information aiming at the second key parameter;
generating set reminding information containing the second key parameters and the historical reply information;
wherein, the outputting the setting reminding information aiming at the second key parameter and receiving the setting reply information of the user comprises:
when the number of the second key parameters is multiple, acquiring the priority of the preset second key parameters;
determining a second key parameter which needs to be set currently according to the sequence of the priority from high to low, and outputting a setting reminding message aiming at the second key parameter;
when receiving the setting reply information aiming at the second key parameter, continuously outputting the setting reminding information corresponding to the next second key parameter;
wherein, after receiving the setting reply information for the second key parameter, the method further comprises:
judging whether the number of the output set reminding information reaches a preset number threshold value or not;
if the preset number threshold value is not reached, a step of continuously outputting the set reminding information corresponding to the next second key parameter is executed;
if the preset number threshold is reached, executing the step of executing control processing according to the control instruction and the received setting reply information;
wherein, before receiving the control instruction, the method includes:
acquiring preset target parameters;
carrying out priority sequencing on the preset target parameters;
setting preset target parameters with preset numbers arranged in the sequence as key parameters, wherein the key parameters comprise the first key parameters and the second key parameters.
2. The method of claim 1, further comprising:
and if the number of the first key parameters contained in the control instruction is not less than the preset number, executing control processing according to the control instruction.
3. The method of claim 1, further comprising:
when receiving the setting reply information aiming at the second key parameter, judging whether the number of the output setting reminding information reaches a preset number threshold value;
if the preset number threshold value is not reached, the step of continuously outputting the set reminding information corresponding to the next second key parameter is executed;
and if the preset number threshold is reached, executing the step of executing control processing according to the control instruction and the received setting reply information.
4. The utility model provides a controlling means of intelligence house which characterized in that, the device includes:
the receiving module is used for receiving a control instruction;
the judging module is used for judging whether the number of the first key parameters contained in the control instruction is not less than a preset number or not;
an output module, configured to output a setting reminding message for a second key parameter if the number of first key parameters included in the control instruction is smaller than a preset number, and receive a setting reply message of a user until a sum of the number of the first key parameters and a number of second key parameters corresponding to the setting reply message is not smaller than the preset number, where the second key parameters are parameters other than the first key parameters in the preset key parameters, and the second key parameters included in the setting reminding message may be one parameter or multiple parameters;
the execution module is used for executing control processing according to the control instruction and the received setting reply information;
wherein the apparatus is further configured to:
acquiring historical reply information aiming at the second key parameter;
generating set reminding information containing the second key parameters and the historical reply information;
wherein the output module is configured to:
when the number of the second key parameters is multiple, acquiring the priority of the preset second key parameters;
determining a second key parameter which needs to be set currently according to the sequence of the priority from high to low, and outputting a setting reminding message aiming at the second key parameter;
when receiving the setting reply information aiming at the second key parameter, continuously outputting the setting reminding information corresponding to the next second key parameter;
wherein the apparatus is further configured to:
judging whether the number of the output set reminding information reaches a preset number threshold value or not;
if the preset number threshold value is not reached, a step of continuously outputting the set reminding information corresponding to the next second key parameter is executed;
if the preset number threshold is reached, executing the step of executing control processing according to the control instruction and the received setting reply information;
wherein the apparatus is further configured to:
acquiring preset target parameters;
carrying out priority sequencing on the preset target parameters;
setting preset target parameters with preset numbers arranged in the sequence as key parameters, wherein the key parameters comprise the first key parameters and the second key parameters.
5. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 3 when executing a program stored in the memory.
6. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 3.
CN202010048690.3A 2020-01-16 2020-01-16 Smart home control method and device, terminal and computer readable medium Active CN111273555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010048690.3A CN111273555B (en) 2020-01-16 2020-01-16 Smart home control method and device, terminal and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010048690.3A CN111273555B (en) 2020-01-16 2020-01-16 Smart home control method and device, terminal and computer readable medium

Publications (2)

Publication Number Publication Date
CN111273555A CN111273555A (en) 2020-06-12
CN111273555B true CN111273555B (en) 2021-09-14

Family

ID=70997271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010048690.3A Active CN111273555B (en) 2020-01-16 2020-01-16 Smart home control method and device, terminal and computer readable medium

Country Status (1)

Country Link
CN (1) CN111273555B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338924A (en) * 2016-09-23 2017-01-18 广州视源电子科技股份有限公司 Method and device for automatically adjusting equipment operation parameter threshold
WO2017020212A1 (en) * 2015-08-02 2017-02-09 李强生 Method and remote controller for recognizing household electrical-appliance remote controller according to voice
CN106952645A (en) * 2017-03-24 2017-07-14 广东美的制冷设备有限公司 The recognition methods of phonetic order, the identifying device of phonetic order and air-conditioner
CN108880961A (en) * 2018-07-19 2018-11-23 广东美的厨房电器制造有限公司 Appliances equipment control method and device, computer equipment and storage medium
CN109212997A (en) * 2018-11-19 2019-01-15 合肥龙多电子科技有限公司 A kind of intelligent appliance management system
CN110099421A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of signal processing method, device and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108130683A (en) * 2017-12-21 2018-06-08 迪尔阿扣基金两合公司 A kind of household electrical appliance and the method for running household electrical appliance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020212A1 (en) * 2015-08-02 2017-02-09 李强生 Method and remote controller for recognizing household electrical-appliance remote controller according to voice
CN106338924A (en) * 2016-09-23 2017-01-18 广州视源电子科技股份有限公司 Method and device for automatically adjusting equipment operation parameter threshold
CN106952645A (en) * 2017-03-24 2017-07-14 广东美的制冷设备有限公司 The recognition methods of phonetic order, the identifying device of phonetic order and air-conditioner
CN108880961A (en) * 2018-07-19 2018-11-23 广东美的厨房电器制造有限公司 Appliances equipment control method and device, computer equipment and storage medium
CN109212997A (en) * 2018-11-19 2019-01-15 合肥龙多电子科技有限公司 A kind of intelligent appliance management system
CN110099421A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of signal processing method, device and terminal device

Also Published As

Publication number Publication date
CN111273555A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN103995716B (en) A kind of terminal applies startup method and terminal
US10547618B2 (en) Method and apparatus for setting access privilege, server and storage medium
TWI761642B (en) Method, device and electronic device for determining decision-making strategy corresponding to business
CN110825957A (en) Deep learning-based information recommendation method, device, equipment and storage medium
CN109960650B (en) Big data-based application program evaluation method, device, medium and electronic equipment
CN106874416A (en) Seniority among brothers and sisters list generation method and ranking list single generating device
CN111241292A (en) Menu recommendation method and device, electronic equipment and storage medium
CN113238508A (en) Cooking reminding method and device
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN113535987B (en) Linkage rule matching method and related device
CN111273555B (en) Smart home control method and device, terminal and computer readable medium
CN112883275B (en) Live broadcast room recommendation method, device, server and medium
CN113468737A (en) Water temperature control method and device, water heater, electronic equipment and storage medium
CN111429920B (en) User distinguishing method, user behavior library determining method, device and equipment
CN111427660B (en) Method and device for scheduling uploading machine
CN111048126B (en) Menu broadcasting method, storage medium and electronic device
CN112579682A (en) Data model change notification method and device, electronic device and storage medium
CN116226666A (en) Rule conflict detection method and device, electronic equipment and readable storage medium
CN116224812A (en) Intelligent device control method and device and electronic device
CN111901425B (en) CDN scheduling method and device based on Pareto algorithm, computer equipment and storage medium
CN113395336A (en) Mode recommendation method and device, electronic equipment and storage medium
CN111415191A (en) User classification method and device, electronic equipment and storage medium
CN112581954B (en) High-matching voice interaction method and intelligent device
CN110134361B (en) Volume adjusting method of device, computer device and computer-readable storage medium
CN113439253B (en) Application cleaning method and device, storage medium and electronic equipment

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