CN103903636B - A kind of player method and device, electronic equipment - Google Patents

A kind of player method and device, electronic equipment Download PDF

Info

Publication number
CN103903636B
CN103903636B CN201210587632.3A CN201210587632A CN103903636B CN 103903636 B CN103903636 B CN 103903636B CN 201210587632 A CN201210587632 A CN 201210587632A CN 103903636 B CN103903636 B CN 103903636B
Authority
CN
China
Prior art keywords
electronic equipment
data
sound
voice data
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210587632.3A
Other languages
Chinese (zh)
Other versions
CN103903636A (en
Inventor
袁媛
张晓平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210587632.3A priority Critical patent/CN103903636B/en
Publication of CN103903636A publication Critical patent/CN103903636A/en
Application granted granted Critical
Publication of CN103903636B publication Critical patent/CN103903636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiments of the invention provide a kind of player method and device, while the first electronic equipment exports the first voice data of multimedia object, second sound data different from first voice data in multimedia object are sent to the second electronic equipment, second electronic equipment is exported the second sound data, because the first voice data is different from second sound data, therefore, when both need export the first voice data, when needing output second sound data again, first electronic equipment and the second electronic equipment are exported simultaneously, again because the first electronic equipment is different from the second electronic equipment, therefore, the different way of outputs can be selected to be exported, so, in the case where being exported using distinct device with the different way of outputs, it ensure that the data output of different tracks will not be produced to interfere.

Description

A kind of player method and device, electronic equipment
Technical field
The present invention relates to the communications field, more particularly to a kind of player method and device, electronic equipment.
Background technology
Existing video or audio file generally have two or more audio track datas, such as English film, have simultaneously Two audio track datas a, audio track data is English primary sound, and an audio track data is the Chinese dialogue by translation.Usually, When playing such video or audio file, user can be selected using wherein audio track data is played out all the way, playing one While the audio track data of road, it is possible to need another road audio track data of synchronous uppick, for example, the first user wants to listen English original Sound, second user then needs Chinese dialogue, and if to obtain Chinese and English dialogue simultaneously in existing player method, then can be by Literary dialogue and English-spoken text two-way audio track data is played simultaneously by identical output equipment, but in this case, two-way Different audio track datas can be interfered, therefore, can influence listening to for user.
The content of the invention
In view of this, the embodiments of the invention provide a kind of multi-medium play method and device, electronic equipment, it is therefore intended that Existing many track data videos or audio frequency playing method are solved when while playing the data of different tracks, what is existed is mutually dry The problem of disturbing.
To achieve these goals, the embodiments of the invention provide following technical scheme:
A kind of player method, applied to the first electronic equipment, first electronic equipment at least includes the first sound and exported Unit, the first electronic equipment and the second electronic device data connection, second electronic equipment is exported including second sound Unit is connected with second sound output unit, and methods described includes:
When first electronic equipment plays multimedia object, export described many by first voice output unit First voice data of media object;
The second sound data of the multimedia object are sent to second electronic equipment, in order to the described second electricity Sub- equipment exports single while first voice output unit exports first voice data by the second sound The member output second sound data, wherein, the second sound data are different with first voice data.
Preferably, the second sound data it is different with first voice data including:
First sub- voice data of first voice data is stored in the first track of the multimedia object, described First sub- voice data of two voice datas is stored in the second track of the multimedia object.
Preferably, the second sound data it is different with first voice data including:
First voice data includes first content, and the second sound data are included in the second content, described first Appearance is identical with second content, and the form of expression of the first content is different from the form of expression of second content.
Preferably, when first voice data is exported with the second sound data using same mode, produce Interfere.
Preferably, the first voice data bag that the multimedia object is exported by first voice output unit Include:
By first voice output unit, the first voice data of the multimedia object is exported in the first way;
Second electronic equipment passes through while the second sound output unit exports first voice data The second sound output unit, which exports the second sound data, to be included:
Second electronic equipment passes through while the second sound output unit exports first voice data The second sound output unit, exports the second sound data in a second manner;
Wherein, when being exported with the first method so that the sensing range of recipient is the first scope, with the second party When formula is exported so that the sensing range of recipient is the second scope, first scope is more than second scope.
Preferably, methods described also includes:
When exporting the first voice data of the multimedia object by first voice output unit, output character Data.
Preferably, the output character data includes:
Receive the function type instruction of user's input;
Determine the type of character data to be shown;
The character data is shown with the type.
Preferably, in first voice data that the multimedia object is exported by first voice output unit Before, in addition to:
Receive the play instruction that second electronic equipment is sent;
According to the play instruction, multimedia object is played.
Preferably, when the second sound data of the multimedia object are sent into second electronic equipment, also wrap Include:
The voice data stream of first voice data is sent to second electronic equipment, in order to the described second electricity Second electronics after sub- equipment foundation is synchronous with the system clock and Program Clock Reference of first electronic equipment in advance The system clock and Program Clock Reference of equipment, when the decoding of first voice data is recovered from the voice data stream Between stamp and reproduction time stamp, and stabbed according to the decoded time stamp and reproduction time, decode and export the second sound data.
A kind of player method, applied to the second electronic equipment, second electronic equipment has second sound output unit Or be connected with second sound output unit, second electronic equipment is connected with the first electronic device data, first electronics Equipment has the first voice output unit, and methods described includes:
Receive the second sound data for the multimedia object that first electronic equipment is sent, the second sound data by First electronic equipment is playing multimedia object, and exports the multimedia object by first voice output unit The first voice data when send;
While first voice output unit exports first voice data, exported by the second sound Unit exports the second sound data, wherein, the second sound data are different with first voice data.
Preferably, methods described also includes:
Play instruction is sent to first electronic equipment so that first electronic equipment is broadcast according to the play instruction Put multimedia object.
Preferably, it is described while first voice output unit exports first voice data, by described Second sound output unit, which exports the second sound data, to be included:
Receive the voice data stream for first voice data that first electronic equipment is sent;
Second electricity after foundation is synchronous with the system clock and Program Clock Reference of first electronic equipment in advance The system clock and Program Clock Reference of sub- equipment, recover the decoding of first voice data from the voice data stream Timestamp and reproduction time stamp, stab according to the decoded time stamp and reproduction time, decode and export the second sound data.
Preferably, methods described also includes:
When exporting the second sound data of the multimedia object by the second sound output unit, output character Data.
Preferably, the output character data includes:
Determine the type of the character data of the first electronic equipment output;
The character data for the identical or different type of character data that output is exported with first electronic equipment.
Preferably, the second sound data it is different with first voice data including:
First sub- voice data of first voice data is stored in the first track of the multimedia object, described First sub- voice data of two voice datas is stored in the second track of the multimedia object.
Preferably, the second sound data it is different with first voice data including:
First voice data includes first content, and the second sound data are included in the second content, described first Appearance is identical with second content, and the form of expression of the first content is different from the form of expression of second content.
Preferably, when first voice data is exported with the second sound data using same mode, mutually Produce interference.
A kind of playing device, applied to the first electronic equipment, first electronic equipment at least includes the first sound and exported Unit, the first electronic equipment and the second electronic device data connection, second electronic equipment is exported including second sound Unit is connected with second sound output unit, and described device includes:
First output control module, for when first electronic equipment plays multimedia object, passing through described first Voice output unit exports the first voice data of the multimedia object;
Data transmission blocks, set for the second sound data of the multimedia object to be sent into second electronics It is standby, in order to which second electronic equipment is while first voice output unit exports first voice data, lead to Cross the second sound output unit and export the second sound data, wherein, the second sound data and first sound Sound data are different.
Preferably, first output control module includes:
First output control unit, for when first electronic equipment plays multimedia object, passing through described first Voice output unit, exports the first voice data of the multimedia object in the first way;
The first method exports the second of second sound data by the second output unit with second electronic equipment Mode is different, wherein, when being exported with the first method so that the sensing range of recipient is the first scope, with described second When mode is exported so that the sensing range of recipient is the second scope, first scope is more than second scope.
Preferably, described device also includes:
First character data output module, for exporting the multimedia object by first voice output unit The first voice data when, output character data.
Preferably, the first character data output module includes:
Instruction reception unit, the function type instruction for receiving user's input;
First kind determining unit, the type for determining character data to be shown;
First display unit, for showing the character data with the type.
Preferably, described device also includes:
Play instruction receiving module, for receiving the play instruction that second electronic equipment is sent;
Playing module, for according to the play instruction, playing multimedia object.
Preferably, described device also includes:
Voice data stream sending module, for the voice data stream of first voice data to be sent into second electricity Sub- equipment, during in order to second electronic equipment according to system clock and program reference with first electronic equipment in advance The system clock and Program Clock Reference of second electronic equipment after clock synchronization, recover institute from the voice data stream The decoded time stamp and reproduction time stamp of the first voice data are stated, and is stabbed according to the decoded time stamp and reproduction time, decoding And export the second sound data.
A kind of playing device, applied to the second electronic equipment, second electronic equipment has second sound output unit Or be connected with second sound output unit, second electronic equipment is connected with the first electronic device data, first electronics Equipment has the first voice output unit, and described device includes:
Receiving module, the second sound data for receiving the multimedia object that first electronic equipment is sent are described Second sound data are playing multimedia object by first electronic equipment, and are exported by first voice output unit Sent during the first voice data of the multimedia object;
Second output control module, for exporting the same of first voice data in first voice output unit When, the second sound data are exported by the second sound output unit, wherein, the second sound data and described the One voice data is different.
Preferably, described device also includes:
Play instruction sending module, for sending play instruction to first electronic equipment so that first electronics Equipment plays multimedia object according to the play instruction.
Preferably, second output control module includes:
Voice data stream receiving unit, the sound for receiving first voice data that first electronic equipment is sent Frequency data stream;
Timestamp determining unit, for according to system clock and Program Clock Reference in advance with first electronic equipment The system clock and Program Clock Reference of second electronic equipment after synchronization, are recovered described from the voice data stream Decoded time stamp and the reproduction time stamp of first voice data, and stabbed according to the decoded time stamp and reproduction time, decoding is simultaneously Export the second sound data.
Preferably, described device also includes:
Second character data output module, for exporting the multimedia object by the second sound output unit Second sound data when, output character data.
Preferably, the second character data output module includes:
Second Type determining unit, the type of the character data for determining the first electronic equipment output;
Second display unit, for exporting the identical or different type of character data exported with first electronic equipment Character data.
A kind of electronic equipment, including:
Device as described above.
A kind of electronic equipment, including:
Device as described above.
A kind of player method and device, electronic equipment provided in an embodiment of the present invention, many matchmakers are exported in the first electronic equipment While first voice data of body object, by second sound data different from first voice data in multimedia object Be sent to the second electronic equipment, the second electronic equipment is exported the second sound data because the first voice data with Second sound data are different, therefore, when both needing to export the first voice data, when needing output second sound data again, and first Electronic equipment and the second electronic equipment are exported simultaneously, and because the first electronic equipment is different from the second electronic equipment, therefore, The different way of outputs can be selected to be exported, so, what is exported using distinct device with the different way of outputs In the case of, it ensure that the data output of different tracks will not be produced and interfere.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of player method disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 4 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 5 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 6 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 7 is the flow chart of another player method disclosed in the embodiment of the present invention;
Fig. 8 is a kind of structural representation of playing device disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of another playing device disclosed in the embodiment of the present invention.
Embodiment
The embodiment of the invention discloses a kind of player method and device, electronic equipment, its central inventive point is, is playing During multimedia object, using the output of the first electronic equipment to the first voice data in media object, the second electronic equipment is used The second sound data in multimedia object are exported, wherein, the first voice data is different from second sound data, because output is not It is different with the electronic equipment of voice data, so, different voice datas can be avoided while exporting interfering for transmission.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
A kind of player method disclosed in the embodiment of the present invention, methods described is applied to the first electronic equipment, first electricity Sub- equipment at least includes the first output unit, and first electronic equipment is connected with the second electronic device data, second electricity Sub- equipment includes second sound output unit, or, it is connected with second sound output unit, as described in Figure 1, methods described bag Include:
S101:When first electronic equipment plays multimedia object, exported by first voice output unit First voice data of the multimedia object;
The multimedia object can be video, or audio, or include video and audio simultaneously.
S102:The second sound data of the multimedia object are sent to second electronic equipment, wherein, described Two voice datas are different with first voice data;
The purpose of this step is, in order to which second electronic equipment is described in first voice output unit output While first voice data, the second sound data are exported by the second sound output unit.
In the present embodiment, the first voice data is different from second sound data, can include at least following category:
The data that data, content are identical but the form of expression is different comprising the sub- voice data for being stored in different tracks, The data interfered when exporting simultaneously, category of the above respectively from the physical attribute, the form of expression, functional attributes of data is defined The difference of data, except above is referred to category, other different voice datas should also belong to protection scope of the present invention.
Method described in the present embodiment, the first voice data is carried out from second sound data in different electronic equipments Play, so as to the way of output by selecting distinct electronic apparatuses, realize and the first sound is exported with the different way of outputs Data and second sound data so that avoid while when exporting the first voice data with second sound data, both interfere The problem of.
Another player method disclosed in the embodiment of the present invention, applied to following scene:
First electronic equipment is connected with the second electronic device data, and the first electronic equipment has the first output unit, second Electronic equipment has the second output unit, for the first electronic equipment, when playing multimedia object, described in the present embodiment Method as shown in Fig. 2 including:
S201:By first voice output unit, the first sound of the multimedia object is exported in the first way Data;
S202:Second sound data different from the first voice data in the multimedia object are sent to described second Electronic equipment;
In the present embodiment, the first voice data is different from second sound data, specifically includes following several situations:
Firstth, described first voice data is stored in the first track of the multimedia object, the second sound data It is stored in the second track of the multimedia object;
That is, the first sub- voice data in the first voice data and the first sub- sound number in second sound data According to the data for belonging to track of not going the same way, generally, the data of different purposes are stored in the track do not gone the same way, for example, in the first track Multimedia English-spoken text is stored, and multimedia Chinese dialogue is stored in the second track, or, the back of the body is stored in the first track Dialogue is stored in scape music, the second track.
Secondth, described first voice data includes first content, and the second sound data include the second content, described the One content is identical with second content, and the form of expression of the first content is different from the form of expression of second content.
That is, the first voice data and data of the second sound data for the different expression form of same content, example Such as:First voice data is multimedia dialogue, and second sound data are same multimedia dialogue, and its content is identical, and First voice data is Chinese dialogue, and second sound data are English-spoken text, so, during the form of expression of the first voice data is Text, the form of expression of second sound data is English.Because the form of expression is different, if with existing play-back technology simultaneously Play, interference to each other can be caused.
On the basis of above-mentioned two situations, further, first voice data makes with the second sound data When being exported with same mode, generation is interfered;
For example, when the Chinese dialogue of same multimedia file is played out in an identical manner with English-spoken text, it is inevitable Listening to for user can be disturbed, causes which kind of dialogue all can not accurately be received by user.
In the present embodiment, S202 purpose is so that while the first electronic equipment is exporting the first voice data, Second electronic equipment exports the second sound data in a second manner by the second sound output unit.
Wherein, first way of output is different from second way of output, when being exported with the first method so that recipient's Sensing range is the first scope, when export with the second method so that the sensing range of recipient is the second scope, described the One scope is more than second scope.For example, first way of output can be by way of being put outside loudspeaker, and the first output Mode can be by way of earphone is played.
The method described in the present embodiment is illustrated below:
For example, the first electronic equipment can use the first output unit by Chinese to ultrawhite when playing multimedia object Put, English-spoken text is sent to the second electronic equipment so that the second electronic equipment plays English-spoken text by earphone, therefore, the Two users can listen to English primary sound by earphone, and the first user can directly listen to Chinese dialogue, and both do not interfere with each other.
And in the prior art, facing while when exporting the demand of Chinese and English dialogue, can only be incited somebody to action by the first electronic equipment Chinese and English dialogue is broadcasted simultaneously, causes the first user and second user all can not accurately listen to the dialogue each needed.
In another example, when a people watches film by the first electronic equipment, start control the first electronic equipment output English Literary primary sound, however, it was found that some places are not understood, it is necessary to play back the Chinese dialogue of control, in the prior art, user needs control the One electronic equipment switching sound channel, the Chinese dialogue of output, and the method described in the present embodiment, play English original in the first electronic equipment While sound, the second electronic equipment is playing Chinese dialogue simultaneously, and user, which need to only take earphone, can hear Chinese dialogue, without The control of sound channel must be switched over again, so as to facilitate the operation of user.
Or, in another example, when user uses family OK a karaoke club Ok, accompaniment audio track data can be placed on to television decoding and broadcast Put, and voice audio track data is placed on Tab ends and carries out decoding broadcasting, in the case, TV is similarly the vocal accompaniment for eliminating reason Effect, and user can listen to original singer by earphone, it is not necessary to worry remotely to mix the interference brought to the performance of oneself with accompaniment.
As can be seen here, the player method described in the present embodiment, different voice datas is used in different electronic equipments Different modes are exported, and can either ensure the reception of complementary interference user between different voice datas, moreover it is possible to facilitate user to not The conversion for audio track data of going the same way is received.
Another player method disclosed in the embodiment of the present invention, applied to following scene:
First electronic equipment is connected with the second electronic device data, and the first electronic equipment has the first output unit, second Electronic equipment has the second output unit, for the first electronic equipment, when playing multimedia object, described in the present embodiment Method as shown in figure 3, including:
S301:By first voice output unit, the first sound of the multimedia object is exported in the first way Data;
S302:Receive the function type instruction of user's input;
S303:Determine the type of character data to be shown;
S304:The character data is shown with the type;
In the present embodiment, type instruction preferably indicates the type instruction of function, i.e., the function of being exported according to user determines word It can be study to accord with the type indicated in the type of data, the type instruction, or is watched;The character data can be preferred For captions corresponding with multimedia voice data.For example:Chinese subtitle and English subtitles.
S305:Second sound data different from the first voice data in the multimedia object are sent to described second Electronic equipment, while the first electronic equipment is exporting the first voice data, the second electronic equipment passes through the second sound Output unit, exports the second sound data in a second manner.
For example, the method described in the present embodiment, when the first electronic equipment plays English-spoken text, the first electronics is set The standby study instruction for receiving user's input, it is determined that English subtitles are captions to be shown, and show English subtitles, in such a feelings Under condition, user can pass through multimedia learning English;And when the instruction that the first electronic equipment is received is viewing, it is determined that Chinese Captions are captions to be shown, and show Chinese subtitle, now, are conducive to user preferably to watch primary sound film.
It can be seen that, compared with prior art, the player method described in the present embodiment, the instruction that the first point device is received is finger Show the instruction of function type, rather than pointing character type instruction, the function that electronic equipment is selected according to user, it is determined that display Character types, so as to the demand being more close to the users.
Another player method disclosed in the embodiment of the present invention, applied to following scene:
First electronic equipment is connected with the second electronic device data, specifically, and the second electronic equipment is the first electronic equipment Control device, the first electronic equipment has the first output unit, and the second electronic equipment has the second output unit, or with second Output unit is connected, for the first electronic equipment, as shown in figure 4, methods described includes:
S401:Receive the play instruction that second electronic equipment is sent;
S402:According to the play instruction, multimedia object is played;
S403:When first electronic equipment plays multimedia object, exported by first voice output unit First voice data of the multimedia object;
S404:The second sound data of the multimedia object are sent to second electronic equipment, in order to described Second electronic equipment passes through the second sound while first voice output unit exports first voice data Output unit exports the second sound data, wherein, the second sound data are different with first voice data;
S405:The voice data stream of first voice data is sent to second electronic equipment, in order to described Second electronic equipment is according to described the after synchronous with the system clock and Program Clock Reference of first electronic equipment in advance The system clock and Program Clock Reference of two electronic equipments, recover first voice data from the voice data stream Decoded time stamp and reproduction time stamp, stab according to the decoded time stamp and reproduction time, export the second sound data.
According to decoded time stamp and the reproduction time stamp of the first voice data, the second electronic equipment results in the first sound The decoding progresses of sound data and output progress, in order to which the second electronic equipment is when exporting second sound data, can accomplish with The synchronization of the output of first voice data.
Player method described in the present embodiment, performs realization, the first electronic equipment is by the second electronics by the first electronic equipment The control of equipment, play to media object during, by the first voice data currently exported from itself it is different second Audio data transmitting is sent to its control device, exports second sound data by the control device, and can realize the first sound The synchronism output of data and second sound data.For example when the first electronic equipment is TV, the second electronic equipment is the control of TV During control equipment, when televising English film, its control device such as Tab ends, the effect not only with control TV, simultaneously It has been also equipped with while TV is output as English-spoken text, has played the function of Chinese dialogue.Therefore, it is possible to cause different sound Data are separately exported, and can avoid interfering.
Another player method disclosed in the embodiment of the present invention, such as previous embodiment is compared, the executive agent of methods described For the second electronic equipment, second electronic equipment is connected with the first electronic device data, and the first electronic equipment is defeated with first Go out unit, the second electronic equipment has the second data cell, or is connected with the second output unit, when the broadcasting pair of the first electronic equipment During media object, as shown in figure 5, methods described includes:
S501:Receive the second sound data for the multimedia object that first electronic equipment is sent;
The second sound data are playing multimedia object by first electronic equipment, and pass through first sound Output unit is sent when exporting the first voice data of the multimedia object;
S502:While first voice output unit exports first voice data, pass through the rising tone Sound output unit exports the second sound data, wherein, the second sound data are different with first voice data.
First electronic equipment specifically includes following several situations with the second electronic equipment difference:
First sub- voice data of the firstth, described first voice data is stored in the first track of the multimedia object, First sub- voice data of the second sound data is stored in the second track of the multimedia object;
Secondth, described first voice data includes first content, and the second sound data include the second content, described the One content is identical with second content, and the form of expression of the first content is different from the form of expression of second content;
When first voice data is exported with the second sound data using same mode, produce mutually dry Disturb.
For example, when the first electronic equipment is playing the English-spoken text of multimedia object, the second electronic equipment is used as reception The Chinese dialogue data that first electronic equipment is sent, and export Chinese dialogue.
Player method described in the present embodiment, when the first electronic equipment plays multimedia first voice data, second Electronic equipment can as the multi-medium data another output equipment, export the rising tones different from the first voice data Sound data, so that user can receive different voice datas respectively using different reception modes so that avoid difference Voice data between interfere and be possibly realized.
Another player method disclosed in the embodiment of the present invention, applies equally to the second electronic equipment, second electronics Equipment be the first electronic equipment control device, the second electronic equipment have the second output unit or with the second output unit phase Even, the first electronic equipment has the first control unit, as shown in fig. 6, methods described includes:
S601:Play instruction is sent to first electronic equipment so that first electronic equipment is played according to described Multimedia object is played in instruction;
S602:Receive the second sound data for the multimedia object that first electronic equipment is sent;
S603:Receive the voice data stream for first voice data that first electronic equipment is sent;
S604:According to described the after synchronous with the system clock and Program Clock Reference of first electronic equipment in advance The system clock and Program Clock Reference of two electronic equipments, recover first voice data from the voice data stream Decoded time stamp and reproduction time stamp, stab according to the decoded time stamp and reproduction time, decode and export the second sound Data;
Because the system time synchronization of the system time of the second electronic equipment and the first electronic equipment, the second electronics Equipment can obtain the decoding and output of the first voice data according to decoded time stamp and the reproduction time stamp of the first voice data Progress, decoded according to identical progress and export second sound data, the first voice data and second sound data can be realized Synchronization.
It should be noted that in the present embodiment, the second electronic equipment exports second sound data by the second output unit Mode and the first electronic equipment it is different by way of the first output unit exports the first voice data, it is specifically, and foregoing Embodiment is identical, and the first electronic equipment exports the first voice data in the first way, and the second electronic equipment is exported in a second manner Second sound data, the scope that the user of first method perceives is more than the scope that the user of second method perceives, that is to say, that the One output unit is different from the second output unit, for example, the first output unit is the output unit comprising loudspeaker, and second is defeated Go out unit for the output unit comprising earphone, repeat no more here.
Player method described in the present embodiment, the second electronic equipment, can not only as the control device of the first electronic equipment The first electronic equipment is enough controlled to play multimedia file, moreover it is possible to share the multimedia data flow played in the first electronic equipment, Exported at itself, hence in so that the function of control device is more enriched, so as to meet the different demand of user.
Another player method disclosed in the embodiment of the present invention, and unlike a upper embodiment, second electronics is set It is standby in addition to exporting second sound data, can be with output character data, as shown in fig. 7, methods described includes:
S701:Receive the second sound data for the multimedia object that first electronic equipment is sent;
S702:While first voice output unit exports first voice data, pass through the rising tone Sound output unit exports the second sound data;
Wherein, the second sound data are different with first voice data.
S703:Determine the type of the character data of the first electronic equipment output;
S704:The character data for the identical or different type of character data that output is exported with first electronic equipment.
Player method described in the present embodiment, when output is identical with the character data that the first electronic equipment is exported, quite Include in the character that will be shown in the first electronic equipment at control device end, generally, control device is used by user, with user's It is closer to the distance, and it is easy to user hand held, so, when user does not see the character that Chu shows on the first electronic equipment When, display enables to user closely to watch on the second electronic equipment;
When output is different from the character data that the first electronic equipment is exported, user is facilitated quickly to compare different characters, English character for example is shown on the first electronic equipment, Chinese character is shown on the second electronic equipment, when user fails to understand English During Chinese character, Chinese control can be quickly obtained, so as to facilitate study of the user to English.
It should be noted that the method for the output character described in the present embodiment is method for optimizing, in addition, second , can also be according to the mode in previous embodiment in the first electronic equipment output character data during electronic equipment output character data Carry out, do not limit here.
It is corresponding with above method embodiment, the embodiment of the invention also discloses a kind of playing device, applied to first Electronic equipment, first electronic equipment at least includes the first voice output unit, first electronic equipment and the second electronics Device data is connected, and second electronic equipment includes second sound output unit or is connected with second sound output unit, such as Shown in Fig. 8, described device includes:
First output control module 801, for when first electronic equipment plays multimedia object, passing through described the One voice output unit exports the first voice data of the multimedia object;
Further, first output control module includes:
First output control unit, for when first electronic equipment plays multimedia object, passing through described first Voice output unit, exports the first voice data of the multimedia object in the first way;
The first method exports the second of second sound data by the second output unit with second electronic equipment Mode is different, wherein, when being exported with the first method so that the sensing range of recipient is the first scope, with described second When mode is exported so that the sensing range of recipient is the second scope, first scope is more than second scope.
Data transmission blocks 802, for the second sound data of the multimedia object to be sent into second electronics Equipment, in order to which second electronic equipment is while first voice output unit exports first voice data, The second sound data are exported by the second sound output unit, wherein, the second sound data and described first Voice data is different.
Further, described device can also include:
First character data output module 803, for exporting the multimedia by first voice output unit During the first voice data of object, output character data.
The first character data output module can be specifically included:
Instruction reception unit, the function type instruction for receiving user's input;
First kind determining unit, the type for determining character data to be shown;
First display unit, for showing the character data with the type.
Preferably, described device can also include:
Play instruction receiving module 804, for receiving the play instruction that second electronic equipment is sent;
Playing module 805, for according to the play instruction, playing multimedia object;
Voice data stream sending module 806, for the voice data stream of first voice data to be sent into described Two electronic equipments, in order to which second electronic equipment is joined according to the system clock and program in advance with first electronic equipment The system clock and Program Clock Reference of second electronic equipment after clock synchronization are examined, is recovered from the voice data stream Go out and the decoded time stamp and reproduction time of first voice data are stabbed, and according to the decoded time stamp and reproduction time Stamp, decodes and exports the second sound data.
On the basis of this embodiment, the embodiment of the invention also discloses a kind of electronic equipment, the electronic equipment has Device described in the present embodiment, in addition, the electronic equipment also have processor, memory cell or input/output interface Deng for example, the electronic equipment can be TV etc..
Another playing device disclosed in the embodiment of the present invention, applied to the second electronic equipment, second electronic equipment It is connected with second sound output unit or with second sound output unit, second electronic equipment and the first electronic equipment number According to connection, first electronic equipment has the first voice output unit, as shown in figure 9, including:
Receiving module 901, the second sound data for receiving the multimedia object that first electronic equipment is sent, institute State second sound data and multimedia object is being played by first electronic equipment, and it is defeated by first voice output unit Sent during the first voice data for going out the multimedia object;
Second output control module 902, for exporting first voice data in first voice output unit Meanwhile, the second sound data are exported by the second sound output unit, wherein, second sound data and described First voice data is different.
Further, second output control module is specifically included:
Voice data stream receiving unit, the sound for receiving first voice data that first electronic equipment is sent Frequency data stream;
Timestamp determining unit, for according to system clock and Program Clock Reference in advance with first electronic equipment The system clock and Program Clock Reference of second electronic equipment after synchronization, are recovered described from the voice data stream Decoded time stamp and the reproduction time stamp of first voice data, and stabbed according to the decoded time stamp and reproduction time, decoding is simultaneously Export the second sound data.
Preferably, described device can also include:
Second character data output module 903, for exporting the multimedia by the second sound output unit During the second sound data of object, output character data;
Further, the second character data output module is specifically included:
Second Type determining unit, the type of the character data for determining the first electronic equipment output;
Second display unit, for exporting the identical or different type of character data exported with first electronic equipment Character data.
Based on the device described in the present embodiment, the embodiment of the present invention is also settled sth. according to policy or law another electronic equipment, the electronic equipment It is connected with electronic device data disclosed in above-described embodiment, and including the device described in the present embodiment, it is preferable that the present embodiment institute The electronic equipment stated can be the control device of electronic equipment described above, the remote control of such as TV.
If the function described in the present embodiment method is realized using in the form of SFU software functional unit and is used as independent product pin Sell or in use, can be stored in a computing device read/write memory medium.Understood based on such, the embodiment of the present invention The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, and this is soft Part product is stored in a storage medium, including some instructions are to cause a computing device(Can be personal computer, Server, mobile computing device or network equipment etc.)Perform all or part of step of each embodiment methods described of the invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read-Only Memory), at random deposit Access to memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The embodiment of each in this specification is described by the way of progressive, what each embodiment was stressed be with it is other Between the difference of embodiment, each embodiment same or similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (30)

1. a kind of player method, applied to the first electronic equipment, first electronic equipment at least includes the first sound and exports single Member, the first electronic equipment and the second electronic device data connection, second electronic equipment includes second sound and exports single Member is connected with second sound output unit, it is characterised in that methods described includes:
When first electronic equipment plays multimedia object, by first voice output unit, with the first output side Formula exports the first voice data of the multimedia object;
The second sound data of the multimedia object are sent to second electronic equipment, in order to which second electronics is set For while first voice output unit exports first voice data, by the second sound output unit, The second sound data are exported with second way of output, wherein, the second sound data and first voice data are not Together, first way of output is different from second way of output.
2. according to the method described in claim 1, it is characterised in that the second sound data and first voice data are not It is same to include:
First sub- voice data of first voice data is stored in the first track of the multimedia object, the rising tone First sub- voice data of sound data is stored in the second track of the multimedia object.
3. according to the method described in claim 1, it is characterised in that the second sound data and first voice data are not It is same to include:
First voice data include first content, the second sound data include the second content, the first content with Second content is identical, and the form of expression of the first content is different from the form of expression of second content.
4. the method according to any one of claims 1 to 3, it is characterised in that first voice data and described second When voice data is exported using same mode, generation is interfered.
5. according to the method described in claim 1, it is characterised in that described to export described by first voice output unit First voice data of multimedia object includes:
By first voice output unit, the first voice data of the multimedia object is exported in the first way;
Second electronic equipment is while first voice output unit exports first voice data, by described Second sound output unit, which exports the second sound data, to be included:
Second electronic equipment is while the second sound output unit exports first voice data, by described Second sound output unit, exports the second sound data in a second manner;
Wherein, when being exported with the first method so that the sensing range of recipient is the first scope, defeated with the second method When going out so that the sensing range of recipient is the second scope, first scope is more than second scope.
6. according to the method described in claim 1, it is characterised in that also include:
When exporting the first voice data of the multimedia object by first voice output unit, output character number According to.
7. method according to claim 6, it is characterised in that the output character data includes:
Receive the function type instruction of user's input;
Determine the type of character data to be shown;
The character data is shown with the type.
8. according to the method described in claim 1, it is characterised in that pass through first voice output unit output institute described Before the first voice data for stating multimedia object, in addition to:
Receive the play instruction that second electronic equipment is sent;
According to the play instruction, multimedia object is played.
9. according to the method described in claim 1, it is characterised in that sent when by the second sound data of the multimedia object During to second electronic equipment, in addition to:
The voice data stream of first voice data is sent to second electronic equipment, in order to which second electronics is set Second electronic equipment after standby foundation is synchronous with the system clock and Program Clock Reference of first electronic equipment in advance System clock and Program Clock Reference, the decoded time stamp of first voice data is recovered from the voice data stream And reproduction time stamp, and stabbed according to the decoded time stamp and reproduction time, decode and export the second sound data.
10. a kind of player method, applied to the second electronic equipment, second electronic equipment have second sound output unit or It is connected with second sound output unit, second electronic equipment is connected with the first electronic device data, first electronics is set It is standby that there is the first voice output unit, it is characterised in that methods described includes:
The second sound data for the multimedia object that first electronic equipment is sent are received, the second sound data are by described First electronic equipment is playing multimedia object, and by first voice output unit, institute is exported with first way of output Sent during the first voice data for stating multimedia object;
While first voice output unit exports first voice data, export single by the second sound Member, the second sound data are exported with second way of output, wherein, the second sound data and first voice data Difference, first way of output is different from second way of output.
11. method according to claim 10, it is characterised in that also include:
Play instruction is sent to first electronic equipment so that first electronic equipment plays many according to the play instruction Media object.
12. method according to claim 10, it is characterised in that described described in first voice output unit output While first voice data, exporting the second sound data by the second sound output unit includes:
Receive the voice data stream for first voice data that first electronic equipment is sent;
Set according to second electronics after synchronous with the system clock and Program Clock Reference of first electronic equipment in advance Standby system clock and Program Clock Reference, recovers the decoding time of first voice data from the voice data stream Stamp and reproduction time stamp, stab according to the decoded time stamp and reproduction time, decode and export the second sound data.
13. method according to claim 10, it is characterised in that also include:
When exporting the second sound data of the multimedia object by the second sound output unit, output character number According to.
14. method according to claim 13, it is characterised in that the output character data includes:
Determine the type of the character data of the first electronic equipment output;
The character data for the identical or different type of character data that output is exported with first electronic equipment.
15. method according to claim 10, it is characterised in that the second sound data and first voice data Difference includes:
First sub- voice data of first voice data is stored in the first track of the multimedia object, the rising tone First sub- voice data of sound data is stored in the second track of the multimedia object.
16. method according to claim 10, it is characterised in that the second sound data and first voice data Difference includes:
First voice data include first content, the second sound data include the second content, the first content with Second content is identical, and the form of expression of the first content is different from the form of expression of second content.
17. the method according to claim 10,15 or 16 any one, it is characterised in that first voice data and institute When stating second sound data and being exported using same mode, interference is produced mutually.
18. a kind of playing device, applied to the first electronic equipment, first electronic equipment at least includes the first sound and exports single Member, the first electronic equipment and the second electronic device data connection, second electronic equipment includes second sound and exports single Member is connected with second sound output unit, it is characterised in that described device includes:
First output control module, for when first electronic equipment plays multimedia object, passing through first sound Output unit, the first voice data of the multimedia object is exported with first way of output;
Data transmission blocks, for the second sound data of the multimedia object to be sent into second electronic equipment, with It is easy to second electronic equipment while first voice output unit exports first voice data, by described Second sound output unit, the second sound data are exported with second way of output, wherein, the second sound data and institute State the first voice data different, first way of output is different from second way of output.
19. device according to claim 18, it is characterised in that first output control module includes:
First output control unit, for when first electronic equipment plays multimedia object, passing through first sound Output unit, exports the first voice data of the multimedia object in the first way;
The first method exports the second method of second sound data with second electronic equipment by the second output unit Difference, wherein, when being exported with the first method so that the sensing range of recipient is the first scope, with the second method During output so that the sensing range of recipient is the second scope, first scope is more than second scope.
20. device according to claim 18, it is characterised in that also include:
First character data output module, for exporting the of the multimedia object by first voice output unit During one voice data, output character data.
21. device according to claim 20, it is characterised in that the first character data output module includes:
Instruction reception unit, the function type instruction for receiving user's input;
First kind determining unit, the type for determining character data to be shown;
First display unit, for showing the character data with the type.
22. device according to claim 18, it is characterised in that also include:
Play instruction receiving module, for receiving the play instruction that second electronic equipment is sent;
Playing module, for according to the play instruction, playing multimedia object.
23. device according to claim 18, it is characterised in that also include:
Voice data stream sending module, sets for the voice data stream of first voice data to be sent into second electronics It is standby, in order to which second electronic equipment is according to same with the system clock of first electronic equipment and program reference time in advance The system clock and Program Clock Reference of second electronic equipment after step, recover described from the voice data stream Decoded time stamp and the reproduction time stamp of one voice data, and stabbed according to the decoded time stamp and reproduction time, decode and defeated Go out the second sound data.
24. a kind of playing device, applied to the second electronic equipment, second electronic equipment have second sound output unit or It is connected with second sound output unit, second electronic equipment is connected with the first electronic device data, first electronics is set It is standby that there is the first voice output unit, it is characterised in that described device includes:
Receiving module, the second sound data for receiving the multimedia object that first electronic equipment is sent, described second Voice data is playing multimedia object by first electronic equipment, and by first voice output unit, with first The way of output is sent when exporting the first voice data of the multimedia object;
Second output control module, for while first voice output unit exports first voice data, leading to The second sound output unit is crossed, the second sound data are exported with second way of output, wherein, the second sound number According to different with first voice data, first way of output is different from second way of output.
25. device according to claim 24, it is characterised in that also include:
Play instruction sending module, for sending play instruction to first electronic equipment so that first electronic equipment Multimedia object is played according to the play instruction.
26. device according to claim 24, it is characterised in that second output control module includes:
Voice data stream receiving unit, the audio number for receiving first voice data that first electronic equipment is sent According to stream;
Timestamp determining unit, for according to synchronous with the system clock and Program Clock Reference of first electronic equipment in advance The system clock and Program Clock Reference of second electronic equipment afterwards, recover described first from the voice data stream Decoded time stamp and the reproduction time stamp of voice data, and stabbed according to the decoded time stamp and reproduction time, decode and export The second sound data.
27. device according to claim 24, it is characterised in that also include:
Second character data output module, for exporting the of the multimedia object by the second sound output unit During two voice datas, output character data.
28. device according to claim 27, it is characterised in that the second character data output module includes:
Second Type determining unit, the type of the character data for determining the first electronic equipment output;
Second display unit, the character for exporting the identical or different type of character data exported with first electronic equipment Data.
29. a kind of electronic equipment, it is characterised in that including:
Device as described in any one of claim 18 to 23.
30. a kind of electronic equipment, it is characterised in that including:
Device as described in any one of claim 24 to 28.
CN201210587632.3A 2012-12-28 2012-12-28 A kind of player method and device, electronic equipment Active CN103903636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210587632.3A CN103903636B (en) 2012-12-28 2012-12-28 A kind of player method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210587632.3A CN103903636B (en) 2012-12-28 2012-12-28 A kind of player method and device, electronic equipment

Publications (2)

Publication Number Publication Date
CN103903636A CN103903636A (en) 2014-07-02
CN103903636B true CN103903636B (en) 2017-11-03

Family

ID=50994914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210587632.3A Active CN103903636B (en) 2012-12-28 2012-12-28 A kind of player method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN103903636B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383690B (en) * 2016-08-31 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of method and apparatus that multiple voice datas play simultaneously

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976431A (en) * 2005-11-30 2007-06-06 美国博通公司 Control device and method for interacting between media source, amusement system and the same
TW200816850A (en) * 2006-09-22 2008-04-01 Hon Hai Prec Ind Co Ltd An audio media player with multiport
CN101540183A (en) * 2008-03-18 2009-09-23 鸿富锦精密工业(深圳)有限公司 Playing device and audio output method
CN102568513A (en) * 2011-12-28 2012-07-11 北京三星通信技术研究有限公司 Audio data processing method and interacting method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030066094A1 (en) * 2001-09-29 2003-04-03 Koninklijke Philips Electronics N.V. Robust method for recovering a program time base in MPEG-2 transport streams and achieving audio/video sychronization
KR100584551B1 (en) * 2002-11-26 2006-05-30 삼성전자주식회사 DVD system for language study and method for processing audio stream
US8736700B2 (en) * 2010-09-30 2014-05-27 Apple Inc. Techniques for synchronizing audio and video data in an image signal processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976431A (en) * 2005-11-30 2007-06-06 美国博通公司 Control device and method for interacting between media source, amusement system and the same
TW200816850A (en) * 2006-09-22 2008-04-01 Hon Hai Prec Ind Co Ltd An audio media player with multiport
CN101540183A (en) * 2008-03-18 2009-09-23 鸿富锦精密工业(深圳)有限公司 Playing device and audio output method
CN102568513A (en) * 2011-12-28 2012-07-11 北京三星通信技术研究有限公司 Audio data processing method and interacting method

Also Published As

Publication number Publication date
CN103903636A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103151056B (en) The wireless sharing of audio file and relevant information
CN101098523B (en) Method for realizing karaoke by mobile phone and mobile phone with karaoke function
CN105007508B (en) For playing synchronous method and using its equipment
CN101228582B (en) Audio reproduction method and apparatus supporting audio thumbnail function
CN101355500B (en) Content reproduction apparatus, content reproduction method and program
CN101480019A (en) Composition of local user interface with remotely generated user interface and media
CN105679345B (en) Audio processing method and electronic equipment
CN101540183A (en) Playing device and audio output method
CN107509092A (en) Set top box plays method, set top box, terminal and the storage medium of audio in real time
JP2015220517A (en) Receiver, transmitter, and data processing method
CN101458951A (en) Video and audio program signal processing system having multiple functions
CN110418183A (en) Audio and video synchronization method, device, electronic equipment and readable medium
WO2020133376A1 (en) Multimedia information processing method, devices, electronic equipment and computer-readable storage medium
CN103578514A (en) Song playing method and device
CN108153508A (en) A kind of method and device of audio frequency process
JP2008299032A (en) Linguistic training aid, and character data regenerator
CN101729827A (en) Voice service method, system, digital television receiving terminal and front-end device
CN103903636B (en) A kind of player method and device, electronic equipment
WO2024067157A1 (en) Special-effect video generation method and apparatus, electronic device and storage medium
CN114915874A (en) Audio processing method, apparatus, device, medium, and program product
CN203206451U (en) Three-dimensional (3D) audio processing system
CN103377674A (en) Audio player and control method thereof
CN105100891B (en) Audio data acquisition methods and device
CN203870973U (en) Integrated intelligent high efficiency digital multimedia playing system
CN105791937A (en) Audio/video processing method and related equipment

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