CN105100891B - Audio data acquisition methods and device - Google Patents
Audio data acquisition methods and device Download PDFInfo
- Publication number
- CN105100891B CN105100891B CN201410160235.7A CN201410160235A CN105100891B CN 105100891 B CN105100891 B CN 105100891B CN 201410160235 A CN201410160235 A CN 201410160235A CN 105100891 B CN105100891 B CN 105100891B
- Authority
- CN
- China
- Prior art keywords
- terminal
- audio data
- track identity
- audio track
- identity
- 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
Links
Abstract
The invention discloses a kind of audio data acquisition methods and devices, belong to field of computer technology.The method includes:First terminal sends audio data request to the second terminal of currently playing video, audio data request carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video, the corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal;First terminal receives the corresponding audio data of target audio track identity that second terminal is sent, and playing audio-fequency data.Using the present invention, the flexibility of terminal plays video can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of audio data acquisition methods and device.
Background technology
With the continuous development of terminal technology, pass through terminal(Such as television set)Watch video frequency program, it has also become people obtain
One important channel of information.
Multiple tracks are often set in video, certain language is had recorded in each track(Such as English, Chinese)'s
Audio data, to meet different demands of the user to voice in video.When user watches this video, according to the user's itself
Demand, selects corresponding track, and terminal exports corresponding track during video is played.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
When there are multiple users while using this terminal viewing video, different user is often encountered to language in this video
The different situation of demand, for example, some users need to watch the video of English primary sound, and some users need to watch by the Chinese
The video that language is dubbed, and terminal can only select a track to carry out video playing in the prior art, and can not meet simultaneously multiple
The different demands of user, so that the flexibility of terminal plays video is poor.
Invention content
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of audio data acquisition methods and devices.
The technical solution is as follows:
In a first aspect, a kind of audio data acquisition methods are provided, the method includes:
First terminal sends audio data request to the second terminal of currently playing video, and the audio data request carries
There is target audio track identity, so that the second terminal obtains the mesh in the audio data of each track of currently playing video
The corresponding audio data of audio track identity is marked, and the audio data got is sent to the first terminal;
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and broadcasts
Put the audio data.
Optionally, it is described before the first terminal sends audio data request to the second terminal of currently playing video
Method further includes:
The first terminal obtains at least one audio track identity of the currently playing video of the second terminal;
The first terminal determines the target audio track identity according at least one audio track identity.
Optionally, the first terminal determines the target audio track identity, wraps according at least one audio track identity
It includes:
The first terminal shows at least one audio track identity;
When receiving track selection instruction, the first terminal is true by the corresponding audio track identity of the track selection instruction
It is set to the target audio track identity.
Optionally, the first terminal determines the target audio track identity, wraps according at least one audio track identity
It includes:
The first terminal is identified according to the ui language of the first terminal and at least one audio track identity,
It determines the audio track identity to match with ui language mark, and will identify what is matched with the ui language
Audio track identity is determined as the target audio track identity.
Optionally, the method further includes:
The first terminal receives the volume control instruction that the second terminal is sent;
The first terminal is instructed according to the volume control, and the volume of the first terminal is adjusted, is adjusted
Volume after whole;
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and broadcasts
The audio data is put, including:
The corresponding audio data of the target audio track identity that the first terminal reception second terminal is sent, and with
Volume playing audio data after the adjustment.
Optionally, the first terminal receives the corresponding audio number of the target audio track identity that the second terminal is sent
According to, and playing audio data, including:
The corresponding audio data of the target audio track identity that the first terminal reception second terminal is sent, and with
Preset volume playing audio data.
Second aspect provides a kind of audio data acquisition methods, the method includes:
The second terminal of currently playing video receives the audio data request that first terminal is sent, the audio data request
Carry target audio track identity;
In the audio data of each track of currently playing video, the second terminal obtains the target audio track identity pair
The audio data answered;
The second terminal sends the corresponding audio data of the target audio track identity to the first terminal, so that described
First terminal playing audio data.
Optionally, before the second terminal of the currently playing video receives the audio data request that first terminal is sent,
The method further includes:
At least one audio track identity of currently playing video is sent to the first terminal by the second terminal, so that
The first terminal determines the target audio track identity according at least one audio track identity.
Optionally, the method further includes:
The second terminal sends volume control instruction to the first terminal, so that the first terminal is according to the sound
Control instruction is measured, the volume of the first terminal is adjusted, the volume after being adjusted.
The third aspect, provides a kind of first terminal, and the first terminal includes:
Sending module, for sending audio data request to the second terminal of currently playing video, the audio data please
It asks and carries target audio track identity, so that the second terminal in the audio data of each track of currently playing video, obtains
The corresponding audio data of the target audio track identity, and the audio data got is sent to the first terminal;
Receiving module, for receiving the corresponding audio data of the target audio track identity that the second terminal is sent, and
Playing audio data.
Optionally, the first terminal further includes:
Acquisition module, for obtaining at least one audio track identity of the currently playing video of the second terminal;
Determining module, for according at least one audio track identity, determining the target audio track identity.
Optionally, the determining module, is used for:
Show at least one audio track identity;
When receiving track selection instruction, the corresponding audio track identity of the track selection instruction is determined as the target
Audio track identity.
Optionally, the determining module, is used for:
According to the ui language of first terminal mark and at least one audio track identity, determine and the use
The audio track identity that family interface languages mark matches, and the audio track identity to match with ui language mark is determined
For the target audio track identity.
Optionally, the receiving module is additionally operable to receive the volume control instruction that the second terminal is sent;
The first terminal further includes:
Module is adjusted, for being instructed according to the volume control, the volume of the first terminal is adjusted, is adjusted
Volume after whole;
The receiving module, is used for:
Receive the corresponding audio data of the target audio track identity that the second terminal is sent, and with the adjustment after
Volume playing audio data.
Optionally, the receiving module, is used for:
The corresponding audio data of the target audio track identity that the second terminal is sent is received, and is broadcast with preset volume
Put the audio data.
Fourth aspect, provides a kind of second terminal, and the second terminal includes:
Receiving module, for receiving the audio data request of first terminal transmission, the audio data request carries mesh
Mark audio track identity;
Acquisition module, in the audio data of each track of currently playing video, obtaining the target audio track identity
Corresponding audio data;
Sending module, for sending the corresponding audio data of the target audio track identity to the first terminal, so that institute
State first terminal playing audio data.
Optionally, the sending module, is additionally operable to:
At least one audio track identity of currently playing video is sent to the first terminal, so that the first terminal
According at least one audio track identity, the target audio track identity is determined.
Optionally, the sending module, is additionally operable to:
Volume control instruction is sent to the first terminal, so that the first terminal is instructed according to the volume control,
The volume of the first terminal is adjusted, the volume after being adjusted.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of audio data acquisition methods flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of audio data acquisition methods flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of audio data acquisition methods flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of first terminal structure diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of second terminal structure diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
An embodiment of the present invention provides a kind of audio data acquisition methods, this method can be by first terminal and second terminal
It realizes.
As shown in Figure 1, first terminal process flow can include the steps in this method:
Step 101, first terminal sends audio data request, audio data request to the second terminal of currently playing video
Target audio track identity is carried, so that second terminal in the audio data of each track of currently playing video, obtains target sound
Rail identifies corresponding audio data, and the audio data got is sent to first terminal.
Step 102, first terminal receives the corresponding audio data of target audio track identity that second terminal is sent, and plays sound
Frequency evidence.
As shown in Fig. 2, second terminal process flow can include the steps in this method:
Step 201, the second terminal of currently playing video receives the audio data request that first terminal is sent, audio data
Request carries target audio track identity.
Step 202, in the audio data of each track of currently playing video, second terminal obtains target audio track identity pair
The audio data answered.
Step 203, second terminal sends the corresponding audio data of target audio track identity to first terminal, so that first terminal
Playing audio-fequency data.
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
Embodiment two
An embodiment of the present invention provides a kind of audio data acquisition methods, this method can be realized by first terminal.Wherein
First terminal can be the terminal for obtaining audio data, such as mobile phone, tablet computer etc..
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, first terminal sends audio data request, audio data request to the second terminal of currently playing video
Target audio track identity is carried, so that second terminal in the audio data of each track of currently playing video, obtains target sound
Rail identifies corresponding audio data, and the audio data got is sent to first terminal.
Wherein, second terminal can be to provide the terminal of audio data, such as television set, desktop computer.Audio track identity can
To be the language title of track, such as Chinese, English or language codes, such as chs(Chinese, Chinese)、eng
(English, English)Deng.
In force, multiple tracks are often provided in video, certain language is had recorded in each track(As English,
Chinese etc.)Audio data, to meet different demands of the user to voice in video.If multiple users are whole using second simultaneously
Certain video is watched at end, includes multiple tracks in the video, can be the first track, the second track and third track etc., each
A track corresponds to a kind of audio data of language, and track used in the currently playing video is the first track, when some
When user is needed using other tracks viewing video, that is installed in this user startup first terminal is used to obtain answering for audio data
With program, and the terminal iidentification of second terminal is obtained, when user clicks the terminal iidentification of this second terminal, first terminal is to
The transmission of two terminals is previously provided with the audio data request of target audio track identity.
Second terminal is asked according to the audio data received, in the audio data of each track of currently playing video,
The corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, the above process
Specific embodiment is referring to following three related contents of embodiment, and details are not described herein.
In the above process, the interactive process between first terminal and second terminal can be carried out by wireless network.
Optionally, first terminal determines that target audio track identity can also be that by other means, the following provide another kinds
Optional mode, which specifically may comprise steps of one and step 2:
Step 1, first terminal obtain at least one audio track identity of the currently playing video of second terminal.
In force, the application program for the acquisition audio data that first terminal passes through installation obtains the terminal mark of second terminal
Know, when user clicks the terminal iidentification of second terminal, first terminal sends track request to second terminal, in track request
The terminal iidentification of first terminal is carried, it, will be complete in currently playing video when second terminal receives track request
Portion's audio track identity is sent to first terminal, and first terminal receives the audio track identity that second terminal is sent.
Step 2, first terminal determine target audio track identity according to this at least one audio track identity.
Optionally, above-mentioned steps two can also be accomplished in several ways, the following provide two kinds of optional embodiments,
It specifically includes:
Mode one, user, should as target audio track identity by selecting an audio track identity from obtained audio track identity
Process may comprise steps of one and step 2:
Step 1, first terminal show this at least one audio track identity.
In force, the audio track identity received is included the corresponding track of terminal iidentification in second terminal by first terminal
In list.Certainly, above-mentioned audio track identity can also be shown in other predeterminated positions.
Step 2, when receiving track selection instruction, first terminal is by this corresponding audio track identity of track selection instruction
It is determined as target audio track identity.
In force, user selects an audio track identity from obtained audio track identity, and clicks this audio track identity to touch
Pronounce rail selection instruction, the audio track identity of this selection is carried in the track selection instruction, when first terminal receives track choosing
When selecting instruction, the corresponding audio track identity of track selection instruction is determined as target audio track identity.
Mode two, first terminal are identified according to the ui language of first terminal, determine target audio track identity, the process
Can be:First terminal determines and this use according to the ui language of first terminal mark and this at least one audio track identity
The audio track identity that family interface languages mark matches, and the audio track identity to match with this ui language mark is determined as
Target audio track identity.
Wherein, ui language is identified as the mark of language used in the operating system of first terminal, in simplified
Text, English etc..
In force, first terminal determines ui language mark used in itself, when first terminal obtains second
During the audio track identity that terminal is sent, first terminal compares ui language mark with audio track identity, determining and user interface
The audio track identity that language identification matches, and the audio track identity to match with this ui language mark is determined as target sound
Rail identifies.
Optionally, ui language mark and the matching relationship of audio track identity can be pre-set by user, for example, such as
Fruit ui language is identified as simplified form of Chinese Character, then matched audio track identity can include Chinese, simplified form of Chinese Character, chs
With Chinese etc..
Step 102, first terminal receives the corresponding audio data of target audio track identity that second terminal is sent, and plays sound
Frequency evidence.
By the above process, user can be by the corresponding audio number of target audio track identity that first terminal plays
According to, while video is watched by the video pictures of second terminal, the different demands of multiple users are met, so as to improve terminal
Play the flexibility of video.
Optionally, first terminal can control the broadcast sound volume of audio data, optional the following provide two kinds
Embodiment specifically includes:
Mode one, the volume output of second terminal control first terminal, the process may comprise steps of:
Step 1, first terminal receive the volume control instruction that second terminal is sent.
Wherein, the current volume value of second terminal is carried in volume control instruction.
Step 2, first terminal are instructed according to this volume control, the volume of first terminal are adjusted, after being adjusted
Volume.
In force, second terminal current volume value of the first terminal in obtained volume control instruction and in advance
The correspondence of the first terminal of storage and the volume value of second terminal determines the current volume value of second terminal corresponding first
The volume value of terminal, and the volume of first terminal is adjusted, the volume after being adjusted.
Step 3, first terminal receive the corresponding audio data of target audio track identity that second terminal is sent, and with adjustment
Volume playing audio-fequency data afterwards.
Mode two, first terminal can be included with preset volume playing audio-fequency data, the process:First terminal receives the
The corresponding audio data of target audio track identity that two terminals are sent, and with preset volume playing audio-fequency data.
In force, user can in advance set the output volume of first terminal, be sent out when receiving second terminal
During the corresponding audio data of the target audio track identity that send, with preset volume playing audio-fequency data, so that first eventually
The output volume at end is not controlled by second terminal, is provided to the user conveniently.
Certainly, user can also adjust the output sound of first terminal by the volume adjustment device of first terminal itself
Amount, the output volume that the embodiment of the present invention carries out first terminal to how to adjust do not limit.
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
Embodiment three
An embodiment of the present invention provides a kind of audio data acquisition methods, this method can be realized by second terminal.Wherein
Second terminal can be to provide the terminal of audio data, such as television set, desktop computer etc..
Below in conjunction with specific embodiment, process flow shown in Fig. 2 is described in detail, content can be as
Under:
Step 201, the second terminal of currently playing video receives the audio data request that first terminal is sent, audio data
Request carries target audio track identity.
Optionally, for first terminal it needs to be determined that during target audio track identity, second terminal can also carry out procedure below:Second
At least one audio track identity of currently playing video is sent to first terminal by terminal, so that first terminal is according at least one
Audio track identity determines target audio track identity.
In force, the application program for the acquisition audio data that first terminal passes through installation obtains the terminal mark of second terminal
Know, when user clicks the terminal iidentification of second terminal, first terminal sends track request to second terminal, in track request
The terminal iidentification of first terminal is carried, it, will be complete in currently playing video when second terminal receives track request
Portion's audio track identity is sent to first terminal, and first terminal receives the audio track identity that second terminal is sent, and then from the sound received
Target audio track identity is determined in rail mark, and detailed process may refer to the related content in embodiment two, and details are not described herein.
Step 202, in the audio data of each track of currently playing video, second terminal obtains target audio track identity pair
The audio data answered.
In force, when second terminal receives audio data request, second terminal obtains currently playing video
The audio data of each track, and the target audio track identity carried in being asked according to audio data, in each of currently playing video
In the audio data of track, the corresponding audio data of target audio track identity is determined.
Optionally, it is not corresponding including target audio track identity when in the audio data of each track of currently playing video
During audio data, second terminal can send error message to first terminal.
Step 203, second terminal sends the corresponding audio data of target audio track identity to first terminal, so that first terminal
Playing audio-fequency data.
In force, the obtained corresponding audio data of target audio track identity is sent to first terminal by second terminal, the
When one terminal receives this audio data, this audio data is played.
Optionally, second terminal can export the volume of first terminal and control, which can include:Second eventually
It holds to first terminal and sends volume control instruction, so that first terminal is instructed according to this volume control, to the volume of first terminal
It is adjusted, the volume after being adjusted.
The specific embodiment of the above process may refer to the related content in embodiment two, and details are not described herein.
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
Example IV
An embodiment of the present invention provides a kind of audio data acquisition methods, this method can be by first terminal and second terminal
It is common to realize.
Below in conjunction with specific embodiment, process flow shown in Fig. 3 is described in detail, content can be as
Under:
Step 301, first terminal sends audio data request, audio data request to the second terminal of currently playing video
Carry target audio track identity.
Step 302, the second terminal of currently playing video receives the audio data request that first terminal is sent.
Step 303, in the audio data of each track of currently playing video, second terminal obtains target audio track identity pair
The audio data answered.
Step 304, second terminal sends the corresponding audio data of target audio track identity to first terminal.
Step 305, first terminal receives the corresponding audio data of target audio track identity that second terminal is sent, and plays sound
Frequency evidence.
It is related in embodiment three that the specific implementation process of 301~step 305 of above-mentioned steps may refer to embodiment two
Content, details are not described herein.
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
Embodiment five
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of first terminal, as shown in figure 4, this first
Terminal includes:
Sending module 410, for sending audio data request, audio data request to the second terminal of currently playing video
Target audio track identity is carried, so that second terminal in the audio data of each track of currently playing video, obtains target sound
Rail identifies corresponding audio data, and the audio data got is sent to first terminal;
Receiving module 420 for receiving the corresponding audio data of target audio track identity of second terminal transmission, and plays sound
Frequency evidence.
Optionally, first terminal further includes:
Acquisition module, for obtaining at least one audio track identity of the currently playing video of second terminal;
Determining module, for according to this at least one audio track identity, determining target audio track identity.
Optionally it is determined that module, is used for:
Show this at least one audio track identity;
When receiving track selection instruction, this corresponding audio track identity of track selection instruction is determined as target track mark
Know.
Optionally it is determined that module, is used for:
According to the ui language of first terminal mark and this at least one audio track identity, determine and this user interface language
The audio track identity that speech mark matches, and the audio track identity to match with this ui language mark is determined as target track
Mark.
Optionally, receiving module 420 are additionally operable to receive the volume control instruction that second terminal is sent;
First terminal further includes:
Module is adjusted, for being instructed according to this volume control, the volume of first terminal is adjusted, after being adjusted
Volume;
Receiving module 420, is used for:
The corresponding audio data of target audio track identity that second terminal is sent is received, and audio is played with the volume after adjustment
Data.
Optionally, receiving module 420 are used for:
The corresponding audio data of target audio track identity that second terminal is sent is received, and audio number is played with preset volume
According to.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of second terminal, as shown in figure 5, this second
Terminal includes:
Receiving module 510, for receiving the audio data request of first terminal transmission, audio data request carries target
Audio track identity;
Acquisition module 520, in the audio data of each track of currently playing video, obtaining target audio track identity pair
The audio data answered;
Sending module 530, for sending the corresponding audio data of target audio track identity to first terminal, so that first terminal
Playing audio-fequency data.
Optionally, sending module 530 are additionally operable to:
At least one audio track identity of currently playing video is sent to first terminal so that first terminal according to this extremely
A few audio track identity, determines target audio track identity.
Optionally, sending module 530 are additionally operable to:
Volume control instruction is sent to first terminal, so that first terminal is instructed according to this volume control, to first terminal
Volume be adjusted, the volume after being adjusted.
In the embodiment of the present invention, first terminal sends audio data request, this sound to the second terminal of currently playing video
Frequency request of data carries target audio track identity, so that second terminal is in the audio data of each track of currently playing video,
This corresponding audio data of target audio track identity is obtained, and the audio data got is sent to first terminal, first terminal
This corresponding audio data of target audio track identity that second terminal is sent is received, and plays this audio data, in this way, passing through first
Terminal determines target audio track identity, and the corresponding audio data of target audio track identity is sent to first terminal by second terminal, meets
Different demands of multiple users to language in same video, it is thus possible to improve the flexibility of terminal plays video.
It should be noted that:The terminal that above-described embodiment provides is when obtaining audio data, only with above-mentioned each function module
Division progress for example, in practical application, can be complete by different function modules by above-mentioned function distribution as needed
Into the internal structure of terminal being divided into different function modules, to complete all or part of function described above.Separately
Outside, the terminal that above-described embodiment provides belongs to same design with audio data acquisition methods embodiment, and specific implementation process is detailed
See embodiment of the method, which is not described herein again.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of audio data acquisition methods, which is characterized in that the method includes:
First terminal obtains at least one audio track identity of the currently playing video of second terminal;
The first terminal determines target audio track identity according at least one audio track identity;
The first terminal sends audio data request, the audio data request to the second terminal of currently playing video
The target audio track identity is carried, so that the second terminal obtains in the audio data of each track of currently playing video
The corresponding audio data of the target audio track identity is taken, and the audio data got is sent to the first terminal;
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and plays institute
State audio data;
The first terminal determines target audio track identity according at least one audio track identity, including:
The first terminal is determined according to the ui language of first terminal mark and at least one audio track identity
The audio track identity to match with ui language mark, and the track that will be matched with ui language mark
Mark is determined as the target audio track identity.
2. according to the method described in claim 1, it is characterized in that, the first terminal is according at least one track mark
Know, determine the target audio track identity, including:
The first terminal shows at least one audio track identity;
When receiving track selection instruction, the corresponding audio track identity of the track selection instruction is determined as by the first terminal
The target audio track identity.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The first terminal receives the volume control instruction that the second terminal is sent;
The first terminal is instructed according to the volume control, the volume of the first terminal is adjusted, after being adjusted
Volume;
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and plays institute
Audio data is stated, including:
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and with described
Volume playing audio data after adjustment.
4. according to the method described in claim 1, it is characterized in that, the first terminal receives the institute that the second terminal is sent
The corresponding audio data of target audio track identity, and playing audio data are stated, including:
The first terminal receives the corresponding audio data of the target audio track identity that the second terminal is sent, and with default
Volume playing audio data.
5. a kind of audio data acquisition methods, which is characterized in that the method includes:
At least one audio track identity of currently playing video is sent to first terminal by second terminal, so that the first terminal
According at least one audio track identity, determine target audio track identity, the target track be identified as the first terminal according to
The ui language mark of the first terminal and at least one audio track identity, determine and the ui language mark
Sensible matched audio track identity, and the audio track identity to match with ui language mark is determined;
The second terminal of currently playing video receives the audio data request that first terminal is sent, and the audio data request carries
There is target audio track identity;
In the audio data of each track of currently playing video, it is corresponding that the second terminal obtains the target audio track identity
Audio data;
The second terminal sends the corresponding audio data of the target audio track identity to the first terminal, so that described first
Audio data described in terminal plays.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
The second terminal sends volume control instruction to the first terminal, so that the first terminal is according to the volume control
System instruction, is adjusted the volume of the first terminal, the volume after being adjusted.
7. a kind of first terminal, which is characterized in that the first terminal includes:
Acquisition module, for obtaining at least one audio track identity of the currently playing video of second terminal;
Determining module, for according at least one audio track identity, determining target audio track identity;
Sending module, for sending audio data request to the second terminal of currently playing video, the audio data request is taken
With target audio track identity, so that the second terminal is in the audio data of each track of currently playing video, described in acquisition
The corresponding audio data of target audio track identity, and the audio data got is sent to the first terminal;
Receiving module for receiving the corresponding audio data of the target audio track identity that the second terminal is sent, and plays
The audio data;
The determining module, is used for:
According to the ui language of first terminal mark and at least one audio track identity, determine and user circle
The audio track identity that face language identification matches, and the audio track identity to match with ui language mark is determined as institute
State target audio track identity.
8. first terminal according to claim 7, which is characterized in that the determining module is used for:
Show at least one audio track identity;
When receiving track selection instruction, the corresponding audio track identity of the track selection instruction is determined as the target track
Mark.
9. first terminal according to claim 7, which is characterized in that the receiving module is additionally operable to receive described second
The volume control instruction that terminal is sent;
The first terminal further includes:
Module is adjusted, for being instructed according to the volume control, the volume of the first terminal is adjusted, after being adjusted
Volume;
The receiving module, is used for:
The corresponding audio data of the target audio track identity that the second terminal is sent is received, and with the volume after the adjustment
Playing audio data.
10. first terminal according to claim 7, which is characterized in that the receiving module is used for:
The corresponding audio data of the target audio track identity that the second terminal is sent is received, and institute is played with preset volume
State audio data.
11. a kind of second terminal, which is characterized in that the second terminal includes:
Sending module, at least one audio track identity of currently playing video to be sent to first terminal, so that described
One terminal determines target audio track identity, the target track is identified as described first eventually according at least one audio track identity
End determines and the user interface according to the ui language of first terminal mark and at least one audio track identity
The audio track identity that language identification matches, and determined according to the audio track identity to match with ui language mark;
Receiving module, for receiving the audio data request of first terminal transmission, the audio data request carries target sound
Rail identifies;
Acquisition module corresponds in the audio data of each track of currently playing video, obtaining the target audio track identity
Audio data;
The sending module, for sending the corresponding audio data of the target audio track identity to the first terminal, so that institute
State first terminal playing audio data.
12. second terminal according to claim 11, which is characterized in that the sending module is additionally operable to:
Volume control instruction is sent to the first terminal, so that the first terminal is instructed according to the volume control, to institute
The volume for stating first terminal is adjusted, the volume after being adjusted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410160235.7A CN105100891B (en) | 2014-04-21 | 2014-04-21 | Audio data acquisition methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410160235.7A CN105100891B (en) | 2014-04-21 | 2014-04-21 | Audio data acquisition methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100891A CN105100891A (en) | 2015-11-25 |
CN105100891B true CN105100891B (en) | 2018-07-06 |
Family
ID=54580280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410160235.7A Active CN105100891B (en) | 2014-04-21 | 2014-04-21 | Audio data acquisition methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100891B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106714042B (en) * | 2017-02-24 | 2019-08-06 | 青岛海信电器股份有限公司 | Listening equipment realizes that track switches the method and apparatus listened to by terminal device |
CN113823250B (en) * | 2021-11-25 | 2022-02-22 | 广州酷狗计算机科技有限公司 | Audio playing method, device, terminal and storage medium |
CN114554270A (en) * | 2022-02-28 | 2022-05-27 | 维沃移动通信有限公司 | Audio and video playing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2899335Y (en) * | 2006-02-27 | 2007-05-09 | 邱瓊谊 | TV set with built-in independent infrared radio transmitter |
CN102333242A (en) * | 2011-09-29 | 2012-01-25 | 深圳市万兴软件有限公司 | Device and method for matching streaming media language information |
CN102685584A (en) * | 2011-03-16 | 2012-09-19 | 鸿富锦精密工业(深圳)有限公司 | Set-top box, earphones and video broadcast method |
CN103179450A (en) * | 2011-12-23 | 2013-06-26 | 腾讯科技(深圳)有限公司 | Method, device and system for playing video, and audio track server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8983836B2 (en) * | 2012-09-26 | 2015-03-17 | International Business Machines Corporation | Captioning using socially derived acoustic profiles |
-
2014
- 2014-04-21 CN CN201410160235.7A patent/CN105100891B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2899335Y (en) * | 2006-02-27 | 2007-05-09 | 邱瓊谊 | TV set with built-in independent infrared radio transmitter |
CN102685584A (en) * | 2011-03-16 | 2012-09-19 | 鸿富锦精密工业(深圳)有限公司 | Set-top box, earphones and video broadcast method |
CN102333242A (en) * | 2011-09-29 | 2012-01-25 | 深圳市万兴软件有限公司 | Device and method for matching streaming media language information |
CN103179450A (en) * | 2011-12-23 | 2013-06-26 | 腾讯科技(深圳)有限公司 | Method, device and system for playing video, and audio track server |
Also Published As
Publication number | Publication date |
---|---|
CN105100891A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130301392A1 (en) | Methods and apparatuses for communication of audio tokens | |
US9547642B2 (en) | Voice to text to voice processing | |
CN104125229B (en) | The player method of Streaming Media and playing device | |
CN104091423A (en) | Signal transmission method and family song request system | |
CN109074826A (en) | Live events audio stream is synchronous with the real-time radio of videograph | |
CN106796496A (en) | Display device and its operating method | |
CN102867525B (en) | A kind of multichannel voice frequency disposal route, audio-frequency playing terminal and apparatus for receiving audio | |
US20110231882A1 (en) | Methods and devices for communications between two devices | |
US20120240180A1 (en) | Set-top box, earphone, and multimedia playing method | |
CN102098585A (en) | Method for intelligently playing web television | |
CN105100891B (en) | Audio data acquisition methods and device | |
WO2018038956A1 (en) | Methods, systems, and media for synchronizing media content using audio timecodes | |
WO2016100982A1 (en) | Data communication with acoustic signal communication | |
US11350159B2 (en) | System and method for dynamic playback switching of live and previously recorded audio content | |
CN105763933A (en) | Media file current playing position sharing method | |
CN104219563B (en) | A kind of channel live methods, devices and systems | |
CN104038772B (en) | Generate the method and device of ring signal file | |
CN109831691A (en) | A kind of multi-screen interaction method | |
CN108833983A (en) | Played data acquisition methods, device, equipment and storage medium | |
CN106792125A (en) | A kind of video broadcasting method and its terminal, system | |
CN108153508A (en) | A kind of method and device of audio frequency process | |
CN108289245B (en) | Automatic media information playing method | |
CN105847905A (en) | Control method and device of audio and video playing system | |
CN116017145B (en) | Remote intelligent control system and method for live camera | |
CN104038773B (en) | Generate the method and device of ring signal file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |