Vehicle-mounted voice call method and device, electronic equipment and storage medium
By implementing UAC driver and configuration on T-Box and using USB connection for audio data transmission, the problem of additional microphone and speakers in the prior art is solved, and the on-board voice call function without redundancy is realized.
Patent Information
- Application Number
- CN202411993093.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-02
AI Technical Summary
When using the T-Box communication module for voice calls, existing vehicle voice calling systems need to add additional microphones and speakers, resulting in functional redundancy and increased costs.
By implementing UAC driver and UAC configuration on the T-Box, remote audio data is sent to the first call end in real time using USB connection, and local audio data is sent to the second call end in real time, real-time voice call function is realized without the need for additional microphone and speaker.
It supports voice, short messages and other wireless communication services without affecting the normal use of T-Box functions, and reuses the peripherals of the vehicle multimedia system, reducing system redundancy.
Smart Images

Figure CN119922211A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of vehicle-mounted communication technology, and in particular to a vehicle-mounted voice call method, device, electronic equipment and storage medium. Background Art
[0002] The core function of the system of the automotive E / E architecture (Electrical / Electronic Architecture) is the ECU (Electronic Control Unit). Depending on the functions involved, the ECU is composed of one or more MPUs (Micro Processor Units), MCUs (Micro Control Units), T-Boxes (Telematics Boxes), etc., and peripherals such as memory, display screens, microphones, and speakers will be added. The intelligently connected T-Box can be integrated into the MPU alone, and its main function is to provide a wireless network for the vehicle. The T-Box usually contains a wireless communication module that supports multiple network formats such as NR / LTE / 3G (LTE represents 4G network, and NR represents 5G network. 3G / 4G / 5G refer to the third / fourth / fifth generation mobile communication technologies respectively), which can provide the vehicle system (MPU) with communication services such as the Internet, voice calls, and short messages.
[0003] If users use the traditional voice call function on the car system, there are two main ways. One is to use Bluetooth to connect the car system to the user's mobile phone and talk directly through the mobile phone; the other is to connect a microphone and a speaker to the communication module on the T-Box and operate the microphone and the speaker through the module to make calls. The method of connecting the mobile phone via Bluetooth, because the ECU cannot control the mobile phone in many ways, in an emergency, the ECU cannot directly dial the preset SOS (Save Our Souls, emergency call) phone. Therefore, it is chosen to connect the microphone and the speaker to the communication module on the T-Box.
[0004] The inventors have discovered that there are at least the following problems in the related art: using the communication module method on the T-Box, since the vehicle system MPU itself has multimedia entertainment functions, it is necessary to add an additional microphone and speaker to the T-Box, which is redundant in functional design and causes additional costs. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a vehicle-mounted voice call method, device, electronic device and storage medium, so that the T-Box can support wireless communication services such as voice and short messages without affecting the normal use of its functions and without adding additional microphones and speakers.
[0006] To solve the above technical problems, an embodiment of the present invention provides a vehicle-mounted voice call method, which is applied to a vehicle networking intelligent terminal. The method includes: establishing a call according to a call operation instruction from a first call end, or establishing a call by a call request initiated by a second call end; wherein, the first call end and the vehicle networking intelligent terminal are connected via a USB, the vehicle networking intelligent terminal has a UAC driver and UAC configuration, and the USB supports the UAC function; during the call, the remote audio data from the second call end is sent to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end; during the call, the local audio data collected by the sound receiving device of the first call end is sent to the second call end in real time through the UAC driver and UAC configuration.
[0007] An embodiment of the present invention also provides a vehicle-mounted voice call device, including: a communication establishment module, used to establish a call according to a call operation instruction from a first call end or a call request initiated by a second call end; an audio playback module, used to send the remote audio data from the second call end to the first call end in real time through the UAC driver during the call and have the remote audio data played by the speaker device of the first call end; an audio sending module, used to send the local audio data collected by the sound receiving device of the first call end to the second call end in real time through the UAC driver during the call.
[0008] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned in-vehicle voice call method.
[0009] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned in-vehicle voice call method when executed by a processor.
[0010] In an embodiment of the present invention, the T-Box establishes a call according to a call operation instruction from the first call end, or establishes a call by a call request initiated by the second call end; the T-Box has a UAC driver and a UAC configuration. During the call, the T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver and the UAC configuration, and the remote audio data is played by the speaker device of the first call end; during the call, the T-Box sends the local audio data collected by the sound receiving device of the first call end to the second call end in real time through the UAC driver and the UAC configuration. This enables the T-Box to support wireless communication services such as voice and short messages without affecting the normal use of its functions and without the need to add additional microphones and speakers. In this way, the vehicle multimedia system peripherals can be reused and the system redundancy can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0012] Figure 1 is a flow chart of a vehicle voice call method provided according to an embodiment of the present invention;
[0013] Figure 2 is a schematic diagram of the connection relationship of the vehicle voice system during a call according to an embodiment of the present invention;
[0014] Figure 3 is a schematic diagram of a process of acquiring and distributing a call status according to an embodiment of the present invention;
[0015] Figure 4 is a schematic structural diagram of a vehicle-mounted voice communication device according to another embodiment of the present invention;
[0016] Figure 5 It is a schematic structural diagram of an electronic device according to another embodiment of the present invention. DETAILED DESCRIPTION
[0017] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0018] An embodiment of the present invention relates to a vehicle voice call method, which can be applied to T-Box (TelematicsBox, vehicle network intelligent terminal). In this embodiment, T-Box establishes a call according to a call operation instruction from the first call end, or establishes a call by a call request initiated by the second call end; T-Box has a UAC driver and UAC configuration. During the call, T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end; during the call, T-Box sends the local audio data collected by the sound receiving device of the first call end to the second call end in real time through the UAC driver and UAC configuration. This enables T-Box to support wireless communication services such as voice and short messages without affecting the normal use of its functions and without the need to add additional microphones and speakers. In this way, the peripherals of the vehicle multimedia system can be reused and the system redundancy can be reduced. The implementation details of the vehicle voice call method of this embodiment are described in detail below. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for the implementation of this solution.
[0019] like Figure 1 As shown, in step 101, the T-Box establishes a call according to a call operation instruction from the first call end, or establishes a call by a call request initiated by the second call end; wherein the first call end is connected to the Internet of Vehicles smart terminal via USB, the Internet of Vehicles smart terminal has a UAC driver and UAC configuration, and the USB supports the UAC function. The T-Box itself does not have audio peripherals such as speakers and microphones.
[0020] The connection structure between the first call end and the Internet of Vehicles intelligent terminal is as follows: Figure 2As shown, in this example, the first call end is the vehicle machine (ECU) central control system, which is composed of MPU and multimedia audio unit. The multimedia audio unit is composed of the vehicle-mounted Codec (Coder-Decoder, audio codec / decoder), SPK (speaker) and MIC (Microphone). SPK and MIC can be adjusted to external devices as needed. This is the coordination function of the vehicle machine (ECU) central control system, which will not be discussed in detail here. The vehicle machine (ECU) central control system and T-Box are connected via USB, and USB supports UAC function. UAC is the implementation and control function of audio devices implemented under the USB specification. T-Box has UAC driver and UAC configuration, and can make voice calls with the second call end through the interaction of data / control commands. The second call end in this example is: mobile phone / voice radio / hotline service. In addition, there are many options for the second call end, which are not listed here one by one. As the wireless communication network entrance of the Internet of Vehicles, T-Box can support wireless communication services such as voice and short messages while providing vehicles with 5G / 4G / 3G networks.
[0021] In one example, the ECU central control system, as the entry point for interaction with users, also adds a UAC driver, which enables the T-Box to be correctly identified as a sound card in the system. It also supports connecting to the T-Box to dynamically obtain voice call events in real time or initiate voice call requests to the T-Box.
[0022] In step 102, during the call, the T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end;
[0023] Since the call status is in the communication module device of the T-Box system, in one example, during a call, the call status is obtained in real time and sent to the first call end through the USB network or WIFI network; the call status can be obtained dynamically in real time and distributed to the vehicle computer central control system. The WiFi network can wirelessly connect the vehicle computer to the T-Box.
[0024] In step 103, during the call, the T-Box sends the local audio data collected by the audio receiving device of the first call end to the second call end in real time through the UAC driver and UAC configuration.
[0025] In one example, the T-Box system also needs to add UAC configuration on the USB end so that it can be correctly identified and used by the host computer as a sound card. The UAC configuration of the T-Box contains two mandatory device components, namely the playback component (Playback) and the recording component (Capture).
[0026] In one example, T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver, and the remote audio data is played by the speaker device of the first call end. Specifically, it can be: by reading the remote audio data in the playback component (Playback) configured by UAC and sending it to the first call end, and the decoder of the first call end performs DAC decoding on the remote audio data and then plays it through the speaker device of the first call end. This process allows the data stream in the Playback device on the UAC to be read out and sent to the Codec on the car computer for DAC decoding and played through the speaker. At the same time, the audio data collected by the car computer microphone can also be encoded by the ADC of the Codec and written into the capture device on the UAC.
[0027] In one example, the UAC configuration may also include an audio control component, which is used to adjust the audio of the remote audio data and the local audio data through the audio control component in the UAC configuration during a call; wherein the audio adjustment includes: noise removal, voice changing processing, etc., and the audio control can also act on the remote audio data.
[0028] In one example, during a call, the T-Box may respond to a call operation instruction from the first call end and perform a phone event processing operation corresponding to the type of the call operation instruction from the first call end; wherein the phone event processing operation includes: opening an audio channel, closing an audio channel, reading an audio data stream from an audio channel, and / or writing an audio data stream to an audio channel.
[0029] In one example, the call operation instruction of the first call end includes a call making instruction and a call hanging up instruction.
[0030] In one example, a vehicle networking intelligent terminal is composed of a communication processor and an application processor. Before establishing a call, the vehicle networking intelligent terminal shares a phone event to an interface of the application processor through the communication processor to register the phone events of interest through the application processor; the phone events of interest include: a series of events such as a call request initiated by the second call end.
[0031] For ease of understanding, this embodiment provides a method for requesting a call, acquiring and distributing the call status, such as Figure 3 As shown:
[0032] Step 1: Initialize server configuration. This step mainly involves the configuration of some preset voice call audio parameters, communication and authentication methods, etc. After this step is completed, you can receive client connection requests.
[0033] Step 2, register the phone event report to CP. The communication module in T-Box consists of two parts: CP (Communication Processor) and AP (Application Processor). CP is mainly responsible for the content related to the wireless communication protocol stack and maintains the status of all voice calls. The server can be implemented on the AP side. In order to obtain phone events, it is necessary to register the events of interest, such as all phone messages, through the interface shared by CP to AP. The registration action varies depending on the module. This embodiment is only an illustrative explanation and does not constitute a limitation of the embodiment. Among them, the T-Box system needs to add a UAC driver, which must support the acquisition of the voice call audio stream data collected from the remote end from the line communication protocol stack processor (CP), and must support the ability to write the audio stream data collected from the microphone and encoded by the Codec to the CP. After step 2 is completed, T-Box continues to wait for receiving or requesting a phone event to trigger step 3.
[0034] Step 3: Respond to the received call event or the requested call event. The requested call event refers to the call making and hanging up events sent by the client such as the vehicle system. The received event refers to the call event actively reported by the CP.
[0035] Step 4, determine whether there is a telephone event, if yes, trigger steps 5 and 6, if not, return to step 3 and continue to wait for receiving or requesting a telephone event to trigger step 3.
[0036] Step 5, T-Box processes the phone event. This step performs different operations according to different phone events. Specifically, it is mainly divided into initializing the audio channel related to UAC and CP, opening or closing the audio channel, reading the audio data stream from the channel and / or writing the audio data stream to the channel. After processing the phone event, return to step 3 and continue to wait for receiving or requesting the phone event to trigger step 3.
[0037] Step 6: Notify the client of the event. This step is to send the phone event to the client, such as the vehicle system, so that the vehicle system can perform corresponding audio operations according to the event.
[0038] In this embodiment, the T-Box establishes a call according to the call operation instruction from the first call end, or establishes a call by the call request initiated by the second call end; the T-Box has a UAC driver and UAC configuration. During the call, the T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end; during the call, the T-Box sends the local audio data collected by the sound receiving device of the first call end to the second call end in real time through the UAC driver and UAC configuration. This allows the T-Box to support wireless communication services such as voice and short messages without affecting its normal use and without the need to add additional microphones and speakers.
[0039] The steps of the above method are divided only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this application.
[0040] Another embodiment of the present invention relates to a vehicle-mounted voice communication device, such as Figure 4 As shown, it includes: a communication establishment module 401, which is used to establish a call according to a call operation instruction from the first call end or a call request initiated by the second call end; an audio playback module 402, which is used to send the remote audio data from the second call end to the first call end in real time through the UAC driver during the call and play the remote audio data by the speaker device of the first call end; an audio sending module 403, which is used to send the local audio data collected by the audio receiving device of the first call end to the second call end in real time through the UAC driver during the call.
[0041] In one example, the audio playback module 402 is also used to obtain the call status in real time during the call and send it to the first call end via a USB network or a WIFI network;
[0042] In one example, the audio sending module 403 is further used to write the local audio data after ADC encoding into the recording component in the UAC configuration during the call.
[0043] In one example, the remote audio data from the second call end is sent to the first call end in real time through the UAC driver and the remote audio data is played by the speaker device of the first call end. This can be: the remote audio data in the playback component configured by UAC is read and sent to the first call end, and the decoder of the first call end performs DAC decoding on the remote audio data and then plays it through the speaker device of the first call end.
[0044] In one example, the device further includes: an audio processing module, which is used to perform audio adjustments on remote audio data and local audio data through an audio control component in a UAC configuration during a call; wherein the audio adjustment includes: noise removal and voice changing processing.
[0045] In one example, the device also includes an operation response module for performing a telephone event processing operation corresponding to the type of call operation indication of the first call end during a call; wherein the telephone event processing operation includes: opening an audio channel, closing an audio channel, reading an audio data stream from an audio channel, and / or writing an audio data stream to an audio channel.
[0046] In one example, the call operation instruction of the first call end includes a call making instruction and a call hanging up instruction.
[0047] In one example, a vehicle networking intelligent terminal is composed of a communication processor and an application processor. The device also includes: an initialization operation module, which is used to share telephone events to the interface of the application processor through the communication processor before establishing a call, so as to register the telephone events of interest through the application processor; the telephone events of interest include: a call request initiated by the second call end.
[0048] In this embodiment, the T-Box establishes a call according to the call operation instruction from the first call end, or establishes a call by the call request initiated by the second call end; the T-Box has a UAC driver and UAC configuration. During the call, the T-Box sends the remote audio data from the second call end to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end; during the call, the T-Box sends the local audio data collected by the sound receiving device of the first call end to the second call end in real time through the UAC driver and UAC configuration. This allows the T-Box to support wireless communication services such as voice and short messages without affecting its normal use and without the need to add additional microphones and speakers.
[0049] It is not difficult to find that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above method embodiment.
[0050] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0051] Another embodiment of the present invention relates to an electronic device, such as Figure 5 As shown, it includes at least one processor 501; and a memory 502 that is communicatively connected to the at least one processor; wherein the memory 502 stores instructions that can be executed by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute the in-vehicle voice call method as described above.
[0052] The memory 502 and the processor 501 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and the memory 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 501.
[0053] The processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 502 can be used to store data used by the processor 501 when performing operations.
[0054] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0055] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0056] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A vehicle-mounted voice call method, characterized in that: Applied to a vehicle networking intelligent terminal, the method includes: Establishing a call according to a call operation instruction from the first call terminal, or establishing a call by a call request initiated by the second call terminal; Wherein, the first call end is connected to the Internet of Vehicles intelligent terminal via a USB, the Internet of Vehicles intelligent terminal has a UAC driver and a UAC configuration, and the USB supports the UAC function; During the call, the remote audio data from the second call end is sent to the first call end in real time through the UAC driver and UAC configuration, and the remote audio data is played by the speaker device of the first call end; During the call, the local audio data collected by the audio receiving device of the first call end is sent to the second call end in real time through the UAC driver and UAC configuration.
2. The vehicle-mounted voice call method according to claim 1, characterized in that: The method further comprises: During the call, the call status is obtained in real time and sent to the first call end via a USB network or a WIFI network; During the call, the local audio data after ADC encoding is written into the recording component in the UAC configuration.
3. The vehicle-mounted voice call method according to claim 1, characterized in that: The step of sending the remote audio data from the second call end to the first call end in real time through the UAC driver and playing the remote audio data by the speaker device of the first call end includes: The remote audio data in the playback component configured by the UAC is read and sent to the first call end, and the decoder of the first call end performs DAC decoding on the remote audio data and then plays it through the speaker device of the first call end.
4. The vehicle-mounted voice call method according to claim 1, characterized in that: The vehicle-mounted voice call method further includes: During the call, audio adjustment is performed on the remote audio data and the local audio data through the audio control component in the UAC configuration; The audio adjustment includes: noise removal and voice changing processing.
5. The vehicle-mounted voice call method according to claim 1, characterized in that: The method further comprises: During the call, executing a telephone event processing operation corresponding to the type of the call operation indication of the first call end; The telephone event processing operation includes: opening an audio channel, closing an audio channel, reading an audio data stream from an audio channel, and / or writing an audio data stream to an audio channel.
6. The vehicle-mounted voice call method according to claim 1, characterized in that: The call operation instructions of the first call end include a call making instruction and a call hanging up instruction.
7. The vehicle-mounted voice call method according to any one of claims 1 to 6, characterized in that: The Internet of Vehicles intelligent terminal is composed of a communication processor and an application processor. The method further includes: Before establishing a call, sharing the telephone event to the interface of the application processor through the communication processor, so as to register the telephone event of interest through the application processor; The telephone event of interest includes: a call request initiated by the second calling terminal.
8. A vehicle-mounted voice communication device, characterized in that: include: A communication establishment module, used to establish a call according to a call operation instruction from the first call end or a call request initiated by the second call end; An audio playback module, used for sending remote audio data from the second call end to the first call end in real time through the UAC driver during a call, and playing the remote audio data by the speaker device of the first call end; The audio sending module is used to send the local audio data collected by the audio receiving device of the first call end to the second call end in real time through the UAC driver during the call.
9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the in-vehicle voice call method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the in-vehicle voice call method according to any one of claims 1 to 7 is implemented.