Vehicle-mounted TTS voice broadcast method, device and equipment and computer readable storage medium
Through natural semantic technology, the identification of operation instructions and priority is optimized, and the on-board TTS voice broadcast is solved, which solves the problem that drivers may miss important information and improves driving safety and information communication efficiency.
Patent Information
- Application Number
- CN202410973605.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-26
AI Technical Summary
During the on-board TTS voice assistant broadcast, the driver may miss important information, affecting driving safety, especially when other passengers in the cabin interact with the voice assistant.
Use natural semantic technology to identify user's operation command information, generate tasks to be broadcasted, and determine whether to interrupt the current broadcast task based on priority and broadcast setting information, ensure priority broadcast of emergency or important information, and determine whether to stop broadcasting based on vehicle status, optimize broadcasting Sequence and sound area positioning.
It reduces the driver's manual operation and distraction, improves driving safety and information transmission efficiency, ensures timely broadcast of important information, and avoids unnecessary interruptions and confusion.
Smart Images

Figure CN119028340A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automotive technology, and more particularly to an automotive TTS voice broadcasting method, device, equipment and computer-readable storage medium. Background Art
[0002] With the popularization of automobiles and Internet software products, drivers' demand for intelligent experience in cars is becoming more and more obvious. As a highlight of modern automobile intelligence, the in-car voice assistant's TTS voice broadcast function during the interaction process is crucial to providing a smooth user experience.
[0003] When the TTS voice assistant is broadcasting, it usually broadcasts directly after receiving a new broadcast task; or, when receiving a new broadcast task, it interrupts the previous broadcast and directly enters the new voice broadcast; or, when receiving multiple broadcast tasks, it queues multiple broadcast tasks and broadcasts them in sequence.
[0004] However, when there are other passengers in the cabin, the interaction between other passengers and the TTS voice assistant may change the content currently being played. For the main driver, some important information may be interrupted, causing the driver to miss key information and affect driving safety. Summary of the invention
[0005] In order to improve driving safety, the present application provides a vehicle-mounted TTS voice broadcast method, device, equipment and computer-readable storage medium.
[0006] In the first aspect, the present application provides a vehicle-mounted TTS voice broadcast method, which adopts the following technical solution:
[0007] A vehicle-mounted TTS voice broadcasting method, comprising:
[0008] Get the user's voice information;
[0009] Determining whether there is operation instruction information in the voice information based on natural semantic technology;
[0010] If there is operation instruction information, a first task to be broadcasted is generated based on the operation instruction information, and a target broadcast audio zone is determined based on the voice information;
[0011] Check whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone;
[0012] If there is a current broadcast task, obtaining the first priority of the first task to be broadcast and the second priority of the current broadcast task;
[0013] Determining whether the current broadcast task needs to be interrupted based on the first priority and the second priority;
[0014] If the current broadcast task needs to be interrupted, the first task to be broadcasted is used as the current broadcast task;
[0015] The current announcement task is announced in the target announcement audio area.
[0016] By adopting the above technical solution, the user's operation command information is recognized through natural semantic technology, which reduces the need for the driver to manually operate the on-board equipment or be distracted, allowing the driver to focus more on the driving task, thereby improving driving safety; according to the source of the voice information, the target broadcast sound zone of the first task to be broadcast is determined, and through the mechanism of priority judgment and interruption of the broadcast task, it is determined whether the first task to be played is immediately broadcast in the target broadcast sound zone, so that the high-priority broadcast task is given priority in the target broadcast sound zone, while reducing interference with the driver, thereby improving driving safety to a certain extent.
[0017] Optionally, obtaining the broadcast setting information of the current broadcast task, wherein the broadcast setting information includes whether the queue can be interrupted;
[0018] When the first priority is higher than the second priority, and the broadcast setting information of the current broadcast task is interruptible by queue jumping, it is determined that the current broadcast task needs to be interrupted.
[0019] By adopting the above technical solution, by comparing the priorities of the broadcast tasks, it is ensured that urgent or important information can be broadcast first, thereby improving the efficiency and timeliness of information transmission. In addition, when judging whether it is necessary to interrupt the current broadcast task, not only the priority factor is considered, but also the broadcast setting information is combined. If the current broadcast task is set to be interrupted by queue, the first task to be broadcast will not be broadcast immediately, thereby avoiding unnecessary interruptions and confusion.
[0020] Optionally, if the current broadcast task does not need to be interrupted, the method further includes:
[0021] Acquire all second tasks to be broadcasted that are queued and to be broadcasted in the target broadcast list;
[0022] Obtaining the third priority of each of the second tasks to be broadcasted;
[0023] Determine the broadcast sequence number of the first task to be broadcasted in the target broadcast list based on the first priority and the third priority;
[0024] The first task to be reported is reported based on the reporting sequence number.
[0025] By adopting the above technical solution, the position of the first task to be broadcasted in the broadcast list is determined based on the first priority and the third priority, ensuring that all broadcast tasks can be carried out in order according to their importance, thereby reducing the possibility of confusion and disorder in the second task to be broadcasted.
[0026] Optionally, the method further includes
[0027] Obtain vehicle driving information;
[0028] Determine a current state of the vehicle based on the driving information, wherein the current state includes a stable state and a complex state, and the complex state includes turning, changing lanes, emergency braking, and reversing;
[0029] When the current state is a stable state, the current broadcast task is broadcasted;
[0030] When the current state is a complex state, obtaining the fourth priority of the current broadcast task;
[0031] Determine whether to stop broadcasting the current broadcast task based on the fourth priority.
[0032] By adopting the above technical solution, when the vehicle is in a complex state, the priority of the current broadcast task is used to decide whether to stop the broadcast of the current broadcast task, thereby reducing interference to the driver and improving driving safety.
[0033] Optionally, when the current broadcast task is interrupted or ended, query whether the task broadcast function is closed;
[0034] If it is not closed, query whether there is a second task to be broadcasted in the target broadcast list;
[0035] If it exists, the second task to be broadcasted is selected based on the broadcast sequence number, and the selected second broadcast task is used as the current broadcast task.
[0036] By adopting the above technical solution, when the broadcast function remains turned on, the next second task to be broadcasted is automatically selected from the target broadcast list for broadcasting, thereby ensuring the continuity and timeliness of the information.
[0037] Optionally, also include:
[0038] The vehicle is divided into broadcast sound zones, wherein each of the broadcast sound zones corresponds to a plurality of microphones and speakers.
[0039] Optionally, determining a target announcement audio zone based on the voice information includes:
[0040] Obtaining the time when the microphone in each broadcast sound zone receives the voice information;
[0041] Sorting the receiving times to obtain a time series table;
[0042] Select the earliest receiving time in the time series table;
[0043] The broadcast sound zone where the microphone corresponding to the selected receiving time is located is used as the target broadcast sound zone.
[0044] By adopting the above technical solution, by comparing the time difference of different microphones receiving voice information, the relative distance between the sound source position and each microphone can be determined, and the broadcast sound area where the microphone with the earliest receiving time is located can be selected as the target broadcast sound area. This can more accurately locate the target broadcast sound area where the user is currently located, making the broadcast of the second task to be broadcast more targeted.
[0045] In the second aspect, the present application provides a vehicle-mounted TTS voice broadcasting device, which adopts the following technical solution:
[0046] A vehicle-mounted TTS voice broadcasting device, comprising:
[0047] An acquisition module is used to acquire the user's voice information;
[0048] A first judgment module is used to judge whether there is operation instruction information in the voice information based on natural semantic technology; if there is operation instruction information, a first task to be broadcasted is generated based on the operation instruction information, and a target broadcast audio zone is determined based on the voice information;
[0049] A query module, used for querying whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone; if there is a current broadcast task, obtaining the first priority of the first task to be broadcast and the second priority of the current broadcast task;
[0050] A second judgment module is used to judge whether the current broadcast task needs to be interrupted based on the first priority and the second priority; if the current broadcast task needs to be interrupted, the first task to be broadcasted is used as the current broadcast task;
[0051] The announcement module is used to announce the current announcement task in the target announcement audio area.
[0052] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0053] An in-vehicle device comprises a processor and a memory, wherein the processor is coupled to the memory;
[0054] The processor is used to execute the computer program stored in the memory so that the electronic device performs the method as described in any one of the first aspects.
[0055] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0056] A computer-readable storage medium comprises a computer program or an instruction, and when the computer program or the instruction is executed on a computer, the computer is caused to execute the method as described in any one of the first aspects.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] By using natural semantic technology to identify user operation command information, the driver's need to manually operate vehicle-mounted equipment or be distracted is reduced, allowing the driver to focus more on driving tasks, thereby improving driving safety; based on the source of voice information, the target broadcast audio zone of the first task to be broadcast is determined, and through the mechanism of priority judgment and task interruption, it is determined whether the first task to be played should be broadcast immediately in the target broadcast audio zone, so that high-priority broadcast tasks are given priority in the target broadcast audio zone, while reducing interference with the driver, thereby improving driving safety to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flow chart of a vehicle-mounted TTS voice broadcasting method in an embodiment of the present application.
[0060] Figure 2 It is a flowchart of the sub-step of step S107b in the embodiment of the present application.
[0061] Figure 3 It is a structural block diagram of a vehicle-mounted TTS voice broadcasting device in an embodiment of the present application.
[0062] Figure 4 It is a structural block diagram of a vehicle-mounted device in an embodiment of the present application. DETAILED DESCRIPTION
[0063] The present application is further described in detail below in conjunction with the accompanying drawings.
[0064] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0066] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0067] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0068] The embodiment of the present application provides a vehicle-mounted TTS voice broadcast method, which can be executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0069] like Figure 1 As shown, a vehicle-mounted TTS voice broadcast method, the main process of which is described as follows (steps S101 to S105):
[0070] Step S101, obtaining the user's voice information;
[0071] In this embodiment, the vehicle cabin is first divided into broadcast sound zones. Specifically, the vehicle is divided into broadcast sound zones, wherein each broadcast sound zone corresponds to a plurality of microphones and speakers.
[0072] In this embodiment, the interior of the vehicle cabin is divided into three broadcast sound zones, namely, the driver's broadcast sound zone, the co-driver's broadcast sound zone and the rear passenger's broadcast sound zone, wherein each broadcast sound zone is provided with multiple microphones and multiple speakers, and the TTS voice broadcast device collects the voice information of the user in each broadcast sound zone in real time, wherein the voice information includes the user's dialogue information and the user's operation command information.
[0073] In this embodiment, the user can set each playback sound zone according to his or her needs, wherein the settings include but are not limited to broadcast volume, speech speed and timbre parameters. For example, the main driver user can set the broadcast volume of navigation operation instruction information to be higher than other operation instruction information, and the co-driver user or the back-seat user can set the broadcast volume of entertainment content to be lower than the volume of the main driver broadcast sound zone.
[0074] Step S102, judging whether there is operation instruction information in the voice information based on natural semantic technology, if yes, executing step S103a, otherwise executing step S103b;
[0075] In this embodiment, when the TTS voice broadcasting device obtains the user's voice information, the voice information is processed using the NLP natural semantic technology, so as to identify the dialogue information and operation instruction information in the voice information.
[0076] Step S103a, generating a first task to be broadcast based on the operation instruction information, and determining a target broadcast audio zone based on the voice information;
[0077] In this embodiment, when the voice information contains operation instruction information, the TTS voice broadcast device extracts the operation instruction information and generates a first task to be broadcast, and identifies the instruction type of the operation instruction information through NLP natural semantic technology, thereby determining the first priority of the first task to be broadcast through the instruction type.
[0078] In this embodiment, a priority level is preset for each instruction type, wherein the instruction types include but are not limited to entertainment, information, navigation, safety reminder and emergency information. For example, the priority of the navigation type is higher than the priority of the safety reminder and emergency information types, the priority of the safety reminder and emergency information types is higher than the priority of the information type, and the priority of the information type is higher than the priority of the entertainment type. Each instruction type can be set according to user needs, and there is no specific limitation on this.
[0079] Among them, determining the target broadcast sound zone based on the voice information includes: obtaining the reception time of the microphone in each broadcast sound zone to obtain the voice information; sorting the reception times to obtain a time series table; selecting the earliest reception time in the time series table; and taking the broadcast sound zone where the microphone corresponding to the selected reception time is located as the target broadcast sound zone.
[0080] In this embodiment, the TTS voice broadcasting device obtains the receiving time when the microphone of each broadcasting sound zone receives the voice information in the order of the receiving time.
[0081] For example, the receiving times are 5:20 and 5:21, and 5:20 is before 5:21, thus forming a time series table. The earliest receiving time is selected in the time series table, such as 5:20 mentioned above. At this time, the broadcast area to which the microphone corresponding to the earliest receiving time belongs is obtained, and the obtained broadcast audio area is used as the target broadcast audio area.
[0082] In other optional embodiments, the audio amplitude of the voice information received by the microphone may be obtained, and the broadcast sound zone to which the microphone with the largest audio amplitude belongs may be selected as the target broadcast sound zone.
[0083] In other optional embodiments, the receiving time and the audio amplitude can be used to jointly determine the target broadcast sound area. When the microphone with an early receiving time and a large audio amplitude belongs to the same broadcast sound area, the broadcast area is used as the target broadcast sound area; when the microphone with an early receiving time and a large audio amplitude does not belong to the same broadcast sound area, the broadcast sound area with an early receiving time is used as the target broadcast sound area.
[0084] S103b: Do not process the voice information.
[0085] In this embodiment, when the voice information does not include the operation instruction information, the voice information is not processed.
[0086] In other optional implementation examples, when the voice information contains dialogue information, the volume of the front passenger broadcast sound zone and the rear passenger broadcast sound zone is automatically reduced, and the volume of the main driver broadcast sound zone is not processed, thereby reducing the possibility that the sound of the current broadcast task may overlap with the passengers' conversation and reduce the audibility of the information.
[0087] Step S104, query whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone, if so, execute step S105a, otherwise execute step S105b;
[0088] In this embodiment, each announcement audio zone corresponds to a broadcast list, and the play list stores all tasks to be played that are queued in the announcement audio zone, which are referred to as second tasks to be played.
[0089] When the TTS voice broadcasting device receives the first task to be broadcasted, it first queries whether there is any audio being broadcasted in the target playlist, and when there is any audio being broadcasted, it determines that there is a current broadcasting task.
[0090] Step S105a, obtaining the first priority of the first task to be broadcast and the second priority of the current broadcast task;
[0091] In this embodiment, the first priority corresponding to the first task to be broadcast and the second priority corresponding to the current broadcast task are queried, wherein each broadcast task corresponds to a priority number, for example, digital numbers 1, 2, 3, 4, wherein the larger the number, the higher the priority, or the smaller the number, the higher the priority, there is no specific limitation on this, and in this embodiment, the larger the number, the higher the priority is taken as an example for explanation.
[0092] In this embodiment, the first priority number of the first task to be broadcast and the second priority number of the current broadcast task are obtained.
[0093] S105b, broadcasting the first task to be broadcasted in the target broadcasting area;
[0094] Step S106, judging whether the current broadcast task needs to be interrupted based on the first priority and the second priority, if yes, executing step S107a, otherwise executing step S107b;
[0095] Step S106 specifically includes: obtaining the broadcast setting information of the current broadcast task, the broadcast setting information including queue jumping and interruption; when the first priority is higher than the second priority and the broadcast setting information of the current broadcast task is queue jumping and interruption, determining that the current broadcast task needs to be interrupted.
[0096] Step S107a, taking the first task to be broadcast as the current broadcast task;
[0097] Each broadcast task corresponds to a broadcast setting information, wherein the broadcast setting information includes but is not limited to discardable, delayed, interrupted by queue interruption, non-interruptible by queue interruption, and interruptible by queue interruption.
[0098] For example, the broadcast setting information of the entertainment and information playing tasks is discardable, and the broadcast setting information of the safety prompt playing tasks is queue interruption.
[0099] In this embodiment, when the first priority number is greater than the second priority number, and the broadcast setting information of the first task to be broadcasted is interruption by queue jumping, and the broadcast setting information of the current broadcast task is interruption by queue jumping, it is determined that the current broadcast task needs to be interrupted. At this time, the current broadcast task is interrupted and the first task to be broadcast is used as the current task to be broadcast; when the broadcast setting information of the current broadcast task is non-interruptible by queue jumping, it is determined that the current broadcast task does not need to be interrupted. At this time, the current broadcast task continues to be broadcast, and the first task to be broadcast is stored in the target broadcast list.
[0100] For example, the second priority level of the current broadcast task is numbered 1, 2, and 3. At this time, inserting a first task to be broadcasted with a second priority number of 3 or 4 will interrupt the current broadcast task.
[0101] Wherein, step S107b includes the following steps (steps S1071b to S1074b):
[0102] S201, obtaining all second tasks to be broadcasted that are queued and to be broadcasted in the target broadcast list;
[0103] In this embodiment, when the broadcast setting information of the first task to be broadcast is postponed, all the second tasks to be broadcast queued in the target broadcast list are obtained, where the number of second tasks to be broadcast can be multiple or zero, and there is no specific limitation on this. When the broadcast setting information of the first task to be broadcast is discardable, the first task to be broadcast is directly discarded and not stored in the target broadcast list.
[0104] S202, obtaining the third priority of each second task to be broadcasted;
[0105] In this embodiment, each second task to be broadcast corresponds to a third priority level, wherein the third priority level is also a third priority level number.
[0106] S203, determining the broadcast sequence number of the first task to be broadcasted in the target broadcast list based on the first priority and the third priority;
[0107] In this embodiment, the position of the first task to be broadcast in the target broadcast list is determined according to the third priority number and the first priority number. When there is a task with the same priority number as the first task to be broadcast in the target broadcast list, the first task to be broadcast is placed after the second task to be broadcast with the same priority number, wherein the broadcast sequence number is the broadcast order of the second task to be broadcast.
[0108] It is particularly noted that each second task to be broadcast corresponds to a broadcast sequence number.
[0109] S204: broadcast the first task to be broadcasted based on the broadcast sequence number.
[0110] In this embodiment, the second tasks to be broadcasted are broadcasted in sequence according to the broadcast sequence numbers.
[0111] Step S108, the current announcement task is announced in the target announcement audio area.
[0112] In this embodiment, the audio system in the target announcement audio zone is controlled to play the current announcement task, so that users in the corresponding area can hear the content they want to hear.
[0113] For example, the first task to be broadcasted issued by the main driver's broadcast audio area is broadcast in the main driver's broadcast audio area, the first task to be broadcasted issued by the co-driver's broadcast audio area is broadcast in the co-driver's broadcast audio area, and the first task to be broadcasted issued by the rear passenger broadcast audio area is broadcast in the rear passenger broadcast audio area, thereby reducing interference with the main driver's driving and allowing each user to hear what they want to hear.
[0114] After the current broadcast task is broadcast in the target broadcast audio area, it also includes: when the current broadcast task is interrupted or ended, query whether the task broadcast function is closed; if not closed, query whether there is a second task to be broadcast in the target broadcast list; if so, select the second task to be broadcast based on the broadcast sequence number, and use the selected second broadcast task as the current broadcast task.
[0115] In this embodiment, if the current playback task is interrupted or completed, it is necessary to check whether the broadcast function is closed. If it is not closed, check whether there is a second task to be broadcast in the target playback list. If so, broadcast the second task to be broadcast according to the broadcast sequence number.
[0116] In this embodiment, it also includes: obtaining the driving information of the vehicle; determining the current state of the vehicle based on the driving information, the current state includes a stable state and a complex state, and the complex state includes turning, changing lanes, emergency braking and reversing; when the current state is a stable state, broadcasting the current broadcast task; when the current state is a complex state, obtaining the fourth priority of the current broadcast task; based on the fourth priority, determining whether to stop broadcasting the current broadcast task.
[0117] In this embodiment, the vehicle's driving information is obtained, and the driving information includes but is not limited to real-time position, speed, acceleration and driving direction information, wherein the real-time position, speed, acceleration and driving direction information of the vehicle can be collected by the vehicle-mounted GPS, vehicle speed sensor, accelerometer, etc.; the current state of the vehicle is determined by the driving information. When it is in a complex state, only emergency information is broadcast, such as turning, changing lanes, emergency braking and reversing. In a stable state, the current task to be broadcast is broadcast normally, thereby reducing interference to the driver and improving driving safety.
[0118] Figure 3 This is a structural block diagram of a vehicle-mounted TTS voice broadcasting device 300 provided in this application. Figure 3 As shown, the vehicle-mounted TTS voice broadcasting device 300 mainly includes:
[0119] The acquisition module 301 is used to acquire the user's voice information;
[0120] The first judgment module 302 is used to judge whether there is operation instruction information in the voice information based on natural semantic technology; if there is operation instruction information, a first task to be broadcasted is generated based on the operation instruction information, and a target broadcast audio zone is determined based on the voice information;
[0121] The query module 303 is used to query whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone; if there is a current broadcast task, the first priority of the first task to be broadcast and the second priority of the current broadcast task are obtained;
[0122] The second judgment module 304 is used to judge whether the current broadcast task needs to be interrupted based on the first priority and the second priority; if the current broadcast task needs to be interrupted, the first task to be broadcasted is used as the current broadcast task;
[0123] The announcement module 305 is used to announce the current announcement task in the target announcement audio zone.
[0124] As an optional implementation of this embodiment, the second determination module 304 is specifically configured to:
[0125] The broadcast setting information of the current broadcast task is obtained, where the broadcast setting information includes whether the broadcast task can be interrupted by queuing up. When the first priority is higher than the second priority, and the broadcast setting information of the current broadcast task is whether the broadcast task can be interrupted by queuing up, it is determined that the current broadcast task needs to be interrupted.
[0126] As an optional implementation of this embodiment, the second determination module 304 is further specifically configured to:
[0127] Obtain all second tasks to be broadcasted that are queued for broadcasting in the target broadcast list; obtain the third priority of each second task to be broadcasted; determine the broadcast sequence number of the first task to be broadcasted in the target broadcast list based on the first priority and the third priority; and broadcast the first task to be broadcasted based on the broadcast sequence number.
[0128] As an optional implementation of this embodiment, the vehicle-mounted TTS voice broadcasting device 300 further includes:
[0129] An information acquisition module, used to acquire vehicle driving information;
[0130] A state determination module, used to determine the current state of the vehicle based on the driving information, the current state includes a stable state and a complex state, and the complex state includes turning, changing lanes, emergency braking and reversing;
[0131] The first task broadcast module is used to broadcast the current broadcast task when the current state is a stable state;
[0132] A priority acquisition module, used to acquire the fourth priority of the current broadcast task when the current state is a complex state;
[0133] The second task broadcasting module is used to determine whether to stop broadcasting the current broadcasting task based on the fourth priority level.
[0134] As an optional implementation of this embodiment, the vehicle-mounted TTS voice broadcasting device 300 further includes:
[0135] The function judgment module is used to query whether the task broadcast function is closed after the current broadcast task is broadcast in the target broadcast audio area, when the current broadcast task is interrupted or ended; if it is not closed, query whether there is a second task to be broadcast in the target broadcast list; if so, select the second task to be broadcast based on the broadcast sequence number, and use the selected second broadcast task as the current broadcast task.
[0136] As an optional implementation of this embodiment, the vehicle-mounted TTS voice broadcasting device 300 further includes:
[0137] The division module is used to divide the vehicle into broadcast sound zones, wherein each broadcast sound zone corresponds to multiple microphones and speakers.
[0138] As an optional implementation of this embodiment, the first determination module 302 is specifically configured to:
[0139] Obtain the receiving time of the microphone in each broadcast sound zone to obtain the voice information; sort the receiving times to obtain a time series table and select the earliest receiving time in the time series table; take the broadcast sound zone where the microphone corresponding to the selected receiving time is located as the target broadcast sound zone
[0140] The functional modules in the embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of a vehicle-mounted TTS voice broadcast method in each embodiment of the present application.
[0141] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0142] Figure 4This is a structural block diagram of a vehicle-mounted electronic device 400 provided in an embodiment of the present application. Figure 4 As shown, the vehicle-mounted device 400 includes a memory 401, a processor 402 and a communication bus 403; the memory 401 and the processor 402 are connected via the communication bus 403. The memory 401 stores a vehicle-mounted TTS voice broadcast method provided by the above embodiment that can be loaded and executed by the processor 402.
[0143] The memory 401 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 401 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing a vehicle-mounted TTS voice broadcast method provided in the above embodiment, etc.; the data storage area may store data involved in a vehicle-mounted TTS voice broadcast method provided in the above embodiment, etc.
[0144] The processor 402 may include one or more processing cores. The processor 402 executes various functions and processes data of the present application by running or executing instructions, programs, code sets or instruction sets stored in the memory 401, calling the data stored in the memory 401. The processor 402 may be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller and a microprocessor. It is understandable that for different devices, the electronic device used to implement the above-mentioned processor 402 function can also be other, and the embodiment of the present application is not specifically limited.
[0145] The communication bus 403 may include a path to transmit information between the above components. The communication bus 403 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 403 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4Only one double arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0146] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executes a vehicle-mounted TTS voice broadcast method as provided in the above embodiment.
[0147] In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. Specifically, the computer-readable storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a podium random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical encoding device, and any combination thereof.
[0148] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.
[0149] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A vehicle-mounted TTS voice broadcasting method, It is characterized in that include: Get the user's voice information; Determining whether there is operation instruction information in the voice information based on natural semantic technology; If there is operation instruction information, a first task to be broadcasted is generated based on the operation instruction information, and a target broadcast audio zone is determined based on the voice information; Check whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone; If there is a current broadcast task, obtaining the first priority of the first task to be broadcast and the second priority of the current broadcast task; Determining whether the current broadcast task needs to be interrupted based on the first priority and the second priority; If the current broadcast task needs to be interrupted, the first task to be broadcasted is used as the current broadcast task; The current announcement task is announced in the target announcement audio area.
2. The method according to claim 1, Features , the determining whether the current broadcast task needs to be interrupted based on the first priority and the second priority includes: Acquire the broadcast setting information of the current broadcast task, wherein the broadcast setting information includes whether the queue can be interrupted; When the first priority is higher than the second priority, and the broadcast setting information of the current broadcast task is interruptible by queue jumping, it is determined that the current broadcast task needs to be interrupted.
3. The method according to claim 2, Features If the current broadcast task does not need to be interrupted, the method further includes: Acquire all second tasks to be broadcasted that are queued and to be broadcasted in the target broadcast list; Obtaining the third priority of each of the second tasks to be broadcasted; Determine the broadcast sequence number of the first task to be broadcasted in the target broadcast list based on the first priority and the third priority; The first task to be reported is reported based on the reporting sequence number.
4. The method according to claim 1 or 3, It is characterized in that The method further comprises: Obtain vehicle driving information; Determine a current state of the vehicle based on the driving information, wherein the current state includes a stable state and a complex state, and the complex state includes turning, changing lanes, emergency braking, and reversing; When the current state is a stable state, the current broadcast task is broadcasted; When the current state is a complex state, obtaining the fourth priority of the current broadcast task; Determine whether to stop broadcasting the current broadcast task based on the fourth priority.
5. The method according to claim 3, Features After the current broadcast task is broadcasted in the target broadcast audio area, it also includes: When the current broadcast task is interrupted or ended, query whether the task broadcast function is closed; If it is not closed, query whether there is a second task to be broadcasted in the target broadcast list; If it exists, the second task to be broadcasted is selected based on the broadcast sequence number, and the selected second broadcast task is used as the current broadcast task.
6. The method according to claim 1, It is characterized in that Also includes: The vehicle is divided into broadcast sound zones, wherein each of the broadcast sound zones corresponds to a plurality of microphones and speakers.
7. The method according to claim 6, It is characterized in that The determining of the target broadcast sound zone based on the voice information includes: Obtaining the time when the microphone in each broadcast sound zone receives the voice information; Sorting the receiving times to obtain a time series table; Select the earliest receiving time in the time series table; The broadcast sound zone where the microphone corresponding to the selected receiving time is located is used as the target broadcast sound zone.
8. A vehicle-mounted TTS voice broadcasting device, It is characterized in that include: An acquisition module is used to acquire the user's voice information; A first judgment module, used for judging whether there is operation instruction information in the voice information based on natural semantic technology; If there is operation instruction information, a first task to be broadcasted is generated based on the operation instruction information, and a target broadcast audio zone is determined based on the voice information; A query module, used to query whether there is a current broadcast task in the target broadcast list of the target broadcast audio zone; If there is a current broadcast task, obtaining the first priority of the first task to be broadcast and the second priority of the current broadcast task; A second judgment module, used for judging whether the current broadcast task needs to be interrupted based on the first priority and the second priority; If the current broadcast task needs to be interrupted, the first task to be broadcasted is used as the current broadcast task; The announcement module is used to announce the current announcement task in the target announcement audio area.
9. A vehicle-mounted device, It is characterized in that comprising a processor and a memory, wherein the processor is coupled to the memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Group voice message playing method and system based on priority scheduling
CN121585638A
