CN110414014B - Voice equipment control method and device, storage medium and voice equipment - Google Patents

Voice equipment control method and device, storage medium and voice equipment Download PDF

Info

Publication number
CN110414014B
CN110414014B CN201910718245.0A CN201910718245A CN110414014B CN 110414014 B CN110414014 B CN 110414014B CN 201910718245 A CN201910718245 A CN 201910718245A CN 110414014 B CN110414014 B CN 110414014B
Authority
CN
China
Prior art keywords
language
interactive
voice
setting
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
CN201910718245.0A
Other languages
Chinese (zh)
Other versions
CN110414014A (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
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910718245.0A priority Critical patent/CN110414014B/en
Publication of CN110414014A publication Critical patent/CN110414014A/en
Application granted granted Critical
Publication of CN110414014B publication Critical patent/CN110414014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a voice device control method, a device, a storage medium and a voice device, wherein the method comprises the following steps: acquiring a first language used by a region where the voice equipment is located currently; acquiring a second language currently used by a control client of the voice equipment; and setting the interactive language of the voice equipment according to the first language and the second language. The scheme provided by the invention can meet the use requirements of people in different regions and different languages on the voice equipment to a greater extent.

Description

Voice equipment control method and device, storage medium and voice equipment
Technical Field
The present invention relates to the field of voice devices, and in particular, to a method and an apparatus for controlling a voice device, a storage medium, and a voice device.
Background
At present, an intelligent air conditioner is popular among people, and voice equipment produced in a certain country meets the requirements of people in the country and also needs to meet the requirements of international customers. The voice equipment produced in one country can only support one language at present, and is not suitable for people in other countries.
Disclosure of Invention
The present invention is to overcome the above-mentioned drawbacks of the prior art, and provide a method and an apparatus for controlling a speech device, a storage medium, and a speech device, so as to solve the problem that the speech device in the prior art can only support one language.
One aspect of the present invention provides a method for controlling a voice device, including: acquiring a first language used by a region where the voice equipment is located currently; acquiring a second language currently used by a control client of the voice equipment; and setting the interactive language of the voice equipment according to the first language and the second language.
Optionally, setting an interaction language of the voice device according to the first language and the second language includes: judging whether the first language is consistent with the second language; if the first language is judged to be consistent with the second language, setting the first language as the interactive language of the voice equipment; if the first language is judged to be inconsistent with the second language, a first confirmation request is sent to the control client; and setting the first language or the second language as the interactive language of the first confirmation information of the interactive language according to the confirmation returned by the control client.
Optionally, before setting the first language as the current interactive language of the speech device, the method further includes: sending a second confirmation request to the control client to confirm whether the first language is set as the interactive language of the voice device; and if second confirmation information which confirms that the first language is set as the interactive language of the voice equipment is received, the first language is set as the interactive language of the voice equipment.
Optionally, the method further comprises: when voice interaction is carried out with a user, if the fact that a third language used by the user is inconsistent with the interactive language of the voice equipment is detected, a third confirmation request is sent to the control client side to confirm whether the interactive language is switched to the third language or not; if third confirmation information which confirms that the interactive language is switched to the third language and is returned by the control client is received, switching the interactive language of the voice equipment to the third language; and/or receiving setting information which is sent by the control client and sets a fourth language as the interactive language of the voice equipment; setting the fourth language as an interactive language of the voice device based on the setting information.
Another aspect of the present invention provides a voice device control apparatus, including: the first acquisition unit is used for acquiring a first language used by the area where the voice equipment is located; a second obtaining unit, configured to obtain a second language currently used by a control client of the voice device; and the setting unit is used for setting the interactive language of the voice equipment according to the first language and the second language.
Optionally, the setting unit includes: a judging subunit, configured to judge whether the first language and the second language are consistent; a sending subunit, configured to send a first confirmation request to the control client if the determining subunit determines that the first language is inconsistent with the second language; the setting subunit is used for setting the first language or the second language as first confirmation information of the interactive language according to the confirmation returned by the control client to set the interactive language of the voice equipment; and/or if the judging subunit judges that the first language is consistent with the second language, setting the first language as the interactive language of the voice equipment.
Optionally, the method further comprises: a receiving subunit, the transmitting subunit further configured to: before the setting subunit sets the first language as the current interactive language of the voice device, sending a second confirmation request to the control client to confirm whether the first language is set as the interactive language of the voice device; the receiving subunit is configured to receive second confirmation information, which is returned by the control client and used to confirm whether to set the first language as the interactive language of the voice device; the setting subunit is further configured to: and if the receiving subunit receives second confirmation information which is returned by the control client and confirms that the first language is set as the interactive language of the voice equipment, the receiving subunit sets the first language as the interactive language of the voice equipment.
Optionally, the method further comprises: the detection unit is used for detecting whether a third language used by a user is consistent with an interactive language of the voice equipment or not when voice interaction is carried out with the user; a confirming unit, configured to send a third confirmation request to the control client to confirm whether to switch the current interactive language to the third language if the detecting unit detects that the third language used by the user is inconsistent with the interactive language; the first receiving unit is used for receiving third confirmation information which is returned by the control client and used for confirming whether the interactive language is switched to the third language or not; the setting unit is further configured to: if the receiving unit receives third confirmation information which is returned by the control client and confirms that the interactive language is switched to the third language, the interactive language of the voice equipment is switched to the third language; and/or the second receiving unit is used for receiving the setting information which is sent by the control client and used for setting the fourth language as the interactive language of the voice equipment; the setting unit is further configured to: setting the fourth language as an interactive language of the voice device based on the setting information.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
A further aspect of the invention provides a speech device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the program.
The invention further provides a voice device, which comprises any one of the voice device control device.
According to the technical scheme of the invention, the interactive language of the voice equipment is set according to the first language used in the current region and the second language used by the control client of the voice equipment, the interactive language of the voice equipment can be automatically set under the condition that the two languages are consistent, and a user can set the language used in the region as the interactive language of the voice equipment or set the language used by the user as the interactive language of the voice equipment according to the requirement of the user under the condition that the two languages are inconsistent. The use of the voice equipment by people in different regions and different languages is met to a greater extent. According to the technical scheme of the invention, under the condition that the first language used in the current region and the second language used by the control client of the voice equipment are not the interactive language which the user wants to set, the user can set the interactive language of the voice equipment through the control client. According to the technical scheme of the invention, when the fact that the language used by the user is inconsistent with the interactive language of the voice equipment is detected, the interactive language can be switched to the language used by the user according to the user requirement, and the user experience is improved. According to the technical scheme of the invention, the limitation of the voice interaction language of the voice equipment can be reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a voice device control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a voice device control method according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a speech device control apparatus provided in the present invention;
FIG. 4 is a schematic diagram of an embodiment of a setup unit according to an embodiment of the invention;
FIG. 5 is a schematic diagram of another embodiment of a setup unit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another embodiment of the speech device control apparatus provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a voice device control method. The voice device is a device with a voice interaction function, and may specifically include an intelligent household appliance with a voice interaction function, such as an air conditioner, a refrigerator, and the like with a voice interaction function. The method can be implemented on a mainboard of the voice device, such as a mainboard of an air conditioner.
Fig. 1 is a schematic method diagram of an embodiment of a voice device control method provided by the present invention. As shown in fig. 1, according to an embodiment of the present invention, the voice device control method includes at least step S110, step S120, and step S130.
Step S110, acquiring a first language used by the current region where the voice device is located.
Specifically, position information of the current position of the voice device is obtained, and the area where the voice device is located is determined according to the position information, so that the first language used by the area where the voice device is located is obtained. More specifically, after the voice device is powered on, the positioning system may perform positioning to obtain the position information of the current position of the voice device, and the region where the voice device is located, for example, the country, the city, and the like, may be determined according to the position information, so as to obtain the first language used in the region. A voice device master (e.g., a motherboard) records the retrieved first language.
Step S120, acquiring a second language currently used by the control client of the voice device.
Specifically, information of a currently used second language transmitted by a control client of the voice device may be received. The language currently used by the control client is set by the user according to the habit of the user, that is, the language generally used by the user, for example, the language of the country to which the user belongs or the dialect of the region in which the user is located. The control client is installed in a user terminal (e.g., a mobile phone or a tablet computer) and used for controlling an application program of the voice device, such as a mobile phone APP. Specifically, the language currently used by the operation interface, that is, the second language currently used by the control client may be extracted by the control client and sent to the main control of the voice device (for example, the main board of the voice device).
Step S130, setting the interactive language of the voice equipment according to the first language and the second language.
In one embodiment, determining whether the first language and the second language are consistent; if the first language is judged to be consistent with the second language, setting the first language as the interactive language of the voice equipment; if the first language is judged to be inconsistent with the second language, a first confirmation request is sent to the control client; and setting the first language or the second language as the interactive language of the first confirmation information of the interactive language according to the confirmation returned by the control client.
For example, taking a voice air conditioner as an example, when a chinese person lives in china, the air conditioner main control module compares and judges the language 1 (chinese) located by the GPS and the acquired language 2 (chinese) used by the APP operation interface, and when the language 1 is consistent with the language 2, the language can be directly set as the interactive language of the voice device.
For example, when a French person lives in China, the air conditioner main control module compares and judges the language 1 (Chinese) positioned through the GPS and the acquired language 2 (French) used by the APP operation interface, when the language 1 and the language 2 are not consistent, the two languages are sent to the APP to request the user to confirm the used language, after the APP receives the confirmation request sent by the main board, prompting the user to confirm the interactive language, selecting the language to be used by the user at the client and returning confirmation information for confirming that the set Chinese or French is the current interactive language of the voice equipment through the APP, namely the first confirmation information, after receiving the first confirmation information, the air conditioner mainboard sets the current interactive language of the voice equipment according to the language confirmed and set in the first confirmation information, for example, the user confirms that the interactive language of the voice device is set to the chinese language.
Optionally, if it is determined that the first language is consistent with the second language, a second confirmation request is sent to the control client first to confirm whether the first language is set as the interactive language of the voice device; and if second confirmation information which confirms that the first language is set as the interactive language of the voice equipment is received, the first language is set as the interactive language of the voice equipment.
For example, when a Chinese person lives in China, the air conditioner main board compares and judges the language 1 (Chinese) located by the GPS and the acquired language 2 (Chinese) used by the APP operation interface, and when the language 1 is consistent with the language 2, the language (Chinese) is sent to the APP to request the user to confirm whether to use the language. After receiving the confirmation request sent by the air conditioner main board, the APP prompts the user to confirm the language, the user returns confirmation information for setting the Chinese language to be the interactive language of the voice equipment through the APP, namely the second confirmation information, and after receiving the second confirmation information, the air conditioner main board sets the interactive language of the voice equipment to be the Chinese language.
According to the embodiment of the invention, the interactive language of the voice equipment is set according to the first language used in the current region and the second language used by the control client of the voice equipment, the interactive language of the voice equipment can be automatically set under the condition that the two languages are consistent, and the user can set the language used in the region as the interactive language of the voice equipment or set the language used by the user as the interactive language of the voice equipment according to the requirement of the user under the condition that the two languages are inconsistent. The use of the voice equipment by people in different regions and different languages is met to a greater extent.
Optionally, based on the above embodiment, the method may further include: receiving setting information which is sent by the control client and used for setting a fourth language as the interactive language of the voice equipment; and setting the fourth language as the current interactive language of the voice equipment based on the setting information.
Specifically, when neither the first language nor the second language is the interactive language that the user wants to set, the user may send, to the voice device, setting information for setting the fourth language as the interactive language of the voice device through the control client, and the voice device main control module receives, from the control client, the setting information for setting the fourth language as the interactive language of the voice device, and sets the fourth language as the current interactive language of the voice device based on the setting information.
For example, if the GPS positioning information is wrong, the language information returned to the APP by the main control is wrong, and the user can select a desired language according to his or her needs, for example, select a local language. For another example, the language 1 located by the GPS and the language 2 used by the APP operation interface are not the languages that the user wants to use, and the user can also select the interactive language according to the needs of the user. Specifically, a language selection area is displayed on an operation interface of a control client (APP), and when neither the first language nor the second language is a language which a user wants to set, the user can select the language which the user wants to set in the language selection area for setting. For example, when the language located by the GPS and the language used by the APP operation interface are not the language that the user wants to set, the user can select the language in the language selection area according to the needs of the user. Specifically, the user may input or select a language desired to be set from preset options, for example, the language selection area may be an input box with a pull-down menu, and the user may manually input the language desired to be set, or select the language desired to be set from the pull-down menu; when the user determines the language needed to be used, the APP returns the language information to the main control, the main control analyzes the language and sends the language information to the related voice module, and the user can send an instruction to the air conditioner by using the language. This embodiment is to solve the problem that the language of the GPS positioning is wrong and the language of the APP operation interface is not a language that the user is accustomed to using.
According to the embodiment of the invention, under the condition that the first language used in the current region and the second language used by the control client of the voice equipment are not the interactive language which the user wants to set, the user can set the interactive language of the voice equipment through the control client.
Fig. 2 is a schematic method diagram of another embodiment of a voice device control method provided by the present invention. As shown in fig. 2, based on the above-mentioned embodiment, the voice device control method further includes step S140 and step S150.
Step S140, when performing voice interaction with the user, if it is detected that the third language used by the user is not consistent with the interactive language of the voice device, sending a third confirmation request to the control client to confirm whether to switch the interactive language to the third language.
Step S150, if third confirmation information for confirming that the interactive language is switched to the third language is received, which is returned by the control client, the interactive language of the voice device is switched to the third language.
Specifically, when voice interaction is performed with a user, if it is detected that a third language used by the user is inconsistent with an interactive language of the voice device for a predetermined time, a third confirmation request is sent to the control client. For example, in the using process of a voice air conditioner, when it is detected that a language 3 used for voice interaction between a user and the air conditioner is inconsistent with an interactive language set by the user before for t minutes, the detected language 3 is sent to an APP, whether the language is switched is prompted on the APP, and if the user selects switching, the language is executed according to the language 3 subsequently; if the user chooses not to switch, the language is judged to be invalid, neglected and not changed, and still executed according to the preset interactive language.
According to the embodiment of the invention, when the fact that the language used by the user is inconsistent with the interactive language of the voice equipment is detected, the interactive language can be switched to the language used by the user according to the user requirement, and the user experience is improved.
The invention provides a voice device control device. The voice device is a device with a voice interaction function, and may specifically include an intelligent household appliance with a voice interaction function, such as an air conditioner, a refrigerator, and the like with a voice interaction function. The device may be implemented on a motherboard of the speech apparatus, for example, a motherboard on an air conditioner.
Fig. 3 is a schematic structural diagram of an embodiment of a speech device control apparatus provided in the present invention. As shown in fig. 3, the voice device control apparatus 100 includes a first acquiring unit 110, a second acquiring unit 120, and a setting unit 130.
The first obtaining unit 110 is configured to obtain a first language used by a region where the voice device is currently located; the second obtaining unit 120 is configured to obtain a second language currently used by a control client of the voice device; the setting unit 130 is configured to set an interaction language of the voice device according to the first language and the second language.
The first obtaining unit 110 obtains the position information of the current position of the voice device, and determines the area where the voice device is located according to the position information, so as to obtain the first language used by the area where the voice device is located. More specifically, after the voice device is powered on, the positioning system may perform positioning to obtain the position information of the current position of the voice device, and the region where the voice device is located, for example, the country, the city, and the like, may be determined according to the position information, so as to obtain the first language used in the region. A voice device master (e.g., a motherboard) records the retrieved first language.
The second obtaining unit 120 may receive information of the currently used second language sent by the control client of the voice device. The control client is installed in a user terminal (e.g., a mobile phone or a tablet computer) and used for controlling an application program of the voice device, such as a mobile phone APP. Specifically, the language currently used by the operation interface, that is, the second language currently used by the control client, may be extracted by the control client and sent to a main control of the voice device (for example, a main board of the voice device), and the main control of the voice device receives information of the second language currently used by the control client, that is, what language is currently used.
The setting unit 130 sets an interactive language of the voice device according to the first language and the second language.
Fig. 4 is a schematic structural diagram of an embodiment of a setting unit according to an embodiment of the present invention. As shown in fig. 4, in a specific embodiment, the setting unit 130 may specifically include a determining subunit 131, a sending subunit 132, and a setting subunit 133.
The judging subunit 131 is configured to judge whether the first language and the second language are consistent; the sending subunit 132 is configured to send a first confirmation request to the control client if the determining subunit determines that the first language is inconsistent with the second language; the setting subunit 133 is configured to set the first language or the second language as the interactive language of the voice device according to the first confirmation information of the interactive language returned by the control client; and/or if the judging subunit judges that the first language is consistent with the second language, setting the first language as the interactive language of the voice equipment.
For example, taking a voice air conditioner as an example, when a chinese person lives in china, the determining subunit 131 makes a comparison determination between language 1 (chinese) located by GPS and acquired language 2 (chinese) used by the APP operating interface, and when language 1 and language 2 are consistent, the setting subunit 133 may directly set such language as the interactive language of the voice device.
For example, a french person lives in china, the determining subunit 131 compares and determines language 1 (chinese) located by GPS and language 2 (french) used by the acquired APP operation interface, when language 1 and language 2 are not consistent, the sending subunit 132 sends two languages to the APP to request the user to determine the used language, the APP prompts the user to perform interactive language confirmation after receiving the confirmation request sent by the main board, the user selects the language desired to be used at the client and returns confirmation information confirming that the language or french is set as the current interactive language of the voice device through the APP, that is, the first confirmation information, after receiving the first confirmation information, the setting subunit 133 sets the current interactive language of the voice device according to the language confirmed and set in the first confirmation information, for example, the user confirms that the language set as the interactive language of the voice device, the interactive language of the speech device is set to chinese.
Fig. 5 is a schematic structural diagram of another specific implementation of the setting unit according to an embodiment of the invention. In one embodiment, as shown in fig. 5, the setting unit 130 further includes a receiving subunit 134.
The sending subunit 132 is further configured to send a second confirmation request to the control client to confirm whether to set the first language as the interactive language of the voice device before the setting subunit 133 sets the first language as the current interactive language of the voice device; the receiving subunit 134 is configured to receive second confirmation information, which is returned by the control client, whether to confirm that the first language is set as the interaction language of the voice device; the setup subunit 133 is further configured to: if the receiving subunit 134 receives second confirmation information that confirms that the first language is set as the interactive language of the voice device, which is returned by the control client, the first language is set as the interactive language of the voice device.
For example, when a chinese person lives in china, the determining subunit 131 makes a comparison determination between language 1 (chinese) located by GPS and acquired language 2 (chinese) used by the APP operating interface, and when language 1 and language 2 are consistent, the sending subunit 132 sends the language (chinese) to the APP, requesting the user whether to confirm the use of the language. After receiving the confirmation request sent by the air conditioner main board, the APP prompts the user to perform language confirmation, the user returns confirmation information for setting "chinese" as the interactive language of the speech device through the APP, that is, the second confirmation information, and after receiving the second confirmation information, the setting subunit 133 sets the interactive language of the speech device as chinese.
According to the embodiment of the invention, the interactive language of the voice equipment is set according to the first language used in the current region and the second language used by the control client of the voice equipment, the interactive language of the voice equipment can be automatically set under the condition that the two languages are consistent, and the user can set the language used in the region as the interactive language of the voice equipment or set the language used by the user as the interactive language of the voice equipment according to the requirement of the user under the condition that the two languages are inconsistent. The use of the voice equipment by people in different regions and different languages is met to a greater extent.
Fig. 6 is a schematic structural diagram of another embodiment of the speech device control apparatus provided in the present invention. As shown in fig. 6, based on the above-described embodiment, the apparatus further includes a detection unit 140, a confirmation unit 150, and a first receiving unit 160.
The detecting unit 140 is configured to detect whether a third language used by the user is consistent with an interactive language of the voice device when performing voice interaction with the user; the confirming unit 150 is configured to send a third confirmation request to the control client to confirm whether to switch the current interactive language to the third language if the detecting unit detects that the third language used by the user is inconsistent with the interactive language; the first receiving unit 160 is configured to receive third confirmation information, which is returned by the control client, whether to confirm that the interactive language is switched to the third language;
the setting unit 130 is further configured to: if the first receiving unit 160 receives third confirmation information that the interactive language is switched to the third language after receiving the confirmation returned by the control client, the interactive language of the voice device is switched to the third language.
Specifically, when performing voice interaction with the user, if the detecting unit 140 detects that the third language used by the user is inconsistent with the interactive language of the voice device for a predetermined time, the confirming unit 150 sends a third confirmation request to the control client. For example, in the using process of a voice air conditioner, the detecting unit 140 detects whether the language used by the user is consistent with the interactive language set before, and when detecting that the language 3 used for the voice interaction between the user and the air conditioner is inconsistent with the interactive language set by the user before for t minutes, the confirming unit 150 sends the detected language 3 to the APP, and prompts whether to switch the language on the APP, if the user selects to switch, the interactive language of the voice device is switched to the language 3, and then the following execution is performed according to the language 3; if the user chooses not to switch, the language is judged to be invalid, neglected and not changed, and still executed according to the preset interactive language.
According to the embodiment of the invention, when the fact that the language used by the user is inconsistent with the interactive language of the voice equipment is detected, the interactive language can be switched to the language used by the user according to the user requirement, and the user experience is improved.
Optionally, based on the above embodiment, the apparatus further includes a second receiving unit (not shown in the figure), configured to receive setting information, sent by the control client, for setting a fourth language as the interactive language of the voice device; the setting unit 130 is further configured to: setting the fourth language as an interactive language of the voice device based on the setting information.
Specifically, in a case that neither the first language nor the second language is the interactive language that the user wants to set, the user may send, to the voice device through the control client, setting information for setting the fourth language as the interactive language of the voice device, and the second receiving unit receives, from the control client, the setting information for setting the fourth language as the interactive language of the voice device, and then the setting unit 130 sets the fourth language as the current interactive language of the voice device based on the setting information.
For example, if the GPS positioning information is wrong, the language information returned to the APP by the main control is wrong, and the user can select a desired language according to his or her needs, for example, select a local language. For another example, the language 1 located by the GPS and the language 2 used by the APP operation interface are not the languages that the user wants to use, and the user can also select the interactive language according to the needs of the user. Specifically, a language selection area is displayed on an operation interface of a control client (APP), and when neither the first language nor the second language is a language which a user wants to set, the user can select the language which the user wants to set in the language selection area for setting. For example, when the language located by the GPS and the language used by the APP operation interface are not the language that the user wants to set, the user can select the language in the language selection area according to the needs of the user. Specifically, the user may input or select a language desired to be set from preset options, for example, the language selection area may be an input box with a pull-down menu, and the user may manually input the language desired to be set, or select the language desired to be set from the pull-down menu; after the user determines the language to be used, the APP returns the language information to the main control (second receiving unit), the setting unit 130 parses the language and sends the language to the relevant voice module, and the user can send an instruction to the air conditioner by using the language. This embodiment is to solve the problem that the language of the GPS positioning is wrong and the language of the APP operation interface is not a language that the user is accustomed to using.
According to the embodiment of the invention, under the condition that the first language used in the current region and the second language used by the control client of the voice equipment are not the interactive language which the user wants to set, the user can set the interactive language of the voice equipment through the control client.
The invention also provides a storage medium corresponding to the voice device control method, on which a computer program is stored, which program, when executed by a processor, carries out the steps of any of the methods described above.
The invention also provides a voice device corresponding to the voice device control method, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the methods.
The invention also provides a voice device corresponding to the voice device control device, which comprises any one of the voice device devices.
Therefore, according to the scheme provided by the invention, the interactive language of the voice equipment is set according to the first language used in the current region and the second language used by the control client of the voice equipment, the interactive language of the voice equipment can be automatically set under the condition that the two languages are consistent, and a user can set the language used in the region as the interactive language of the voice equipment or set the language used by the user as the interactive language of the voice equipment according to the requirement of the user under the condition that the two languages are inconsistent. The use of the voice equipment by people in different regions and different languages is met to a greater extent. According to the scheme provided by the invention, under the condition that the first language used in the current region and the second language used by the control client of the voice equipment are not the interactive language which the user wants to set, the user can set the interactive language of the voice equipment through the control client. According to the scheme provided by the invention, when the fact that the language used by the user is inconsistent with the interactive language of the voice equipment is detected, the interactive language can be switched to the language used by the user according to the user requirement, and the user experience is improved. The scheme provided by the invention can also reduce the limitation of the voice interaction language of the voice equipment.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (6)

1. A voice device control method, comprising:
acquiring a first language used by a region where the voice equipment is located currently;
acquiring a second language currently used by a control client of the voice equipment;
setting an interactive language of the voice device according to the first language and the second language;
further comprising:
receiving setting information which is sent by the control client and used for setting a fourth language as the interactive language of the voice equipment under the condition that the first language and the second language are not the interactive language which the user wants to set;
setting the fourth language as an interactive language of the voice device based on the setting information;
setting an interaction language of the voice device according to the first language and the second language, including:
judging whether the first language is consistent with the second language;
if the first language is judged to be consistent with the second language, setting the first language as the interactive language of the voice equipment;
if the first language is judged to be inconsistent with the second language, a first confirmation request is sent to the control client;
setting the interactive language of the voice equipment according to first confirmation information which is returned by the control client and sets the first language or the second language as the interactive language;
before the setting the first language as the current interactive language of the voice device, the method further includes:
sending a second confirmation request to the control client to confirm whether the first language is set as the interactive language of the voice device;
and if second confirmation information which confirms that the first language is set as the interactive language of the voice equipment is received, the first language is set as the interactive language of the voice equipment.
2. The method of claim 1, further comprising:
when voice interaction is carried out with a user, if the fact that a third language used by the user is inconsistent with the interactive language of the voice equipment is detected, a third confirmation request is sent to the control client side to confirm whether the interactive language is switched to the third language or not;
and if third confirmation information for confirming that the interactive language is switched to the third language is received, which is returned by the control client, switching the interactive language of the voice equipment to the third language.
3. A speech device control apparatus, comprising:
the first acquisition unit is used for acquiring a first language used by the area where the voice equipment is located;
a second obtaining unit, configured to obtain a second language currently used by a control client of the voice device;
a setting unit, configured to set an interactive language of the voice device according to the first language and the second language;
further comprising: a second receiving unit, configured to receive, when neither the first language nor the second language is an interactive language that a user wants to set, setting information that is sent by the control client and sets a fourth language as an interactive language of the voice device;
the setting unit is further configured to: setting the fourth language as an interactive language of the voice device based on the setting information;
the setting unit includes:
a judging subunit, configured to judge whether the first language and the second language are consistent;
a sending subunit, configured to send a first confirmation request to the control client if the determining subunit determines that the first language is inconsistent with the second language;
the setting subunit is used for setting the first language or the second language as first confirmation information of the interactive language according to the confirmation returned by the control client to set the interactive language of the voice equipment; and/or, if the judging subunit judges that the first language is consistent with the second language, setting the first language as the interactive language of the voice device;
further comprising: a receiving sub-unit for receiving the data from the data source,
the sending subunit is further configured to: before the setting subunit sets the first language as the current interactive language of the voice device, sending a second confirmation request to the control client to confirm whether the first language is set as the interactive language of the voice device;
the receiving subunit is configured to receive second confirmation information, which is returned by the control client and used to confirm whether to set the first language as the interactive language of the voice device;
the setting subunit is further configured to: and if the receiving subunit receives second confirmation information which is returned by the control client and confirms that the first language is set as the interactive language of the voice equipment, the receiving subunit sets the first language as the interactive language of the voice equipment.
4. The apparatus of claim 3, further comprising:
the detection unit is used for detecting whether a third language used by a user is consistent with an interactive language of the voice equipment or not when voice interaction is carried out with the user;
a confirming unit, configured to send a third confirmation request to the control client to confirm whether to switch the current interactive language to the third language if the detecting unit detects that the third language used by the user is inconsistent with the interactive language;
the first receiving unit is used for receiving third confirmation information which is returned by the control client and used for confirming whether the interactive language is switched to the third language or not;
the setting unit is further configured to: and if the receiving unit receives third confirmation information which is returned by the control client and confirms that the interactive language is switched to the third language, switching the interactive language of the voice equipment to the third language.
5. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1-2.
6. Speech device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1-2 when executing the program or comprising the speech device control means according to any one of claims 3-4.
CN201910718245.0A 2019-08-05 2019-08-05 Voice equipment control method and device, storage medium and voice equipment Active CN110414014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910718245.0A CN110414014B (en) 2019-08-05 2019-08-05 Voice equipment control method and device, storage medium and voice equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910718245.0A CN110414014B (en) 2019-08-05 2019-08-05 Voice equipment control method and device, storage medium and voice equipment

Publications (2)

Publication Number Publication Date
CN110414014A CN110414014A (en) 2019-11-05
CN110414014B true CN110414014B (en) 2020-12-04

Family

ID=68365971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910718245.0A Active CN110414014B (en) 2019-08-05 2019-08-05 Voice equipment control method and device, storage medium and voice equipment

Country Status (1)

Country Link
CN (1) CN110414014B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581362A (en) * 2020-04-29 2020-08-25 联想(北京)有限公司 Processing method and device
CN112102547A (en) * 2020-08-18 2020-12-18 深圳市视美泰技术股份有限公司 Threshold language matching method and device, storage medium and intelligent equipment
CN114461110A (en) * 2021-12-30 2022-05-10 惠州华阳通用电子有限公司 Vehicle-mounted menu language changing method and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150068010A (en) * 2013-12-11 2015-06-19 엘지전자 주식회사 A smart home appliance, a method for operating the same and a system for voice recognition using the same
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN105897531A (en) * 2016-06-21 2016-08-24 美的智慧家居科技有限公司 Mobile terminal and voice control system and voice control method for household appliances
CN106409285A (en) * 2016-11-16 2017-02-15 杭州联络互动信息科技股份有限公司 Method and apparatus for intelligent terminal device to identify language type according to voice data
CN106598955A (en) * 2015-10-20 2017-04-26 阿里巴巴集团控股有限公司 Voice translating method and device
CN109360564A (en) * 2018-12-10 2019-02-19 珠海格力电器股份有限公司 The selection method and device of language identification mode, household electrical appliance
CN109873744A (en) * 2017-12-01 2019-06-11 四川路源企业管理咨询有限公司 A kind of language conversion equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI115274B (en) * 2003-12-19 2005-03-31 Nokia Corp Electronic device e.g. palm computer selects language package for use in voice user interface used for controlling device functions
US9600474B2 (en) * 2013-11-08 2017-03-21 Google Inc. User interface for realtime language translation
CN105182790B (en) * 2015-10-16 2018-08-07 珠海格力电器股份有限公司 Update method, device and the line control machine of line control machine
CN105653276A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Method and apparatus for language setting
CN106016624A (en) * 2016-06-27 2016-10-12 珠海格力电器股份有限公司 Method and system for automatically switching display languages
KR101917648B1 (en) * 2016-09-08 2018-11-13 주식회사 하이퍼커넥트 Terminal and method of controlling the same
CN108196941A (en) * 2017-12-29 2018-06-22 美的集团股份有限公司 The method, apparatus and computer readable storage medium of terminal control
CN209310172U (en) * 2018-03-07 2019-08-27 北京三五二环保科技有限公司 Air purifier with voice control function
CN109005480A (en) * 2018-07-19 2018-12-14 Oppo广东移动通信有限公司 Information processing method and related product
CN109617950B (en) * 2018-11-26 2021-09-03 杭州涂鸦信息技术有限公司 Data updating method, device, equipment and readable storage medium
CN109658931B (en) * 2018-12-19 2024-05-10 平安科技(深圳)有限公司 Voice interaction method, device, computer equipment and storage medium
CN109584875A (en) * 2018-12-24 2019-04-05 珠海格力电器股份有限公司 A kind of speech ciphering equipment control method, device, storage medium and speech ciphering equipment
CN109949795A (en) * 2019-03-18 2019-06-28 北京猎户星空科技有限公司 A kind of method and device of control smart machine interaction

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150068010A (en) * 2013-12-11 2015-06-19 엘지전자 주식회사 A smart home appliance, a method for operating the same and a system for voice recognition using the same
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN106598955A (en) * 2015-10-20 2017-04-26 阿里巴巴集团控股有限公司 Voice translating method and device
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN105897531A (en) * 2016-06-21 2016-08-24 美的智慧家居科技有限公司 Mobile terminal and voice control system and voice control method for household appliances
CN106409285A (en) * 2016-11-16 2017-02-15 杭州联络互动信息科技股份有限公司 Method and apparatus for intelligent terminal device to identify language type according to voice data
CN109873744A (en) * 2017-12-01 2019-06-11 四川路源企业管理咨询有限公司 A kind of language conversion equipment
CN109360564A (en) * 2018-12-10 2019-02-19 珠海格力电器股份有限公司 The selection method and device of language identification mode, household electrical appliance

Also Published As

Publication number Publication date
CN110414014A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110414014B (en) Voice equipment control method and device, storage medium and voice equipment
JP6140902B2 (en) Upgrade method, apparatus, device, program, and recording medium
US9225705B2 (en) Method and system for providing a service for a mobile device and non-transitory computer-readable recording medium
TWI512489B (en) Multi-screen interactive method, center equipment, terminal equipment and systems
CN109195201B (en) Network connection method, device, storage medium and user terminal
CN104540091A (en) Automatic pairing system and automatic pairing method based on bluetooth equipment
CN110011885B (en) Control authority binding method and device of electric appliance, storage medium and electric appliance
CN110808886A (en) Voice equipment control method and device, storage medium and voice equipment
EP4131857A1 (en) Smart home message notification method and apparatus based on smart screen, and smart screen
CN107301052A (en) The display methods and mobile terminal of a kind of help information
KR101744016B1 (en) Multi-language supported Hotel Service Calling Device and System and Method
US10104450B2 (en) Method and device for controlling implementation of application and recording medium thereof
CN110594946B (en) Equipment model setting method and device, storage medium and equipment
CN109542483B (en) Firmware upgrading method and device for electric appliance, storage medium, terminal and electric appliance
US20160170729A1 (en) Method and device for installing smart appliance
CN113709406B (en) Software collaboration method, system and storage medium for Hongmon conference all-in-one machine
CN101854650A (en) Method and device for switching mobile television services
CN114246450B (en) Information processing method, information processing device, cooking equipment and computer readable storage medium
CN109709827B (en) Electric appliance control method and device, storage medium and electric appliance
US20200358882A1 (en) Device networking activation method, apparatus and cloud network device
CN108845848B (en) Application starting method and device of terminal, storage medium and terminal
CN111294259B (en) Method and device for controlling household appliance
EP2672663B1 (en) Apparatus and method of storing user information in home network
CN112378053A (en) Air conditioner control method and device, storage medium and air conditioner
CN110602325A (en) Voice recommendation method and device for terminal

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