Voice interaction configuration method, electronic device, and computer-readable medium
By detecting the frequency of use of wake-up commands in vehicle infotainment systems and dynamically setting wake-up-free commands, the problem of long response times caused by fixed wake-up words in vehicle infotainment systems has been solved, improving voice interaction efficiency and user experience.
Patent Information
- Application Number
- CN202110924481.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-12
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2041-08-12
AI Technical Summary
The existing voice interaction commands for in-vehicle systems are fixed and cannot be customized, which forces users to say the wake-up word frequently, increasing response time and reducing the efficiency of voice interaction.
By detecting the number of times a wake-up command is received, once the threshold is exceeded, it is set as a wake-up-free command and updated to the wake-up-free list, dynamically adjusting the wake-up-free skills and reducing the use of wake words.
It enables real-time adjustment of wake-up-free commands based on user needs, saving response time and improving voice interaction efficiency and user experience.
Smart Images

Figure CN115705844B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of human-computer interaction, and in particular to a voice interaction configuration method, an electronic device and a computer readable medium. BACKGROUND
[0002] Car machine refers to the abbreviation of the car information entertainment product installed in the car. The car machine can realize the information communication between people and the car, and the car and the outside world (car and car) in function. With the continuous development of science and technology, the demand for human-computer interaction function of car machine is constantly updated and developed.
[0003] Car machine voice interaction free wake-up instruction refers to an instruction that the user does not need to say a fixed wake-up word, and the car machine can react and implement the corresponding skill. For example, when the user wants to issue the instruction "Hello, XX! Navigate to Xijiekou" (where "Hello, XX!" is the wake-up word, and "Navigate to Xijiekou" is the wake-up instruction), the user can directly say "Navigate to Xijiekou", and the car machine can implement the corresponding navigation skill. Conversely, the car machine voice wake-up instruction refers to an instruction that the user needs to say a fixed wake-up word, and the car machine will react and implement the corresponding skill. For example, the user directly says "Send a message to XX", at which time the car machine will not respond, and the user should say "Hello, XX! Send a message to XX".
[0004] At present, the voice interaction free wake-up instruction of the car machine is fixed and cannot be customized or changed, its scene is also pre-divided, and the supported free wake-up skills are less. However, different users have different needs, and the skill that a certain user often uses may not be a free wake-up skill, so the user needs to say the wake-up instruction every time, which greatly increases the response time of voice interaction and reduces the efficiency of voice interaction. SUMMARY
[0005] The main purpose of the present disclosure is to provide a voice interaction configuration method, an electronic device and a computer readable medium to improve the above-mentioned defects existing in the prior art.
[0006] The present disclosure solves the above technical problems by the following technical solutions:
[0007] As a first aspect of the present disclosure, a voice interaction configuration method is provided, comprising the following steps:
[0008] receiving a wake-up instruction triggering voice interaction;
[0009] in response to detecting that the number of times of receiving the wake-up instruction exceeds a first preset threshold, setting the wake-up instruction as a free wake-up instruction to switch the wake-up skill corresponding to the wake-up instruction to a free wake-up skill, and updating the set free wake-up instruction to a free wake-up list; and
[0010] According to the set wake-up free instruction output control signal, a wake-up free skill corresponding to the matched wake-up free instruction is triggered.
[0011] As a second aspect of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the voice interaction configuration method as described above when executing the computer program.
[0012] As a third aspect of the present disclosure, a computer readable medium is provided, which stores computer instructions, wherein the computer instructions implement the voice interaction configuration method as described above when executed by a processor.
[0013] According to the present disclosure, other aspects of the present disclosure can be understood by those skilled in the art.
[0014] The positive progress effect of the present disclosure is that:
[0015] The voice interaction configuration method, the electronic device and the computer readable medium provided by the present disclosure can intelligently adjust the wake-up free instructions in the wake-up free list in real time according to user needs, thereby effectively meeting different needs of users for wake-up free instructions, saving the response time of voice interaction, greatly improving the efficiency of voice interaction, and further improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0016] The features and advantages of the present disclosure can be better understood after reading the detailed description of embodiments of the present disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar related properties or features can have the same or similar reference numerals.
[0017] Figure 1 The flowchart of the wake-up free configuration step of the voice interaction configuration method according to an embodiment of the present disclosure.
[0018] Figure 2 The flowchart of the wake-up free management step of the voice interaction configuration method according to an embodiment of the present disclosure.
[0019] Figure 3 The structural diagram of the electronic device for implementing the voice interaction configuration method according to another embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The present disclosure will be further described by way of examples without thereby limiting the present disclosure to the described examples.
[0021] It should be noted that reference to“an embodiment,”“an alternative embodiment,”“another embodiment,” and the like, indicates that the embodiment so described can include a particular feature, structure, or characteristic, but not every embodiment necessarily includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of those in the relevant art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
[0022] In the description of the present disclosure, it should be noted that the terms“center”,“transverse”,“upper”,“lower”,“left”,“right”,“vertical”,“horizontal”,“top”,“bottom”,“inner”,“outer” and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present disclosure. In addition, the terms“first”,“second” are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined with“first”,“second” can explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, the meaning of“a plurality of” is two or more. In addition, the term“includes” and any variation thereof is intended to cover non-exclusive inclusion.
[0023] In the description of the present disclosure, it should be noted that unless otherwise explicitly specified and limited, the terms“mounting”,“connecting”,“connection” should be understood broadly, for example, can be fixed connection, can also be detachable connection, or integrally connected; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present disclosure can be understood according to the specific circumstances.
[0024] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. Unless otherwise defined, the singular forms“a”,“an” and“the” used herein are intended to include plural references unless the context clearly indicates otherwise. It will be further understood that the terms“comprises” and / or“comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0025] To overcome the above-mentioned defects existing at present, the embodiment provides a voice interaction configuration method, comprising the following steps: receiving a wake-up instruction for triggering voice interaction; in response to detecting that the receiving frequency of the wake-up instruction exceeds a first preset threshold, setting the wake-up instruction as a wake-up-free instruction to switch the wake-up skill corresponding to the wake-up instruction to a wake-up-free skill, and updating the set wake-up-free instruction to a wake-up-free list; and outputting a control signal according to the set wake-up-free instruction to trigger the wake-up-free skill corresponding to the wake-up-free instruction.
[0026] In the embodiment, the voice interaction configuration method is preferably applied to a car machine device, but the application scenario of the voice interaction configuration method is not specifically limited, and can be set and adjusted according to actual needs, actual scenarios or possible needs and scenarios.
[0027] In the embodiment, the wake-up-free instruction in the wake-up-free list is intelligently adjusted in real time according to user needs, so that different needs of the user for the wake-up-free instruction are effectively met, the response time of voice interaction is saved, the voice interaction efficiency is greatly improved, and the user experience is improved.
[0028] Specifically, as an embodiment, as shown in Figure 1 The voice interaction configuration method provided by the embodiment comprises a wake-up-free configuration step, which mainly comprises the following steps:
[0029] Step 101, receiving a wake-up instruction for triggering voice interaction.
[0030] In this step, when the user enables the voice interaction function, the wake-up instruction for triggering voice interaction is parsed and received based on a predefined wake-up word, wherein the wake-up instruction is used to represent the execution of the corresponding matched wake-up skill. For example, the user says "Hello, XX! Send a message to XX", based on the wake-up word "Hello, XX!", the response is triggered, and the wake-up instruction "send a message to XX" corresponding to the message sending skill is executed.
[0031] Step 102, in response to detecting that the receiving frequency of the wake-up instruction exceeds a first preset threshold, setting the wake-up instruction as a wake-up-free instruction.
[0032] In this step, when the receiving frequency of a certain wake-up instruction in a preset time period exceeds a first preset threshold, it can be considered that the wake-up instruction is a frequently used instruction of the user, so the wake-up instruction is set as a wake-up-free instruction to switch the wake-up skill corresponding to the wake-up instruction to a wake-up-free skill, and a prompt information is output to the user to prompt the user that the instruction has been upgraded to a wake-up-free instruction, thereby greatly facilitating the user.
[0033] In this embodiment, the preset time period and the first preset threshold are not specifically limited, and can be set and adjusted according to actual needs, actual scenes, or possible needs and scenes.
[0034] After the wake-up instruction is set as the wake-up free instruction, the user does not need to say the specific wake-up word any more, and the direct response to execute the skill required by the user can be realized. For example, the user originally needs to say: "Hello, XX! Help me find a nearby restaurant with a price of 500 yuan", and it takes about 10 seconds to complete the response and operation. After the intelligent learning and scheduling, the user can directly say: "Help me find a nearby restaurant with a price of 500 yuan", which can trigger the restaurant searching skill, and it only takes about 6 seconds to complete the response and operation. The user originally needs to say: "Hello, XX! Navigate to Xinkexkou", and after the intelligent learning and scheduling, the user can directly say: "Navigate to Xinkexkou", which can trigger the navigation skill scene.
[0035] Step 103: updating the set wake-up free instruction to the wake-up free list.
[0036] In this embodiment, considering the processing speed and performance of the car machine device, the wake-up free instructions in the wake-up free list are preferably configured to be about 100, and the number of configured wake-up free instructions is not specifically limited, and can be set and adjusted according to actual needs, actual scenes, or possible needs and scenes.
[0037] In this step, when the set wake-up free instruction is updated to the wake-up free list, according to the number of configured wake-up free instructions, the original wake-up free instruction in the wake-up free list can be appropriately eliminated to release the configuration space of the new wake-up free instruction. The specific rules are described below in the wake-up free management step.
[0038] Step 104: outputting a control signal according to the set wake-up free instruction.
[0039] In this step, a control signal is output according to the set wake-up free instruction, so as to trigger the wake-up free skill matched with the wake-up free instruction, for example, executing the navigation skill, starting the music application, and the like.
[0040] The wake-up free configuration step of the voice interaction configuration method provided in this embodiment can intelligently adjust the wake-up free instructions in the wake-up free list in real time according to the user needs, thereby effectively meeting different needs of the user for the wake-up free instructions, saving the response time of the voice interaction, greatly improving the voice interaction efficiency, and further improving the user experience.
[0041] As shown in Figure 2 The voice interaction configuration method provided in this embodiment further includes a wake-up free management step executed in parallel with the wake-up free configuration step as described above, and the wake-up free management step mainly includes the following steps:
[0042] Step 201, divide the wake-up free list into different groups.
[0043] As an optional embodiment, in this step, considering the requirements of the car application scenario, the wake-up free list is divided into three groups, namely the fixed group, the schedulable group and the adjustable group, of course, the number of groups is not specifically limited, and it can also be divided into two groups or more than four groups, which can be set and adjusted according to actual requirements, actual scenarios or possible requirements and scenarios.
[0044] Step 202, different management rules are made for the wake-up free instructions in different groups.
[0045] As an optional embodiment, in this step, the fixed group is configured with a number of wake-up free instructions that do not change, which can be wake-up free instructions with relatively high usage frequency, for example, 20 wake-up free instructions can be configured as the fixed group (which can be set to 1-20 wake-up free instruction interval); the schedulable group is configured with dynamically added wake-up free instructions that are most commonly used by users, for example, 30 wake-up free instructions can be configured as the schedulable group (which can be set to 21-50 wake-up free instruction interval); the adjustable group is configured with wake-up free instructions that are often eliminated, for example, 50 wake-up free instructions can be configured as the adjustable group (which can be set to 51-100 wake-up free instruction interval).
[0046] In this embodiment, the wake-up free instruction matching is matched by using HASH (hash function), one HASH table corresponds to one group, and the final storage is stored in a tree shape. The matching speed of the tree shape is faster than the sequential traversal.
[0047] Step 203, manage or adjust the wake-up free instructions in different groups based on the management rules made.
[0048] In this step, the wake-up free instructions that need to be updated are added to the adjustable group of the wake-up free list or the wake-up free instructions in the adjustable group of the wake-up free list are removed.
[0049] Specifically, as an optional embodiment, in this step, in response to detecting that the number of times a wake-up free instruction is used exceeds a second preset threshold, it is indicated that the wake-up free instruction is used frequently, and therefore the wake-up free instruction can be added to the adjustable group of the wake-up free list.
[0050] In this embodiment, the second preset threshold is not specifically limited, and can be set and adjusted according to actual requirements, actual scenarios or possible requirements and scenarios.
[0051] Specifically, as an optional embodiment, in this step, each of the wake-up free instructions in the adjustable group of the wake-up free list is sorted according to the number of uses; a first preset number of wake-up free instructions at the rear of the sorting result is removed from the adjustable group; the removed wake-up free instructions are adjusted to wake-up instructions and updated to the wake-up list, and the number of uses thereof is cleared.
[0052] In this embodiment, the first preset number is not specifically limited, and can be set and adjusted according to actual needs, actual scenes or possible needs and scenes.
[0053] In this step, the wake-up free instructions are also added to the schedulable group or moved from the schedulable group to the adjustable group.
[0054] Specifically, as an optional embodiment, in this step, the wake-up free instructions in the adjustable group are added to the schedulable group, that is, the wake-up free instructions with a significantly larger number of uses in the adjustable group are directly added to the schedulable group, so as to accelerate the response speed.
[0055] Specifically, as an optional embodiment, in this step, each of the wake-up free instructions in the schedulable group is sorted according to the number of uses; a second preset number of wake-up free instructions at the rear of the sorting result is moved from the schedulable group to the adjustable group.
[0056] In this embodiment, the second preset number is not specifically limited, and can be set and adjusted according to actual needs, actual scenes or possible needs and scenes.
[0057] Step 204, updating and storing the wake-up free list.
[0058] In this step, the wake-up free list can be updated and stored in real time or periodically by using the above management rules.
[0059] As an optional embodiment, when the number of wake-up free instructions is large, the wake-up free instructions in the fixed group and the schedulable group can be set as a first level cache.
[0060] Specifically, the fixed group and the schedulable group (or the adjustable group) are stored on the RAM (Random Access Memory) as a first level cache, and the adjustable group (or the wake-up free instructions outside the groups) is stored in the disk as a second level cache. In this way, the first level cache is stored in the memory to accelerate the response speed, and the second level cache is stored in the disk, which has a slower response speed. However, this way can greatly increase the number of available wake-up free instructions while ensuring the response speed. Of course, when the number of wake-up free instructions is small or not large, all the wake-up free instructions can also be stored in the HASH table in the RAM.
[0061] The wake-up free management step of the voice interaction configuration method provided by the embodiment can periodically eliminate less frequently used wake-up free instructions, and can also accelerate the response speed of the remaining wake-up free instructions. For example, the original fixed 100 wake-up free skill list cannot be adjusted, and the response time of the user using the wake-up free skill is about 200 ms. After intelligent elimination and adjustment, the response time can be reduced to about 180 ms, thereby accelerating the response speed. Moreover, the wake-up free list can be dynamically reduced, and the wake-up free instructions finally retained in the wake-up free list are the most frequently used wake-up free instructions of the user, thereby effectively meeting different needs of the user for the wake-up free instructions, and further improving the user experience.
[0062] Figure 3 A structural schematic diagram of an electronic device according to the embodiment is provided. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the voice interaction configuration method in the above embodiment when executing the program. Figure 3 The electronic device 30 shown is merely an example and should not impose any limitation on the functions and use range of the embodiments of the present disclosure.
[0063] As shown in Figure 3 The electronic device 30 can be in the form of a general computing device, for example, it can be a server device. The components of the electronic device 30 can include but are not limited to the above-mentioned at least one processor 31, the above-mentioned at least one memory 32, and a bus 33 connecting different system components including the memory 32 and the processor 31.
[0064] The bus 33 includes a data bus, an address bus, and a control bus.
[0065] The memory 32 can include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322, and can further include a read-only memory (ROM) 323.
[0066] The memory 32 can further include a program / utility 325 having a set of program modules 324, such as an operating system, one or more application programs, other program modules, and program data, and each of these examples, or some combination thereof, can include implementation of a network environment.
[0067] The processor 31 performs various function applications and data processing by executing the computer program stored in the memory 32, such as the voice interaction configuration method in the above embodiment of the present disclosure.
[0068] The electronic device 30 can also communicate with one or more external devices 34 such as a keyboard or a pointing device, among others. This communication can occur via Input / Output (I / O) interface 35. Still yet, the model generation device 30 can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or the public network, such as the Internet) via network adapter 36. As Figure 3 illustrated, network adapter 36 communicates with the other modules of the model generation device 30 via bus 33. It should be appreciated that although not shown, other hardware and / or software modules could be used in conjunction with the model generation device 30. For example, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, among others, can be used with the model generation device 30.
[0069] It should be noted that although several units / modules or sub-units / modules of an electronic device are mentioned in the foregoing detailed description, such a division is merely exemplary and not mandatory. Indeed, according to an embodiment of the disclosure, the features and functionalities of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functionalities of one unit / module described above can be further divided into units / modules embodied by several units / modules.
[0070] The embodiments also provide a computer readable storage medium, having stored thereon a computer program, the program being executed by a processor to implement the steps in the voice interaction configuration method in the above embodiments.
[0071] More specifically, the readable storage medium can include, but is not limited to, a portable disc, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0072] In possible embodiments, the disclosure can also be implemented in the form of a program product, which includes program codes for causing a terminal device to execute the steps in the voice interaction configuration method in the above embodiments when the program product is executed on the terminal device.
[0073] More specifically, the program codes for executing the disclosure can be written in any combination of one or more programming languages, and can be executed entirely on the user device, partly on the user device and partly on a remote device, or entirely on a remote device.
[0074] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to the embodiments without departing from the principles and essence of the present disclosure, and these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A voice interaction configuration method, characterized by, The method comprises the following steps: receiving a wake-up instruction triggering a voice interaction; in response to detecting that the number of times of receiving the wake-up instruction exceeds a first preset threshold, setting the wake-up instruction as a wake-up-free instruction to switch the wake-up instruction corresponding matched wake-up skill to a wake-up-free skill, and updating the set wake-up-free instruction to a wake-up-free list; and outputting a control signal according to the set wake-up-free instruction to trigger the wake-up-free skill corresponding to the wake-up-free instruction; The voice interaction configuration method further comprises: dividing the wake-up-free list into different groups; formulating different management rules for the wake-up-free instructions in the different groups; managing or adjusting the wake-up-free instructions in the different groups based on the formulated management rules.
2. The voice interaction configuration method of claim 1, further comprising the following steps: adding a wake-up-free instruction to an adjustable group of the wake-up-free list or removing a wake-up-free instruction from the adjustable group of the wake-up-free list, wherein a plurality of wake-up-free instructions in the wake-up-free list are divided into at least two groups, and one of the groups is the adjustable group.
3. The voice interaction configuration method of claim 2, wherein the step of adding a wake-up-free instruction to the adjustable group of the wake-up-free list comprises the following steps: in response to detecting that the number of times of using a wake-up-free instruction exceeds a second preset threshold, adding the wake-up-free instruction to the adjustable group of the wake-up-free list.
4. The voice interaction configuration method of claim 2, wherein the step of removing a wake-up-free instruction from the adjustable group of the wake-up-free list comprises the following steps: sorting each wake-up-free instruction in the adjustable group of the wake-up-free list according to the number of times of use; based on the sorting result, removing a first preset number of wake-up-free instructions at the back of the sorting from the adjustable group.
5. The voice interaction configuration method of claim 4, further comprising the following steps: adjusting the removed wake-up-free instructions from the adjustable group to wake-up instructions and updating the adjusted wake-up instructions to a wake-up list.
6. The voice interaction configuration method of claim 2, wherein one of the at least two groups of a plurality of wake-up-free instructions in the wake-up-free list is a fixed group, and a plurality of wake-up-free instructions that are fixed and unchanged are configured in the fixed group.
7. The voice interaction configuration method of claim 6, wherein the plurality of wake-up-free instructions in the wake-up-free list are divided into at least three groups, and at least one of the groups is a schedulable group; the method further comprises the following steps: adding a wake-up-free instruction to the schedulable group or moving a wake-up-free instruction in the schedulable group to the adjustable group.
8. The voice interaction configuration method of claim 7, wherein the step of adding a wake-up-free instruction to the schedulable group comprises the following steps: adding a wake-up-free instruction in the adjustable group to the schedulable group.
9. The voice interaction configuration method of claim 7, wherein the step of moving a wake-up-free instruction in the schedulable group to the adjustable group comprises the following steps: sorting each wake-up-free instruction in the schedulable group according to the number of times of use; Based on the sorting result, the second preset number of wake-up-free instructions with late sorting from the schedulable group are moved into the adjustable group. 10.The voice interaction configuration method of claim 7, further comprising the steps of: The wake-up-free instructions in the fixed group and the schedulable group are set as a first-level cache.
11. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the voice interaction configuration method of any one of claims 1-10 when executing the computer program.
12. A computer readable medium having stored thereon computer instructions, wherein, The computer instructions implement the voice interaction configuration method of any one of claims 1-10 when executed by the processor.
Citation Information
Patent Citations
Voice wakeup method, device and system
CN109410952A
Wake-up-word-free registration method and device
CN111028846A
Voice interaction method and device, terminal and storage medium
CN112397062A