CN108242233B - Audio data playing method and device - Google Patents

Audio data playing method and device Download PDF

Info

Publication number
CN108242233B
CN108242233B CN201611224195.3A CN201611224195A CN108242233B CN 108242233 B CN108242233 B CN 108242233B CN 201611224195 A CN201611224195 A CN 201611224195A CN 108242233 B CN108242233 B CN 108242233B
Authority
CN
China
Prior art keywords
vehicle
data
mounted equipment
information
text data
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.)
Active
Application number
CN201611224195.3A
Other languages
Chinese (zh)
Other versions
CN108242233A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611224195.3A priority Critical patent/CN108242233B/en
Publication of CN108242233A publication Critical patent/CN108242233A/en
Application granted granted Critical
Publication of CN108242233B publication Critical patent/CN108242233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for playing audio data. Wherein, the method comprises the following steps: the method comprises the steps that connection is established between the vehicle-mounted equipment and a preset terminal; the method comprises the steps that vehicle-mounted equipment obtains first text data, wherein the first text data are data installed in a first application of a preset terminal; the vehicle-mounted equipment converts the first text data into first audio data; the vehicle-mounted equipment plays the first audio data. The invention solves the technical problem of high limitation caused by that the content in the playing terminal of the vehicle-mounted equipment can only output audio in the related technology.

Description

Audio data playing method and device
Technical Field
The present invention relates to the field of audio, and in particular, to a method and an apparatus for playing audio data.
Background
With the development of intelligent terminals, some APPs have a text reading function, for example, some text reading APPs support voice output, can display text content and play audio, and also have a plurality of expansion functions, for example, functions of adjusting speech speed, selecting speaker or closing at regular time.
The mobile phone is inconvenient to operate when a user drives the automobile, music or audio files in the mobile phone can be played through sound box equipment in the automobile, and for example, music playing software in the mobile phone can play music through sound equipment of the automobile through Bluetooth when playing the music. However, if a user wants to use the car audio device to play in a car, the user is limited by many factors, for example, the user needs to have a content input source (mobile phone) on the car, the mobile phone cannot be separated from the car at a physical distance, the user needs to use bluetooth A2DP, AUX or other audio channels to sound, the user needs to support a reading function by APP to read the content, the user can only directly output the audio of the mobile phone to the car, the content is fixed, redundant information may exist, such as information of a publisher and advertisement information inserted in a news body, and the reading experience is poor. What should listen to on the car may be the sound that any APP of cell-phone sent, for example news type APP, social type APP, or read type APP etc. these APP's that do not support reading function content can't play out through the mobile unit.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing audio data, which aim to at least solve the technical problem of high limitation caused by the fact that only audio can be output through contents in a vehicle-mounted device playing terminal in the related art.
According to an aspect of an embodiment of the present invention, there is provided a method for playing audio data, including: the method comprises the steps that connection is established between the vehicle-mounted equipment and a preset terminal; the method comprises the steps that vehicle-mounted equipment obtains first text data, wherein the first text data are data installed in a first application of a preset terminal; the vehicle-mounted equipment converts the first text data into first audio data; the vehicle-mounted equipment plays the first audio data.
According to another aspect of the embodiments of the present invention, there is also provided an audio data playing apparatus, including: the connection unit is used for establishing connection with a preset terminal through the vehicle-mounted equipment; the first acquiring unit is used for acquiring first text data through the vehicle-mounted equipment, wherein the first text data is data installed in a first application of a preset terminal; the first conversion unit is used for converting the first text data into first audio data through the vehicle-mounted equipment; and the first playing unit is used for playing the first audio data through the vehicle-mounted equipment.
In the embodiment of the invention, the vehicle-mounted equipment is connected with the preset terminal, the vehicle-mounted equipment acquires the first text data, converts the first text data into the first audio data, plays the first audio data, and achieves the purpose of playing the text content in the terminal through the vehicle-mounted equipment in a mode of acquiring the first text data and converting the first text data into the audio data for playing, so that the technical effect of improving the flexibility of content output in the playing terminal of the vehicle-mounted equipment is realized, and the technical problem of high limitation caused by the fact that the content in the playing terminal of the vehicle-mounted equipment can only output audio in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware environment of a playing method of audio data according to an embodiment of the present invention;
fig. 2 is a flowchart of an alternative audio data playing method according to an embodiment of the present invention;
fig. 3 is a flowchart of an alternative audio data playing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an alternative audio data playback apparatus according to an embodiment of the present invention; and
fig. 5 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, an embodiment of a method for playing audio data is provided.
Alternatively, in the present embodiment, the method for playing audio data may be applied to a hardware environment formed by the server 102 and the terminal 104 as shown in fig. 1. As shown in fig. 1, a server 102 is connected to a terminal 104 via a network including, but not limited to: the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. in a wide area network, a metropolitan area network, or a local area network. The audio data playing method according to the embodiment of the present invention may be executed by the server 102, or executed by the terminal 104, or executed by both the server 102 and the terminal 104. The terminal 104 may execute the audio data playing method according to the embodiment of the present invention by a client installed thereon.
In an optional application scenario, the vehicle-mounted device may establish connection with the terminal through multiple communication modes, then the vehicle-mounted device acquires text data installed in a certain application of the terminal, for example, text data of a certain news in a news reading APP, and after acquiring the text data of the news, the vehicle-mounted device converts the text data of the news into audio data and then plays the audio data.
Fig. 2 is a flowchart of an alternative audio data playing method according to an embodiment of the present invention, and as shown in fig. 2, the method may include the following steps:
and step S202, the vehicle-mounted equipment establishes connection with a preset terminal.
Step S204, the vehicle-mounted equipment acquires first text data, wherein the text data is data installed in a first application of a preset terminal.
In step S206, the in-vehicle device converts the first text data into first audio data.
In step S208, the in-vehicle device plays the first audio data.
Through the steps S202 to S208, the vehicle-mounted device establishes a connection with the preset terminal, acquires the first text data, converts the first text data into the first audio data, and then plays the first audio data, and through a manner that the vehicle-mounted device acquires the first text data and then converts the first text data into the audio data for playing, a technical problem of high limitation caused by that only audio can be output through content in the vehicle-mounted device playing terminal in the related art can be solved, thereby achieving a technical effect of improving flexibility of content output in the vehicle-mounted device playing terminal.
In the technical solution provided in step S202, the vehicle-mounted device may be a vehicle-mounted entertainment device, for example, an entertainment device installed in an automobile, and at least includes a communication module, a processor, and a sound device, and the preset terminal may be various types of terminals, for example, a mobile phone, a computer, a tablet computer, and other terminals. The connection between the vehicle-mounted equipment and the preset terminal can be established in various connection modes, for example, the connection is established with the preset terminal through near field communication; or establishing connection with a preset terminal through an account of certain application (second application); and establishing connection with a preset terminal through a cloud channel. The connection mode between the vehicle-mounted device and the preset terminal is not limited to a specific mode, and in some cases, the vehicle-mounted device may also establish connection with the preset terminal in a wired connection mode.
In the technical solution provided in step S204, the first application is installed in the preset terminal, the first text data is data in the first application, for example, the first application may be a news APP, and the first text data is data of a certain piece of news in the news APP, and may include data such as a title and a body of the piece of news, for example.
In the technical solution provided in step S206, when receiving the first text data, the vehicle-mounted device converts the first text data into first audio data, for example, the first text data may be converted into the first audio data by a tts (text to speech) technology for converting characters into sound.
In the technical solution provided in step S208, after the in-vehicle device converts the first text data into first audio data, the in-vehicle device plays the first audio data, where the first audio data may be pure voice data or voice audio data containing background music.
Because the prior art can only play the content supporting audio output, namely, the vehicle-mounted equipment can only be used as a sound box for playing the audio content, and has various limitations, it may be desirable to read news in some news applications while the user is driving, but these news applications do not themselves support audio output functionality, in this case, the audio content cannot be played through the vehicle-mounted device, so that the limitation is high, and through the technical solution of the embodiment of the present invention, the audio playing can be realized by the vehicle-mounted device by the content in some applications that do not support audio output, thereby facilitating the user to listen to the audio content while driving, so as to ensure that the application of the vehicle-mounted equipment is more flexible and convenient, because the user can know more news contents through the mode of listening to the audio frequency when driving, can solve the inconvenience that brings through cell-phone reading text message, promoted user experience.
As an alternative embodiment, the in-vehicle device acquiring the first text data includes one of: the method comprises the steps that vehicle-mounted equipment obtains first text data sent by a preset terminal, wherein the first text data is obtained by extracting information to be played in an application through the preset terminal; the vehicle-mounted equipment acquires information to be played in an application sent by a preset terminal, and extracts first text data from the information to be played.
The first text data may be acquired in one of the following two ways: the method comprises the steps that a preset terminal extracts first text data from information to be played in an application, and then the first text data are sent to vehicle-mounted equipment; or the preset terminal sends the information to be played in the application to the vehicle-mounted equipment, and the vehicle-mounted equipment extracts the first text data from the information to be played. When the first text data is extracted, the first text data can be extracted by means of format parsing.
As an optional embodiment, the obtaining, by the vehicle-mounted device, information to be played in an application sent by a preset terminal, and extracting first text data from the information to be played includes: the method comprises the steps that the vehicle-mounted equipment obtains information to be played and a reading progress mark in an application, wherein the reading progress mark is used for marking a current reading position in the information to be played; and the vehicle-mounted equipment takes part or all of the information to be played behind the current reading position as first text data.
When the vehicle-mounted device acquires the information to be played in the application sent by the preset terminal, the vehicle-mounted device can also acquire a reading progress mark, and the reading progress mark can mark the current reading position, for example, during the driving process of the user, when waiting for the red light, a piece of news in a certain news application is read through the mobile phone, the piece of news can be read by half, at the moment, the green light needs to be driven continuously, the first text data and the reading progress mark can be acquired through the vehicle-mounted device, and after the vehicle-mounted device receives the reading progress mark, a part or all of the rest news contents which need to be read continuously are taken as first text data, then the rest news contents are played through the vehicle-mounted equipment, the first text data may be a part of text data with a preset length, for example, text data with a length of 200 words from the reading progress, or all remaining text data of the news content.
Optionally, the first text data is a first part of data in the information to be played, wherein before or when the vehicle-mounted device plays the audio data, the vehicle-mounted device acquires a second part of data, located behind the first part of data, in the information to be played from the preset terminal; the vehicle-mounted equipment converts the second part of data into second audio data; and the vehicle-mounted equipment plays the second audio data.
Before or when the vehicle-mounted equipment plays the audio data, the vehicle-mounted equipment acquires text data after the text data corresponding to the currently played audio data from the preset terminal, namely, pre-acquires and stores part of data in the information to be played, converts the text data in the information with the playing function into second audio data after the current text data is played, and then plays the second audio data.
As an optional embodiment, when the vehicle-mounted device acquires the first text data, the vehicle-mounted device acquires second text data, wherein the second text data is used for indicating description information of the first application and/or information of a media file displayed in the first application; when the vehicle-mounted equipment converts the first text data into first audio data, the vehicle-mounted equipment converts the second text data into third audio data; and in the process of playing the first audio data by the vehicle-mounted equipment, playing the third audio data by the vehicle-mounted equipment.
The description information of the first application may be that when the vehicle-mounted device acquires the first text data, the vehicle-mounted device acquires second text data, the second text data may indicate the description information of the first application, and the description information of the first application may be advertisement information of the first application, may be proprietary information of a content playback provider of the first application, and may be used for advertisement of the first application. The information of the media file displayed in the first application may be information of the media file in a page of the first application, for example, in a news application, the media information displayed after a certain news is clicked, such as picture information, or information of an advertisement having a cooperative relationship with the application, and the like. After the vehicle-mounted device acquires the second text data, the second text data may be converted into third audio data, and then the third audio data is played in the process of playing the first audio data. The first application can be publicized and the profit can be obtained through the advertisement by converting the description information of the first application and/or the information of the media file displayed in the first application into the audio data to be output.
As an optional embodiment, the connection between the vehicle-mounted device and the preset terminal includes one of the following: establishing connection with a preset terminal through near field communication; establishing connection with a preset terminal through an account of a second application; and establishing connection with a preset terminal through a cloud channel.
The connection between the vehicle-mounted device and the preset terminal can be in various modes, for example, the connection is established with the preset terminal through near field communication (an approach channel), the connection can be a data transmission channel established through WIFI, the channel needs to download an APP matched with a vehicle and open a mobile phone hotspot, and the advantages that the vehicle, the vehicle and the mobile phone do not need a network and belong to local area network connection; the account of the second application can be the account of the instant messaging application, and the data can be transmitted to the vehicle machine from the mobile phone through the instant messaging application through a data transmission channel established by the instant messaging application; the cloud channel can be connected with the preset terminal, the transmission channel is established through the cloud server of the content APP, the file can be directly sent to the vehicle machine through the content APP, the channel has the advantages of being convenient to use and not capable of crossing the APP, and a file receiving Software Development Kit (SDK) of the APP is required to be built in the vehicle machine.
The present invention also provides a preferred embodiment, and fig. 3 is a flowchart of an optional audio data playing method according to an embodiment of the present invention, the method including the following steps:
step S1: the mobile phone receives APP content PUSH (PUSH), or the mobile phone opens a certain content page, such as news, novels, social APP, etc.
Step S2: and (5) formatting and analyzing the content. E.g., news, as long as the title and subject information, such as e-books, removes information such as publication information.
1) This step can be placed before step 3 or after step 3;
2) a vehicle-mounted part and a content provider (application) of a TAS (Tencent vehicle connection open platform, an open platform for providing related services of the Internet of vehicles) negotiate the information content to be read, and format analysis is carried out. The purpose is to filter information which is not beneficial to reading, such as 'intercepted citation content', 'picture', 'publishing information in book' and the like; although the picture cannot be read aloud, the picture can be displayed on a display screen of the automobile during reading.
3) Proprietary information may be added to the provider of the content for promotion or advertising to generate revenue.
Step S3: and sending the data to the vehicle machine channel.
1) Near-field channel: the TAS vehicle machine dedicated channel is used for establishing a near field connection channel by the TAS mobile phone APP and the TAS vehicle machine, and can send the content to the TAS APP and forward the content to the vehicle machine. The data transmission channel is established between the TAS vehicle and the mobile phone terminal through WIFI, the channel needs to download an APP matched with the vehicle and can be used only by opening a mobile phone hotspot, and the advantages that the vehicle, the mobile phone and the vehicle do not need a network and belong to local area network connection are achieved.
2) A second application channel: by using the PUSH capability of the instant messaging application (second application), after the content is sent to a certain account (for example, a public number) of the instant messaging application, the content is automatically forwarded to a channel of the TAS vehicle machine, between the TAS vehicle machine and the mobile phone, through a data transmission channel established by the second application, the data can be transmitted to the vehicle machine from the mobile phone through the second application, and the channel has the advantage that any APP which can be sent to the second application can be used at low cost.
3) Cloud channel: generally, the APP is provided, a content service SDK for receiving the file is arranged in the car end, after the mobile phone sends, the cloud end PUSH sends the file to the car machine, a transmission channel is established through a cloud end server of the content APP between the TAS car machine and the mobile phone, the file can be directly sent to the car machine through the content APP, the channel has the advantages of being convenient to use, the defect that the APP cannot be crossed, and the SDK is received by the file of the built-in APP in the car machine.
Step S4: and a vehicle end. The car machine receives the message and asks whether to read aloud by voice.
1) The vehicle machine receives the message through the data channel;
2) whether to read aloud is inquired, and interaction can be carried out through three interaction modes:
a. voice is activated, with the user answering "needed" or "not needed";
b. square control: selecting to confirm or cancel by using a Bluetooth square control remote controller matched with the TAS;
c. touch control: clicking the touch screen to select to confirm or cancel;
3) storing the formatted text, and enabling the text to be available offline within a certain time;
4) when receiving the text information, the reading progress can be selected at the mobile phone end, so that the reading can be started from the progress position on the vehicle instead of from the beginning;
step S5: and converting the characters into voice by a TTS technology, and reading the content.
Reading by a vehicle machine: the text that has been formatted is read aloud by virtue of TTS technology provided by the partner.
The application scenario of the embodiment of the invention is as follows: news information, scene is: when the automobile is driven, the mobile phone receives instant mobile phone push, and when the traffic light is on, the mobile phone has time to see the title, and the title attracts the title, but the whole news cannot be seen. The function can be used at the moment, the information is conveniently sent to the car machine, and news is listened while driving behind the green light.
Application scenario two: novel class, scene is: read a novel through online reading APP or text reading APP, read interesting chapter, need drive, send the car machine with the cell-phone at home this time, received the novel after getting on the bus and just can continue to hear loudly.
The product form can be as follows: the car machine open platform "reading ability", information type APP can add the button module, and the consultation accessible is shared the car machine through this module, plays the frame behind the information box acquisition of car machine system level and whether "reads".
According to the technical scheme of the embodiment of the invention, sound can be directly sent out through a vehicle instead of being output through a mobile phone and played by means of in-vehicle audio equipment, any content can be sent to the vehicle skill in various ways, and the text is uniformly analyzed and read by the vehicle.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to the embodiment of the invention, the audio data playing device for implementing the audio data playing method is also provided. Fig. 4 is a schematic diagram of an alternative audio data playing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus may include:
the connection unit 10 is used for establishing connection with a preset terminal through vehicle-mounted equipment;
the first acquiring unit 20 is configured to acquire first text data through the vehicle-mounted device, where the first text data is data installed in a first application of a preset terminal;
a first conversion unit 30 for converting the first text data into first audio data by the in-vehicle apparatus;
and a first playing unit 40 for playing the first audio data through the in-vehicle device.
It should be noted that the connection unit 10 in this embodiment may be configured to execute step S202 in embodiment 1 of this application, the first obtaining unit 20 in this embodiment may be configured to execute step S204 in embodiment 1 of this application, the first converting unit 30 in this embodiment may be configured to execute step S206 in embodiment 1 of this application, and the first playing unit 40 in this embodiment may be configured to execute step S208 in embodiment 1 of this application.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 1 described above. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, the technical problem of high limitation caused by the fact that only audio can be output through the content in the vehicle-mounted device playing terminal in the related technology can be solved, and the technical effect of improving the flexibility of content output in the vehicle-mounted device playing terminal is achieved.
Optionally, the first obtaining unit 20 includes one of: the first obtaining module is used for obtaining first text data sent by a preset terminal through vehicle-mounted equipment, wherein the first text data is obtained by extracting information to be played in an application through the preset terminal; the second obtaining module is used for obtaining information to be played in the application sent by the preset terminal through the vehicle-mounted equipment and extracting the first text data from the information to be played.
Optionally, the second obtaining module is configured to: the method comprises the steps that information to be played and a reading progress mark in an application are obtained through vehicle-mounted equipment, wherein the reading progress mark is used for marking a current reading position in the information to be played; and the vehicle-mounted equipment takes part or all of the information to be played behind the current reading position as first text data.
Optionally, the first text data is a first part of data in the information to be played, and the apparatus further includes: the second acquisition unit is used for acquiring a second part of data which is positioned behind the first part of data in the information to be played from the preset terminal through the vehicle-mounted equipment before or when the vehicle-mounted equipment plays the audio data; a second conversion unit for converting the second part of data into second audio data by the in-vehicle device; and the second playing unit is used for playing the second audio data by the vehicle-mounted equipment.
Optionally, the apparatus further comprises: the third acquiring unit is used for acquiring second text data through the vehicle-mounted equipment when the vehicle-mounted equipment acquires the first text data, wherein the second text data is used for indicating description information of the first application and/or information of a media file displayed in the first application; the third conversion unit is used for converting the second text data into third audio data when the vehicle-mounted equipment converts the first text data into the first audio data; and the third playing unit is used for playing the third audio data through the vehicle-mounted equipment in the process of playing the first audio data by the vehicle-mounted equipment.
Optionally, the connection unit 10 comprises one of: the first connection module is used for establishing connection with a preset terminal through near field communication; the second connection module is used for establishing connection with a preset terminal through an account of a second application; and the third connecting module is used for establishing connection with the preset terminal through the cloud channel.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 1 described above. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
Example 3
According to the embodiment of the invention, the invention also provides a server or a terminal for implementing the audio data playing method.
Fig. 5 is a block diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 5, the terminal may include: one or more processors 201 (only one of which is shown), a memory 203, and a transmission device 205 (such as the transmission device in the above embodiment), as shown in fig. 5, the terminal may further include an input/output device 207.
The memory 203 may be used to store software programs and modules, such as program instructions/modules corresponding to the audio data playing method and apparatus in the embodiments of the present invention, and the processor 201 executes various functional applications and data processing by running the software programs and modules stored in the memory 203, that is, implements the audio data playing method described above. The memory 203 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 203 may further include memory located remotely from the processor 201, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 205 is used for receiving or sending data via a network, and can also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 205 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 205 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Wherein the memory 203 is specifically used for storing application programs.
The processor 201 may call the application stored in the memory 203 via the transmission means 205 to perform the following steps: the method comprises the steps that connection is established between the vehicle-mounted equipment and a preset terminal; the method comprises the steps that vehicle-mounted equipment obtains first text data, wherein the first text data are data installed in a first application of a preset terminal; the vehicle-mounted equipment converts the first text data into first audio data; the vehicle-mounted equipment plays the first audio data.
The processor 201 is further configured to perform the following steps: the method comprises the steps that vehicle-mounted equipment obtains first text data sent by a preset terminal, wherein the first text data is obtained by extracting information to be played in an application through the preset terminal; the vehicle-mounted equipment acquires information to be played in an application sent by a preset terminal, and extracts first text data from the information to be played.
The processor 201 is further configured to perform the following steps: the method comprises the steps that the vehicle-mounted equipment obtains information to be played and a reading progress mark in an application, wherein the reading progress mark is used for marking a current reading position in the information to be played; and the vehicle-mounted equipment takes part or all of the information to be played behind the current reading position as first text data.
The processor 201 is further configured to perform the following steps: the vehicle-mounted equipment acquires second part of data behind the first part of data in the information to be played from the preset terminal; the vehicle-mounted equipment converts the second part of data into second audio data; and the vehicle-mounted equipment plays the second audio data.
The processor 201 is further configured to perform the following steps: the vehicle-mounted equipment acquires second text data, wherein the second text data is used for indicating description information of the first application and/or information of a media file displayed in the first application; the vehicle-mounted equipment converts the second text data into third audio data; and the vehicle-mounted equipment plays the third audio data.
The processor 201 is further configured to perform the following steps: establishing connection with a preset terminal through near field communication; establishing connection with a preset terminal through an account of a second application; and establishing connection with a preset terminal through a cloud channel.
By adopting the embodiment of the invention, the connection between the vehicle-mounted equipment and the preset terminal is established, the vehicle-mounted equipment acquires the first text data, converts the first text data into the first audio data, plays the first audio data, and achieves the purpose of playing the text content in the terminal through the vehicle-mounted equipment in a mode of acquiring the first text data and converting the first text data into the audio data for playing, so that the technical effect of improving the flexibility of content output in the playing terminal of the vehicle-mounted equipment is realized, and the technical problem of high limitation caused by the fact that the content in the playing terminal of the vehicle-mounted equipment can only output audio in the related technology is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 4
The embodiment of the invention also provides a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing a playing method of audio data.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, the vehicle-mounted equipment establishes connection with a preset terminal;
s2, the vehicle-mounted equipment acquires first text data, wherein the first text data are data installed in a first application of a preset terminal;
s3, the vehicle-mounted equipment converts the first text data into first audio data;
s4, the vehicle-mounted device plays the first audio data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the method comprises the steps that vehicle-mounted equipment obtains first text data sent by a preset terminal, wherein the first text data is obtained by extracting information to be played in an application through the preset terminal; the vehicle-mounted equipment acquires information to be played in an application sent by a preset terminal, and extracts first text data from the information to be played.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the method comprises the steps that the vehicle-mounted equipment obtains information to be played and a reading progress mark in an application, wherein the reading progress mark is used for marking a current reading position in the information to be played; and the vehicle-mounted equipment takes part or all of the information to be played behind the current reading position as first text data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the vehicle-mounted equipment acquires second part of data behind the first part of data in the information to be played from the preset terminal; the vehicle-mounted equipment converts the second part of data into second audio data; and the vehicle-mounted equipment plays the second audio data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the vehicle-mounted equipment acquires second text data, wherein the second text data is used for indicating description information of the first application and/or information of a media file displayed in the first application; the vehicle-mounted equipment converts the second text data into third audio data; and the vehicle-mounted equipment plays the third audio data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: establishing connection with a preset terminal through near field communication; establishing connection with a preset terminal through an account of a second application; and establishing connection with a preset terminal through a cloud channel.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A method for playing audio data, comprising:
establishing a data transmission channel between the vehicle-mounted equipment on the open platform for providing the internet of vehicles related services and a preset terminal through the content pushing capacity of the account of the second application;
the vehicle-mounted equipment acquires first text data sent by the preset terminal through the data transmission channel, wherein the first text data is data installed in a first application of the preset terminal;
the vehicle-mounted equipment converts the first text data into first audio data;
and the vehicle-mounted equipment plays the first audio data.
2. The method according to claim 1, wherein the step of acquiring, by the vehicle-mounted device through the data transmission channel, the first text data sent by the preset terminal comprises one of:
the vehicle-mounted equipment acquires first text data extracted from the information to be played in the first application through the preset terminal;
the vehicle-mounted equipment acquires the information to be played in the first application sent by the preset terminal, and extracts the first text data from the information to be played.
3. The method according to claim 2, wherein the step of acquiring, by the vehicle-mounted device, information to be played in the first application sent by the preset terminal, and extracting the first text data from the information to be played comprises:
the vehicle-mounted equipment acquires the information to be played and a reading progress mark in the first application, wherein the reading progress mark is used for marking the current reading position in the information to be played;
and the vehicle-mounted equipment takes part or all of the information to be played, which is positioned behind the current reading position, as the first text data.
4. The method according to claim 2, wherein the first text data is a first part of the information to be played, and wherein before or while the audio data is played by the vehicle-mounted device, the method further comprises:
the vehicle-mounted equipment acquires second part of data which is positioned behind the first part of data in the information to be played from the preset terminal;
the vehicle-mounted equipment converts the second part of data into second audio data;
and the vehicle-mounted equipment plays the second audio data.
5. The method of claim 1,
when the vehicle-mounted device acquires the first text data sent by the preset terminal through the data transmission channel, the method further comprises the following steps: the vehicle-mounted equipment acquires second text data, wherein the second text data is used for indicating description information of the first application and/or information of a media file displayed in the first application;
when the vehicle-mounted device converts the first text data into first audio data, the method further comprises the following steps: the vehicle-mounted equipment converts the second text data into third audio data;
in the process that the first audio data is played by the vehicle-mounted device, the method further comprises the following steps: and the vehicle-mounted equipment plays the third audio data.
6. An apparatus for playing audio data, comprising:
the connection unit is used for establishing connection with a preset terminal through the vehicle-mounted equipment, and comprises a second connection module used for establishing a data transmission channel between the vehicle-mounted equipment on an open platform for providing the related services of the Internet of vehicles and the preset terminal through the content pushing capacity of the account of the second application;
the first obtaining unit is used for obtaining first text data sent by the preset terminal through the data transmission channel by the vehicle-mounted equipment, wherein the first text data is data installed in a first application of the preset terminal;
the first conversion unit is used for converting the first text data into first audio data through the vehicle-mounted equipment;
and the first playing unit is used for playing the first audio data through the vehicle-mounted equipment.
7. The apparatus of claim 6, wherein the first obtaining unit comprises one of:
the first obtaining module is used for obtaining first text data extracted from the information to be played in the first application through the preset terminal through the vehicle-mounted equipment;
and the second acquisition module is used for acquiring the information to be played in the first application sent by the preset terminal through the vehicle-mounted equipment and extracting the first text data from the information to be played.
8. The apparatus of claim 7, wherein the second obtaining module is configured to:
acquiring the information to be played and a reading progress mark in the first application through the vehicle-mounted equipment, wherein the reading progress mark is used for marking a current reading position in the information to be played;
and the vehicle-mounted equipment takes part or all of the information to be played, which is positioned behind the current reading position, as the first text data.
9. The apparatus according to claim 7, wherein the first text data is a first part of data in the information to be played, the apparatus further comprising:
a second obtaining unit, configured to obtain, by the vehicle-mounted device, a second part of data, which is located after the first part of data, in the information to be played from the preset terminal before or when the vehicle-mounted device plays the audio data;
a second conversion unit configured to convert the second portion of data into second audio data by the in-vehicle apparatus;
and the second playing unit is used for playing the second audio data by the vehicle-mounted equipment.
10. The apparatus of claim 6, further comprising:
a third obtaining unit, configured to obtain, by the vehicle-mounted device, second text data when the vehicle-mounted device obtains, through the data transmission channel, first text data sent by the preset terminal, where the second text data is used to indicate description information of the first application and/or information of a media file displayed in the first application;
a third conversion unit, configured to, when the in-vehicle device converts the first text data into first audio data, convert the second text data into third audio data by the in-vehicle device;
and the third playing unit is used for playing the third audio data through the vehicle-mounted equipment in the process of playing the first audio data by the vehicle-mounted equipment.
11. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 5.
12. A terminal for playing audio data, comprising a memory and a processor, characterized in that the memory has stored therein a computer program, and the processor is arranged to execute the method of any of claims 1 to 5 by means of the computer program.
CN201611224195.3A 2016-12-26 2016-12-26 Audio data playing method and device Active CN108242233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611224195.3A CN108242233B (en) 2016-12-26 2016-12-26 Audio data playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611224195.3A CN108242233B (en) 2016-12-26 2016-12-26 Audio data playing method and device

Publications (2)

Publication Number Publication Date
CN108242233A CN108242233A (en) 2018-07-03
CN108242233B true CN108242233B (en) 2020-11-03

Family

ID=62701463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611224195.3A Active CN108242233B (en) 2016-12-26 2016-12-26 Audio data playing method and device

Country Status (1)

Country Link
CN (1) CN108242233B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107524A (en) * 2018-10-25 2020-05-05 上海博泰悦臻电子设备制造有限公司 Bluetooth connection method, system and vehicle-mounted terminal
CN111046830B (en) * 2019-12-23 2023-09-15 东风汽车有限公司 Vehicle-mounted reading and playing method and electronic equipment
CN113099311B (en) * 2020-01-09 2023-05-16 博泰车联网科技(上海)股份有限公司 Method for playing data, electronic device and computer storage medium
CN115379043B (en) * 2021-05-18 2024-06-04 华为技术有限公司 Cross-equipment text connection method and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004226741A (en) * 2003-01-23 2004-08-12 Nissan Motor Co Ltd Information providing device
CN2685157Y (en) * 2003-11-04 2005-03-16 安徽中科大讯飞信息科技有限公司 Vehicular radio speech broadcasting apparatus
CN101527750A (en) * 2008-03-09 2009-09-09 黄亚桥 Method for issuing advertising information by using mobile phone theme
US20110231261A1 (en) * 2010-03-17 2011-09-22 Microsoft Corporation Voice customization for voice-enabled text advertisements
US20130325474A1 (en) * 2012-05-31 2013-12-05 Royce A. Levien Speech recognition adaptation systems based on adaptation data
CN204046697U (en) * 2013-01-25 2014-12-24 陈旭 A kind of graphics context collection recognition device
CN103634205B (en) * 2013-12-09 2018-04-13 大陆汽车投资(上海)有限公司 The vehicle entertainment system and method for integrated instant messaging/social networking application
CN104765714A (en) * 2014-01-08 2015-07-08 中国移动通信集团浙江有限公司 Switching method and device for electronic reading and listening
CN104200803A (en) * 2014-09-16 2014-12-10 北京开元智信通软件有限公司 Voice broadcasting method, device and system
CN104536645A (en) * 2014-12-17 2015-04-22 北京塞宾科技有限公司 Information presentation method based on cloud technology
CN104748759A (en) * 2015-04-06 2015-07-01 赵立 Method for obtaining locating information and navigation by smartphone
CN105609096A (en) * 2015-12-30 2016-05-25 小米科技有限责任公司 Text data output method and device

Also Published As

Publication number Publication date
CN108242233A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN108242233B (en) Audio data playing method and device
US20180234364A1 (en) Data transmission method and apparatus, and in-vehicle terminal
WO2016188322A1 (en) Karaoke processing method, apparatus and system
CN104821177A (en) Local network media sharing
CN106098056B (en) Voice news processing method, news server and system
US8332741B2 (en) Method and system for on-demand narration of a customized story
CN107463247B (en) Text reading processing method and device and terminal
JP2012023510A5 (en)
CN104780403A (en) System and method for providing somatosensory video based on script
CN104052795A (en) Method and apparatus for seamless application portability over multiple environments
JP2013088813A (en) Sound source information management service system and sound source information management service method
CN111276135B (en) Network voice recognition method, network service interaction method and intelligent earphone
CN106156036B (en) Vehicle-mounted audio processing method and vehicle-mounted equipment
CN104012043A (en) Wireless network configuration system and method
US9197336B2 (en) System and method for providing customized audio content to a vehicle radio system using a smartphone
CN106257928A (en) Audio file acquisition methods, update notification sending method, equipment and system
CN101729875A (en) Multimedia file playing method and media playing device
JP7094486B2 (en) Information provider
CN104580309A (en) Information pushing method as well as audio terminal, mobile terminal and pushing system
CN105049926B (en) A kind of method and terminal, playback equipment collected, play multi-media segment
CN105992172B (en) Ringtone processing method, server, mobile terminal and system
CN103888617B (en) The method of output notice message and device
JP6731949B2 (en) Information acquisition method, device and system
KR101913635B1 (en) Apparatus and method for playing advertisement content with efficiency
EP3098725A1 (en) Audio-based data label distribution system and method

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
GR01 Patent grant
GR01 Patent grant