CN115442779A - Audio data playing method and device - Google Patents

Audio data playing method and device Download PDF

Info

Publication number
CN115442779A
CN115442779A CN202110623907.3A CN202110623907A CN115442779A CN 115442779 A CN115442779 A CN 115442779A CN 202110623907 A CN202110623907 A CN 202110623907A CN 115442779 A CN115442779 A CN 115442779A
Authority
CN
China
Prior art keywords
bluetooth
audio data
vehicle
audio
outputting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110623907.3A
Other languages
Chinese (zh)
Inventor
彭勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qwik Smart Technology Co Ltd
Original Assignee
Shanghai Qwik Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qwik Smart Technology Co Ltd filed Critical Shanghai Qwik Smart Technology Co Ltd
Priority to CN202110623907.3A priority Critical patent/CN115442779A/en
Publication of CN115442779A publication Critical patent/CN115442779A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a method and a device for playing audio data. The playing method comprises the following steps: responding to the audio data to be played in the vehicle-mounted device system, and judging whether a Bluetooth output channel of a bidirectional Bluetooth module configured in the vehicle-mounted device system is connected with a Bluetooth earphone or not; responding to the judgment result that the Bluetooth output channel is connected with the Bluetooth earphone, and outputting the audio data to the Bluetooth output channel so as to play the audio data by using the Bluetooth earphone; and responding to the judgment result that the Bluetooth output channel is not connected with the Bluetooth earphone, and outputting the audio data to a vehicle loudspeaker so as to play the audio data by utilizing the vehicle loudspeaker.

Description

Audio data playing method and device
Technical Field
The present invention relates to the field of audio data, and in particular, to a method and an apparatus for playing audio data.
Background
With the development of multimedia vehicle-mounted systems, the entertainment functions of the car-in-car system are more and more, and users can listen to high-quality music, watch movies, play games and the like on the car-in-car.
Currently, in-vehicle systems have been provided to play multiple audio data from multiple different sources simultaneously. The vehicle-mounted information entertainment system in the prior art can play audio from different sources such as the inside of a vehicle, a mobile phone, a tablet computer and the like. These audio types are also different, system alert tones inside the car machine, navigation audio, entertainment audio of the multimedia type, etc.
However, in the prior art, these different types of audio from different sources can only be played in a single channel through the vehicle speakers. That is, either the system alert tone inside the car machine, or the navigation audio, or the multimedia type entertainment audio such as movie, music, etc., can only be played through the vehicle speakers. When a user starts a music player in a car to listen to music, if the user starts navigation at the same time, the music player in the car automatically reduces the volume when encountering a prompt of a road section ahead such as a turn, and the navigation voice automatically increases the volume and reminds the user of the road condition ahead.
It can be seen that the multiple audio data have a problem of mutual interference when different audio contents are played by the vehicle loudspeaker in a single channel. Moreover, the method of playing a single channel through the vehicle speaker may cause no privacy between the contents listened by different passengers in the same compartment, and may also easily interfere with the rest of other people in the same vehicle.
For example, when a plurality of users appear in the carriage, some want to sleep and have a rest, some users want to listen to music, not only people who listen to music can feel poor privacy by playing a single channel through a vehicle loudspeaker, but also other people who get on the same vehicle can be disturbed, even the normal driving of a driver can be disturbed to cause distraction, and the potential safety hazard of driving exists.
In summary, there is a need for a method and a device for playing audio data, which can implement multi-channel playing without mutual interference among multiple audios in a car-in-car system in a car-in-car scene.
Disclosure of Invention
The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
As mentioned above, in the prior art, these different types of audio from different sources can only be played through a single channel through the vehicle speakers. The audio can be played only through a vehicle loudspeaker, no matter the audio is system prompt sound inside the vehicle machine, navigation audio, multimedia type entertainment audio and the like. When different audio contents are played by the vehicle loudspeaker in a single channel, the plurality of audio data have the problem of mutual interference. Moreover, the method for playing the single channel through the vehicle loudspeaker can cause no privacy among the contents listened by different passengers in the same compartment, easily interfere the rest of other people in the same vehicle, even possibly influence the normal driving of the driver to cause distraction, and have potential safety hazards.
In order to remedy the technical drawbacks described above, the present invention provides, in a first aspect, a method for playing audio data, including the steps of: responding to the audio data to be played in the vehicle-mounted device system, and judging whether a Bluetooth output channel of a bidirectional Bluetooth module configured in the vehicle-mounted device system is connected with a Bluetooth earphone or not; responding to the judgment result that the Bluetooth output channel is connected with the Bluetooth earphone, and outputting the audio data to the Bluetooth output channel so as to play the audio data by using the Bluetooth earphone; and responding to the judgment result that the Bluetooth output channel is not connected with the Bluetooth earphone, and outputting the audio data to a vehicle loudspeaker so as to play the audio data by utilizing the vehicle loudspeaker. According to the audio data playing method, the multichannel Bluetooth technology is used, so that the multichannel playing without mutual interference among a plurality of audios can be realized in the vehicle-mounted device system in a vehicle-mounted device scene. A plurality of audio data in the vehicle-mounted machine system can be selectively played from corresponding Bluetooth earphones, and can also be selectively played from a vehicle loudspeaker.
In order to remedy the above technical drawbacks, the present invention provides, in a second aspect, an apparatus for playing back audio data. The playing device is configured in a vehicle-mounted machine system of a vehicle and comprises a memory and a processor, wherein the processor is connected with the memory and is configured to implement any one of the audio data playing methods. The playing device of the audio data uses the playing method of the audio data and utilizes the multichannel Bluetooth technology, so that the multichannel playing without mutual interference among a plurality of audios can be realized in a vehicle-mounted machine scene. A plurality of audio data in the vehicle-mounted machine system can be played from the corresponding Bluetooth headset selectively, and can also be played from a vehicle loudspeaker selectively.
To remedy the above technical deficiencies, the present invention provides, in a third aspect, a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of playing audio data according to any one of the preceding claims. According to the audio data playing method, the multichannel Bluetooth technology is used, so that the multichannel playing without mutual interference among a plurality of audios can be realized in the vehicle-mounted device system in a vehicle-mounted device scene. A plurality of audio data in the vehicle-mounted machine system can be selectively played from corresponding Bluetooth earphones, and can also be selectively played from a vehicle loudspeaker.
Drawings
The above features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
Fig. 1 illustrates a flow diagram of a method of playing audio data provided in accordance with some embodiments of the present invention; and
fig. 2 shows an architectural diagram of a playback apparatus for audio data provided according to some embodiments of the present invention.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure. While the invention will be described in connection with the preferred embodiments, there is no intent to limit its features to those embodiments. On the contrary, the invention is described in connection with the embodiments for the purpose of covering alternatives or modifications that may be extended based on the claims of the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be practiced without these particulars. Moreover, some of the specific details have been left out of the description in order to avoid obscuring or obscuring the focus of the present invention.
As mentioned above, in the prior art, these different types of audio from different sources can only be played through a single channel through the vehicle speakers. The system prompt tone, the navigation audio, the multimedia entertainment audio and the like in the vehicle can be played only through the vehicle loudspeaker. When different audio contents are played by the vehicle loudspeaker in a single channel, the plurality of audio data have the problem of mutual interference. Moreover, the method for playing the single channel through the vehicle loudspeaker can cause no privacy among the contents listened by different passengers in the same carriage, easily interfere the rest of other people in the same carriage, even possibly interfere the normal driving of the driver to cause distraction, and has potential safety hazards.
In some non-limiting embodiments, the method for playing back audio data may be implemented by an apparatus for playing back audio data. Specifically, the audio data playing device may include a memory and a processor. The memory may include a computer-readable storage medium having stored thereon computer instructions. The processor is connected to the memory and configured to execute the computer instructions stored in the memory to implement the method for playing the audio data.
Some embodiments of the method for playing back audio data and the apparatus for playing back audio data are described below. It will be appreciated by those skilled in the art that the embodiments of the method and apparatus for playing back audio data are only non-limiting examples provided by the present invention, and are intended to clearly illustrate the idea of the invention and provide some specific solutions for facilitating the implementation by the public, but not to limit the scope of the invention.
According to a first aspect of the present invention, there is provided a method of playing audio data. Referring to fig. 1, fig. 1 illustrates a flow chart of a method for playing audio data according to some embodiments of the present invention.
The method 100 for playing audio data shown in fig. 1 may include the following steps: responding to the audio data to be played in the vehicle-mounted computer system, and judging whether a Bluetooth output channel of a bidirectional Bluetooth module configured in the vehicle-mounted computer system is connected with a Bluetooth earphone or not; responding to the judgment result that the Bluetooth output channel is connected with the Bluetooth earphone, and outputting the audio data to the Bluetooth output channel so as to play the audio data by using the Bluetooth earphone; and responding to the judgment result that the Bluetooth output channel is not connected with the Bluetooth earphone, and outputting the audio data to a vehicle loudspeaker so as to play the audio data by utilizing the vehicle loudspeaker.
The Bluetooth module is a PCBA board integrating Bluetooth functions, and can transmit data through serial ports (SPI and IIC) and MCU control equipment. The Bluetooth module is used for short-distance wireless communication and can exchange wireless information among a plurality of devices including mobile phones, PDAs, wireless earphones, notebook computers, related peripherals and the like. By using the bluetooth technology, the communication between mobile communication terminal devices can be effectively simplified, and the communication between the devices and the internet can be successfully simplified, so that the data transmission becomes faster and more efficient, and the way is widened for wireless communication. Bluetooth adopts a distributed network structure and a fast frequency hopping and short packet technology, supports point-to-point and point-to-multipoint communication, works in a global universal 2.4GHz ISM (industrial, scientific and medical) frequency band, has a data rate of 1Mbps, and adopts a time division duplex transmission scheme to realize full duplex transmission.
The system composition of bluetooth includes a bottom layer hardware module, an intermediate protocol layer, and a high layer application. The underlying hardware modules in a bluetooth technology system are managed by baseband, frequency hopping, and links. The baseband is used for completing the transmission of Bluetooth data and frequency hopping. The wireless frequency modulation layer is microwave which does not need authorization and passes through the 2.4GHz ISM frequency band, data stream transmission and filtering are realized on the wireless frequency modulation layer, and conditions which are required to be met by the normal work of the Bluetooth transceiver in the frequency band are mainly defined. Link management enables secure control of link establishment, connection and tear down.
The intermediate protocol layer in the Bluetooth technology system mainly comprises four parts of a service discovery protocol, a logic link control and adaptation protocol, a telephone communication protocol and a serial port simulation protocol. The role of the service discovery protocol layer is to provide a mechanism for upper layer applications to facilitate the use of services in the network. The logical link control and adaptation protocol is responsible for data disassembly and assembly, multiplexing protocol and controlling service quality, and is the basis for realizing the functions of other protocol layers.
In a bluetooth technology composition system, the higher layer application is the part of the framework that is located at the top of the protocol layer. The high-level application of the Bluetooth technology mainly comprises file transmission, network and local area network access. The heterogeneous high-level applications are a kind of wireless communication realized by a certain application mode through a corresponding application program.
The bidirectional Bluetooth means that the Bluetooth module can send out a Bluetooth signal and can also receive the Bluetooth signal. That is to say, the bidirectional bluetooth module can be used as a source of digital audio stream, that is, the audio of the bidirectional bluetooth module is connected to other bluetooth devices for playing, for example, the audio in the bidirectional bluetooth module is played through a bluetooth sound; and can also be used as a receiver of the digital audio stream to receive source data from a source of the digital audio stream, such as connecting to a cell phone to play audio in the cell phone.
Specifically, as shown in fig. 1, in some embodiments, the audio data playing method 100 first determines that audio data to be played exists in the in-vehicle device system, and then determines whether a bluetooth output channel of a bidirectional bluetooth module configured in the in-vehicle device system is connected to a bluetooth headset.
The step of connecting the bluetooth headset to the bluetooth output channel includes first searching for a bluetooth device using a bidirectional bluetooth module configured in the in-vehicle system.
Bluetooth technology dictates that when bluetooth communication is performed between each pair of devices, one must be the master role and the other must be the slave role to perform the communication. During communication, the main terminal is required to search and initiate pairing, and after the link is established successfully, the two parties can receive and transmit data. Theoretically, one bluetooth master can communicate with 7 bluetooth slaves at the same time. A device with the Bluetooth communication function can be switched between two roles, normally works in a slave mode, waits for other master devices to connect, and is also switched into the master mode when needed to initiate a call to other devices. When one bluetooth device initiates a call in a master mode, the bluetooth device needs to know information such as a bluetooth address, a pairing password and the like of an opposite party, and can directly initiate the call after pairing is completed.
And then, the bidirectional Bluetooth module at the vehicle end acquires a connection instruction, connects the searched Bluetooth equipment according to the acquired connection instruction, and identifies the type of the Bluetooth equipment. There are many types of bluetooth devices, such as bluetooth headsets, bluetooth printers, bluetooth handsets, etc. When a user wants to play audio contents of a vehicle end through Bluetooth equipment, the Bluetooth equipment is required; when the user wants to play the audio content of the audio source end through the car end, a bluetooth mobile phone type device is needed.
According to the bluetooth technology in the prior art, the peripheral bluetooth devices need to be scanned, the devices which do not meet the requirements are filtered, and the bluetooth devices which meet the requirements are reserved. When the vehicle-mounted equipment Bluetooth scans surrounding equipment, the surrounding equipment can report the UUID feature code of the vehicle-mounted equipment according to an interactive protocol of Bluetooth scanning, and the feature code can be used for judging whether the equipment is a Bluetooth earphone or a Bluetooth mobile phone.
UUID (universal Unique Identifier), a Universally Unique Identifier, is a standard for software construction, and aims to enable all elements in a distributed system to have Unique identification information. The UUID has a length of 128 bits and the standard format is expressed in 16-digit numbers, forming a format of 8-4-4-4-12, for example: 00002901-0000-V000-N000-008059B34FB, where the number in the V position represents the version number, the number in the current 1-5,N position is used to validate the specification, which is currently only 8,9, A, B, and 0-7 reserved for backward compatibility, and C, D reserved for Microsoft, E, F reserved for future use.
After the in-vehicle bluetooth obtains the feature codes of the surrounding bluetooth devices, in this embodiment, when the in-vehicle bluetooth recognizes that the type of the surrounding bluetooth devices is a bluetooth headset device, the bluetooth headset is connected to a bluetooth output channel of the bidirectional bluetooth module; when the type of the surrounding Bluetooth device is recognized as a Bluetooth output device, the Bluetooth output device is connected to a Bluetooth input channel of the bidirectional Bluetooth module.
The bluetooth output device is a device for providing a source of a digital audio stream of bluetooth data, such as a mobile phone, a tablet computer, a notebook computer, and the like. When audio data to be played exist in the Bluetooth output equipment, the audio data are acquired through the Bluetooth input channel, the audio data acquired from the Bluetooth input channel are output to the vehicle loudspeaker, and the vehicle loudspeaker is used for playing the audio data.
Optionally, in some preferred embodiments, when the method 100 for playing audio data is executed, it may further be determined whether a wired headset interface of the in-vehicle device system is connected to a wired headset.
If the wired earphone interface is connected with a wired earphone, the audio data can be output to the wired earphone interface, so that the audio data can be played through the wired earphone. If the wired headset interface is not connected to the wired headset, the method 100 for playing audio data continues to determine whether the bluetooth output channel of the bidirectional bluetooth module in the vehicle system is connected to the bluetooth headset.
And when the Bluetooth output channel at the vehicle end is determined to be connected with the Bluetooth earphone, outputting the audio data to the Bluetooth output channel.
In some preferred embodiments, the step of outputting the audio data to the bluetooth output channel is first to determine the type of the audio data.
In order to determine the type of audio data, the source of the audio data is identified. If the source of the audio data is multimedia applications such as a video player, an audio player, a voice call, a video call and the like, the audio data is judged to belong to multimedia audio. And if the source of the audio data is the navigation application, judging that the audio data belongs to the navigation audio. If the source of the audio data is a program carried by the vehicle-mounted machine system, such as fuel oil monitoring, tire pressure monitoring, fault feedback, radar early warning and the like, the audio data is judged to belong to system notification audio.
And when the audio data is judged to belong to the multimedia audio, outputting the audio data to the Bluetooth output channel, and playing the audio data by using a Bluetooth earphone. And when the audio data is judged to belong to the navigation audio, outputting the audio data to the vehicle loudspeaker, and playing the audio data by using the vehicle loudspeaker. And when the audio data is judged to belong to the system notification audio, outputting the audio data to the vehicle loudspeaker, and playing the audio data by using the vehicle loudspeaker.
Particularly, when a plurality of audio data to be played exist in the car machine system and the plurality of audio data to be played simultaneously include a plurality of different types of audio data, such as multimedia audio, and navigation audio and/or system notification audio, the multimedia audio can be output to the bluetooth output channel simultaneously, and the navigation audio and/or system notification audio can be output to the car speaker simultaneously, so that the respective corresponding audio data can be played by using the bluetooth headset and the car speaker simultaneously.
In some preferred embodiments, the user can also select the selection interface of the playing channel by himself. The audio data playback device may provide a user with a selection interface for playback channels. If the user selects the selection instruction of the Bluetooth output channel, outputting corresponding audio data to the Bluetooth earphone, and playing the output audio data through the Bluetooth earphone; if the user selects the selection instruction of the vehicle loudspeaker, corresponding audio data is output to the vehicle loudspeaker, and the output audio data is played through the vehicle loudspeaker.
In some preferred embodiments, when the vehicle end detects that there are multiple playing channels, a channel selection button is provided on the central control display of the vehicle, so that a user can select a playing channel according to actual requirements.
Taking the following scenario as an example, when there is a trip with three car driving, the husband drives the car, needs to use the car to perform voice navigation, and the wife wants to watch the movie in the car multimedia to make a trip, and the child on the back row wants to watch the program of the child in the car multimedia. At this moment, wife and child can be connected to car machine system with respective bluetooth headset, and the broadcast passageway selection fence on the accuse display screen in the car machine system can show bluetooth headset 1 number, bluetooth headset 2 number and vehicle speaker simultaneously for the user selects the broadcast passageway according to respective actual demand. The husband selects the play passageway of vehicle speaker, selects the play passageway of bluetooth headset 1 for the wife, and the play passageway of bluetooth headset 2 for the child can.
Then, different multimedia audio can be output to their own bluetooth output channels, so as to meet the requirement of wife and child watching different video programs. The video data includes audio data and video data. The audio data of the multimedia types of different videos are output through the two Bluetooth output channels, and cannot be interfered with each other. Meanwhile, the husband can still use voice navigation normally. The sound of the navigation audio is prompted through a vehicle loudspeaker. Audio data in the bluetooth output channel and the audio data in the vehicle speaker also can not interfere with each other, and the sound in the bluetooth output channel can not play through the vehicle speaker promptly.
In particular, because the user can select the selection interface of the playback channel by himself. In another embodiment, if only one user in the car or all users in the car listen to the same content in a consistent manner, the user can also connect to the mobile phone bluetooth through the car speaker to directly play the multimedia audio in the mobile phone terminal.
In the present invention, there is no limitation on the selection of the playing channels of different types of audio data, and the multimedia audio is not limited to be played from the bluetooth headset, the navigation audio and the system notification audio in this embodiment are played from the vehicle speaker. The selection of the playback channels for the different types of audio data is all at the discretionary choice of the user.
The method for simultaneously playing the audio data of the vehicle end by multiple channels outputs the audio data to different playing channels according to different audio types, and the playing channels are not interfered with each other. The number of bluetooth output channels may be greater than or equal to one. The playing method 100 of the audio data provides a scheme automatically selected by the vehicle system, which can well solve the problem that a plurality of users in the vehicle want to listen to different types of audio contents, thereby not only improving the privacy of the listening contents of the users in the vehicle and avoiding interfering with the rest of other people in the same vehicle, but also not influencing or interfering with the driver and distracting the driver in the driving process.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
According to a second aspect of the present invention, there is provided an apparatus for playing back audio data. Referring to fig. 2, fig. 2 is a schematic diagram illustrating an architecture of a playback apparatus for audio data according to some embodiments of the present invention.
As shown in fig. 2, the playing device 20 for audio data provided by the present invention includes a memory 21 and a processor 22. The processor 22 is connected to the memory 21 and configured to execute the computer instructions stored in the memory 21 to implement a method for playing audio data. According to the audio data playing method, the double-channel Bluetooth technology is used, so that in a vehicle-mounted computer scene, multi-channel playing without mutual interference among multiple audios can be realized in a vehicle-mounted computer system. A plurality of audio data in the vehicle-mounted machine system can be selectively played from corresponding Bluetooth earphones, and can also be selectively played from a vehicle loudspeaker.
The audio data playing device 20 may be configured to the car system in a hardware format such as a processor chip. The audio data playback device 20 may be configured to the vehicle system in the form of a software module such as a code written on an SOC (system on chip) chip of the central control system.
System-on-a-chip (SoC) refers to a technology for grouping all or part of necessary electronic circuits by integrating a complete System on a single chip. A complete system typically includes a Central Processing Unit (CPU), memory, and peripheral circuits. SoC is developed in parallel with other technologies, such as Silicon On Insulator (SOI), which can provide enhanced clock frequencies, thereby reducing the power consumption of the microchip.
System-on-chip technology is commonly applied to small, increasingly complex consumer electronic devices. For example, a system-on-chip of a sound detection device is a device that provides all users with audio reception, analog-to-digital converter (ADC), microprocessor, necessary memory, and input-output logic control on a single chip. The system-on-chip is also applicable to single-chip wireless products, such as bluetooth devices, supporting single-chip WLAN and cellular phone solutions. Systems on chip are the primary solution to replace integrated circuits due to unprecedented high-efficiency integration performance.
According to a third aspect of the present invention, there is also provided herein a computer-readable storage medium. The computer readable storage medium has computer instructions stored thereon. The computer instructions, when executed by the processor 22, may implement a method of playing audio data. According to the audio data playing method, the two-channel Bluetooth technology is used, so that the multi-channel playing without mutual interference among multiple audios can be realized in the vehicle-mounted system in a vehicle-mounted scene. A plurality of audio data in the vehicle-mounted machine system can be played from the corresponding Bluetooth headset selectively, and can also be played from a vehicle loudspeaker selectively.
Although the processor 22 described in the above embodiments may be implemented by a combination of software and hardware. It is understood that the processor 22 may be implemented in software, hardware. For a hardware implementation, the processor 22 may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital signal processing devices (DAPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, other electronic devices designed to perform the functions described herein, or a selected combination thereof. For a software implementation, controller 40 may be implemented by separate software modules running on a common chip, such as program modules (processes) and function modules (functions), each of which performs one or more of the functions and operations described herein.
Those of skill in the art would understand that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits (bits), symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk (disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (disks) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A method for playing audio data, comprising the steps of:
responding to the audio data to be played in the vehicle-mounted device system, and judging whether a Bluetooth output channel of a bidirectional Bluetooth module configured in the vehicle-mounted device system is connected with a Bluetooth earphone or not;
responding to a judgment result that the Bluetooth output channel is connected with a Bluetooth headset, and outputting the audio data to the Bluetooth output channel so as to play the audio data by using the Bluetooth headset; and
and responding to the judgment result that the Bluetooth output channel is not connected with the Bluetooth earphone, and outputting the audio data to a vehicle loudspeaker so as to play the audio data by utilizing the vehicle loudspeaker.
2. The playback method as claimed in claim 1, wherein the step of outputting the audio data to the bluetooth output channel comprises:
judging the type of the audio data; and
and responding to the audio data belonging to the multimedia audio, and outputting the audio data to the Bluetooth output channel.
3. The playback method as claimed in claim 2, wherein, after the step of determining the type of the audio data is performed, the playback method further comprises the steps of:
in response to the audio data belonging to navigation class audio, outputting the audio data to the vehicle speakers to play the audio data with the vehicle speakers; and
in response to the audio data belonging to a system notification class audio, outputting the audio data to the vehicle speaker for playing the audio data with the vehicle speaker.
4. The playback method as claimed in claim 3, wherein after the step of determining the type of the audio data is performed, the playback method further comprises the steps of:
responding to the fact that the vehicle-mounted device system has a plurality of audio data to be played, the plurality of audio data to be played simultaneously comprise the multimedia audio and the navigation audio and/or the system notification audio, outputting the multimedia audio to the Bluetooth output channel, and outputting the navigation audio and/or the system notification audio to the vehicle loudspeaker, so that the Bluetooth headset and the vehicle loudspeaker are simultaneously utilized to play corresponding audio data respectively.
5. The playback method as claimed in claim 1, wherein the step of outputting the audio data to the bluetooth output channel comprises:
a selection interface for providing a playing channel for a user; and
and responding to a selection instruction of the user for selecting the Bluetooth output channel, and outputting the audio data to the Bluetooth headset so as to play the audio data by using the Bluetooth headset.
6. The playback method as claimed in claim 5, wherein after the step of providing the user with the selection interface of the playback channel, the playback method further comprises the steps of:
in response to a selection instruction of the user to select the vehicle speaker, outputting the audio data to a vehicle speaker to play the audio data with the vehicle speaker.
7. The playback method as claimed in claim 1, further comprising the steps of:
searching Bluetooth equipment by using a bidirectional Bluetooth module configured in the vehicle-mounted machine system;
acquiring a connection instruction, and connecting the searched Bluetooth equipment according to the connection instruction;
identifying a type of the Bluetooth device; and
and connecting the Bluetooth earphone to the Bluetooth output channel in response to the recognition result that the Bluetooth equipment is the Bluetooth earphone.
8. The playback method as claimed in claim 7, wherein the step of identifying the type of the bluetooth device comprises:
acquiring a feature code of the Bluetooth equipment; and
and identifying whether the Bluetooth equipment is a Bluetooth earphone or not according to the feature code.
9. The playback method as claimed in claim 7, wherein, after performing the step of identifying the type of the bluetooth device, the playback method further comprises the steps of:
and responding to the recognition result that the Bluetooth device is the Bluetooth output device, and connecting the Bluetooth output device to a Bluetooth input channel of the bidirectional Bluetooth module.
10. The playback method as claimed in claim 9, wherein before the step of determining whether the bluetooth output channel of the bidirectional bluetooth module configured in the in-vehicle system is connected to a bluetooth headset, the playback method further comprises the steps of:
judging whether audio data to be played exist in the Bluetooth output equipment or not;
responding to the audio data to be played existing in the Bluetooth output equipment, and acquiring the audio data through the Bluetooth input channel; and
and outputting the audio data acquired through the Bluetooth input channel to a vehicle loudspeaker so as to play the audio data by using the vehicle loudspeaker.
11. The playback method as claimed in claim 1, wherein, before the step of outputting the audio data to vehicle speakers is performed, the playback method further comprises the steps of:
responding to the audio data to be played in the vehicle-mounted device system, and judging whether a wired earphone interface configured in the vehicle-mounted device system is connected with a wired earphone or not; and
outputting the audio data to the wired headset interface to play the audio data with the wired headset in response to a determination that the wired headset is connected to the wired headset,
the step of outputting the audio data to a vehicle speaker in response to a determination that the bluetooth output channel is not connected to a bluetooth headset includes: and responding to a judgment result that the Bluetooth output channel is not connected with a Bluetooth headset and the wired headset interface is not connected with a wired headset, and outputting the audio data to a vehicle loudspeaker.
12. The device for playing audio data is configured in an on-board unit system of a vehicle, and comprises a memory and a processor, wherein,
the processor is connected to the memory and configured to implement the method for playing audio data according to any one of claims 1 to 10.
13. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, implement a method of playing audio data according to any one of claims 1 to 10.
CN202110623907.3A 2021-06-04 2021-06-04 Audio data playing method and device Pending CN115442779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110623907.3A CN115442779A (en) 2021-06-04 2021-06-04 Audio data playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110623907.3A CN115442779A (en) 2021-06-04 2021-06-04 Audio data playing method and device

Publications (1)

Publication Number Publication Date
CN115442779A true CN115442779A (en) 2022-12-06

Family

ID=84240602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110623907.3A Pending CN115442779A (en) 2021-06-04 2021-06-04 Audio data playing method and device

Country Status (1)

Country Link
CN (1) CN115442779A (en)

Similar Documents

Publication Publication Date Title
CN102857805A (en) Method and device for processing signals of mobile terminal
US20120320807A1 (en) Duplex audio for mobile communication device and accessory
US20090011794A1 (en) Interface method and appparatus for a mobile terminal
US8655157B2 (en) Content reproduction apparatus and content reproduction system
JP5942864B2 (en) Terminal device, content transmission method, content transmission program, and content reproduction system
TWI480191B (en) Telematics system and related mobile device and method
CN105323707A (en) Methods for prioritizing and routing audio signals between consumer electronic devices
US8265711B2 (en) Data processing system and method for in-vehicle short range wireless communication network
EP1653663B1 (en) Providing audio data stored in a mobile audio device to a vehicle audio system
TW202218449A (en) Method, mobile device and accessory for seamless handover of communications
CN113225716A (en) Vehicle-mounted karaoke realization method, system, equipment and storage medium
US20060282861A1 (en) Audio/video expansion device and vehicular audio/video system using the same
EP3596945B1 (en) Connecting devices based on sound
WO2017185602A1 (en) Earphone mode switching method and electronic device
CN115442779A (en) Audio data playing method and device
JP2016178662A (en) On-vehicle unit, information processing method, and information processing system
CN115589581A (en) Bluetooth-based audio non-inductive transmission method for copilot entertainment system
CN115268819A (en) In-vehicle multimedia sound zone switching method and device, vehicle and storage medium
JP2006067545A (en) Car audio hands-free system and bidirectional speech communication method
JP6555395B2 (en) In-vehicle device, in-vehicle device control method and program
KR20080111924A (en) Multimedia network system and multimedia sharing method using ultra wide band communication for vehicle
JP5085431B2 (en) Wireless communication device
JP6747555B2 (en) In-vehicle device, in-vehicle device control method, control program, terminal device, terminal device control method, and control program
JP7004039B2 (en) In-vehicle device, in-vehicle device control method, control program, terminal device, terminal device control method and control program
JP6365742B2 (en) In-vehicle device, content playback method, and content playback program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination