Method, system and controller for setting a voice announcement stream type

CN116312523BActive Publication Date: 2026-08-11CHONGQING CHANGAN TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]本申请实施例的目的是提供一种设置语音播报流类型的方法、系统及控制器,用以解决现有技术中的无法对有新增语音流类型的情况下的快速以及准确的处理的问题

Benefits of technology

[0033] Through the above technical solution, after the controller receives the new usage type of the voice broadcast sent by the application terminal, it sets the target stream type according to the new usage type through the voice assistant terminal; then, it determines the target voice broadcast engine based on the target stream type and the new usage type; next, it checks whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it checks whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, it stops the initial voice broadcast and broadcasts the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the usage type of the voice broadcast stream based on the usage type of the initial voice broadcast when there is a voice stream with a new usage type, without updating the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116312523B_ABST
    Figure CN116312523B_ABST
Patent Text Reader

Abstract

This application discloses a method, system, and controller for setting the type of a voice broadcast stream. The method includes: receiving a new usage type of the voice broadcast sent by an application; setting a target stream type via a voice assistant based on the new usage type; determining a target voice broadcast engine based on the target stream type and the new usage type; determining if an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, determining whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, stopping the initial voice broadcast and broadcasting the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the type of the voice broadcast stream based on the usage type of the initial voice broadcast when a voice stream with a new usage type exists, without needing to update the entire system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of voice broadcasting technology, specifically to a method, system, and controller for setting the voice broadcasting stream type. Background Technology

[0002] In current terminal usage, to meet users' diverse voice input needs, various voice playback types are provided, such as multimedia, navigation, telephone, and general voice messages. For different playback types, there may be situations where multiple types are played simultaneously, or where different types cannot be played concurrently. Existing voice playback technologies support multilingual, multi-dialect, and multi-role playback, and users can set their desired voice playback mode. However, they lack support for multiple voice playback stream types. Currently, adding new voice stream types requires application updates; therefore, traditional technical solutions cannot quickly and accurately handle situations where new voice stream types are added. Summary of the Invention

[0003] The purpose of this application is to provide a method, system, and controller for setting the type of voice broadcast stream, so as to solve the problem in the prior art that it is impossible to process quickly and accurately when a new voice stream type is added.

[0004] To achieve the above objectives, the first aspect of this application provides a method for setting a voice broadcast stream type, applied to a system for setting voice broadcast stream types. The system includes an application terminal, a voice assistant terminal, and a controller, the controller communicating with both the application terminal and the voice assistant terminal. The method includes:

[0005] New usage types for receiving voice broadcasts sent by the application;

[0006] Set the target stream type based on the new usage type via the voice assistant;

[0007] The target voice broadcast engine is determined based on the target stream type and the type of new use.

[0008] Determine if an initial voice broadcast is currently in progress;

[0009] If an initial voice broadcast is in progress, determine whether the purpose type of the initial voice broadcast and the new purpose type are the same type;

[0010] If the initial voice broadcast's purpose type and the newly added purpose type are the same, stop the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0011] In this embodiment of the application, the method further includes:

[0012] If no initial speech is being broadcast, the target speech is broadcast based on the target speech broadcasting engine.

[0013] In this embodiment of the application, the method further includes:

[0014] If the initial voice broadcast purpose type and the newly added purpose type are not the same, continue the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0015] In this embodiment of the application, the method further includes:

[0016] Upon receiving a new usage type, update the engine resource configuration file;

[0017] The updated engine resource configuration file is read by the voice assistant, and the voice broadcast engine is initialized.

[0018] In this embodiment of the application, updating the engine resource configuration file includes:

[0019] Add the new usage type to the engine resource configuration file.

[0020] In this embodiment of the application, the initialization process for the voice broadcast engine includes:

[0021] Match the usage type with the voice broadcast engine.

[0022] In this embodiment of the application, the initialization process for the voice broadcast engine also includes:

[0023] Create multiple voice broadcast engine instances based on their intended use;

[0024] Multiple voice broadcast engine instances are stored using a hash table.

[0025] A second aspect of this application provides a controller, comprising:

[0026] The memory is configured to store instructions; and

[0027] The processor is configured to retrieve instructions from memory and, when executing instructions, to implement a method for setting the voice broadcast stream type as described above.

[0028] A third aspect of this application provides a system for setting the type of a voice broadcast stream, comprising:

[0029] Based on the controller described above;

[0030] On the application side, it communicates with the controller and is configured to set the new usage type for voice broadcast and send the new usage type to the controller;

[0031] On the voice assistant side, which communicates with the controller, it is configured to determine the target stream type and target voice playback engine based on the new usage type.

[0032] A fourth aspect of this application provides a machine-readable storage medium storing instructions for causing a machine to perform the method of setting the voice broadcast stream type as described above.

[0033] Through the above technical solution, after the controller receives the new usage type of the voice broadcast sent by the application terminal, it sets the target stream type according to the new usage type through the voice assistant terminal; then, it determines the target voice broadcast engine based on the target stream type and the new usage type; next, it checks whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it checks whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, it stops the initial voice broadcast and broadcasts the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the usage type of the voice broadcast stream based on the usage type of the initial voice broadcast when there is a voice stream with a new usage type, without updating the entire system. Attached Figure Description

[0034] The accompanying drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the following detailed description to explain the embodiments of this application, but do not constitute a limitation on the embodiments of this application. In the drawings:

[0035] Figure 1 This illustration schematically shows a principle diagram of setting a voice broadcast stream type according to an embodiment of this application;

[0036] Figure 2 This schematic diagram illustrates a structural diagram of a system for setting a voice broadcast stream type according to an embodiment of this application;

[0037] Figure 3 A flowchart illustrating a method for setting a voice broadcast stream type according to an embodiment of this application is shown schematically;

[0038] Figure 4 A schematic block diagram of a controller according to an embodiment of this application is shown.

[0039] Explanation of reference numerals in the attached figures

[0040] 201 Controller 202 Application Terminal

[0041] 203 Voice Assistant Terminal Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for illustration and explanation of the embodiments of this application and are not intended to limit the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0043] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0044] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0045] Figure 1 This illustration schematically demonstrates a principle diagram for setting a voice broadcast stream type according to an embodiment of this application. For example... Figure 1 As shown in the illustration, this application provides a principle for setting the voice broadcast stream type. The system for setting the voice broadcast stream type may include an application, a voice assistant, and a controller. The application is used to set the voice broadcast purpose type and enable broadcasting. When a new purpose type is added, the controller updates the engine resource configuration file that the voice assistant needs to read. The voice assistant reads the updated engine resource configuration file, and the controller initializes the voice broadcast engine. Then, it sets the stream type and selects the voice broadcast engine according to the broadcast purpose type to obtain the broadcast text. The application then broadcasts the voice broadcast file. By setting the voice broadcast stream type according to the initial voice broadcast purpose type when a new purpose type of voice stream is added, the entire system does not need to be updated, thus improving the efficiency of setting the voice broadcast stream type.

[0046] Figure 2 The diagram schematically illustrates a structural diagram of a system for setting a voice broadcast stream type according to an embodiment of this application. For example... Figure 2As shown in the figure, this application embodiment provides a system for setting voice broadcast stream types. The system may include a controller 201, an application terminal 202, and a voice assistant terminal 203. The controller 201 communicates with both the application terminal 202 and the voice assistant terminal 203. The application terminal 202 is configured to set a new usage type for voice broadcast and send the new usage type to the controller 201. The voice assistant terminal 203 is configured to determine a target stream type and a target voice broadcast engine based on the new usage type and send the target stream type and the target voice broadcast engine to the controller 201. The controller 201 is configured to receive the new usage type for voice broadcast sent by the application terminal 202 and the target stream type and the target voice broadcast engine sent by the voice assistant terminal 203. The target voice broadcast engine is determined based on the target stream type and the new usage type; it is then determined whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it is determined whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, the initial voice broadcast is stopped, and the target voice is broadcast according to the target voice broadcast engine.

[0047] Figure 3 This illustration schematically shows a method for setting the voice broadcast stream type according to an embodiment of this application, such as... Figure 3 As shown, this method is applied to a system for setting the type of voice broadcast stream. The system includes an application, a voice assistant, and a controller. The controller communicates with both the application and the voice assistant. The method may include:

[0048] Step 301: Receive the new usage type of the voice broadcast sent by the application.

[0049] Step 302: Set the target stream type according to the new usage type via the voice assistant;

[0050] Step 303: Determine the target voice broadcast engine based on the target stream type and the new usage type;

[0051] Step 304: Determine if an initial voice broadcast is currently in progress;

[0052] Step 305: If an initial voice broadcast is in progress, determine whether the purpose type of the initial voice broadcast and the new purpose type are the same type;

[0053] Step 306: If the initial voice broadcast purpose type and the new purpose type are the same, stop the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0054] In this embodiment, "application terminal" refers to the user terminal. "Voice assistant terminal" refers to the module within the in-vehicle system that reads configuration files and sets the broadcast stream type. "New usage type" refers to the type set through the application terminal. "Stream type" refers to the type of data stream; a data stream is an ordered sequence of bytes with a start and end point. "Target stream type" refers to the type of data stream for the new usage type set by the application terminal. "Engine" is a core component for developing programs or systems on an electronic platform. "Target voice broadcast engine" refers to the broadcast engine corresponding to the data stream of the new usage type added by the application terminal. "Initial voice broadcast" refers to the voice broadcast currently in progress at the current judgment moment.

[0055] In the system for setting voice broadcast stream types, the controller communicates with both the application and the voice assistant. When setting a voice broadcast stream type, the controller first receives the new usage type of the voice broadcast from the application. Then, the voice assistant sets the target stream type based on the new usage type, ensuring a one-to-one correspondence between the target stream type and the new usage type. After setting the target stream type, the controller determines the target voice broadcast engine based on both the target stream type and the new usage type—that is, the target voice broadcast engine corresponding to the new usage type. By setting the target stream type and target voice broadcast engine based on the new usage type, new voice broadcasts can be played immediately upon their arrival without requiring an update to the entire application.

[0056] When a new voice broadcast type is added, it's crucial to ensure that voices of different purposes do not interfere with each other during broadcast. Therefore, after determining the target voice broadcast engine, the controller checks if an initial voice broadcast is currently in progress. If an initial voice broadcast is in progress, it further checks if the purpose type of the initial broadcast and the new purpose type are the same. If they are the same, it indicates that the two voice broadcasts will interfere with each other. In this case, the controller stops the initial voice broadcast and begins broadcasting the new purpose type, i.e., the target voice. When broadcasting the target voice, it must be broadcast according to the pre-determined target voice broadcast engine. By determining the types of the target voice broadcast and the initial voice broadcast, interference between the two voice broadcasts can be avoided, enhancing the accuracy of the voice broadcast.

[0057] Through the above technical solution, after the controller receives the new usage type of the voice broadcast sent by the application terminal, it sets the target stream type according to the new usage type through the voice assistant terminal; then, it determines the target voice broadcast engine based on the target stream type and the new usage type; next, it checks whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it checks whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, it stops the initial voice broadcast and broadcasts the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the usage type of the voice broadcast stream based on the usage type of the initial voice broadcast when there is a voice stream with a new usage type, without updating the entire system.

[0058] In this embodiment of the application, the method may further include:

[0059] If no initial speech is being broadcast, the target speech is broadcast based on the target speech broadcasting engine.

[0060] Specifically, if no initial voice broadcast is in progress, it means that the system is not currently broadcasting any voice messages, and the target voice message can be broadcast directly. When broadcasting the target voice message, it can be broadcast according to a pre-determined target voice message. By determining the types of the target voice message and the initial voice message, interference between the two types of voice broadcasts can be avoided, thus improving the accuracy of the voice broadcast.

[0061] In this embodiment of the application, the method may further include:

[0062] If the initial voice broadcast purpose type and the newly added purpose type are not the same, continue the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0063] Specifically, when the initial voice broadcast's purpose type and the newly added purpose type are not the same, the two voice broadcasts will not interfere with each other, and both types of voice broadcasts can be performed simultaneously. The initial voice broadcast can continue, and the target voice can be broadcast. When broadcasting the target voice, it can be broadcast according to a pre-determined target voice broadcast. In one example, the initial voice broadcast type is music broadcast, and the newly added purpose type is navigation broadcast. Since music broadcast and navigation broadcast are different types, music broadcast continues, while navigation is broadcast according to the navigation broadcast engine. By determining whether the two voice broadcasts are of the same type, interference between the two voice broadcasts can be avoided, enhancing the accuracy of voice broadcast.

[0064] In this embodiment of the application, the method may further include:

[0065] Upon receiving a new usage type, update the engine resource configuration file;

[0066] The updated engine resource configuration file is read by the voice assistant, and the voice broadcast engine is initialized.

[0067] Specifically, a configuration file is essentially a file containing information required for successful program operation, structured in a specific way. This information is not hard-coded into the program but is user-configurable. The engine resource configuration file refers to the configuration file required by the voice playback engine. After a new usage type is added in the application, the voice playback engine's engine resource configuration file also needs to be updated. The application sends the new usage type to the controller, which updates the engine resource configuration file accordingly. Upon receiving the updated engine resource configuration file, the voice assistant reads it and initializes the voice playback engine based on it. By updating the engine resource configuration file when a new usage type is added, the voice stream for that new usage type can be played without updating the entire application, thus improving the efficiency of voice playback.

[0068] In this embodiment of the application, updating the engine resource configuration file may include:

[0069] Add the new usage type to the engine resource configuration file.

[0070] Specifically, after the controller receives the new usage type from the application, it needs to update the engine resource configuration file. This update must be based on the new usage type sent by the application. During the update, the new usage type can be added to the engine resource configuration file. By updating the engine resource configuration file, the newly added voice stream type can be played.

[0071] In this embodiment of the application, initializing the voice broadcast engine may include:

[0072] Match the usage type with the voice broadcast engine.

[0073] Specifically, the initialization process for the voice broadcast engine needs to be based on the engine resource configuration file. The engine resource configuration file is updated based on the newly added usage type. After updating the engine resource configuration file, the newly added usage type is marked on the voice broadcast engine, so that the voice broadcast engine has detailed information about the new type. By initializing the voice broadcast engine, the voice broadcast engine can be matched with the newly added usage type to enable the broadcasting of voices for the newly added usage type.

[0074] In this embodiment of the application, the initialization process for the voice broadcast engine may further include:

[0075] Create multiple voice broadcast engine instances based on their intended use;

[0076] Multiple voice broadcast engine instances are stored using a hash table.

[0077] Specifically, a hash table, also called a hash map, is a data structure that provides fast insertion and lookup operations. During the initialization of the voice broadcast engine, multiple voice broadcast instances are created based on the usage type marked on the engine (i.e., the new usage type). After creating multiple voice broadcast instances, they are stored in a hash table according to their usage type. By creating voice broadcast engine examples and storing voice broadcast instances, the corresponding voice broadcast instance can be selected for voice broadcasting when needed.

[0078] Through the above technical solution, after the controller receives the new usage type of the voice broadcast sent by the application terminal, it sets the target stream type according to the new usage type through the voice assistant terminal; then, it determines the target voice broadcast engine based on the target stream type and the new usage type; next, it checks whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it checks whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, it stops the initial voice broadcast and broadcasts the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the usage type of the voice broadcast stream based on the usage type of the initial voice broadcast when there is a voice stream with a new usage type, without updating the entire system.

[0079] Figure 4 A schematic block diagram of a controller according to an embodiment of this application is shown. Figure 4 As shown in the figure, this application provides a controller that may include:

[0080] Memory 410 is configured to store instructions; and

[0081] Processor 420 is configured to retrieve instructions from memory 410 and, when executing instructions, to implement the aforementioned method for setting the voice broadcast stream type.

[0082] Specifically, in this embodiment of the application, the processor 420 can be configured to:

[0083] New usage types for receiving voice broadcasts sent by the application;

[0084] Set the target stream type based on the new usage type via the voice assistant;

[0085] The target voice broadcast engine is determined based on the target stream type and the type of new use.

[0086] Determine if an initial voice broadcast is currently in progress;

[0087] If an initial voice broadcast is in progress, determine whether the purpose type of the initial voice broadcast and the new purpose type are the same type;

[0088] If the initial voice broadcast's purpose type and the newly added purpose type are the same, stop the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0089] Furthermore, the processor 420 can also be configured as follows:

[0090] If no initial speech is being broadcast, the target speech is broadcast based on the target speech broadcasting engine.

[0091] Furthermore, the processor 420 can also be configured as follows:

[0092] If the initial voice broadcast purpose type and the newly added purpose type are not the same, continue the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine.

[0093] Furthermore, the processor 420 can also be configured as follows:

[0094] Upon receiving a new usage type, update the engine resource configuration file;

[0095] The updated engine resource configuration file is read by the voice assistant, and the voice broadcast engine is initialized.

[0096] Furthermore, the processor 420 can also be configured as follows:

[0097] Updating the engine resource configuration file includes:

[0098] Add the new usage type to the engine resource configuration file.

[0099] Furthermore, the processor 420 can also be configured as follows:

[0100] The initialization process for the voice broadcast engine includes:

[0101] Match the usage type with the voice broadcast engine.

[0102] Furthermore, the processor 420 can also be configured as follows:

[0103] The initialization process for the voice broadcast engine also includes:

[0104] Create multiple voice broadcast engine instances based on their intended use;

[0105] Multiple voice broadcast engine instances are stored using a hash table.

[0106] Through the above technical solution, after the controller receives the new usage type of the voice broadcast sent by the application terminal, it sets the target stream type according to the new usage type through the voice assistant terminal; then, it determines the target voice broadcast engine based on the target stream type and the new usage type; next, it checks whether an initial voice broadcast is currently in progress; if an initial voice broadcast is in progress, it checks whether the usage type of the initial voice broadcast and the new usage type are the same type; if the usage type of the initial voice broadcast and the new usage type are the same type, it stops the initial voice broadcast and broadcasts the target voice according to the target voice broadcast engine. This application's solution improves the efficiency of setting the voice broadcast stream type by setting the usage type of the voice broadcast stream based on the usage type of the initial voice broadcast when there is a voice stream with a new usage type, without updating the entire system.

[0107] like Figure 2 As shown in the figure, this application embodiment provides a system for setting the type of voice broadcast stream, the system may include:

[0108] According to the controller 201 described above;

[0109] Application 202 communicates with controller 201 and is configured to set the new usage type for voice broadcast and send the new usage type to controller 201.

[0110] The voice assistant terminal 203 communicates with the controller 201 and is configured to determine the target stream type and target voice broadcast engine based on the new usage type.

[0111] In this embodiment, the system for setting the voice broadcast stream type may include a controller 201, an application terminal 202, and a voice assistant terminal 203. The controller 201 communicates with both the application terminal 202 and the voice assistant terminal 203. The application terminal 202 is configured to set a new usage type for the voice broadcast and send the new usage type to the controller 201. The voice assistant terminal 203 is configured to determine the target stream type and the target voice broadcast engine based on the new usage type and send the target stream type and the target voice broadcast engine to the controller 201. The controller 201 is configured to receive the new usage type for the voice broadcast sent by the application terminal 202, and the target stream type and the target voice broadcast engine sent by the voice assistant terminal 203. The target voice broadcast engine is determined based on the target stream type and the new usage type. It then checks if an initial voice broadcast is currently in progress. If an initial voice broadcast is in progress, it checks if the usage type of the initial broadcast and the new usage type are the same. If they are the same, the initial voice broadcast stops, and the target voice is broadcast using the target voice broadcast engine. Through multi-terminal interaction between the controller, application, and voice assistant, the voice broadcast stream type is set based on the usage type of the initial broadcast when there is a voice stream with a new usage type, without requiring an update to the entire system, thus improving the efficiency of setting the voice broadcast stream type.

[0112] This application also provides a machine-readable storage medium storing instructions that cause a machine to execute the above-described method for setting the voice broadcast stream type.

[0113] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0114] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0115] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0116] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0117] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0118] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0119] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0120] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0121] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for setting the type of voice broadcast stream, characterized in that, A system for setting voice broadcast stream types, the system comprising an application terminal, a voice assistant terminal, and a controller, wherein the controller communicates with both the application terminal and the voice assistant terminal, the method comprising: Receive new usage types of voice broadcasts sent by the application terminal; The target stream type is set by the voice assistant based on the newly added usage type; The target voice broadcast engine is determined based on the target stream type and the new usage type; Determine if an initial voice broadcast is currently in progress; If an initial voice broadcast is in progress, determine whether the purpose type of the initial voice broadcast and the new purpose type are the same type; If the purpose type of the initial voice broadcast and the new purpose type are the same, stop the initial voice broadcast and broadcast the target voice according to the target voice broadcast engine; The method further includes: Upon receiving the newly added usage type, update the engine resource configuration file; The voice assistant reads the updated engine resource configuration file and initializes the voice broadcast engine.

2. The method according to claim 1, characterized in that, The method further includes: In the absence of an initial voice broadcast, the target voice is broadcast according to the target voice broadcast engine.

3. The method according to claim 1, characterized in that, The method further includes: If the purpose type of the initial voice broadcast and the new purpose type are not the same, the initial voice broadcast continues, and the target voice is broadcast according to the target voice broadcast engine.

4. The method according to claim 1, characterized in that, The updated engine resource configuration file includes: Add the new usage type to the engine resource configuration file.

5. The method according to claim 1, characterized in that, The initialization process for the voice broadcast engine includes: Match the usage type with the voice broadcast engine.

6. The method according to claim 1, characterized in that, The initialization process for the voice broadcast engine also includes: Create multiple voice broadcast engine instances according to the described usage type; The multiple voice broadcast engine instances are stored in a hash table.

7. A controller, characterized in that, include: The memory is configured to store instructions; as well as The processor is configured to retrieve the instructions from the memory and, when executing the instructions, to implement the method for setting the voice broadcast stream type according to any one of claims 1 to 6.

8. A system for setting the type of voice broadcast stream, characterized in that, include: The controller according to claim 7; On the application side, it communicates with the controller and is configured to set the new usage type for voice broadcasting and send the new usage type to the controller; The voice assistant communicates with the controller and is configured to determine the target stream type and target voice broadcast engine based on the new usage type.

9. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores instructions for causing the machine to perform a method for setting the voice broadcast stream type according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Navigation apparatus and voice broadcast method thereof

    CN101701829A

  • Audio distribution method and device for vehicle

    CN109254751A

  • Method for audio playing of message, electronic equipment and medium

    CN112040067A