CN109818979A - A kind of method, apparatus that realizing audio return, equipment and storage medium - Google Patents
A kind of method, apparatus that realizing audio return, equipment and storage medium Download PDFInfo
- Publication number
- CN109818979A CN109818979A CN201910212487.2A CN201910212487A CN109818979A CN 109818979 A CN109818979 A CN 109818979A CN 201910212487 A CN201910212487 A CN 201910212487A CN 109818979 A CN109818979 A CN 109818979A
- Authority
- CN
- China
- Prior art keywords
- audio
- audio data
- output channel
- client
- long
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of method, apparatus for realizing audio return, equipment and storage mediums.This method is applied to server-side, comprising: the identity of broadcast or multicast notice playback equipment and the open signal for sending the long-range output channel of audio;After the long-range output channel of the audio is opened, decoded audio data is transferred to the long-range output channel of the audio;The audio data is transferred to the client that connection is established with the playback equipment by the long-range output channel of the audio.The embodiment of the present invention notifies the identity of playback equipment by broadcast or multicast and sends the open signal of the long-range output channel of audio, after the long-range output channel of audio is opened, decoded audio data is transferred to the long-range output channel of audio, audio data is transferred to the client that connection is established with playback equipment by the long-range output channel of audio, audio return is realized under the premise of not increasing additional hardware to realize, listens to demand to meet the difference of people.
Description
Technical field
The present embodiments relate to audio play-back technology field more particularly to a kind of method, apparatus for realizing audio return,
Equipment and storage medium.
Background technique
Currently, people, when watching video program by TV, set-top box or large screen, the broadcasting of audio, video data needs
It is decoded, and during audio, video data is decoded, audio data is played from video data via different channels
Out, and by corresponding synchronous mark position synchronization is realized, graphical interfaces carries out rendering by figure channel and shows, audio number
According to then being played out by specified speaker unit.
When having personal viewing demand (such as the late into the night is watched) or wanting that external noise is isolated, other people are influenced in order to prevent, usually
It needs to turn down volume or is played out after passing audio data back and forth by connection bluetooth equipment.And under above scene, mesh
Preceding usage mode more or less has some restrictive requirements.Playback equipment is such as needed to provide audio output interface, so that with
Family can connect the loudspeakings equipment such as earphone in addition, but the equipment such as television set or set-top box at present, in normally viewing Shi Renyu equipment
Distance at least at 1.5 meters or more, and most television set or set-top box do not provide audio output interface;And connected by bluetooth
The mode connect returns audio data, and such mode needs additionally to increase bluetooth mould group, will increase equipment to a certain extent
Cost, and the playback equipment for being used to listen to must also support bluetooth just and can carry out the passback of audio.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus for realizing audio return, equipment and storage medium, to realize not
Audio return is realized under the premise of increasing additional hardware, listens to demand to meet the difference of people.
In a first aspect, being applied to server-side, this method the embodiment of the invention provides a kind of method for realizing audio return
Include:
The identity of broadcast or multicast notice playback equipment and the open signal for sending the long-range output channel of audio;
After the long-range output channel of the audio is opened, decoded audio data is transferred to the audio and is remotely exported
Channel;
The audio data is transferred to by the audio long-range output channel and establishes connection with the playback equipment
Client.
Further, the identity of playback equipment is notified in the broadcast or multicast and send the long-range output channel of audio
Open signal before, further includes:
It closes the current audio frequency output channel of the playback equipment and selects the long-range output channel of audio;
Described be transferred to the audio data by the long-range output channel of the audio establishes company with the playback equipment
The client connect, comprising:
The audio data is received by the long-range output channel of the audio;
The audio data is given into the client that the playback equipment establishes connection by network transmission.
Further, which comprises
The synchronized timestamp for the prefixed time interval that the client for establishing connection with the playback equipment is sent is received, it is described
Synchronized timestamp is for synchronizing the video data of the audio data and the playback equipment.
Further, the quantity of the client that connection is established with the playback equipment is one or multiple, described
The identity of playback equipment includes the information such as address, port or title.
Second aspect, the embodiment of the invention also provides a kind of methods for realizing audio return, are applied to client, the party
Method includes:
It sends the enabling signal of remote audio data receiver and is attached with server-side, the enabling signal is for controlling
The client is switched to the state for the audio data that the server-side to be received is sent from current state;
Receive the audio data of the server-side remote transmission.
The audio data received is played out by the audio frequency output channel of the client.
Further, the method also includes:
After establishing connection with the server-side, sent and the currently playing audio data pair in prefixed time interval
The synchronized timestamp answered.
The third aspect, the embodiment of the invention also provides a kind of devices for realizing audio return, are applied to server-side, the dress
It sets and includes:
Signal transmitting module notifies the identity of playback equipment for broadcast or multicast and sends audio and remotely export to lead to
The open signal in road;
First audio data transmission module is used for after the long-range output channel of the audio is opened, by decoded audio
Data are transferred to the long-range output channel of the audio;
Second audio data transmission module, for being transferred to the audio data by the long-range output channel of the audio
The client of connection is established with the playback equipment.
Fourth aspect, the embodiment of the invention also provides a kind of devices for realizing audio return, are applied to client, the dress
It sets and includes:
Link block is established, for sending the enabling signal of remote audio data receiver and being attached with server-side, institute
It states enabling signal and is switched to audio data that the server-side to be received is sent from current state for controlling the client
State;
Audio data receipt module, for receiving the audio data of the server-side remote transmission.
Audio data playing module, for leading to the audio data received by the audio output of the client
Road plays out.
5th aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Storage device, for storing multiple programs,
When at least one of the multiple program by one or more of processors execute when so that it is one or
Multiple processors realize a kind of method for realizing audio return provided by first aspect of the embodiment of the present invention or second aspect.
6th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program is realized when the program is executed by processor and realizes that audio is returned provided by first aspect of the embodiment of the present invention or second aspect
The method of biography.
The embodiment of the present invention notifies the identity of playback equipment by broadcast or multicast and sends audio and remotely export to lead to
Decoded audio data is transferred to audio and remotely exported and led to by the open signal in road after the long-range output channel of audio is opened
Audio data is transferred to the client that connection is established with playback equipment by the long-range output channel of audio by road, to realize not
Audio return is realized under the premise of increasing additional hardware, listens to demand to meet the difference of people.
Detailed description of the invention
Fig. 1 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of method for realizing audio return provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure chart for device for realizing audio return that the embodiment of the present invention five provides;
Fig. 6 is a kind of structure chart for device for realizing audio return that the embodiment of the present invention six provides;
Fig. 7 is a kind of hardware structural diagram for equipment that the embodiment of the present invention seven provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention one provides, and the present embodiment can fit
Used in be applied to server-side realization audio data is returned the case where, this method can by the device of realization audio return Lai
It executes, specifically comprises the following steps:
S110, broadcast or multicast notify the identity of playback equipment and send the unlatching letter of the long-range output channel of audio
Number.
Wherein, the playback equipment referred in the technical solution of the embodiment of the present invention is server-side, and playback equipment includes
Television set, set-top box or any playback equipment that can carry out video program play, the embodiment of the present invention are without limitation.It broadcasts
Putting equipment includes the port that included audio data output channel or audio interface etc. can be used for audio data output, or
Bluetooth connection, and bluetooth connection needs additionally to increase bluetooth mould group in playback equipment, increases playback equipment to a certain extent
Cost.That is, playback equipment realizes the broadcasting of audio data by included audio data output channel under normal conditions,
Or selection connects smart machine by blue tooth interface, and the broadcasting of audio data, such as television set are carried out by intelligent playback equipment
By bluetooth connection computer or mobile phone, audio data is played out by computer or mobile phone, or selection passes through playback equipment
Included audio interface connects the external speakers such as earphone or sound equipment, realizes the broadcasting of audio data.The long-range output channel of audio
For to the channel for the client transmissions audio data connecting with playback equipment, the channel to be by modifying the solution at playback equipment
Code device obtains.The quantity for the client that connection can be established with the playback equipment is one or multiple, the identity of playback equipment
Mark includes the information such as address, port or title.
In the technical solution of the embodiment of the present invention, in the playback equipment as server-side, to its audio data
Decoder is modified, and the long-range output channel of audio for being used for remote transmission audio data is increased newly, by the audio of server-side
Data are transmitted by the long-range output channel of audio.Specifically, when the user of playback equipment needs leaving other people alone
Under the premise of, the independent broadcasting that audio, video data is carried out using playback equipment, playback equipment broadcast or multicast notifies playback equipment
Identity, the i.e. information such as the address, port of server-side or title, carry out selection connection for client, meanwhile, closing is broadcast at present
The equipment audio data way of output currently in use is put, and sends open signal to the long-range output channel of audio, to open audio
Long-range output channel is transferred to the client being attached with playback equipment for audio data.
It should be noted that server-side notifies for client to carry out selection connection by broadcast or multicast, at this time with server-side
It can be attached with server-side in consolidated network or the client that can receive server-side broadcast or multicast notice, also
It is to say, after server-side closes the audio frequency output channel of itself, by receiving the client of broadcast or multicast notice to audio number
According to playing out, audio data is played out as long as the client connecting with server-side can be realized, the present invention is implemented
Any restrictions are not done to the quantity for the client connecting with server-side in example, the quantity for the client connecting with server-side can
To be one or multiple, when multi-client connects, to avoid the play time between multi-client poor, server-side is always with the
Client in one connection is synchronous base, or abandons synchronizing.
S120, after the long-range output channel of the audio is opened, it is remote that decoded audio data is transferred to the audio
Journey output channel.
When audio, video data plays, the audio, video data played by the decoder of server-side to needs is needed to solve
Code, audio data is played back from video data via different channels, then by corresponding synchronous mark position come sync tone
Frequency evidence and video data.In the technical solution of the embodiment of the present invention, server-side increases one newly by the modification to decoder
New audio plays the long-range output channel of channel, that is, audio, this channel is after the long-range output channel of audio is opened, the solution of server-side
Decoded audio data is transferred to the long-range output channel of audio by code device.
S130, the audio data is transferred to by the audio long-range output channel and establishes company with the playback equipment
The client connect.
The long-range output channel of audio is in real time, to guarantee to realize audio data and video data to the transmission of audio data
Be played simultaneously, i.e., after the long-range output channel of audio receives the decoded audio data of decoder of server-side, immediately will
The audio data is transferred to the client that connection is established with playback equipment, for the broadcasting of client progress audio data, and with
The video data of playback equipment keeps synchronizing, while the delayed impact synchronous effect in order to avoid generating in transmission process, client
End with a timestamp carried out between server-side at regular intervals interact, to guarantee the synchronization of audio-video.
The embodiment of the present invention notifies the identity of playback equipment by broadcast or multicast and sends audio and remotely export to lead to
Decoded audio data is transferred to audio and remotely exported and led to by the open signal in road after the long-range output channel of audio is opened
Audio data is transferred to the client that connection is established with playback equipment by the long-range output channel of audio by road, to realize not
Audio return is realized under the premise of increasing additional hardware, listens to demand to meet the difference of people.
Embodiment two
Fig. 2 is a kind of flow chart for the method for realizing audio return provided by Embodiment 2 of the present invention.It is more than the present embodiment
State and optimize based on embodiment, in the present embodiment, step broadcast or multicast notice playback equipment identity simultaneously
Before the open signal for sending the long-range output channel of audio, further includes: close the current audio frequency output channel of the playback equipment
And select the long-range output channel of audio.On this basis, step is by the long-range output channel of the audio by the audio data
It is transferred to the client for establishing connection with the playback equipment, is advanced optimized are as follows: is connect by the long-range output channel of the audio
Receive the audio data;The audio data is given into the client that the playback equipment establishes connection by network transmission.Together
When, further method further include: receive the same of the prefixed time interval that the client for establishing connection with the playback equipment is sent
Timestamp is walked, the synchronized timestamp is for synchronizing the video data of the audio data and the playback equipment.
Correspondingly, the method for the present embodiment specifically includes:
S210, it closes the current audio frequency output channel of playback equipment and selects the long-range output channel of audio.
Specifically, the user of playback equipment, when using playback equipment playing audio-video data, user wants switching audio
The broadcast mode of data needs to close audio frequency output channel used in currently playing equipment, and selects sound on playback equipment
Frequently long-range output channel.
S220, broadcast or multicast notify the identity of playback equipment and send the unlatching letter of the long-range output channel of audio
Number.
S230, after the long-range output channel of the audio is opened, it is remote that decoded audio data is transferred to the audio
Journey output channel.
S240, the audio data is received by the long-range output channel of the audio.
The long-range output channel of audio is used for the real-time Transmission to audio data, to guarantee with the video counts of playback equipment factually
Now synchronous broadcasting.In the implementation of another audio data provided in an embodiment of the present invention output, if audio is remotely defeated
The of short duration storage to audio data may be implemented in channel out, needs to be arranged at playback equipment at this time corresponding with video data same
It is long-range will to be just stored in audio only after recognizing audio data synchronous mark corresponding with video data position for step flag bit
The broadcasting that the audio data of output channel is synchronized with corresponding video data.
S250, the audio data is given into the client that the playback equipment establishes connection by network transmission.
Wherein, network as mentioned in the embodiments of the present invention can be wired ethernet or wireless ethernet, server-side with
Client supports network transmission, the mode of network transmission that mode of unicast or multicast mode can be used, specifically can be by ability
Field technique personnel carry out selection use according to the actual situation, are not limited in this embodiment of the present invention to it.
Illustratively, it when user watches TV programme on TV, gets home to avoid late into the night television broadcast sounds from bothering
The rest of people at this time closes the loudspeaker on TV, that is, closing the current audio data output channel of TV, together
When select the long-range output channel of audio of TV, the information such as address, port or title of television broadcasting or multicast notification oneself,
And open signal is sent to the long-range output channel of audio, after the long-range output channel of audio is opened, TV is by decoded audio
Data are transferred to the long-range output channel of audio, are transferred to audio data via the long-range output channel of audio and establish company with TV
The mobile phone connect, user are inserted into wired earphone by the earpiece holes of mobile phone, can continue to listen to current TV programme, and at this time
The rest of household will not be bothered.
S260, the synchronization time for receiving the prefixed time interval that the client for establishing connection with the playback equipment is sent
Stamp, the synchronized timestamp is for synchronizing the video data of the audio data and the playback equipment.
After playback equipment and client establish connection, the synchronization time that client is sent is received every prefixed time interval
Stamp, synchronized timestamp is for synchronizing the video data of the audio data and the playback equipment, wherein when preset
Between interval can be configured by user or system automatically generated, time interval can be one minute or two minutes, this hair
Bright embodiment is only explained this, without being limited this.
Specifically, server-side controls video data output (such as television image) and audio data transmission, in client
Before end does not start playing audio-fequency data, video data can be buffered, wait client notification to start to play, and receive
After synchronized timestamp by client transmitting, it is synchronous with video data that audio data is carried out according to the synchronized timestamp received
Output, if can also directly be abandoned audio data when no client is connect with server-side.
Illustratively, during playback equipment plays out, the client of connection is established every one with playback equipment
The interval of section time sends a synchronized timestamp, the audio data that the video pictures of playback equipment and client are received into
Row synchronous adjustment, if the synchronized timestamp received does not have corresponding video pictures, this audio data can be determined that for
Out-of-date data carry out discard processing.
Technical solution provided in an embodiment of the present invention, by the long-range output channel of audio increased newly in server-side, realizing will
The audio data of server-side is transferred to client and plays out, and simultaneously closes off the audio data at server-side and plays, realizes service
End without putting into other hardware or cost payout, while can promote user's in a manner of unrestricted choice playing audio-fequency data
Use feeling, but the difference for meeting people listens to demand.
Embodiment three
Fig. 3 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention three provides, and the present embodiment can fit
Used in the case where client realization returns audio data is applied to, this method can realize audio by being applied to client
The device of passback executes, and specifically comprises the following steps:
S310, the enabling signal for sending remote audio data receiver are simultaneously attached with server-side, and the enabling signal is used
The state for the audio data that the server-side to be received is sent is switched to from current state in the control client.
The technical solution of the embodiment of the present invention is by carrying out audio data with realizing in the corresponding software of client deployment
The mode of passback, the software are communicated for realizing server-side with the passback of the audio data of client, and the embodiment of the present invention is only
This is explained, is not limited.The mounted software of client terminal start-up is logical by server-side broadcast or multicast
The information such as address, port or the title known and server-side establish connection, while sending the starting letter of remote audio data receiver
Number, client is switched to the state for the audio data that server-side to be received is sent from current state, with etc. server-side to be received
The audio data sended over.
S320, the audio data for receiving the server-side remote transmission.
Specifically, after server-side and client establish successful connection, while client terminal start-up remotely receives audio data,
The audio data that server-side remote transmission comes is transferred to by client by network by server-side, is received currently by client
Audio data
S330, the audio data received is played out by the audio frequency output channel of the client.
Wherein, client includes mobile phone or apparatus such as computer, and the audio output mode of mobile phone or apparatus such as computer is usual
It is that wired earphone or mobile phone or the wireless ear of computer unlatching bluetooth mode connection are inserted by the earpiece holes on mobile phone or computer
Machine, and then realize the broadcasting of audio data.Client can be one or more, and need to be only can be by server-side broadcast or group
The information such as the address, port or title of notice are broadcast, and then realize that the client being attached with server-side can realize this
Inventive embodiments provide technical solution, the embodiment of the present invention to this with no restriction.
Illustratively, pass through the letter such as address, port or title of television broadcasting or multicast notification using mobile phone in user
After breath establishes connection with TV, the audio data that television transmission comes is received, and be inserted into wired earphone by included earpiece holes,
Or open included bluetooth module and be attached with wireless headset, it is realized using wired earphone or wireless headset and TV is passed
The defeated audio data to come plays out.Or multiple users pass through television broadcasting or multicast notification using the mobile phone of oneself
The information such as address, port or title and TV establish connection or a user while the mobile phone and computer that use oneself,
Connection is established by the information such as the address of television broadcasting or multicast notification, port or title and TV simultaneously, the present invention is implemented
This is only illustrated in example, without being limited for specific application scenarios.
S340, after establishing connection with the server-side, sent and the currently playing audio in prefixed time interval
The corresponding synchronized timestamp of data.
In the technical solution of the embodiment of the present invention, is established and be connected to the network by client and server-side, to carry out data
Transmission after, client terminal start-up remotely receives the audio data of server-side transmission, and in the sound for receiving server-side and remotely sending
Frequency is played out after by the audio frequency output channel of client, realizes the audio data of server-side according to the needs of users
The client for carrying out selection needs, which is realized, to be played, and is met the different of user and is listened to demand, meanwhile, a server-side can be more
A client is serviced, that is to say, that can simultaneously more people carry out using, using more convenient, in the selection of client more
Flexibly.
Example IV
Fig. 4 is a kind of flow chart for method for realizing audio return that the embodiment of the present invention four provides.In above-mentioned each implementation
On the basis of example, a kind of preferred embodiment is provided.The method of the realization audio return includes:
After selecting the long-range output channel of audio in server-side, server-side passes through Web broadcast or the body of multicast notification oneself
Part mark (such as address, port and title information) simultaneously opens the long-range output channel of audio.
After server-side is decoded audio data by decoder, audio data is transferred to the long-range output channel of audio
In.
After the long-range output channel of audio receives audio data, audio data is sent to by way of network transmission with
The client that server-side has connected.
Start the long-range reception to audio data on the client, and corresponding server-side is selected to be attached.
After client and server-side successful connection, client receives the audio number that corresponding with service end remote transmission comes
According to, and output is played out by client.
Illustratively, user plays video on TV, and at this time in order to not influence other people, user selects the loudspeaker of TV
Audio is no longer exported, and is forwarded audio data by network by the server-side in TV.Meanwhile user is in the hand of oneself
Open corresponding client software in machine, the TV of oneself, is then inserted into wired earphone, i.e., in the earpiece holes of mobile phone in connection
Can smoothly uppick TV sound.User can be not only connected by the mobile phone of oneself with TV, can also pass through other
It can be used for listening to the equipment of audio data, and be not only user oneself, the friend or household of user can also be by hand
Corresponding software is installed, and after accessing in network corresponding with TV, sound of television is listened in realization in the equipment such as machine.
In the technical solution of the embodiment of the present invention, by new by modification newly-increased one to decoder in server-side
Audio plays channel, and in the corresponding software of client deployment, the long-range of audio is realized in a manner of through pure software and is returned
Pass, it is only necessary to two side apparatus all supports network transmission can (wired ethernet or wireless ethernet), without be further added by other firmly
Part investment, meanwhile, a server-side can service multiple client, may be implemented while more people use.
Embodiment five
Fig. 5 is a kind of structure chart for device for realizing audio return that the embodiment of the present invention five provides, and the present embodiment can fit
For being applied to the case where server-side realization returns audio data.
As shown in figure 5, described device includes: signal transmitting module 510, the first audio data transmission module 520 and second
Audio data transmission module 530, in which:
Signal transmitting module 510, for broadcast or multicast notice playback equipment identity and to send audio remotely defeated
The open signal in channel out;
First audio data transmission module 520 is used for after the long-range output channel of the audio is opened, by decoded sound
Frequency evidence is transferred to the long-range output channel of the audio;
Second audio data transmission module 530, for being passed the audio data by the long-range output channel of the audio
It is defeated by the client that connection is established with the playback equipment.
A kind of device of realization audio return applied to server-side of the present embodiment, notifies to play by broadcast or multicast
The identity of equipment and the open signal for sending the long-range output channel of audio will after the long-range output channel of audio is opened
Decoded audio data is transferred to the long-range output channel of audio, and audio data is transferred to and is broadcast by audio long-range output channel
The client that equipment establishes connection is put, audio return is realized under the premise of not increasing additional hardware to realize, to meet people
Difference listen to demand.
On the basis of the various embodiments described above, described device further include:
Audio data output module is selected, for closing the current audio frequency output channel of the playback equipment and selecting audio
Long-range output channel.
Second audio data transmission module 530, comprising:
Audio data receipt unit, for receiving the audio data by the long-range output channel of the audio;
Audio data transmission unit connects for giving the playback equipment and establishing the audio data by network transmission
The client connect.
On the basis of the various embodiments described above, described device further include:
Synchronized timestamp receiving module, for receive with the playback equipment establish connection client send it is default when
Between the synchronized timestamp that is spaced, the synchronized timestamp be used for by the video data of the audio data and the playback equipment into
Row synchronizes.
On the basis of the various embodiments described above, the quantity of the client for establishing connection with the playback equipment is one
Or it is multiple, the identity of the playback equipment includes the information such as address, port or title.
The executable present invention of device provided by the various embodiments described above applied to the realization audio return of server-side is any
Method provided by embodiment applied to the realization audio return of server-side, has the realization audio for executing and being applied to server-side
The corresponding functional module of the method for passback and beneficial effect.
Embodiment six
Fig. 6 is a kind of structure chart for device for realizing audio return that the embodiment of the present invention six provides, and the present embodiment can fit
For being applied to the case where client realization returns audio data.
As shown in fig. 6, described device includes: to establish link block 610, audio data receipt module 620 and audio data
Playing module 630, in which:
Link block 610 is established, for sending the enabling signal of remote audio data receiver and being attached with server-side,
The enabling signal is used to control the client and is switched to the audio data that the server-side to be received is sent from current state
State;
Audio data receipt module 620, for receiving the audio data of the server-side remote transmission;
Audio data playing module 630, for the audio data received is defeated by the audio of the client
Channel plays out out.
A kind of device for realizing audio return applied to client of the present embodiment notifies to play by broadcast or multicast
The identity of equipment and the open signal for sending the long-range output channel of audio will after the long-range output channel of audio is opened
Decoded audio data is transferred to the long-range output channel of audio, and audio data is transferred to and is broadcast by audio long-range output channel
The client that equipment establishes connection is put, audio return is realized under the premise of not increasing additional hardware to realize, to meet people
Difference listen to demand.
On the basis of the various embodiments described above, described device further include:
Synchronized timestamp sending module, for after establishing connection with the server-side, prefixed time interval send with
The currently playing corresponding synchronized timestamp of the audio data.
The executable present invention of device provided by the various embodiments described above applied to the realization audio return of client is any
Method provided by embodiment applied to the realization audio return of client, has the realization audio for executing and being applied to client
The corresponding functional module of the method for passback and beneficial effect.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used to realizing this
The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 7 is shown is only an example, should not be to of the invention real
The function and use scope for applying example bring any restrictions.
As shown in fig. 7, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited
In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited
Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12
The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable,
Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable
, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, use can be provided
In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product,
The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiment described in the invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.),
Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with
One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical
Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or
The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown,
Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine
Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit,
External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as a kind of side for realizing audio return for being applied to server-side provided by the embodiment of the present invention may be implemented
Method, this method comprises:
The identity of broadcast or multicast notice playback equipment and the open signal for sending the long-range output channel of audio;
After the long-range output channel of the audio is opened, decoded audio data is transferred to the audio and is remotely exported
Channel;
The audio data is transferred to by the audio long-range output channel and establishes connection with the playback equipment
Client.
It can also realize a kind of method for realizing audio return for being applied to client provided by the embodiment of the present invention, it should
Method includes:
It sends the enabling signal of remote audio data receiver and is attached with server-side, the enabling signal is for controlling
The client is switched to the state for the audio data that the server-side to be received is sent from current state;
Receive the audio data of the server-side remote transmission;
The audio data received is played out by the audio frequency output channel of the client.
Certainly, it will be understood by those skilled in the art that processor can also realize it is provided by any embodiment of the invention
Realize the technical solution of the method for audio return.
Embodiment eight
The embodiment of the present invention eight additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
When program is executed by processor realize such as the embodiment of the present invention provided by be applied to server-side it is a kind of realize audio return
Method, this method comprises:
The identity of broadcast or multicast notice playback equipment and the open signal for sending the long-range output channel of audio;
After the long-range output channel of the audio is opened, decoded audio data is transferred to the audio and is remotely exported
Channel;
The audio data is transferred to by the audio long-range output channel and establishes connection with the playback equipment
Client.
The program can also be realized when being executed by processor is applied to the one of client as provided by the embodiment of the present invention
The method that kind realizes audio return, this method comprises:
It sends the enabling signal of remote audio data receiver and is attached with server-side, the enabling signal is for controlling
The client is switched to the state for the audio data that the server-side to be received is sent from current state;
Receive the audio data of the server-side remote transmission;
The audio data received is played out by the audio frequency output channel of the client.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon
The method operation being not limited to the described above, can also be performed the method provided by any embodiment of the invention for realizing audio return
In relevant operation.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of method for realizing audio return is applied to server-side characterized by comprising
The identity of broadcast or multicast notice playback equipment and the open signal for sending the long-range output channel of audio;
After the long-range output channel of the audio is opened, decoded audio data is transferred to the audio and remotely exported and is led to
Road;
The audio data is transferred to the client that connection is established with the playback equipment by the long-range output channel of the audio
End.
2. the method according to claim 1, wherein in the identity mark of broadcast or multicast notice playback equipment
Before the open signal for knowing and sending the long-range output channel of audio, further includes:
It closes the current audio frequency output channel of the playback equipment and selects the long-range output channel of audio;
Described be transferred to the audio data by the long-range output channel of the audio establishes connection with the playback equipment
Client, comprising:
The audio data is received by the long-range output channel of the audio;
The audio data is given into the client that the playback equipment establishes connection by network transmission.
3. the method according to claim 1, wherein further include:
Receive the synchronized timestamp for the prefixed time interval that the client for establishing connection with the playback equipment is sent, the synchronization
Timestamp is for synchronizing the video data of the audio data and the playback equipment.
4. the method according to claim 1, wherein the described and playback equipment establishes the client of connection
Quantity is one or multiple, and the identity of the playback equipment includes the information such as address, port or title.
5. a kind of method for realizing audio return is applied to client characterized by comprising
It sends the enabling signal of remote audio data receiver and is attached with server-side, the enabling signal is described for controlling
Client is switched to the state for the audio data that the server-side to be received is sent from current state;
Receive the audio data of the server-side remote transmission;
The audio data received is played out by the audio frequency output channel of the client.
6. according to the method described in claim 5, it is characterized by further comprising:
After establishing connection with the server-side, sent in prefixed time interval corresponding with the currently playing audio data
Synchronized timestamp.
7. a kind of device for realizing audio return is applied to server-side characterized by comprising
Signal transmitting module notifies the identity of playback equipment for broadcast or multicast and sends the long-range output channel of audio
Open signal;
First audio data transmission module is used for after the long-range output channel of the audio is opened, by decoded audio data
It is transferred to the long-range output channel of the audio;
Second audio data transmission module, for being transferred to the audio data and institute by the long-range output channel of the audio
State the client that playback equipment establishes connection.
8. a kind of device for realizing audio return is applied to client characterized by comprising
Link block is established, it is described to open for sending the enabling signal of remote audio data receiver and being attached with server-side
Dynamic signal is used to control the state that the client is switched to the audio data that the server-side to be received is sent from current state;
Audio data receipt module, for receiving the audio data of the server-side remote transmission;
Audio data playing module, for by the audio data received by the audio frequency output channel of the client into
Row plays.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as the method as claimed in any one of claims 1 to 6 for realizing audio return.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
It is realized when execution such as the method as claimed in any one of claims 1 to 6 for realizing audio return.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910212487.2A CN109818979A (en) | 2019-03-20 | 2019-03-20 | A kind of method, apparatus that realizing audio return, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910212487.2A CN109818979A (en) | 2019-03-20 | 2019-03-20 | A kind of method, apparatus that realizing audio return, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109818979A true CN109818979A (en) | 2019-05-28 |
Family
ID=66609590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910212487.2A Pending CN109818979A (en) | 2019-03-20 | 2019-03-20 | A kind of method, apparatus that realizing audio return, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109818979A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174971A (en) * | 2022-06-06 | 2022-10-11 | 青岛信芯微电子科技股份有限公司 | Audio return method, chip system and display device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009289400A (en) * | 2003-10-10 | 2009-12-10 | Sharp Corp | Reproducing apparatus, method for reproducing video data, content recording medium, control program, and computer-readable recording medium storing control program |
CN102148842A (en) * | 2010-02-08 | 2011-08-10 | 联想(北京)有限公司 | Audio processing method and equipment for remote desktop protocol |
CN103197616A (en) * | 2013-01-09 | 2013-07-10 | 北京卓越信通电子股份有限公司 | Player terminal applied to audio remote access and play system |
CN103905876A (en) * | 2014-03-13 | 2014-07-02 | 北京奇艺世纪科技有限公司 | Video data and audio data synchronized playing method and device and equipment |
CN104602111A (en) * | 2015-03-02 | 2015-05-06 | 浪潮软件集团有限公司 | A method for playing audio from a digital TV set-top box using a mobile phone |
CN105704556A (en) * | 2016-04-13 | 2016-06-22 | 福建新大陆通信科技股份有限公司 | Method for solely enjoying program audio of set top box |
-
2019
- 2019-03-20 CN CN201910212487.2A patent/CN109818979A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009289400A (en) * | 2003-10-10 | 2009-12-10 | Sharp Corp | Reproducing apparatus, method for reproducing video data, content recording medium, control program, and computer-readable recording medium storing control program |
CN102148842A (en) * | 2010-02-08 | 2011-08-10 | 联想(北京)有限公司 | Audio processing method and equipment for remote desktop protocol |
CN103197616A (en) * | 2013-01-09 | 2013-07-10 | 北京卓越信通电子股份有限公司 | Player terminal applied to audio remote access and play system |
CN103905876A (en) * | 2014-03-13 | 2014-07-02 | 北京奇艺世纪科技有限公司 | Video data and audio data synchronized playing method and device and equipment |
CN104602111A (en) * | 2015-03-02 | 2015-05-06 | 浪潮软件集团有限公司 | A method for playing audio from a digital TV set-top box using a mobile phone |
CN105704556A (en) * | 2016-04-13 | 2016-06-22 | 福建新大陆通信科技股份有限公司 | Method for solely enjoying program audio of set top box |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174971A (en) * | 2022-06-06 | 2022-10-11 | 青岛信芯微电子科技股份有限公司 | Audio return method, chip system and display device |
CN115174971B (en) * | 2022-06-06 | 2023-08-11 | 青岛信芯微电子科技股份有限公司 | Audio return method, chip system and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10129729B2 (en) | Smartphone Bluetooth headset receiver | |
US8407749B2 (en) | Communication system and method | |
JP3905509B2 (en) | Apparatus and method for processing audio signal during voice call in mobile terminal for receiving digital multimedia broadcast | |
US8473994B2 (en) | Communication system and method | |
CN104584567A (en) | Audio forwarding device and corresponding method. | |
KR20090003809A (en) | Method and apparatus for reproducing broadcast information using a plurality of networks | |
KR20110020619A (en) | Playback Synchronization Method and Devices Applied to It | |
CN105916002A (en) | Player multi-window displaying system and method of realizing hard and soft decoding switching | |
CN113077799A (en) | Decoder arrangement with two audio links | |
CN119496945A (en) | Display device and audio broadcasting method | |
US20240329975A1 (en) | Consumer device firmware updating via hdmi | |
CN109818979A (en) | A kind of method, apparatus that realizing audio return, equipment and storage medium | |
WO2024198815A1 (en) | Display device and device control method | |
JP2005269607A (en) | Instant interactive audio/video management system | |
CN115361629A (en) | Method and device for audio configuration | |
CN115278926A (en) | Display device and CIS audio transmission method | |
WO2023079682A1 (en) | Display device, display device coordination system, and audio reproduction method | |
CN114501401A (en) | Audio transmission method and device, electronic equipment and readable storage medium | |
US20250088704A1 (en) | Display apparatus and data processing method | |
CN112954528B (en) | Method for transmitting audio data | |
CN106714042B (en) | Listening equipment realizes that track switches the method and apparatus listened to by terminal device | |
US11533523B2 (en) | Interconnected system for high-quality wireless transmission of audio and video between electronic consumer devices | |
CN102098382A (en) | Mobile phone for receiving wired television signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |