Voice control method and device for heat-not-burn equipment, equipment and medium
By collecting and analyzing user voice in heated non-combustible devices and matching control intentions, voice delivery is achieved, which solves the shortcomings of traditional physical operation control methods and improves user experience and device adaptability.
Patent Information
- Application Number
- CN202410844542.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2025-12-30
AI Technical Summary
The control methods of heated non-combustible devices still rely on traditional physical operations and lack voice control, resulting in an inconvenient and unintelligent user experience.
By collecting user voice data, parsing keywords, and matching them with preset control intentions, precise voice control of the heating-non-combustion device can be achieved, supporting user-defined voice settings and personalized customization.
Precise voice control of heated non-combustible devices can be achieved without traditional physical operation, improving user experience, adapting to different usage habits and dialects, and expanding application scenarios.
Smart Images

Figure CN121237084A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of heated non-combustible technology, and particularly relates to voice control methods, devices, equipment and media for heated non-combustible devices. Background Technology
[0002] Voice delivery, as a way of transmitting information or performing services through voice technology, has enabled convenient and efficient voice control of smart devices and is increasingly penetrating all aspects of daily life.
[0003] Heated non-burning (HNB) devices have attracted much attention in the market as a new type of healthy and environmentally friendly smoke release product, but their control methods are still based on traditional physical operation and have not yet introduced voice delivery.
[0004] Therefore, how to achieve accurate voice delivery during the use of heated non-combustible devices, and bring users a more convenient and intelligent user experience, has become an urgent technical problem to be solved. Summary of the Invention
[0005] This application provides a voice control method, apparatus, device, and medium for heated non-combustible devices, improving the user experience of using heated non-combustible devices.
[0006] In a first aspect, embodiments of this application provide a voice control method for a heated non-combustible device, the method being executed by the heated non-combustible device, the method comprising:
[0007] Collect the first user's voice;
[0008] Based on the first keyword carried in the first user's voice, a first control intention is determined from the first correspondence relationship. The first correspondence relationship includes one or more control intentions and the keyword associated with each control intention. Any control intention corresponds to a device function of the heated non-combustible device.
[0009] The heating non-combustion device is controlled to perform the device function corresponding to the first control intent according to the first control intent.
[0010] In some embodiments, prior to acquiring first user speech input, the method further includes:
[0011] A voice setting command for the first control of the heated non-combustible device was detected;
[0012] In response to a voice setting command, within the current voice setting cycle, the second user voice corresponding to the control intent to be set is obtained; the control intent to be set is a control intent with keywords to be set selected from a preset control intent pool, and the preset control intent pool includes at least one control intent;
[0013] The second keyword was extracted from the second user's voice.
[0014] Associate the second keyword with the control intent to be set to obtain the first correspondence.
[0015] In some embodiments, different control intentions in the preset control intention pool correspond to different priorities. Obtaining the second user voice corresponding to the control intention to be set includes:
[0016] Select the highest priority control intent from the preset control intent pool that has not been set with any keywords as the control intent to be set;
[0017] Output the first prompt message associated with the control intent to be set, and use the first prompt message to prompt the user to input the user voice corresponding to the control intent to be set.
[0018] The collected user voice is used as the second user voice.
[0019] In some embodiments, after associating the second keyword with the control intent to be set, the method further includes:
[0020] Based on the second correspondence, a second prompt message is output to indicate that the user voice corresponding to the control intent to be set has been successfully set; the second correspondence includes one or more control intents and the second prompt message associated with each control intent.
[0021] In some embodiments, after outputting the second prompt message, the method further includes:
[0022] Mark the control intents to be set in the preset control intent pool;
[0023] If it is determined that there is an unmarked control intent in the preset control intent pool, proceed to the next voice setting cycle;
[0024] Alternatively, if it is determined that there are no unmarked control intentions in the preset control intention pool, or if a voice setting completion command is detected, the voice setting process is terminated, and the markings of control intentions in the preset control intention pool are cleared.
[0025] In some embodiments, before controlling the heated non-combustible device to perform a device function corresponding to the first control intent, the method further includes:
[0026] Based on the preset correspondence between control intent and prompt voice text, determine the prompt voice text corresponding to the first control intent;
[0027] The prompt text is synthesized into speech and the synthesized speech is output to prompt the device function to be performed by the heating non-combustion device.
[0028] In some embodiments, parsing the second keyword from the second user's speech includes:
[0029] Convert the second user's voice into speech-to-text;
[0030] The second keyword was extracted from the speech text.
[0031] In some embodiments, determining a first control intent from a first correspondence based on a first keyword carried in a first user's voice includes:
[0032] Convert the first user's voice into speech-text;
[0033] The first keyword was extracted from the converted speech text.
[0034] Search for the first control intent associated with the first keyword in the first correspondence.
[0035] In some embodiments, before detecting a voice setting command for a first control of the heated non-combustible device, the method further includes:
[0036] Configure the voice recognition chip based on the preset configuration file.
[0037] Secondly, embodiments of this application provide a voice control device for a heated non-combustible device, comprising:
[0038] The acquisition module is used to acquire the first user's voice.
[0039] The determining module is used to determine a first control intention from a first correspondence based on a first keyword carried in the first user's voice. The first correspondence includes one or more control intentions and keywords associated with each control intention. Any control intention corresponds to a device function of the heated non-combustible device.
[0040] The control module is used to control the heating non-combustion device to perform the device functions corresponding to the first control intent according to the first control intent.
[0041] As an example, the voice control device of the heated non-combustible device can be a functional circuit, controller, or chip applied to the heated non-combustible device, or the voice control device of the heated non-combustible device is the heated non-combustible device itself. This application does not limit this.
[0042] Thirdly, embodiments of this application provide a heated non-combustible device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the voice control method of the heated non-combustible device as described in any one of the first aspects.
[0043] Fourthly, embodiments of this application provide a computer-readable storage medium, comprising: a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the voice control method for the heating non-combustion device as described in any one of the first aspects.
[0044] Fifthly, embodiments of this application provide a computer program product that, when running on a heating non-combustible device, causes the heating non-combustible device to execute the voice control method for the heating non-combustible device described in any of the first aspects.
[0045] The beneficial effects of this application embodiment compared with the prior art are as follows: Based on the first keyword carried in the collected first user's voice, the heated non-combustible device can accurately and quickly find the first control intent of the first user's voice from a first correspondence relationship including one or more control intents corresponding to the device functions of the heated non-combustible device, and the keywords associated with each control intent. This allows the heated non-combustible device to execute the device function corresponding to the first control intent, enabling precise voice control of the heated non-combustible device without traditional physical operations, providing users with a more convenient and intelligent user experience. Furthermore, based on voice setting commands, keywords parsed from different user voices can be associated with control intents, allowing for personalized customization of voice commands corresponding to different device functions of the heated non-combustible device. This facilitates users' subsequent voice control of the heated non-combustible device based on their own habits, improving the user experience.
[0046] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram of the structure of a heating non-combustion device provided in an embodiment of this application;
[0049] Figure 2 This is a flowchart illustrating a voice control method for a heating non-combustion device provided in an embodiment of this application;
[0050] Figure 3 This is a flowchart illustrating another voice control method for a heating non-combustion device provided in an embodiment of this application;
[0051] Figure 4 This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0052] Figure 5 This is a flowchart illustrating another voice control method for a heating non-combustion device provided in an embodiment of this application;
[0053] Figure 6 This is a schematic diagram of the structure of a voice control device for a heating non-combustion device provided in an embodiment of this application;
[0054] Figure 7 This is a schematic diagram of the structure of a heating non-combustion device provided in an embodiment of this application. Detailed Implementation
[0055] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0056] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0057] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0058] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0059] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0060] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0061] Figure 1 This is a schematic diagram of the structure of the heated non-combustible device according to the voice control method of the heated non-combustible device in this application embodiment, as shown below. Figure 1 As shown, the heating non-combustion device includes a controller 110 (also known as a processor or control chip), a voice recognition chip 120, and a voice acquisition device 130, which is connected to a voice playback device 140.
[0062] The voice acquisition device 130 is used to acquire the user's voice input to the heating non-combustion device and send the acquired user voice to the voice recognition chip 120.
[0063] The speech recognition chip 120 is used to convert user speech into speech-to-text and parse the speech-to-text to obtain keywords in the user's speech. For example, the speech recognition chip 120 uses natural language processing technology to parse the converted speech-to-text to obtain keywords in the user's speech. Optionally, the speech recognition chip 120 can also look up the control intent corresponding to the keywords from a first correspondence and send the found control intent to the controller 110. Alternatively, the speech recognition chip 120 can send keywords in the user's speech to the controller 110. The first correspondence includes one or more control intents and keywords associated with each control intent; any control intent corresponds to a device function of the heated non-combustible device.
[0064] The controller 110 is used to control the heated non-combustible device to perform the device function corresponding to the control intention. For example, the controller can obtain the control intention corresponding to a certain keyword from the voice recognition chip 120, or the controller can obtain the keyword from the voice recognition chip 120, and then determine the control intention corresponding to the obtained keyword by querying the first correspondence relationship based on the obtained keyword.
[0065] In applications, the voice acquisition device 130 can be a microphone or microphone array, the voice recognition chip 120 can be an intelligent voice chip, the voice playback device 140 can be a speaker, and the heated non-combustible device can be a heated non-combustible smoke set.
[0066] In some embodiments, the device functions of the heated non-combustible device include at least one of the following: starting heating, pausing heating, turning off the device, and adjusting the heating temperature. In other words, the contents of the first correspondence may include one or more items from Table 1.
[0067] Table 1
[0068] Control Intent Device Functions Control Figure 1 Start heating Control Figure 2 Stop heating Control Figure 3 Adjust heating temperature Control Figure 4 standby Control Figure 5 Power on Control Figure 6 Power off Control Figure 7 Heating will pause after the preset time period. Control Intent 8 Heating will begin after a preset time period. … … Control intention n Fault detection
[0069] In some embodiments, the voice recognition chip 120 is further configured to determine the voice text corresponding to the control intent of a keyword based on a preset correspondence between control intent and prompt voice text, and synthesize the voice text into voice text to send to the voice playback device 140. The voice playback device 140 is further configured to play the received voice text to prompt the device function that the heated non-combustible device is currently performing.
[0070] In some embodiments, the heated non-combustible device further includes a display screen 150 and a voice recognition chip 120, which are also used to send determined voice text to the display screen 150 so that the display screen 150 can display the voice text to prompt the heated non-combustible device to perform its current function. This allows users to easily understand the results of voice recognition and the function the heated non-combustible device is about to perform, improving the user experience.
[0071] In some embodiments, the heated non-combustible device further includes at least one control (also referred to as a button or key) 160, each control 160 corresponding to a device function of the heated non-combustible device. The controller 110 is further configured to, in response to a trigger operation on a second control, control the heated non-combustible device to execute the device function corresponding to the second control based on a third correspondence; the second control is any control within the heated non-combustible device; the third correspondence includes identifiers of one or more controls, each identifier corresponding to a device function. In application, the identifier of a control can be a control number, and the trigger operation can be a long press, a short press, or multiple presses. Thus, in addition to enabling voice control of the heated non-combustible device, it is also possible to control the heated non-combustible device through physical operation of the buttons, making it convenient for users with different usage habits to adapt to the heated non-combustible device and expanding the application scenarios of the heated non-combustible device.
[0072] In some embodiments, at least one control 160 of the heated non-combustible device includes a first control for setting user voice (e.g., the first control can be a setting control). The controller 110 is further configured to detect a trigger operation on the first control of the heated non-combustible device, that is, to determine that a voice setting instruction has been detected, and to control the heated non-combustible device to enter a voice device cycle; the voice acquisition device 130 is further configured to acquire a second user voice corresponding to the control intent to be set within the current voice setting cycle, and send the second user voice to the voice recognition chip 120; the control intent to be set is a control intent with a keyword to be set selected from a preset control intent pool, the preset control intent pool including at least one control intent; the voice recognition chip 120 is further configured to parse a second keyword from the second user voice; and in a first correspondence, associate the second keyword with the control intent to be set.
[0073] In some embodiments, the controller 110 is further configured to output a first prompt message associated with the control intent to be set based on a preset correspondence between the control intent and the input prompt message, so as to prompt the user to input the user voice corresponding to the control intent to be set.
[0074] In some embodiments, the controller 110 is further configured to output a second prompt message associated with the control intent to be set according to the second correspondence, so as to prompt that the user voice setting corresponding to the control intent to be set is complete; the second correspondence includes one or more control intents and the prompt message associated with each control intent.
[0075] In some embodiments, the heating-not-burning device further includes multiple indicator lights 170, and the controller 110 is also used to control at least one of the voice acquisition device 130, the display screen 150, and the multiple indicator lights 170 to output a first prompt message or a second prompt message. This allows the user to be prompted to input their voice or that the voice setting for a certain control intent is complete when the user customizes the voice corresponding to the control intent, thus providing the user with a smart and convenient customized voice control experience.
[0076] The voice control method of the heating non-combustion device of this application is described in detail below. Figure 2 This is a flowchart illustrating a voice control method for a heated non-combustible device according to an embodiment of this application. The method can be executed by the heated non-combustible device, which is... Figure 1 The heating non-combustion device in the illustrated embodiment, such as Figure 2 The method shown includes the following steps:
[0077] Step S201: Collect the voice of the first user.
[0078] For example, a voice acquisition device is installed in the heated non-combustible device, which can use the voice acquisition device to collect the voice of the first user.
[0079] As an example, the heated non-combustible device may include a voice control, which allows the device to capture various user voices when the user clicks it, using a voice acquisition device.
[0080] Step S202: Determine the first control intent from the first correspondence based on the first keyword carried in the first user's voice.
[0081] The first correspondence includes one or more control intentions and keywords associated with each control intention; each control intention corresponds to a device function of the heating-non-combustible device. The device function includes at least one of the following: start heating, pause heating, shut down, and adjust heating temperature.
[0082] In application, the heated non-combustible device can use its built-in voice recognition chip to convert the first user's voice into voice text; parse the first keyword from the converted voice text; search for the control intent associated with the first keyword in the first correspondence relationship, and the found control intent is the first control intent.
[0083] The specific process of converting a first user's speech into speech text using a speech recognition chip can be as follows: the speech recognition chip performs speech signal preprocessing on the first user's speech to obtain a processed speech signal; the speech recognition chip inputs the processed speech signal into an acoustic model for recognition to obtain acoustic features; the speech recognition chip inputs the acoustic features into a language model so that the language model can obtain the speech text based on the text corresponding to the acoustic features recognized by the dictionary.
[0084] In applications, speech signal preprocessing operations can include noise reduction, framing, windowing, and Fourier transform, while acoustic features can be phonemes. Acoustic models can be based on traditional statistical methods, such as Hidden Markov Models (HMMs) and Dynamic Time Warping (DTW), or on deep learning methods, such as Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs). Language models can be based on statistical n-gram models or deep learning models, such as RNNs or Transformers.
[0085] The specific process for parsing the first keyword from the converted speech text can be as follows: Natural Language Processing (NLP) technology is used to perform intent understanding operations on the speech text to obtain the first keyword. In practice, intent understanding operations include syntactic analysis, lexical analysis, semantic analysis, and dialogue management, etc., and this application embodiment does not impose specific limitations.
[0086] Step S203: Control the heating non-combustion device to perform the device function corresponding to the first control intention according to the first control intention.
[0087] After determining the first control intent corresponding to the first keyword, the heated non-combustible device can clarify the device function corresponding to the first control intent and control the heated non-combustible device to execute the device function.
[0088] In this embodiment, the heated non-combustible device can accurately and quickly find the first control intent of the first user's voice based on the first keyword carried in the collected first user's voice, from one or more control intents corresponding to the device functions of the heated non-combustible device, and the first correspondence relationship of the keywords associated with each control intent. Then, the heated non-combustible device can be controlled to perform the device functions corresponding to the first control intent. Precise voice control of the heated non-combustible device can be performed without traditional physical operation, bringing users a more convenient and intelligent user experience.
[0089] Considering the differences in user habits and dialects, the voice control method for the heated non-combustible device in this application embodiment can also support users setting their own personalized voice commands to control the heated non-combustible device. Specifically, as follows... Figure 3 Another voice control method for a heated non-combustible device according to an embodiment of this application is shown, the method comprising the following steps:
[0090] Step S301: A voice setting command for the first control of the heating non-combustion device is detected.
[0091] The first control can be a control set in the heated non-combustible device for activating a user-defined voice function, such as a power on / off control or a voice setting control for the heated non-combustible device. In the application, if the first control is detected to be triggered by a first preset trigger operation, it is determined that a voice setting command has been detected.
[0092] The first preset trigger operation can be touching, pressing, or long-pressing the first control, or pressing the first control a preset number of times within a preset duration, etc., and this application embodiment does not impose specific limitations. The preset duration and preset number of times can be set by the user, such as 1 second, 2 times, 1.5 seconds, 3 times, etc. The first control can be one control or multiple controls. When there are multiple controls, each control needs to be triggered to determine that a voice setting command has been detected. For example, if the user long-presses the power off control and temperature adjustment control of the heating non-combustible device, it is determined that a voice setting command has been detected, the voice setting detection function of the heating non-combustible device is activated, and the process proceeds to step S302.
[0093] It should be noted that, as Figure 4 As shown, before detecting a voice setting command for the first control of the heated non-combustible device, a voice recognition chip needs to be added to the device. This voice recognition chip can be an intelligent voice chip, connected to both a voice acquisition device and a voice playback device. Specifically, during the printed circuit board assembly (PCBA) stage of the heated non-combustible device manufacturing process, the voice recognition chip can be added to the traditional hardware circuitry of the device. For example, a specific model of intelligent voice chip can be selected and packaged into the PCB board of the heated non-combustible device. Figure 4 The hardware development process includes adding a voice delivery module. It also requires configuring the voice recognition chip based on a preset configuration file. The preset configuration file indicates the operating parameters and functions of the voice recognition chip. Operating parameters must include at least one of voltage, power consumption, and ripple. The functions must include at least applications for voice recognition, natural language processing, and speech synthesis. Figure 4 Software configuration / organization of voice delivery content.
[0094] Step S302: In response to the voice setting command, within the current voice setting cycle, acquire the second user voice corresponding to the control intent to be set.
[0095] The control intent to be set is a control intent with keywords to be set selected from a preset control intent pool, which includes at least one control intent. Within the current voice setting cycle, the heating-not-burning device can select a control intent with keywords to be set from the preset control intent pool as the control intent to be set, and use the user voice collected by its own voice acquisition device as the second user voice for the control intent to be set.
[0096] In some embodiments, obtaining the second user voice corresponding to the control intent to be set includes the following steps:
[0097] Step (1): Select the control intent with the highest priority and without set keywords from the preset control intent pool as the control intent to be set.
[0098] Each control intent in the preset control intent pool is pre-set with a priority, and each control intent is marked as a set keyword when set by user voice. The heating non-combustion device can select the first control intent with the highest priority that has not been marked, i.e. has not been set with a keyword, as the control intent to be set within the current voice setting cycle.
[0099] Step (2): Output the first prompt information associated with the control intent to be set, and use the first prompt information to prompt the user to input the user voice corresponding to the control intent to be set. Based on the preset correspondence between the control intent and the input prompt information, output the first prompt information associated with the control intent to be set, and prompt the user to input the user voice corresponding to the control intent to be set.
[0100] In application, the heated non-combustible device searches for the control intent to be set in the fourth correspondence to obtain the first prompt information associated with the control intent. The fourth correspondence includes one or more control intents and the first prompt information associated with each control intent. The heated non-combustible device can control at least one of its own display screen, voice playback device, and indicator light to output the first prompt information.
[0101] In some embodiments, the first prompt information may be text or a graphic, and the heated non-combustible device may control its own display screen to display the first prompt information.
[0102] In some embodiments, the first prompt information can be used to indicate the on / off state of indicator lights, and the heated non-combustible device can illuminate the corresponding indicator lights based on the first prompt information. For example, the heated non-combustible device includes five indicator lights numbered 1 to 5 from left to right. If the control intent to be set is to start heating, the associated first prompt information indicates that indicator light number 1 is on. Then, the heated non-combustible device illuminates indicator light number 1 and controls indicator lights numbered 2 to 5 to turn off, thereby reminding the user that the currently input voice is used to control the heated non-combustible device to start heating.
[0103] In some embodiments, the first prompt information may be a prompt voice text. The prompt voice text is synthesized into speech and the synthesized speech is output to prompt the user to input the voice corresponding to the control intention to be set. In application, the heated non-combustible device can use its own voice recognition chip based on speech synthesis technology to synthesize the prompt voice text into natural and fluent speech and control the voice playback device to play the synthesized speech.
[0104] Step (3) is to use the collected user voice as the second user voice.
[0105] After noticing the initial prompt from the heated non-combustible device, the user inputs their desired voice message associated with the control intent to be set. The device then uses a voice acquisition device to capture this voice message and obtain a second user voice message. In this method of obtaining the second user voice message for the control intent to be set, the order in which the user voice messages define the control intents is determined based on the priority of each control intent in a preset control intent pool and whether each control intent has been assigned keywords. The user is then prompted to input their voice message according to this order, making it easy for them to understand the control intent currently being defined. This allows for the definition of keywords for each control intent in the preset control intent pool through the user's voice input, achieving fully automatic and personalized definition of keywords for each control intent in the preset control intent pool, providing a convenient and intelligent user experience.
[0106] Step S303: Extract the second keyword from the second user's voice.
[0107] Step S303 and Figure 2 The specific process of parsing the first keyword from the first user's voice in step S202 of the illustrated embodiment is similar, except that it is parsing the second user's voice, which will not be described in detail here.
[0108] In some embodiments, parsing the second keyword from the second user's speech includes: converting the second user's speech into speech-to-text; and parsing the second keyword from the speech-to-text. The heated non-combustible device can use its own speech recognition chip to convert the second user's speech into speech-to-text, and then use natural language processing technology to parse the second keyword from the converted speech-to-text.
[0109] Step S304: Associate the second keyword with the control intent to be set to obtain the first correspondence.
[0110] The heated non-combustible device associates and stores the second keyword with the control intent to be set to obtain the first correspondence, thereby realizing the personalized customization of the keywords of the control intent, that is, realizing the customization of the user's voice of the control intent.
[0111] Step S305: Based on the second correspondence, output the second prompt information. The second prompt information is used to indicate that the user voice corresponding to the control intent to be set has been successfully set.
[0112] For example, based on the second correspondence, output the second prompt information associated with the control intent to be set.
[0113] The second correspondence includes one or more control intentions and a second prompt message associated with each control intention. In application, the heated non-combustible device can control at least one of its display screen, voice playback device, and indicator light to output the second prompt message. Its specific output method is similar to that of the first prompt message. For example, the second prompt message can be text or a graphic, and the heated non-combustible device can control its display screen to display the second prompt message; or, the second prompt message can be used to indicate the on / off state of an indicator light, and the heated non-combustible device can illuminate the corresponding indicator light based on the second prompt message; or, the second prompt message can be voice text, synthesized into speech, and the synthesized speech is output.
[0114] After associating the second keyword with the control intent to be set, the heating non-combustion device can also output a second prompt message to indicate that the user voice setting corresponding to the control intent to be set has been completed. This allows users to understand in a timely and intuitive way whether the control intent to customize the user voice has been successfully implemented, providing a good user experience.
[0115] Step S306: Mark the control intent to be set in the preset control intent pool.
[0116] The heated non-combustible device marks the control intent to be set as a set keyword in the preset control intent pool.
[0117] Step S307: If it is determined that there is an unmarked control intent in the preset control intent pool, then proceed to the next voice setting cycle.
[0118] Alternatively, if it is determined that there are no unmarked control intentions in the preset control intention pool, or if a voice setting completion command is detected, the voice setting process is terminated, and the markings of control intentions in the preset control intention pool are cleared.
[0119] In the application, when the heated non-combustible device detects that the second control has been triggered by a second preset trigger operation, it determines that a voice setting completion command has been detected. The second control can be a control set in the heated non-combustible device for ending the user-defined voice function, such as the voice setting control or power on / off control of the heated non-combustible device. The second preset trigger operation can be pressing, touching, or long-pressing the second control, or pressing the second control a preset number of times within a preset time period, etc., and this application embodiment does not impose specific limitations. After setting the keyword of the control intent to be set, i.e., the user's voice, the device automatically enters the next voice setting cycle, or automatically ends the unmarked control intent and clears the mark of the control intent in the preset control intent pool when it is determined that a voice setting completion command has been received or there is no unmarked control intent. This not only realizes the fully automatic personalized customization of the user's voice, but also facilitates the user to re-customize the user's voice settings later, providing a user-friendly experience.
[0120] In one application scenario, such as Figure 4 As shown, after configuring the voice recognition chip in the heated non-combustible device, if the user wants to customize the keywords of the control intent, that is, the user voice of the control intent, they can input the voice setting command for the first control. After the heated non-combustible device detects the voice setting command, it will activate the user's custom voice function. The user can use their own preferences, specific languages (dialects) or names as the user voice of the control intent to realize voice control of the device functions of the heated non-combustible device in the future. Figure 4 In the application scenario shown, the control intent includes starting (heating of the non-combustible heating device) and pausing (heating of the non-combustible heating device).
[0121] After activating the user-defined voice function, the system collects the user's voice input based on the control intent to be set. Figure 4 The system uses a user-defined voice input method, specifically for heated non-combustible devices. It parses keywords from the user's voice, associates these keywords with the desired device control intent in a first mapping, and marks the intent. If no unmarked control intent exists in the preset control intent pool, the voice setting process ends, thus completing the personalized setting of the user's voice for the desired control intent. It's understood that in this application scenario, the desired control intents for different voice setting cycles are start and pause, respectively. Associating the parsed keywords with the desired device control intent in the first mapping is... Figure 4 The options are: Start (based on user-defined voice); or Pause (based on user-defined voice).
[0122] Step S308: Collect the first user's voice.
[0123] Step S309: Determine the first control intent from the first correspondence based on the first keyword carried in the first user's voice.
[0124] Step S310: Control the heating non-combustion device to perform the device function corresponding to the first control intention according to the first control intention.
[0125] For details of steps S308 to S310, please refer to [link / reference]. Figure 2 Steps S201 to S203 in the illustrated embodiment will not be described in detail here.
[0126] In this embodiment, before voice control of the heated non-combustible device is implemented based on the first user's voice input, keywords parsed from the second user's voice input can be associated with the control intent to be set based on voice setting instructions. This enables personalized customization of the voice corresponding to different device functions of the heated non-combustible device for the user, facilitating voice control of the heated non-combustible device based on the user's own habits. By taking into account the differences in usage habits and dialects among different users, the user experience is improved, and the application scope of the heated non-combustible device can be expanded.
[0127] Figure 5 This is a flowchart illustrating another embodiment of a voice control method for a heated non-combustible device according to this application. The method can be executed by the heated non-combustible device, which is... Figure 1 The heating non-combustion device in the illustrated embodiment, such as Figure 5 The method shown includes the following steps:
[0128] Step S501: Collect the voice of the first user.
[0129] Step S502: Convert the first user's voice into speech text.
[0130] The heated non-combustible device can use its own voice recognition chip to convert the voice signal of the first user's voice into voice text.
[0131] Step S503: Extract the first keyword from the converted speech text.
[0132] The heated but not burned device can use its own voice recognition chip to perform intent understanding operations on voice text based on natural language processing technology to obtain the first keyword.
[0133] Step S504: Search for the first control intent associated with the first keyword in the first correspondence relationship.
[0134] Step S505: Control the heating non-combustion device to perform the device function corresponding to the first control intention according to the first control intention.
[0135] For details of steps S501 and S505, please refer to [link / reference]. Figure 2 Steps S201 and S203 in the illustrated embodiment will not be described in detail here.
[0136] Step S506: Based on the preset correspondence between control intent and prompt voice text, determine the prompt voice text corresponding to the first control intent.
[0137] In application, the preset correspondence between control intentions and prompt voice texts includes one or more control intentions, and the prompt voice text corresponding to each control intention is used to indicate that control intention. The heated non-combustible device can find the first control intention in the preset correspondence between control intentions and prompt voice texts, and then obtain the prompt voice text associated with the first control intention.
[0138] Step S507: Synthesize the prompt text into speech and output the synthesized speech to prompt the device function to be performed by the heating non-combustion device.
[0139] The heated non-combustible device can use its own voice recognition chip to synthesize the prompt voice text corresponding to the first control intention into a natural and fluent voice based on voice synthesis technology, and control its own voice playback device to output the synthesized voice to prompt the user about the device function that the heated non-combustible device is currently performing.
[0140] In this embodiment, the first user's voice is converted into speech-to-text, and a first keyword is parsed from it. Then, a first control intent associated with the first keyword is found from a first correspondence relationship. This simple process accurately and quickly identifies the control intent associated with the keyword in the user's voice and controls the heated non-combustible device to perform the function corresponding to the control intent. Precise voice control of the heated non-combustible device can be achieved without traditional physical operations, providing users with a more convenient and intelligent user experience. Furthermore, based on the prompt speech-to-text corresponding to the found control intent, the control intent can be output in speech form, promptly reminding the user of the function the heated non-combustible device is currently performing.
[0141] Corresponding to the voice control method for the heating-not-burning device described in the above embodiments, Figure 6 A structural block diagram of the voice control device for a heated non-combustible device provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0142] Reference Figure 6 The device includes:
[0143] The voice acquisition module 610 is used to acquire the voice of the first user.
[0144] The determining module 620 is used to determine a first control intention from a first correspondence based on a first keyword carried in the first user's voice. The first correspondence includes one or more control intentions and keywords associated with each control intention; any control intention corresponds to a device function of the heating non-combustion device.
[0145] The control module 630 is used to control the heating non-combustion device to perform the device function corresponding to the first control intention according to the first control intention.
[0146] For example, the voice acquisition module can be integrated into the aforementioned voice acquisition device.
[0147] For example, the determination module 620 can be integrated into the aforementioned voice recognition chip.
[0148] For example, the control module can be integrated into the aforementioned controller.
[0149] In some embodiments, the device further includes:
[0150] The detection module is used to detect voice setting commands for the first control of the heated non-combustible device.
[0151] The voice acquisition module 610 is also used to respond to the voice setting command and acquire the second user voice corresponding to the control intent to be set within the current voice setting cycle; the control intent to be set is the control intent with the keyword to be set selected from the preset control intent pool, and the preset control intent pool includes at least one control intent.
[0152] The parsing module is used to extract the second keyword from the second user's speech.
[0153] The association module is used to associate the second keyword with the control intent to be set to obtain the first correspondence.
[0154] The parsing module can be integrated into the aforementioned speech recognition chip. The association module can be integrated into the aforementioned controller.
[0155] In some embodiments, the control module 630 is further configured to select the control intent with the highest priority and without set keywords from the preset control intent pool as the control intent to be set.
[0156] The output module is used to output the first prompt information associated with the control intent to be set. The first prompt information is used to prompt the user to input the user voice corresponding to the control intent to be set.
[0157] The voice acquisition module 610 is also used to use the acquired user voice as a second user voice.
[0158] In some embodiments, the device further includes:
[0159] The output module is used to output a second prompt message according to the second correspondence. The second prompt message is used to indicate that the user voice corresponding to the control intent to be set has been successfully set. The second correspondence includes one or more control intents and the second prompt message associated with each control intent.
[0160] In some embodiments, the device further includes:
[0161] The control module is also used to mark control intentions to be set in a preset control intention pool.
[0162] The determination module is also used to proceed to the next voice setting cycle if it is determined that there is an unmarked control intent in the preset control intent pool.
[0163] Alternatively, if it is determined that there are no unmarked control intentions in the preset control intention pool, or if a voice setting completion command is detected, the voice setting process is terminated, and the markings of control intentions in the preset control intention pool are cleared.
[0164] In some embodiments, the device further includes:
[0165] The determination module is also used to determine the prompt voice text corresponding to the first control intent based on the preset correspondence between the control intent and the prompt voice text.
[0166] The synthesis module is used to synthesize the prompt text into speech, and the output module is also used to output the synthesized speech to prompt the device function to be performed by the heating non-combustion device.
[0167] In some embodiments, the parsing module includes:
[0168] The conversion unit is used to convert the second user's speech into speech-to-text.
[0169] The parsing unit is used to parse the second keyword from the speech text.
[0170] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0171] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0172] Figure 7 This is a schematic diagram of the structure of a heating non-combustion device provided in one embodiment of this application. Figure 7 As shown, the heated non-combustible device 7 of this embodiment includes: at least one processor 70 ( Figure 7 (Only one is shown) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, which, when executing the computer program 72, implements the steps in the voice control method embodiments of any of the above-described heating non-combustion devices.
[0173] The heated non-combustible device 7 can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. This heated non-combustible device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will understand that... Figure 7 This is merely an example of the heating-non-combustible device 7 and does not constitute a limitation on the heating-non-combustible device 7. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0174] The processor 70 can be a Central Processing Unit (CPU), or it can be other general-purpose processors, 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, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0175] In some embodiments, the memory 71 may be an internal storage unit of the heated non-combustible device 7, such as a hard disk or memory of the heated non-combustible device 7. In other embodiments, the memory 71 may be an external storage device of the heated non-combustible device 7, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the heated non-combustible device 7. Further, the memory 71 may include both internal storage units and external storage devices of the heated non-combustible device 7. The memory 71 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of the computer program. The memory 71 can also be used to temporarily store data that has been output or will be output.
[0176] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0177] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the above-described method embodiments.
[0178] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0179] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0180] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0181] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0182] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0183] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A voice control method of a heat-not-burn device, characterized by, The method is executed by the heat-not-burn device, and the method comprises: collecting a first user voice; determining a first control intention from a first corresponding relationship according to a first keyword carried in the first user voice, the first corresponding relationship comprising one or more control intentions and a keyword associated with each control intention; any control intention corresponds to a device function of the heat-not-burn device; controlling the heat-not-burn device to execute the device function corresponding to the first control intention according to the first control intention.
2. The method of claim 1, wherein, Before collecting the first user voice, the method further comprises: detecting a voice setting instruction for a first control of the heat-not-burn device; in response to the voice setting instruction, obtaining a second user voice corresponding to a to-be-set control intention in a current voice setting period; the to-be-set control intention is a control intention with a keyword to be set selected from a preset control intention pool, and the preset control intention pool comprises at least one control intention; parsing a second keyword from the second user voice; associating the second keyword with the to-be-set control intention to obtain the first corresponding relationship.
3. The method of claim 2, wherein, Different control intentions in the preset control intention pool correspond to different priorities, and the obtaining of the second user voice corresponding to the to-be-set control intention comprises: selecting, from the preset control intention pool, a control intention with the highest priority and without a set keyword as the to-be-set control intention; outputting first prompt information associated with the to-be-set control intention, the first prompt information being used to prompt input of the user voice corresponding to the to-be-set control intention; collecting the user voice as the second user voice.
4. The method of claim 2 or 3, wherein, After associating the second keyword with the to-be-set control intention, the method further comprises: outputting second prompt information according to a second corresponding relationship, the second prompt information being used to prompt that the user voice corresponding to the to-be-set control intention has been successfully set; the second corresponding relationship comprises one or more control intentions and second prompt information associated with each control intention.
5. The method of claim 4, wherein, After outputting the second prompt information, the method further comprises: marking the to-be-set control intention in the preset control intention pool; if it is determined that there is an unmarked control intention in the preset control intention pool, entering a next voice setting period; or, if it is determined that there is no unmarked control intention in the preset control intention pool or a voice setting completion instruction is detected, ending the voice setting process and clearing the mark of the control intention in the preset control intention pool.
6. The method according to any one of claims 1 to 3, wherein Before controlling the heat-not-burn device to execute the device function corresponding to the first control intention, the method further comprises: determining prompt voice text corresponding to the first control intention based on a preset corresponding relationship between control intentions and prompt voice texts; synthesizing the prompt voice text into voice and outputting the synthesized voice to prompt the device function to be executed by the heat-not-burn device.
7. The method of claim 2 or 3, wherein, The parsing of the second keyword from the second user voice comprises: converting the second user voice into voice text; The second keyword is parsed from the voice text.
8. A voice control device for a heat-not-burn apparatus, characterized by, The device comprises: a voice collection module, configured to collect a first user voice; a determination module, configured to determine a first control intention from a first corresponding relationship according to a first keyword carried in the first user voice, the first corresponding relationship comprising one or more control intentions and a keyword associated with each control intention, and any control intention corresponding to one device function of the heat-not-burn equipment; a control module, configured to control the heat-not-burn equipment to perform a device function corresponding to the first control intention according to the first control intention.
9. A heat-not-burn device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, The processor executes the computer program to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the method of any one of claims 1 to 7. The computer program is executed by the processor to implement the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Household appliance voice control method, device and central control equipment
CN108694827A
Method and device for generating voice control instruction, and storage medium
CN108733343A
Vehicle control method and device based on personalized voice and storage medium
CN111883118A
Voice control method and device, electronic equipment and readable storage medium
CN112151035A
Voice interaction control method based on voice recognition, terminal equipment and storage medium
CN114863921A