CN108242233A - The playing method and device of audio data - Google Patents
The playing method and device of audio data Download PDFInfo
- Publication number
- CN108242233A CN108242233A CN201611224195.3A CN201611224195A CN108242233A CN 108242233 A CN108242233 A CN 108242233A CN 201611224195 A CN201611224195 A CN 201611224195A CN 108242233 A CN108242233 A CN 108242233A
- Authority
- CN
- China
- Prior art keywords
- mobile unit
- data
- information
- text data
- audio 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
- G10L13/08—Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User 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/72412—User 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
Abstract
The invention discloses a kind of playing method and devices of audio data.Wherein, this method includes:Mobile unit is established with default terminal and is connected;Mobile unit obtains the first text data, wherein, the first text data is the data in the first application of default terminal;First text data is converted to the first audio data by mobile unit;Mobile unit plays the first audio data.The present invention solves the technical issues of limitation caused by can only exporting audio by the content in mobile unit playback terminal in the relevant technologies is high.
Description
Technical field
The present invention relates to audio area, in particular to a kind of playing method and device of audio data.
Background technology
With the development of intelligent terminal, some APP have word function of reading aloud, such as some text readings APP supports language
Sound exports, can be to play audio in display text content, also with many expanding functions, for example, adjusting word speed, selection is pronounced
The functions such as people or timing closing.
User's mobile phone operation in driving is inconvenient, and the sound in mobile phone can be played by the sound-box device in automobile
Happy or audio file, for example, the music player software in mobile phone can use the sound of automobile when playing music by bluetooth
Ring device plays music.However, if it is desired to be played in the car using on-vehicle acoustic apparatus, limited by several factors, for example,
Content input source (mobile phone) is needed onboard can not must to accomplish the separation of mobile phone and vehicle in physical distance, it is necessary to by
Bluetooth A2DP, AUX or other voice-grade channel sounding, it is necessary to which APP supports function of reading aloud, can just read aloud, can only be by the audio of mobile phone
It is provided directly as output to vehicle device, content is fixed, might have redundancy, as published in nss message, subject of news
Interspersed advertising information etc., reading experience is poor.And what is onboard listened may be sound that the arbitrary APP of mobile phone is sent out, it is such as new
It hears class APP, social activity class APP or reads class APP etc., these do not support the content of the APP of function of reading aloud that can not pass through mobile unit
It plays back.
For it is above-mentioned the problem of, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of playing method and device of audio data, at least to solve to lead in the relevant technologies
The technical issues of limitation caused by the content crossed in mobile unit playback terminal can only export audio is high.
One side according to embodiments of the present invention provides a kind of playback method of audio data, including:Mobile unit
It establishes and connects with default terminal;Mobile unit obtains the first text data, wherein, the first text data is mounted on default terminal
First application in data;First text data is converted to the first audio data by mobile unit;Mobile unit plays first
Audio data.
Another aspect according to embodiments of the present invention additionally provides a kind of playing device of audio data, including:Connection is single
Member establishes connection for passing through mobile unit with default terminal;First acquisition unit, for obtaining the first text by mobile unit
Notebook data, wherein, the first text data is the data in the first application of default terminal;First conversion unit, is used for
First text data is converted to by the first audio data by mobile unit;First broadcast unit is broadcast for passing through mobile unit
Put the first audio data.
In embodiments of the present invention, it is established and connected using mobile unit and default terminal, mobile unit obtains the first text
First text data is converted into the first audio data, then plays the first audio data, got by mobile unit by data
First text data is then converted to the mode of audio data broadcasting, and having reached can be by the text in mobile unit playback terminal
The purpose of this content, it is achieved thereby that the technique effect of the flexibility of the content output in mobile unit playback terminal is improved, into
And solve audio can only be exported by the content in mobile unit playback terminal in the relevant technologies caused by the high skill of limitation
Art problem.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair
Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the playback method of audio data according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the playback method of optional audio data according to embodiments of the present invention;
Fig. 3 is a kind of flow chart of the playback method of optional audio data according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of the playing device of optional audio data according to embodiments of the present invention;And
Fig. 5 is a kind of structure diagram of terminal according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for the broadcasting of audio data is provided.
Optionally, in the present embodiment, the playback method of above-mentioned audio data can be applied to as shown in Figure 1 by servicing
In the hardware environment that device 102 and terminal 104 are formed.As shown in Figure 1, server 102 is connected by network and terminal 104
It connects, above-mentioned network includes but not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tablet electricity
Brain etc..The playback method of the audio data of the embodiment of the present invention can be performed by server 102, can also by terminal 104
It performs, can also be and performed jointly by server 102 and terminal 104.Wherein, terminal 104 performs the audio of the embodiment of the present invention
The playback method of data can also be performed by client mounted thereto.
In a kind of optional application scenarios, mobile unit can be established by communication and terminal and be connected, so
Mobile unit obtains the text data in some application of terminal afterwards, for example, news reads certain news in APP
The text data of the news is converted to audio data by text data, mobile unit after the text data for getting the news
Then it plays.
Fig. 2 is a kind of flow chart of the playback method of optional audio data according to embodiments of the present invention, such as Fig. 2 institutes
Show, this method may comprise steps of:
Step S202, mobile unit are established with default terminal and are connected.
Step S204, mobile unit obtain the first text data, wherein, text data is mounted on the first of default terminal
Data in.
First text data is converted to the first audio data by step S206, mobile unit.
Step S208, mobile unit play the first audio data.
By above-mentioned steps S202 to step S208, mobile unit is established with default terminal and is connected, and mobile unit obtains the
First text data is converted into the first audio data, then plays the first audio data, pass through mobile unit by one text data
The mode that the first text data is then converted to audio data broadcasting is got, can solve to pass through mobile unit in the relevant technologies
The technical issues of limitation caused by content in playback terminal can only export audio is high, and then reach and improve mobile unit broadcasting
The technique effect of the flexibility of content output in terminal.
In the technical solution provided in step S202, mobile unit can be vehicular amusement apparatus, such as mounted on automobile
In amusement equipment, including at least communication module, processor and stereo set, default terminal can be a plurality of types of terminals,
For example, the terminals such as mobile phone, computer and tablet computer.Mobile unit establishes connection with default terminal and a variety of connection sides may be used
Formula connects for example, being established by near-field communication and default terminal;Or it using the account of (the second application) and is preset by certain
Terminal establishes connection;It is established and connected by high in the clouds channel and default terminal.The connection mode of mobile unit and default terminal is not
Be confined to it is specific certain, in some cases, mobile unit can also by way of wired connection with default terminal establish connect
It connects.
In the technical solution provided in step S204, the first application is mounted in default terminal, and the first text data is the
Data in one application, for example, the first application can be news APP, the first text data is certain news item in news APP
Data, for example, the title of this news and the data such as text can be included.
In the technical solution provided in step S206, mobile unit is when receiving the first text data, by the first text
Data are converted to the first audio data, for example, can pass through a kind of technology-TTS (Text To that word is converted to sound
Speech) the first text data is converted to the first audio data by technology.
In the technical solution provided in step S208, the first text data is converted to the first audio data in mobile unit
Later, mobile unit play the first audio data, wherein, the first audio data can be pure voice data or comprising
The voice audio data for the music that has powerful connections.
The content of audio output is supported due to that can only play in the prior art, that is, can only be using mobile unit as broadcasting
The speaker of audio content uses, and has a variety of limitations, may want to read the news in some news applications when user drives,
But these news applications do not support audio output function in itself, can not play audio by mobile unit in this case
Content, therefore limitation is very high, and technical solution through the embodiment of the present invention, some for not supporting audio output can be answered
Content in realizes that audio plays by mobile unit, so as to which user be facilitated to listen to audio content in driving, so that vehicle-mounted
The application of equipment is more flexible and convenient, since user can be understood in more news when driving by way of listening to audio
Hold, the inconvenience read text message by mobile phone and brought can be solved, improve user experience.
As a kind of optional embodiment, mobile unit obtains the first text data and includes one below:Mobile unit obtains
The first text data that default terminal is taken to send, wherein, the first text data letter to be played from application by presetting terminal
Extraction obtains in breath;Mobile unit obtains information to be played in the application that default terminal is sent, and from information to be played
Extract the first text data.
The acquisition of first text data can be one kind of following two modes:Default terminal letter to be played from application
Extraction obtains the first text data in breath, and the first text data then is sent to mobile unit;Or default terminal will be applied
In information to be played be sent to mobile unit, mobile unit extracts the first text data from information to be played.It is carrying
When taking the first text data, the first text data can be extracted by way of formatting and parsing.
As a kind of optional embodiment, mobile unit obtains information to be played in the application that default terminal is sent, and
The first text data is extracted from information to be played to include:Mobile unit obtains information to be played and reading in application
Progress identifies, wherein, reading progress identifies to identify the current reading location in information to be played;Mobile unit will be waited to broadcast
In the information put the first text data is partly or entirely used as in the information after current reading location.
Mobile unit can also be obtained and be read into scale when obtaining information to be played in the application for presetting terminal transmission
Know, reading progress mark can identify current reading location, for example, user is on the run, be read when red lights by mobile phone
The news item in some news application is read, this news item may read half, and green light needs to continue at this time
Traveling can be obtained the first text data by mobile unit and read progress mark, and mobile unit, which receives, to be read into scale
After knowledge, it would be desirable to continue the first text data of some or all conducts in the remaining news content read, then
Remaining news content is played by mobile unit, wherein, the first text data can be a part of textual data of preset length
According to, for example, for example, since reading progress the text data of 200 word lengths or the news content it is remaining all text
Notebook data.
Optionally, the first text data is first part's data in information to be played, wherein, it is played in mobile unit
Prior to or just when audio data, mobile unit, which is obtained from default terminal in information to be played, to be located at after first part's data
Second part data;Second part data are converted to second audio data by mobile unit;Mobile unit plays the second audio
Data.
Prior to or just when mobile unit playing audio-fequency data, mobile unit obtains currently playing sound from default terminal
Frequency is according to the text data after corresponding text data, that is, obtaining and storing in advance the part number in information to be played
According to, after current text data is played, will with play information in text data be converted to second audio data, so
After play second audio data.
As a kind of optional embodiment, when mobile unit obtains the first text data, mobile unit obtains the second text
Notebook data, wherein, the second text data be used to indicate the first application description information and/or first application in show media text
The information of part;When the first text data is converted to the first audio data by mobile unit, mobile unit is by the second text data
Be converted to third audio data;During mobile unit plays the first audio data, mobile unit plays third audio number
According to.
First application description information can be first apply mobile unit obtain the first text data when, mobile unit
The second text data is obtained, the second text data can indicate the description information of the first application, and the description information of the first application can
To be the advertisement information of the first application, it can be the proprietary information of the interior receiving provider of the first application, can be used for first
Using being publicized.The information of media file shown in first application can be the media file in the page of the first application
Information, for example, in news application, point opens the media information shown after certain news, such as pictorial information or has with the application
Information of the advertisement of cooperative relationship etc..After mobile unit obtains the second text data, the second text data can be converted into
Then third audio data plays third audio data during the first audio data is played.Pass through what is applied first
The information of media file shown in description information and/or the first application is converted into audio data output, can be applied to first
It is publicized, can also income be obtained by advertisement.
As a kind of optional embodiment, mobile unit establishes connection with default terminal and includes one below:Pass through near field
Communication is established with default terminal and is connected;It is established and connected with default terminal by the account of the second application;By high in the clouds channel and in advance
If terminal establishes connection.
The connection of mobile unit and default terminal can be various ways, for example, by near-field communication (approach corridor) with
Default terminal establishes connection, can be the data transmission channel established by WIFI, which needs lower car-carrying machine to match
APP, and open mobile phone hot spot, advantage be vehicle device mobile phone all without network, belong to LAN connection;The second application can also be passed through
Account and default terminal establish and connect, the account of the second application can be the account of instant messaging application, pass through instant messaging
Using the data transmission channel of foundation, it can be applied by instant messaging and data are transferred to vehicle device by mobile phone, the advantages of the channel
It is that the arbitrary APP that can be sent to instant messaging application can low cost use;High in the clouds channel and default terminal can also be passed through
Connection is established, the transmission channel established by the cloud server of content APP can directly transmit file to vehicle by content APP
The advantages of machine, the channel be it is easy to use, shortcoming be cannot across APP use, and need the file reception of the APP built in vehicle device soft
Part development kit (Software Development Kit, referred to as SDK).
The present invention also provides a kind of preferred embodiment, Fig. 3 is a kind of optional audio number according to embodiments of the present invention
According to playback method flow chart, this method includes the following steps:
Step S1:Mobile phone receives APP content push (PUSH) or mobile phone open content page, such as news, small
It says, social activity APP etc..
Step S2:Content format neutralizing analysis.For example, news, as long as title and main information, such as e-book, removes publication
The information such as information.
1) step can be placed in before step 3 or after 3;
2) it is carried by TAS (Tencent's vehicle connection open platform provides the open platform of car networking related service) vehicle device side with content
Supplier's (application) negotiates the information content to be read aloud, and is formatted parsing.Purpose is that filtering is unfavorable for the information read aloud, such as
" the reference content being truncated " " picture " " published information in books " etc.;Wherein, it although picture can not be read aloud, is reading aloud
During, picture can be in the display screen display of automobile.
3) proprietary information of content side provider can be increased, advertisement is publicized or added in for it to obtain income.
Step S3:It is sent to vehicle device channel.
1) near field channel:TAS vehicle device designated lanes establish near field interface channel by TAS cell phone applications and TAS vehicle devices, can incite somebody to action
Content is sent to TAS APP, is forwarded to vehicle device.Between TAS vehicle devices and mobile phone terminal, led to by the WIFI data transmissions established
Road, the channel need the matching used APP of lower car-carrying machine, and open mobile phone hot spot and could use, advantage be vehicle device mobile phone all without
Network is needed, belongs to LAN connection.
2) second channel is applied:The PUSH abilities of instant messaging application (the second application) are borrowed, are sent the content to immediately
After communication applications account (for example, public platform), the channel of TAS vehicle devices is automatically forwarded to, between TAS vehicle devices and mobile phone, is passed through
The advantages of data can be transferred to vehicle device by the data transmission channel that the second application is established by the second application by mobile phone, the channel
It is that the arbitrary APP that can be sent to the second application can low cost use.
3) high in the clouds channel:It is generally provided by APP, in the content service SDK that file is picked built in engine end, mobile phone is sent
Afterwards, high in the clouds PUSH,, can by the transmission channel of the cloud server foundation of content APP between TAS vehicle devices and mobile phone to vehicle device
File is directly transmitted to vehicle device by content APP, the advantages of channel be it is easy to use, shortcoming be cannot across APP use, and need
Want the file reception SDK of the APP built in vehicle device.
Step S4:Engine end.Vehicle device receives message, and voice asks whether to read aloud.
1) vehicle device receives message by data channel;
2) it asks whether to read aloud, and can be interacted by three kinds of interactive modes:
A. voice is activated, is answered " needs " or " not needing to " by user;
B. side's control:Remote controler is controlled using bluetooth side mating TAS, selection is determined or cancelled;
C. touch-control:Point touching screen, selection are determined or are cancelled;
3) text of formatting is stored, it is offline available within a certain period of time;
4) when receiving text message, reading progress can be selected in mobile phone terminal, can be opened in this way in vehicle device from progress position
Begin read rather than from the beginning;
Step S5:By TTS technologies, word is converted to sound, reads aloud content.
Vehicle device is read aloud:By the TTS technologies that affiliate provides, formatted text is read aloud.
The application scenarios one of the embodiment of the present invention:Domestic News class, scene are:Mobile phone receives instant mobile phone when driving
Push, when traffic lights, having time finishes watching title, is attracted by title, but can not see complete strips news.It can use at this time
The function, is easily sent to vehicle device, listens news on green light back driving side.
Application scenarios two:Novel class, scene are:One novel is read by online reading APP or text reading APP, is read
It is returned to interesting chapter, needs to drive, this when is sent to vehicle device with mobile phone at home, and novel is received after getting on the bus
Continue to listen sound.
Product form can be:Vehicle device open platform " reads ability ", and information class APP can add button module, and consulting can
Vehicle device is shared by the module, plays whether frame " is read " after the message box acquisition information of vehicle system rank.
Technical solution through the embodiment of the present invention can realize that sound directly by vehicle sends out rather than pass through mobile phone
Output is played by interior stereo set, can arbitrary content be dealt into driving skills in several ways, by vehicle device analytic uniform text
This is simultaneously read aloud, and since the connection mode of terminal and mobile unit is flexible, relieves the dependence to physical distance, and it is possible to
When formatted text parses, the information suitable for scene is inserted into, it is such as suitable such as opening remarks (following information is provided by XXAPP)
Vehicle-mounted audio advertisement is closed, has abundant derivative application, improves user experience.
It should be noted that for aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate
Machine, server or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of audio data for the playback method for being used to implement above-mentioned audio data is additionally provided
Playing device.Fig. 4 is a kind of schematic diagram of the playing device of optional audio data according to embodiments of the present invention, such as Fig. 4
Shown, which can include:
Connection unit 10 establishes connection for passing through mobile unit with default terminal;
First acquisition unit 20, for obtaining the first text data by mobile unit, wherein, the first text data is peace
Data in the first application of default terminal;
First text data is converted to the first audio data by the first conversion unit 30 for passing through mobile unit;
First broadcast unit 40, for playing the first audio data by mobile unit.
It should be noted that the connection unit 10 in the embodiment can be used for performing the step in the embodiment of the present application 1
S202, the first acquisition unit 20 in the embodiment can be used for performing the step S204 in the embodiment of the present application 1, the embodiment
In the first conversion unit 30 can be used for performing the step S206 in the embodiment of the present application 1, first in the embodiment plays
Unit 40 can be used for performing the step S208 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part for device may operate in as
It in hardware environment shown in FIG. 1, can be realized by software, hardware realization can also be passed through.
By above-mentioned module, can solve that sound can only be exported by the content in mobile unit playback terminal in the relevant technologies
The technical issues of limitation is high caused by frequency, and then reach the flexibility for improving the output of the content in mobile unit playback terminal
Technique effect.
Optionally, first acquisition unit 20 includes one below:First acquisition module, it is pre- for being obtained by mobile unit
If the first text data that terminal is sent, wherein, in the first text data information to be played from application by presetting terminal
Extraction obtains;Second acquisition module, for obtaining information to be played in the application of default terminal transmission by mobile unit, and
The first text data is extracted from information to be played.
Optionally, the second acquisition module is used for:By mobile unit obtain application in information to be played and read into
Scale is known, wherein, reading progress identifies to identify the current reading location in information to be played;Mobile unit will be to be played
Information in be located at current reading location after information in partly or entirely be used as the first text data.
Optionally, the first text data is first part's data in information to be played, which further includes:Second obtains
Unit is taken, for prior to or just when mobile unit playing audio-fequency data, being obtained from default terminal by mobile unit and waiting to broadcast
The second part data being located in the information put after first part's data;Second conversion unit, for being incited somebody to action by mobile unit
Second part data are converted to second audio data;Second broadcast unit plays second audio data for mobile unit.
Optionally, which further includes:Third acquiring unit, for when mobile unit obtains the first text data, leading to
It crosses mobile unit and obtains the second text data, wherein, the second text data is used to indicate the description information and/or the of the first application
The information of media file shown in one application;Third conversion unit, for being converted to the first text data in mobile unit
During the first audio data, the second text data is converted to third audio data by mobile unit;Third broadcast unit, in vehicle
During carrying the first audio data of device plays, third audio data is played by mobile unit.
Optionally, connection unit 10 includes one below:First link block, for passing through near-field communication and default terminal
Establish connection;Second link block establishes connection for passing through the account of the second application with default terminal;Third link block,
It is connected for being established by high in the clouds channel and default terminal.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part for device may operate in as
In hardware environment shown in FIG. 1, can be realized by software, can also by hardware realization, wherein, hardware environment include network
Environment.
Embodiment 3
According to embodiments of the present invention, additionally provide it is a kind of for implement above-mentioned audio data playback method server or
Terminal.
Fig. 5 is a kind of structure diagram of terminal according to embodiments of the present invention, as shown in figure 5, the terminal can include:One
A or multiple (one is only shown in figure) processor 201, memory 203 and transmitting device 205 are (in above-described embodiment
Sending device), as shown in figure 5, the terminal can also include input-output equipment 207.
Wherein, memory 203 can be used for storage software program and module, such as the audio data in the embodiment of the present invention
Corresponding program instruction/the module of playing method and device, processor 201 are stored in the software journey in memory 203 by operation
Sequence and module so as to perform various functions application and data processing, that is, realize the playback method of above-mentioned audio data.It deposits
Reservoir 203 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills
It puts, flash memory or other non-volatile solid state memories.In some instances, memory 203 can further comprise relative to place
The remotely located memory of device 201 is managed, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network
It includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to receive via network or transmission data, can be also used for processor with
Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example,
Transmitting device 205 includes a network adapter (Network Interface Controller, NIC), can pass through cable
It is connected to be communicated with internet or LAN with other network equipments with router.In an example, transmission dress
205 are put as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 203 is used to store application program.
Processor 201 can call the application program that memory 203 stores by transmitting device 205, to perform following steps
Suddenly:Mobile unit is established with default terminal and is connected;Mobile unit obtains the first text data, wherein, the first text data is peace
Data in the first application of default terminal;First text data is converted to the first audio data by mobile unit;It is vehicle-mounted
The first audio data of device plays.
Processor 201 is additionally operable to perform following step:Mobile unit obtains the first text data that default terminal is sent,
In, it extracts and obtains in the first text data information to be played from application by presetting terminal;Mobile unit obtains default whole
Information to be played in the application sent is held, and the first text data is extracted from information to be played.
Processor 201 is additionally operable to perform following step:Mobile unit obtain application in information to be played and read into
Scale is known, wherein, reading progress identifies to identify the current reading location in information to be played;Mobile unit will be to be played
Information in be located at current reading location after information in partly or entirely be used as the first text data.
Processor 201 is additionally operable to perform following step:Mobile unit obtains position in information to be played from default terminal
Second part data after first part's data;Second part data are converted to second audio data by mobile unit;Vehicle
Carry device plays second audio data.
Processor 201 is additionally operable to perform following step:Mobile unit obtains the second text data, wherein, the second textual data
According to the information of media file shown in the description information for being used to indicate the first application and/or the first application;Mobile unit is by
Two text datas are converted to third audio data;Mobile unit plays third audio data.
Processor 201 is additionally operable to perform following step:It is established and connected by near-field communication and default terminal;It should by second
Account is established with default terminal and is connected;It is established and connected by high in the clouds channel and default terminal.
Using the embodiment of the present invention, established and connected using mobile unit and default terminal, mobile unit obtains the first text
First text data is converted into the first audio data, then plays the first audio data, got by mobile unit by data
First text data is then converted to the mode of audio data broadcasting, and having reached can be by the text in mobile unit playback terminal
The purpose of this content, it is achieved thereby that the technique effect of the flexibility of the content output in mobile unit playback terminal is improved, into
And solve audio can only be exported by the content in mobile unit playback terminal in the relevant technologies caused by the high skill of limitation
Art problem.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
It will appreciated by the skilled person that structure shown in fig. 5 is only to illustrate, terminal can be smart mobile phone
(such as Android phone, iOS mobile phones), tablet computer, palm PC and mobile internet device (Mobile Internet
Devices, MID), the terminal devices such as PAD.Fig. 5 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also
May include than shown in Fig. 5 more either less components (such as network interface, display device) or with shown in Fig. 5
Different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To be completed by program come command terminal device-dependent hardware, which can be stored in a computer readable storage medium
In, storage medium can include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
The embodiment of the present invention additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can
For performing the program code of the playback method of audio data.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment
On at least one of network equipment network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for performing following steps:
S1, mobile unit are established with default terminal and are connected;
S2, mobile unit obtain the first text data, wherein, the first text data is should mounted on the first of default terminal
Data in;
First text data is converted to the first audio data by S3, mobile unit;
S4, mobile unit play the first audio data.
Optionally, storage medium is also configured to store the program code for performing following steps:Mobile unit obtains
The first text data that default terminal is sent, wherein, the first text data information to be played from application by presetting terminal
Middle extraction obtains;Mobile unit obtains information to be played in the application that default terminal is sent, and is carried from information to be played
Take out the first text data.
Optionally, storage medium is also configured to store the program code for performing following steps:Mobile unit obtains
Information to be played and reading progress mark in, wherein, reading progress identifies to identify in information to be played
Current reading location;Mobile unit will be part or all of in the information after being located at current reading location in information to be played
As the first text data.
Optionally, storage medium is also configured to store the program code for performing following steps:Mobile unit is from pre-
If the second part data being located in information to be played after first part's data are obtained in terminal;Mobile unit is by second
Divided data is converted to second audio data;Mobile unit plays second audio data.
Optionally, storage medium is also configured to store the program code for performing following steps:Mobile unit obtains
Second text data, wherein, the second text data be used to indicate first application description information and/or the first application in show
The information of media file;Second text data is converted to third audio data by mobile unit;Mobile unit plays third audio
Data.
Optionally, storage medium is also configured to store the program code for performing following steps:Pass through near-field communication
It establishes and connects with default terminal;It is established and connected with default terminal by the account of the second application;By high in the clouds channel with presetting eventually
Connection is established at end.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
The various media that can store program code such as CD.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is independent product
Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention
The part or all or part of the technical solution that art scheme substantially in other words contributes to the prior art can be with soft
The form of part product embodies, which is stored in storage medium, is used including some instructions so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present invention
State all or part of step of method.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
It is desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of playback method of audio data, which is characterized in that including:
Mobile unit is established with default terminal and is connected;
The mobile unit obtains the first text data, wherein, first text data is mounted on the default terminal
Data in first application;
First text data is converted to the first audio data by the mobile unit;
The mobile unit plays first audio data.
2. according to the method described in claim 1, it is characterized in that, mobile unit acquisition first text data includes
One below:
The mobile unit obtains the first text data that the default terminal is sent, wherein, first text data passes through
It extracts and obtains in default terminal information to be played from the application;
The mobile unit obtains information to be played in the application that the default terminal is sent, and from described to be played
First text data is extracted in information.
3. according to the method described in claim 2, it is characterized in that, the mobile unit obtains the institute that the default terminal is sent
Information to be played in application is stated, and extracts first text data from the information to be played and includes:
The mobile unit obtains the information to be played in the application and reads progress mark, wherein, the reading
Progress identifies to identify the current reading location in the information to be played;
The mobile unit by the information to be played be located at the current reading location after information in part or
All as first text data.
4. according to the method described in claim 2, it is characterized in that, first text data is in the information to be played
First part's data, wherein, prior to or just when the mobile unit playing audio data, the method further includes:
The mobile unit obtained from the default terminal in the information to be played be located at first part's data it
Second part data afterwards;
The second part data are converted to second audio data by the mobile unit;
The mobile unit plays the second audio data.
5. according to the method described in claim 1, it is characterized in that,
When the mobile unit obtains the first text data, the method further includes:The mobile unit obtains the second text
Data, wherein, second text data is used to indicate in the described first description information applied and/or first application and shows
The information of the media file shown;
When first text data is converted to the first audio data by the mobile unit, the method further includes:It is described
Second text data is converted to third audio data by mobile unit;
During the mobile unit plays first audio data, the method further includes:The mobile unit is broadcast
Put the third audio data.
6. according to the method described in claim 1, it is characterized in that, the mobile unit establishes connection packet with the default terminal
Include one below:
It is established and connected with the default terminal by near-field communication;
It is established and connected with the default terminal by the account of the second application;
It is established and connected with the default terminal by high in the clouds channel.
7. a kind of playing device of audio data, which is characterized in that including:
Connection unit establishes connection for passing through mobile unit with default terminal;
First acquisition unit obtains the first text data for passing through the mobile unit, wherein, first text data is
Data in the first application of the default terminal;
First text data is converted to the first audio data by the first conversion unit for passing through the mobile unit;
First broadcast unit plays first audio data for passing through the mobile unit.
8. device according to claim 7, which is characterized in that the first acquisition unit includes one below:
First acquisition module, for obtaining the first text data of the default terminal transmission by the mobile unit, wherein,
First text data is obtained by being extracted in default terminal information to be played from the application;
Second acquisition module, it is to be played in the application of the default terminal transmission for being obtained by the mobile unit
Information, and first text data is extracted from the information to be played.
9. device according to claim 8, which is characterized in that second acquisition module is used for:
The information to be played in the application is obtained by the mobile unit and reads progress and is identified, wherein, it is described
Reading progress identifies to identify the current reading location in the information to be played;
The mobile unit by the information to be played be located at the current reading location after information in part or
All as first text data.
10. device according to claim 8, which is characterized in that first text data is the information to be played
In first part's data, described device further includes:
Second acquisition unit for prior to or just when the mobile unit playing audio data, vehicle-mounted is set by described
It is standby that the second part number being located in the information to be played after first part's data is obtained from the default terminal
According to;
Second conversion unit, for the second part data to be converted to second audio data by the mobile unit;
Second broadcast unit plays the second audio data for the mobile unit.
11. device according to claim 7, which is characterized in that described device further includes:
Third acquiring unit, for when the mobile unit obtains the first text data, the to be obtained by the mobile unit
Two text datas, wherein, second text data be used to indicate it is described first application description information and/or described first should
With the information of the media file of middle display;
Third conversion unit, for when first text data is converted to the first audio data by the mobile unit, institute
It states mobile unit and second text data is converted into third audio data;
Third broadcast unit, during playing first audio data in the mobile unit, by described vehicle-mounted
Third audio data described in device plays.
12. device according to claim 7, which is characterized in that the connection unit includes one below:
First link block establishes connection for passing through near-field communication with the default terminal;
Second link block establishes connection for passing through the account of the second application with the default terminal;
Third link block establishes connection for passing through high in the clouds channel with the default terminal.
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 true CN108242233A (en) | 2018-07-03 |
CN108242233B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111046830A (en) * | 2019-12-23 | 2020-04-21 | 东风汽车有限公司 | Vehicle-mounted reading playing method and electronic equipment |
CN111107524A (en) * | 2018-10-25 | 2020-05-05 | 上海博泰悦臻电子设备制造有限公司 | Bluetooth connection method, system and vehicle-mounted terminal |
CN113099311A (en) * | 2020-01-09 | 2021-07-09 | 上海博泰悦臻电子设备制造有限公司 | Method, electronic device, and computer storage medium for playing data |
CN115379043A (en) * | 2021-05-18 | 2022-11-22 | 华为技术有限公司 | Cross-device text continuing method and electronic device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1517905A (en) * | 2003-01-23 | 2004-08-04 | �ղ��Զ�����ʽ���� | Information system |
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 |
CN102156940A (en) * | 2010-03-17 | 2011-08-17 | 微软公司 | 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 |
CN103634205A (en) * | 2013-12-09 | 2014-03-12 | 大陆汽车投资(上海)有限公司 | Vehicular entertainment system with integrated instant messaging/social application and method |
CN103761893A (en) * | 2013-01-25 | 2014-04-30 | 陈旭 | Book reader |
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 |
CN104765714A (en) * | 2014-01-08 | 2015-07-08 | 中国移动通信集团浙江有限公司 | Switching method and device for electronic reading and listening |
CN105609096A (en) * | 2015-12-30 | 2016-05-25 | 小米科技有限责任公司 | Text data output method and device |
-
2016
- 2016-12-26 CN CN201611224195.3A patent/CN108242233B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1517905A (en) * | 2003-01-23 | 2004-08-04 | �ղ��Զ�����ʽ���� | Information system |
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 |
CN102156940A (en) * | 2010-03-17 | 2011-08-17 | 微软公司 | 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 |
CN103761893A (en) * | 2013-01-25 | 2014-04-30 | 陈旭 | Book reader |
CN103634205A (en) * | 2013-12-09 | 2014-03-12 | 大陆汽车投资(上海)有限公司 | Vehicular entertainment system with integrated instant messaging/social application and method |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111107524A (en) * | 2018-10-25 | 2020-05-05 | 上海博泰悦臻电子设备制造有限公司 | Bluetooth connection method, system and vehicle-mounted terminal |
CN111046830A (en) * | 2019-12-23 | 2020-04-21 | 东风汽车有限公司 | Vehicle-mounted reading playing method and electronic equipment |
CN111046830B (en) * | 2019-12-23 | 2023-09-15 | 东风汽车有限公司 | Vehicle-mounted reading and playing method and electronic equipment |
CN113099311A (en) * | 2020-01-09 | 2021-07-09 | 上海博泰悦臻电子设备制造有限公司 | Method, electronic device, and computer storage medium for playing data |
CN113099311B (en) * | 2020-01-09 | 2023-05-16 | 博泰车联网科技(上海)股份有限公司 | Method for playing data, electronic device and computer storage medium |
CN115379043A (en) * | 2021-05-18 | 2022-11-22 | 华为技术有限公司 | Cross-device text continuing method and electronic device |
WO2022242343A1 (en) * | 2021-05-18 | 2022-11-24 | 华为技术有限公司 | Cross-device text continuity method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108242233B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105329187B (en) | The intelligent vehicle-mounted system and control method of safety operation are realized in Bluetooth key triggering | |
CN102006373B (en) | Vehicle-mounted service system and method based on voice command control | |
CN108242233A (en) | The playing method and device of audio data | |
KR101585793B1 (en) | Smart Hearing Aid Device | |
CN103676826B (en) | A kind of method of Voice command vehicle intelligent system | |
CN108470034A (en) | A kind of smart machine service providing method and system | |
JP2012023510A5 (en) | ||
CN102461127A (en) | Method and system for executing an internet radio application within a vehicle | |
CN103187051A (en) | Vehicle-mounted interaction device | |
WO2019137114A1 (en) | Voice control processing method and device | |
CN103187079A (en) | Vehicle-mounted information system | |
CN104780403A (en) | System and method for providing somatosensory video based on script | |
CN106797257A (en) | Audio processing equipment and the method that information is provided | |
CN104052795A (en) | Method and apparatus for seamless application portability over multiple environments | |
CN107656977A (en) | The acquisition of multimedia file and player method and device | |
CN108712704A (en) | Speaker, the playback method of audio data, device, storage medium and electronic device | |
CN106209962A (en) | Vehicle computing system starts the method and system of application | |
CN103861294A (en) | Doll control method and device as well as doll | |
CN208675495U (en) | The playback equipment that vehicle and its multimedia automatically control | |
CN102891929A (en) | Onboard short message interaction method | |
CN108257610A (en) | A kind of vehicle device and corresponding voice transmission method and system | |
CN203289645U (en) | Sound system capable of conversation based on wireless technology | |
CN109101212A (en) | A kind of playback method and system of intelligent sound box | |
CN104317404A (en) | Voice-print-control audio playing equipment, control system and method | |
CN105025353B (en) | A kind of control method for playing back and user terminal |
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 |