CN108735240A - sound playing method, device, storage medium and terminal - Google Patents

sound playing method, device, storage medium and terminal Download PDF

Info

Publication number
CN108735240A
CN108735240A CN201810486775.2A CN201810486775A CN108735240A CN 108735240 A CN108735240 A CN 108735240A CN 201810486775 A CN201810486775 A CN 201810486775A CN 108735240 A CN108735240 A CN 108735240A
Authority
CN
China
Prior art keywords
audio
audiogenic device
audio stream
audiogenic
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810486775.2A
Other languages
Chinese (zh)
Other versions
CN108735240B (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.)
Guangzhou Huya Information Technology Co Ltd
Original Assignee
Guangzhou Huya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huya Information Technology Co Ltd filed Critical Guangzhou Huya Information Technology Co Ltd
Priority to CN201810486775.2A priority Critical patent/CN108735240B/en
Publication of CN108735240A publication Critical patent/CN108735240A/en
Application granted granted Critical
Publication of CN108735240B publication Critical patent/CN108735240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/027Remotely controlled
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of sound playing method, device, storage medium and terminals;The sound playing method includes:Audiogenic device of the detection in same WLAN;The request for whether supporting audio remote playing is sent to the audiogenic device;If receiving the confirmation message of the support audio remote playing of the audiogenic device feedback, the request of audio remote playing is sent to the audiogenic device;The audio stream that the audiogenic device is sent is received, the audio stream is played.The present invention can audiogenic device can not active control remote playing device plays audio when, so that user is heard sound;But also unrelated remote terminal reception is can avoid to audio stream, improve the safety of audio stream.

Description

Sound playing method, device, storage medium and terminal
Technical field
The present invention relates to the information processing technology, especially a kind of sound playing method, device, storage medium and terminal.
Background technology
In the prior art, the external speaker of equipment is generally realized by wired connection, for example, desktop computer external speaker; In some circumstances, also have using Baffle Box of Bluetooth, wifi wireless sound boxes, FM wireless sound boxes etc.;But the wireless transmission of Baffle Box of Bluetooth Distance is limited, can only play the audio closer apart from audiogenic device, audiogenic device should also have Bluetooth function;FM wireless sound boxes need Sound source signal is received by FM fremodynes, therefore audiogenic device need to have the function of sending FM signals;Existing wifi without Line speaker generally passively receives the signal of audiogenic device or server, and audiogenic device or server is needed to have corresponding control Function could be realized.
Under the usage scenario of part, due to active control function of the audiogenic device without active control function or audiogenic device Weaker or user can not input control instruction when, then be difficult to realize the remote playing of audio.Such as:When user uses intelligence electricity When watching video depending on box connection display, due to display and the smart television box power amplifier function without audio, therefore user The image information of video is can only obtain, and can not hear sound;In another example:When the resources of movie & TV is televised in user's use, by Other users in Same Scene may be influenced in the audio external play function of TV, and connects wired earphone and plays out, and meeting Because causing visual experience bad apart from reason.
Invention content
The purpose of the present invention aims to solve at least one of above-mentioned technological deficiency, can not actively be controlled especially for audiogenic device Caused audio playback problem when remote playing equipment processed.
The present invention provides a kind of sound playing methods, including:
Audiogenic device of the detection in same WLAN;
The request for whether supporting audio remote playing is sent to the audiogenic device;
If receiving the confirmation message of the support audio remote playing of the audiogenic device feedback, sent out to the audiogenic device Send the request of audio remote playing;
The audio stream that the audiogenic device is sent is received, the audio stream is played.
Preferably, the request that audio remote playing whether is supported to audiogenic device transmission, including:
If the quantity of the audiogenic device is two or more, the broadcasting record in this terminal preset duration is read, by broadcasting Reproduction time in record lines up list to described two above audiogenic devices from long to short, the first sequence in selective listing Audiogenic device;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:Judge be in scheduled duration The no audio stream for receiving the selected audiogenic device and sending plays if so, receiving the audio stream that the audiogenic device is sent Otherwise the audio stream judges whether the list has the audiogenic device of unselected mistake, if so, obtaining next sequence from list Audiogenic device, send whether support the request of audio remote playing to the audiogenic device of acquisition.
Preferably, the request that audio remote playing whether is supported to audiogenic device transmission, including:
If the quantity of the audiogenic device is two or more, the letter of this terminal and described two above audiogenic devices is obtained Number bonding strength, by signal bonding strength from lining up list to described two above audiogenic devices to weak by force, in selective listing The audiogenic device of first sequence;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:Judge be in scheduled duration The no audio stream for receiving the selected audiogenic device and sending plays if so, receiving the audio stream that the audiogenic device is sent Otherwise the audio stream judges whether the list has the audiogenic device of unselected mistake, if so, obtaining next sequence from list Audiogenic device, send whether support the request of audio remote playing to the audiogenic device of acquisition.
Preferably, the request that audio remote playing whether is supported to audiogenic device transmission, including:
If the quantity of the audiogenic device is two or more, the letter of this terminal and described two above audiogenic devices is obtained Number bonding strength filters out the audiogenic device that signal bonding strength is more than predetermined value from described two above audiogenic devices; The broadcasting record in this terminal preset duration is read, by the reproduction time played in recording from long to short to the sound filtered out Source device lines up list, the audiogenic device of the first sequence in selective listing;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:Judge be in scheduled duration The no audio stream for receiving the selected audiogenic device and sending plays if so, receiving the audio stream that the audiogenic device is sent Otherwise the audio stream judges whether the list has the audiogenic device of unselected mistake, if so, obtaining next sequence from list Audiogenic device, send whether support the request of audio remote playing to the audiogenic device of acquisition.
Preferably, before the request that audio remote playing is sent to the audiogenic device, further include:
The authentication information of this terminal is sent to the audiogenic device;
If receiving the information that is verified of the audiogenic device feedback, continuation is described to send audio to the audiogenic device The step of request of remote playing.
Preferably, the audio stream for receiving the audiogenic device and sending, plays the audio stream, including:
Receive the audio stream and time shaft that the audiogenic device is isolated from audio/video flow file, the time shaft and institute The video pictures stated in audio/video flow are corresponding;
According to the time shaft, the audio stream is played.
Preferably, before the request that audio remote playing whether is supported to audiogenic device transmission, further include:
Obtain the mark of the audiogenic device;
It is the audiogenic device that this terminal allows broadcasting according to audiogenic device described in the identity validation.
The present invention also proposes a kind of sound play device, including:
Detection module, for detecting the audiogenic device in same WLAN;
Confirmation module, for sending the request for whether supporting audio remote playing to the audiogenic device;
Request module, the confirmation message of the support audio remote playing for receiving audiogenic device feedback, to described Audiogenic device sends the request of audio remote playing;
Playing module, the audio stream sent for receiving the audiogenic device, plays the audio stream.
The present invention also proposes a kind of sound playing method, including:
Receive the request for whether supporting audio remote playing that the playback terminal in same WLAN is sent;
The confirmation message for supporting audio remote playing is fed back to the playback terminal;
Receive the request for the audio remote playing that the playback terminal is sent;
Audio stream is isolated from audio/video flow file, the audio stream is sent to the playback terminal.
Preferably, audio stream is isolated in the file from audio/video flow, the audio stream is sent to the playback terminal Before, further include:
Obtain the mark of the playback terminal;
There is the permission for playing the audio stream according to playback terminal described in the identity validation.
The present invention also proposes a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium The step of machine program, which realizes any one of aforementioned sound playing method when being executed by processor.
The present invention also proposes that a kind of terminal, the terminal include:
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 processing Device realizes the step of any one of aforementioned sound playing method.
Beneficial effects of the present invention are as follows:
1, the present invention can active detecting be located at the audiogenic device of same WLAN, and it is remote to audiogenic device transmission audio Journey play request, with audiogenic device can not active control remote playing device plays audio when, supported by audiogenic device The fuction output audio of remote playing flow to other remote playback terminals and plays, and can hear sound thereby using family;Moreover, comparing The audio stream of the audiogenic device broadcast is passively received in the remote playback terminal, the present invention passes through remote playback terminal master Audiogenic device described in trend sends the request of audio remote playing, can avoid unrelated remote playback terminal and receives the audio Stream, improves the safety of the audio stream.
2, when it is more than two to detect the audiogenic device in same WLAN, the present invention can be according to this terminal Broadcasting record in preset duration, determine the most commonly used audiogenic device of user, and using the audiogenic device as selecting at first Audiogenic device, improves the matching speed between remote playback terminal and multiple audiogenic devices, and it is common especially to shorten user Audiogenic device and remote playback terminal match time, the user experience is improved.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram of sound playing method first embodiment of the present invention;
Fig. 2 is the flow diagram of another embodiment of sound playing method of the present invention;
Fig. 3 is the flow diagram of another embodiment of sound playing method of the present invention;
Fig. 4 is the flow diagram of sound playing method second embodiment of the present invention;
Fig. 5 is the flow diagram of sound playing system embodiment of the present invention;
Fig. 6 is the embodiment schematic diagram of playback terminal of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that is used in the specification of the present invention arranges It refers to there are the feature, integer, step, operation, element and/or component, but it is not excluded that presence or addition to take leave " comprising " Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member When part is "connected" to another element, it can be directly connected or coupled to other elements, or there may also be intermediary elements. In addition, " connection " used herein may include being wirelessly connected or wirelessly coupling.Wording "and/or" used herein includes one Or more associated list items whole or any cell and all combine.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), there is meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless by specific definitions as here, the meaning of idealization or too formal otherwise will not be used To explain.
The present invention proposes a kind of sound playing method, implements for realizing the wireless remote playing function of source of sound, first Such as shown in Fig. 1, include the following steps:
Step S10:Audiogenic device of the detection in same WLAN;
Step S20:The request for whether supporting audio remote playing is sent to the audiogenic device;
Step S30:If the confirmation message of the support audio remote playing of the audiogenic device feedback is received, to the sound Source device sends the request of audio remote playing;
Step S40:The audio stream that the audiogenic device is sent is received, the audio stream is played.
Wherein, each step is specific as follows:
Step S10:Audiogenic device of the detection in same WLAN.
The method for detecting same WLAN audiogenic device can be by sending the side of multicast or broadcast to WLAN Formula is realized.The WLAN can be the wireless network with encryption information, also can be the wireless network without encryption information. The audiogenic device can be that the data transmission of the accessible WLANs such as smart television box, smart television, tablet device is set Standby or video playback apparatus.The audiogenic device detected can be one, also can be multiple;When detecting multiple audiogenic devices When, it can be according to information such as the titles, the intensity of wireless signal, history linkage record of audiogenic device, to the multiple audiogenic device It is ranked up for selection by the user;Or automatic identification rule is pre-set, one of audiogenic device is identified as preferred sound Source device, other audiogenic devices are as candidate audiogenic device, when the audio in preferred audiogenic device can not play, then successively certainly Dynamic identified from candidate audiogenic device is suitably used as next preferred audiogenic device.
Step S20:The request for whether supporting audio remote playing is sent to the audiogenic device.
After detecting the audiogenic device in same WLAN, if the audiogenic device is the source of sound uniquely detected Equipment then sends the request for whether supporting audio remote playing to the audiogenic device;If there are multiple audiogenic devices, selected to user The audiogenic device selected sends the request for whether supporting audio remote playing, or to the head identified according to the automatic identification rule Select audiogenic device sends the request for whether supporting audio remote playing.
In another embodiment of the invention, described whether to support asking for audio remote playing to audiogenic device transmission Before asking, it may also include:
Obtain the mark of the audiogenic device;
It is the audiogenic device that this terminal allows broadcasting according to audiogenic device described in the identity validation.
The present embodiment allows the audiogenic device played for this terminal in the confirmation audiogenic device and then is set to the source of sound Preparation send the request for whether supporting audio remote playing, this terminal can be prevented to be connected to other unrelated equipments or accidentally play other set Standby audio file.
It can be audio source file to need the audio of remote playing, also can be audio-video document, or from audio-video document In the audio file isolated.May include this terminal branch in the request for whether supporting audio remote playing described in transmission All audio formats held, such as WAVE, MPEG, MP3, APE, MIDI, RealAudio etc.;If the audiogenic device supports sound The function of frequency remote playing, but the audio format in the audiogenic device does not meet the format of this terminal support, the then source of sound Equipment can return to the message for not supporting broadcast format;It is described if the audiogenic device does not support the function of audio remote playing Audiogenic device can return to the message for not supporting remote playing.Certainly, in the request for whether supporting audio remote playing, also All audio formats that may not include the support of this terminal, further judge the audio in the audiogenic device in subsequent step Whether format meets the format of this terminal support;If not meeting, the message for not supporting broadcast format is returned to, or return from network In the broadcast mode that is matched to or play suggest.
Step S30:If the confirmation message of the support audio remote playing of the audiogenic device feedback is received, to the sound Source device sends the request of audio remote playing.
When audiogenic device confirmation can support audio remote playing, then continue the request for sending audio remote playing, To obtain audio to be played.If receiving the confirmation message of the support audio remote playing of the audiogenic device feedback, but institute State the audio format in audiogenic device do not meet this terminal support format, can return do not support the message of broadcast format when, Broadcast strategy is pushed to user, the broadcast strategy includes the current audio playing software of upgrading, downloads and the audiogenic device In the decoding file etc. that matches of audio.If user selects to continue to send asking for audio remote playing to the audiogenic device It asks, then when sending the request of the audio remote playing, can also send out the corresponding request or search for obtaining software upgrade package Corresponding audio decoder file etc..
In another embodiment of the invention, before the request that audio remote playing is sent to the audiogenic device, It may also include:
The authentication information of this terminal is sent to the audiogenic device;
If receiving the information that is verified of the audiogenic device feedback, continuation is described to send audio to the audiogenic device The step of request of remote playing.
The present embodiment can be improved the audiogenic device and this terminal or other audios be long-range by the authentication information The safety of the information interaction of playback terminal ensures the safety of data in the audiogenic device.The authentication information can It sends with together with the request for whether supporting audio remote playing in step S20, also can individually be sent out before or after step S20 When sending, such as detecting the audiogenic device in same WLAN in step slo, if detect the audiogenic device, and When being connected to the audiogenic device, then corresponding authentication information is inputted in this terminal notifying, to be sent out to the audiogenic device Give the authentication information of this terminal;If receive the support audio remote playing of audiogenic device feedback confirmation message and The audiogenic device feedback is verified information, then continues the request that audio remote playing is sent to the audiogenic device The step of.
Step S40:The audio stream that the audiogenic device is sent is received, the audio stream is played.
The audiogenic device sends audio stream according to the request in step S30, to this terminal;This terminal receives the sound After frequency flows, it can carry out being buffered accordingly with after decoding, the audio stream is played according to user instruction.Described terminal can be intelligence Energy speaker, smart mobile phone, intelligent earphone etc. carry the smart machine of audio playing function.
The embodiment of the present invention can active detecting be located at the audiogenic device of same WLAN, and sent to audiogenic device The request of audio remote playing, with audiogenic device can not active control remote playing device plays audio when, set by source of sound The standby remote playing fuction output audio supported flow to other remote playback terminals and plays.Moreover, compared to the remote playing Terminal passively receives the audio stream of the audiogenic device broadcast, and the present invention is actively set to the source of sound by remote playback terminal Preparation send the request of audio remote playing, can avoid unrelated remote playback terminal and receives the audio stream, improves described The safety of audio stream.
In another embodiment of the invention, described to play the audio stream, it may also include:
The current level of sound volume of the audiogenic device and audio are obtained, the sound is played using the level of sound volume and audio Frequency flows.
When the audiogenic device carries loud speaker, then institute is played with audio using the current level of sound volume of the loud speaker Audio stream is stated, so that the audio frequency effect broadcasted more meets the demand of user.For example, when the audiogenic device is TV, this terminal For intelligent earphone when, can broadcast audio by the intelligent earphone, and the intelligent earphone level of sound volume and the audio that broadcast with The level of sound volume of the TV is identical as audio.
In another embodiment of the invention, after the broadcasting audio stream, further include:
The instruction for closing audiogenic device loud speaker is sent to the audiogenic device.
The audio that the present embodiment can reach switching sound source equipment by closing the instruction of the audiogenic device loud speaker plays The purpose of device, such as the loud speaker broadcasting of the audiogenic device is switched to, smart mobile phone is played or passed through by intelligent earphone It plays, influences other users in Same Scene to avoid the loud speaker of the audiogenic device.
In another embodiment of the present invention, the audio stream for receiving the audiogenic device and sending plays the audio Stream, including:
Receive the audio stream that the audiogenic device is sent;
The broadcasting control instruction for receiving the input of this terminal plays the audio stream according to the broadcasting control instruction;It is described It includes volume control instruction and/or sound effect control instruction to play control instruction.
In the present embodiment, after this terminal gets the audio stream, user can be according to individual demand, by this end End input plays control instruction, so that the audio broadcasted more meets the demand of user;For example, adjustment volume, enhancing bass Effect etc..When multiple terminals are connected to same audiogenic device, the result of broadcast of this each terminal can be individually controlled, with simultaneously Meet different user demands.
Certainly, the broadcasting control instruction may also include the control instructions such as pause, F.F., so that the broadcasting pause of audio stream Or F.F. preset time.Such as when audiogenic device is TV, this terminal is intelligent earphone, the video played on the TV is drawn When face is asynchronous with the audio stream played in current intelligent earphone, the video pictures and the sound can be made by pause or F.F. Frequency stream keeps synchronizing.
The present invention may also include after the broadcasting audio stream:
Confirm that this terminal plays terminates, ending request is sent to the audiogenic device.
When this terminal plays terminates, ending request can be sent to the audiogenic device, to disconnect this terminal and the source of sound Audio steaming transfer between equipment saves Internet resources and electric quantity consumption.
Based on first embodiment, the present invention proposes another embodiment, as shown in Figure 2:It is described to be sent to the audiogenic device Whether the request of audio remote playing, including step S21 and step S22 are supported:
Step S21:If the quantity of the audiogenic device is two or more, the broadcasting note in this terminal preset duration is read Record lines up list, in selective listing to described two above audiogenic devices from long to short by the reproduction time played in recording The audiogenic device of first sequence;
Step S22:The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including step S41:
Step S41:Judge the audio stream that the selected audiogenic device is sent whether is received in scheduled duration, if so, The audio stream that the audiogenic device is sent is received, the audio stream is played, otherwise, judges whether the list has the sound of unselected mistake Whether source device supports that audio is remote if so, obtaining the audiogenic device of next sequence from list to the transmission of the audiogenic device of acquisition The request that journey plays.
Corresponding, the step S30 then becomes step S31:If receiving the support of the selected audiogenic device feedback The confirmation message of audio remote playing sends the request of audio remote playing to the selected audiogenic device.
When this terminal detects the audiogenic device of same WLAN, multiple audiogenic devices are may detect that;Such as this Terminal is broadcasted by being sent to the WLAN at place, if receiving the response of more than two audiogenic devices, is needed to described More than two audiogenic devices are accepted or rejected or are sorted.The present embodiment is recorded by reading the broadcasting in this terminal preset duration, The longest audiogenic device of reproduction time in record will be played as preferred audiogenic device (the first sound to sort in the i.e. described list Source device), to send the request for whether supporting audio remote playing to the most common preferred audiogenic device of user;Described terminal Broadcasting record in preset duration can be broadcasting record of this terminal in nearest preset duration, so that user is matched to most as early as possible Nearly common audiogenic device.The present embodiment also continues to judge that the selected source of sound whether is received in the scheduled duration to be set The audio stream that preparation is sent obtains the audiogenic device of next sequence if not receiving from the list, and to the source of sound of acquisition Equipment sends the request for whether supporting audio remote playing, when so that there are data transmission problems in the first choice audiogenic device, and When switch to next audiogenic device.The present embodiment sends audio by the reproduction time length and audiogenic device of the audiogenic device The time of stream determines the audiogenic device for needing remote playing audio, improves the matching speed between this terminal and multiple audiogenic devices Degree, especially shortens the match time of user's common audiogenic device and this terminal, the user experience is improved.
Based on first embodiment, the present invention also proposes another embodiment:It is described whether to be supported to audiogenic device transmission The request of audio remote playing, including:
If the quantity of the audiogenic device is two or more, the letter of this terminal and described two above audiogenic devices is obtained Number bonding strength, by signal bonding strength from lining up list to described two above audiogenic devices to weak by force, in selective listing The audiogenic device of first sequence;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:Judge be in scheduled duration The no audio stream for receiving the selected audiogenic device and sending plays if so, receiving the audio stream that the audiogenic device is sent Otherwise the audio stream judges whether the list has the audiogenic device of unselected mistake, if so, obtaining next sequence from list Audiogenic device, send whether support the request of audio remote playing to the audiogenic device of acquisition.
The present embodiment is set by this terminal and the signal bonding strength of described two above audiogenic devices and the source of sound Preparation send the time of audio stream to determine the audiogenic device for needing remote playing audio, also between this terminal and multiple audiogenic devices Matching provide rational sequence, shorten match time.
Based on first embodiment, as shown in figure 3, the present invention also proposes another embodiment:It is described to be sent out to the audiogenic device Send the request for whether supporting audio remote playing, including step S23, step S24 and step S25:
Step S23:If the quantity of the audiogenic device is two or more, this terminal and described two above sources of sound are obtained The signal bonding strength of equipment filters out signal bonding strength more than predetermined value from described two above audiogenic devices Audiogenic device;
Step S24:The broadcasting record in this terminal preset duration is read, from long to short by the reproduction time played in record List is lined up to the audiogenic device filtered out, the audiogenic device of the first sequence in selective listing;
Step S25:The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including step S42:
Step S42:Judge the audio stream that the selected audiogenic device is sent whether is received in scheduled duration, if so, The audio stream that the audiogenic device is sent is received, the audio stream is played, otherwise, judges whether the list has the sound of unselected mistake Whether source device supports that audio is remote if so, obtaining the audiogenic device of next sequence from list to the transmission of the audiogenic device of acquisition The request that journey plays.
Corresponding, the step S30 then becomes step S31:If receiving the support of the selected audiogenic device feedback The confirmation message of audio remote playing sends the request of audio remote playing to the selected audiogenic device.
The audiogenic device that signal bonding strength is more than predetermined value by the present embodiment can quickly exclude signal as screening conditions The weaker external equipment of bonding strength, saves the match time between this terminal and multiple audiogenic devices;Simultaneously according to this terminal Broadcasting record in preset duration determines the clooating sequence of the list, further shortens this terminal coupling and arrives common source of sound The time of equipment, improve matching efficiency.
In another embodiment of the invention, the audio stream for receiving the audiogenic device and sending, plays the audio Stream, including:
Receive the audio stream and time shaft that the audiogenic device is isolated from audio/video flow file, the time shaft and institute The video pictures stated in audio/video flow are corresponding;
According to the time shaft, the audio stream is played.
The audio stream played in the present embodiment can be corresponding with the video pictures in the audio/video flow, so that user The video pictures of viewing are synchronous with audio holding.For example, when user watches audio and video using smart television box connection display When file, the smart television box can be used as the audiogenic device;This terminal can be an intelligent sound box, to receive the intelligence The audio stream and time shaft that energy TV box is sent;The display is as another receiving device, to receive the intelligence electricity The video flowing and time shaft sent depending on box;It, can when the audio stream and the video flowing are played all in accordance with the time shaft Keep the video flowing that user watches synchronous with the audio stream heard, audio-video document can be normally watched thereby using family.
In another implementation of the present invention, the audio/video flow file directly can be sent to this end by the audiogenic device End, so that this terminal plays the audio/video flow file as audio file;Therefore the present invention also proposes following examples:
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:
It receives the audio/video flow that the audiogenic device is sent and plays the audio using the audio/video flow as audio stream Stream.
When the audiogenic device is by audio/video flow described in this terminal plays, also the audio/video flow is sent to simultaneously When another display device plays, since this terminal is identical as the audio/video flow that the display device plays, therefore the display device The video pictures of broadcasting will be synchronous with the holding of the audio stream of this terminal plays, and user also can normally watch audio-video document.
In upper one implements, further to keep the video pictures synchronous with the audio stream broadcasting, the sound regards Frequency stream can also carry timestamp, when broadcasting, always by the audio/video flow timestamp of this terminal and the timestamp of the display device Alignment, it is asynchronous with the broadcasting of audio stream to avoid video pictures caused by because of the network delay the problems such as.
The present invention also proposes a kind of sound play device, including:
Detection module, for detecting the audiogenic device in same WLAN;
Confirmation module, for sending the request for whether supporting audio remote playing to the audiogenic device;
Request module, the confirmation message of the support audio remote playing for receiving audiogenic device feedback, to described Audiogenic device sends the request of audio remote playing;
Playing module, the audio stream sent for receiving the audiogenic device, plays the audio stream.
Can include multiple sound play devices of the present invention simultaneously, each in the application scenarios of the present invention Sound play device may also include audio adjustment module, and the multiple sound play device is receiving the audiogenic device transmission Audio stream after, play the audio stream respectively, and can individually adjust each sound by the audio adjustment module and play dress The level of sound volume and audio for setting output broadcast personalized audio to realize on each sound play device.
Based on the embodiment of a upper sound play device, the present invention also proposes the embodiment of another sound play device, institute It further includes the first sorting sub-module to state confirmation module, and the playing module further includes the first broadcasting submodule;
First sorting sub-module is used to confirm that the quantity of the audiogenic device to be two or more, and it is default to read this terminal Broadcasting record in duration, it is arranged in columns to described two above audiogenic devices from long to short by the reproduction time played in record Table, the audiogenic device of the first sequence in selective listing;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The first broadcasting submodule is for judging that whether receiving the selected audiogenic device in scheduled duration sends Audio stream play the audio stream if so, receiving the audio stream that the audiogenic device is sent, otherwise, judge that the list is The no audiogenic device for having unselected mistake is sent if so, obtaining the audiogenic device of next sequence from list to the audiogenic device of acquisition Whether the request of audio remote playing is supported.
The present invention also proposes that the embodiment of another sound play device, the confirmation module further include the second sequence submodule Block, the playing module further include the second broadcasting submodule;
Second sorting sub-module is used to confirm that the quantity of the audiogenic device to be two or more, obtains this terminal and institute The signal bonding strength for stating more than two audiogenic devices, by signal bonding strength from by force to weak to described two above sources of sound Equipment lines up list, the audiogenic device of the first sequence in selective listing;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The second broadcasting submodule is for judging that whether receiving the selected audiogenic device in scheduled duration sends Audio stream play the audio stream if so, receiving the audio stream that the audiogenic device is sent, otherwise, judge that the list is The no audiogenic device for having unselected mistake is sent if so, obtaining the audiogenic device of next sequence from list to the audiogenic device of acquisition Whether the request of audio remote playing is supported.
The present invention also proposes that the embodiment of another sound play device, the confirmation module further include third sequence submodule Block, the playing module further include that third plays submodule;
The third sorting sub-module is used to confirm that the quantity of the audiogenic device to be two or more, obtains this terminal and institute The signal bonding strength for stating more than two audiogenic devices filters out signal connection from described two above audiogenic devices Intensity is more than the audiogenic device of predetermined value;The broadcasting record in this terminal preset duration is read, when by playing the broadcasting in record Between list is lined up to the audiogenic device filtered out from long to short, in selective listing first sequence audiogenic device;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The third plays submodule for judging that whether receiving the selected audiogenic device in scheduled duration sends Audio stream play the audio stream if so, receiving the audio stream that the audiogenic device is sent, otherwise, judge that the list is The no audiogenic device for having unselected mistake is sent if so, obtaining the audiogenic device of next sequence from list to the audiogenic device of acquisition Whether the request of audio remote playing is supported.
The present invention also proposes that the embodiment of another sound play device, the playing module further include the 4th broadcasting submodule Block, the 4th broadcasting submodule is for receiving the audio stream and time that the audiogenic device is isolated from audio/video flow file Axis, the time shaft are corresponding with the video pictures in the audio/video flow;
According to the time shaft, the audio stream is played.
Based on the above various embodiments, the present invention also proposes that a kind of playback terminal, the playback terminal include:
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 processing Device realizes the step of any one of aforementioned sound playing method.
According to the exemplary illustration above with respect to the method performed by playback terminal, Fig. 4 is combined to summarize this further below The realization of the execution method of the audiogenic device of invention.
As previously mentioned, audiogenic device is equipped with to coordinate playback terminal to realize the remote playing of audio stream, therefore, The sound playing method at audiogenic device end of the present invention, as shown in figure 4, including the following steps:
Step S01:Whether what playback terminal of the reception in same WLAN was sent supports audio remote playing Request;
Step S02:The confirmation message for supporting audio remote playing is fed back to the playback terminal;
Step S03:Receive the request for the audio remote playing that the playback terminal is sent;
Step S04:Audio stream is isolated from audio/video flow file, the audio stream is sent to the playback terminal.
In the present embodiment, the terminal for executing this method can be the audiogenic devices such as smart television box, TV.When this end After end receives the request for whether supporting audio remote playing that playback terminal is sent, is fed back to the playback terminal and support audio remote The confirmation message that journey plays;Further according to the request for the audio remote playing that the playback terminal is sent, from audio/video flow file Audio stream and video flowing are isolated, the audio stream is sent to the playback terminal, so that the playback terminal remote playing institute Audio stream is stated, and video flowing then stays in this terminal and plays out.It realizes in equipment different at same WLAN or WiFi, display The video flowing and audio stream plays of live streaming.Taking a smart TV as an example, the live streaming audio/video flow that smart television will be pulled from network Audio stream and video flowing are isolated in file, video flowing is played by TV itself display, and audio stream is by the playback terminal It plays.The terminal of the present embodiment has reached the request according to the playback terminal, audio stream is sent to the playback terminal, to reach To the purpose of remote playing audio stream.
In another embodiment of audiogenic device of the present invention, the playback terminal can be detected by broadcast in same nothing Whether this terminal as audiogenic device of line LAN, the playback terminal support audio remote playing to the transmission of this terminal Request;Whether this terminal supports the request of audio remote playing described in receiving, and is fed back to the playback terminal and support audio remote The confirmation message that journey plays;After the playback terminal receives the confirmation message, audio remote playing is sent to this terminal Request;This terminal receives the request of the audio remote playing, then isolates audio stream from audio/video flow file, to institute It states playback terminal and sends the audio stream;The playback terminal receives the audio stream that the audiogenic device is sent, and plays the sound Frequency flows.Playback terminal and this terminal in the present embodiment realize the audio stream of this terminal passing through broadcasting by information exchange The purpose that terminal remote plays.
When this terminal as audiogenic device is detected by multiple intelligent terminals, wherein may include broadcasting with audio The playback terminal of playing function also may include the intelligent terminal for being unable to audio stream plays, or not have the power for receiving the audio stream The intelligent terminal of limit;Therefore the present invention also proposes following examples:
Audio stream is isolated in the file from audio/video flow, before sending the audio stream to the playback terminal, also Including:
Obtain the mark of the playback terminal;
There is the permission for playing the audio stream according to playback terminal described in the identity validation.
In the present embodiment, if the equipment confirmed representated by least two marks has play right, and it is wherein each Mark respectively represents an intelligent terminal, then can be by all corresponding intelligent terminals of mark for having and playing the audio stream permission It is shown respectively, for selection by the user as the intelligent terminal of playback terminal, or is determined successively by preset automatic screening rule Eventually as the intelligent terminal of playback terminal;If at least two mark only including one has the broadcasting audio stream power The mark of limit, then can only show the corresponding intelligent terminal of the mark, or by other marks for not having and playing the audio stream permission Know by other colors or in the form of show, achieve the effect that prompt user;If without with the broadcasting sound in all marks obtained Frequency flows the intelligent terminal of permission, then the playback terminal that can play the audio stream does not establish company with this terminal as audiogenic device It connects, or there are other information interaction is abnormal.The present embodiment can confirm playback terminal before the data for sending the audio stream Permission avoids carrying out invalid data transmission, has not only ensured the safety of data transmission, but also saved Internet resources, reduces Performance loss to intelligent terminal and audiogenic device.
According to the sound playing method embodiment of the above audiogenic device, the present invention also proposes another source of sound playing device Embodiment, including:
Judgment module, for receive be in same WLAN playback terminal send whether support audio is remotely broadcast The request put;
Feedback module:For feeding back the confirmation message for supporting audio remote playing to the playback terminal;
Receiving module, the request for receiving the audio remote playing that the playback terminal is sent;
Sending module sends the audio for isolating audio stream from audio/video flow file to the playback terminal Stream.
Based on the embodiment of upper source of sound playing device, the present invention also proposes the embodiment of another source of sound playing device, institute Stating source of sound playing device further includes:
Permission confirmation module, the mark for obtaining the playback terminal, according to playback terminal described in the identity validation With the permission for playing the audio stream.
The present invention also proposes that a kind of embodiment of sound playing system, the sound playing system include the following steps:
Audiogenic device of the playback terminal detection in same WLAN;
Playback terminal sends the request for whether supporting audio remote playing to the audiogenic device;
Whether what playback terminal of the audiogenic device reception in same WLAN was sent supports audio remote playing Request;
Audiogenic device feeds back the confirmation message for supporting audio remote playing to the playback terminal;
If playback terminal receives the confirmation message of the support audio remote playing of the audiogenic device feedback, to the sound Source device sends the request of audio remote playing;
Audiogenic device receives the request for the audio remote playing that the playback terminal is sent;
Audiogenic device isolates audio stream from audio/video flow file, and the audio stream is sent to the playback terminal;
Playback terminal receives the audio stream that the audiogenic device is sent, and plays the audio stream.
The present invention also proposes the embodiment of another sound playing system, the sound playing system include playback terminal, Audiogenic device and routing device;The routing device transmits the playback terminal and audiogenic device for establishing WLAN Interaction data.Its detailed process can be as shown in Figure 5:
1, user can be used A clients (such as TV) that audiogenic device, audiogenic device is used as to have audio/video flow data, can Outputting video streams and audio stream respectively;
2, B clients (such as earphone) can be playback terminal, the broadcast or multicast in the LAN that routing device is established, with It was found that A clients;
3, whether B clients support audio remote playing by local network transport agreement, inquiry A clients;
If 4, A clients are supported, notify that B client audio remote playings are available, B clients are initiated audio and remotely broadcast Put request;
5, after A clients receive the audio remote play request, decoded audio stream is passed through into local network transport to B Client;
6, it after B clients obtain audio stream, can be played by loud speaker;
7, B client terminal playings terminate, and A clients, flow is notified to terminate.
The present embodiment can solve A clients when lacking audio output apparatus, and user can not hear asking for audio-frequency information Topic;Moreover, when having multiple B clients in the LAN, the users of each B clients can individually adjust audio and Volume can solve different user and play demand different problems to sound.
The present invention also proposes a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium The step of machine program, which realizes any one of aforementioned sound playing method when being executed by processor.
The present invention also proposes that a kind of terminal, the terminal include:
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 processing Device realizes the step of any one of aforementioned sound playing method.
The terminal may include playback terminal, such as intelligent sound box, for realizing the method for audio stream plays;The terminal It may also include the relay device of audiogenic device or audiogenic device, such as Intelligent set top box or smart television, for realizing to broadcasting The method that terminal sends audio stream.
As shown in fig. 6, for convenience of description, illustrating only and the relevant part of the embodiment of the present invention, particular technique details It does not disclose, please refers to present invention method part.The playback terminal can be include intelligent sound box, mobile phone, tablet electricity The arbitrary playback equipment such as brain, vehicle-mounted computer, by taking playback terminal is mobile phone as an example:
Fig. 6 shows the block diagram with the part-structure of the relevant mobile phone of terminal provided in an embodiment of the present invention.Reference chart 6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, Wi-Fi) module 1570, processor The components such as 1580 and power supply 1590.It will be understood by those skilled in the art that handset structure shown in Fig. 6 is not constituted pair The restriction of mobile phone may include either combining certain components or different component cloth than illustrating more or fewer components It sets.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 1510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1580;In addition, the data for designing uplink are sent to base station.In general, RF circuits 1510 include but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1510 can also be logical with network and other equipment by radio communication Letter.Above-mentioned wireless communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storing software program and module, and processor 1580 is stored in memory by operation 1520 software program and module, to execute various function application and the data processing of mobile phone.Memory 1520 can be led To include storing program area and storage data field, wherein storing program area can storage program area, needed at least one function Application program (such as play-back application etc. of audio stream) etc.;Storage data field can be stored to be created according to using for mobile phone Data (such as the audio stream etc. received) etc..In addition, memory 1520 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Input unit 1530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1530 may include touch panel 1531 and other inputs Equipment 1532.Touch panel 1531, also referred to as touch screen collect user on it or neighbouring touch operation (such as user Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1531 or near touch panel 1531 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1580, and order that processor 1580 is sent can be received and executed.In addition, The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 1531.In addition to touch surface Plate 1531, input unit 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more.
Display unit 1540 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1540 may include display panel 1541, optionally, liquid crystal display (Liquid may be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1541.Further, touch panel 1531 can cover display panel 1541, when touch panel 1531 detects To processor 1580 on it or after neighbouring touch operation, is sent to determine the type of touch event, it is followed by subsequent processing device 1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in figure 6, touch panel 1531 be to realize input and the input function of mobile phone as two independent components with display panel 1541, but in certain realities Apply in example, can be integrated by touch panel 1531 and display panel 1541 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1541, proximity sensor can close display panel when mobile phone is moved in one's ear 1541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1560, loud speaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio The transformed electric signal of the audio stream received can be transferred to loud speaker 1561, is converted to by loud speaker 1561 by circuit 1560 Vocal print signal exports;On the other hand, the vocal print signal of collection is converted to electric signal by microphone 1562, is connect by voicefrequency circuit 1560 Be converted to audio stream after receipts, then by after the processing of audio stream output processor 1580, it is such as another to be sent to through RF circuits 1510 Mobile phone, or audio data is exported to memory 1520 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user to receive and dispatch broadcast by Wi-Fi module 1570 Information, transmitting-receiving audio stream data and search audio decoder file etc., it has provided wireless broadband internet to the user and has accessed.
Processor 1580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1520, and calls and be stored in memory 1520 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1580.
Mobile phone further includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
It should be understood that although each step in the flow chart of attached drawing is shown successively according to the instruction of arrow, These steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that either these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence is also not necessarily to be carried out successively, but can be with other Either the sub-step of other steps or at least part in stage execute step in turn or alternately.
In addition, each module in each embodiment of the present invention can be integrated in a processing module, can also be each A unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated module was both The form that hardware may be used is realized, can also be realized in the form of software function module.If the integrated module with The form of software function module realizes and when sold or used as an independent product, can also be stored in one it is computer-readable It takes in storage medium.
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of sound playing method, which is characterized in that including:
Audiogenic device of the detection in same WLAN;
The request for whether supporting audio remote playing is sent to the audiogenic device;
If receiving the confirmation message of the support audio remote playing of the audiogenic device feedback, sound is sent to the audiogenic device The request of frequency remote playing;
The audio stream that the audiogenic device is sent is received, the audio stream is played.
2. playback method according to claim 1, which is characterized in that described whether to support sound to audiogenic device transmission The request of frequency remote playing, including:
If the quantity of the audiogenic device is two or more, the broadcasting record in this terminal preset duration is read, by broadcasting record In reproduction time list is lined up to described two above audiogenic devices from long to short, in selective listing first sequence source of sound Equipment;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:
Judge the audio stream that the selected audiogenic device is sent whether is received in scheduled duration, if so, receiving the source of sound The audio stream that equipment is sent, plays the audio stream, otherwise, judges whether the list has the audiogenic device of unselected mistake, if so, Whether the audiogenic device that next sequence is obtained from list supports asking for audio remote playing to the transmission of the audiogenic device of acquisition It asks.
3. playback method according to claim 1, which is characterized in that described whether to support sound to audiogenic device transmission The request of frequency remote playing, including:
If the quantity of the audiogenic device is two or more, obtains this terminal and the signal of described two above audiogenic devices connects Intensity is connect, by signal bonding strength from lining up list to described two above audiogenic devices to weak by force, first in selective listing The audiogenic device of sequence;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:
Judge the audio stream that the selected audiogenic device is sent whether is received in scheduled duration, if so, receiving the source of sound The audio stream that equipment is sent, plays the audio stream, otherwise, judges whether the list has the audiogenic device of unselected mistake, if so, Whether the audiogenic device that next sequence is obtained from list supports asking for audio remote playing to the transmission of the audiogenic device of acquisition It asks.
4. playback method according to claim 1, which is characterized in that described whether to support sound to audiogenic device transmission The request of frequency remote playing, including:
If the quantity of the audiogenic device is two or more, obtains this terminal and the signal of described two above audiogenic devices connects Intensity is connect, from described two above audiogenic devices, filters out the audiogenic device that signal bonding strength is more than predetermined value;It reads Broadcasting record in this terminal preset duration, from long to short sets the source of sound filtered out by the reproduction time played in recording It is standby to line up list, the audiogenic device of the first sequence in selective listing;
The request for whether supporting audio remote playing is sent to the selected audiogenic device;
The audio stream for receiving the audiogenic device and sending, plays the audio stream, including:Judge whether connect in scheduled duration The audio stream that the selected audiogenic device is sent is received, if so, the audio stream that the audiogenic device is sent is received, described in broadcasting Otherwise audio stream judges whether the list has the audiogenic device of unselected mistake, if so, obtaining the sound of next sequence from list Source device sends the request for whether supporting audio remote playing to the audiogenic device of acquisition.
5. playback method according to claim 1, which is characterized in that the audio for receiving the audiogenic device and sending Stream, plays the audio stream, including:
Receive the audio stream and time shaft that the audiogenic device is isolated from audio/video flow file, the time shaft and the sound Video pictures in video flowing are corresponding;
According to the time shaft, the audio stream is played.
6. a kind of sound playing method, which is characterized in that including:
Receive the request for whether supporting audio remote playing that the playback terminal in same WLAN is sent;
The confirmation message for supporting audio remote playing is fed back to the playback terminal;
Receive the request for the audio remote playing that the playback terminal is sent;
Audio stream is isolated from audio/video flow file, the audio stream is sent to the playback terminal.
7. playback method according to claim 6, which is characterized in that isolate audio in the file from audio/video flow It flows, before sending the audio stream to the playback terminal, further includes:
Obtain the mark of the playback terminal;
There is the permission for playing the audio stream according to playback terminal described in the identity validation.
8. a kind of sound play device, which is characterized in that including:
Detection module, for detecting the audiogenic device in same WLAN;
Confirmation module, for sending the request for whether supporting audio remote playing to the audiogenic device;
Request module, the confirmation message of the support audio remote playing for receiving the audiogenic device feedback, to the source of sound Equipment sends the request of audio remote playing;
Playing module, the audio stream sent for receiving the audiogenic device, plays the audio stream.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, when which is executed by processor the step of any one of realization claim 1 to 5 sound playing method, or it is real The step of any one of existing claim 6 to 7 sound playing method.
10. a kind of terminal, which is characterized in that the terminal 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 as described in any one of claim 1 to 5 the step of sound playing method, or described in any one of realization claim 6 to 7 The step of sound playing method.
CN201810486775.2A 2018-05-21 2018-05-21 Sound playing method, device, storage medium and terminal Active CN108735240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810486775.2A CN108735240B (en) 2018-05-21 2018-05-21 Sound playing method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810486775.2A CN108735240B (en) 2018-05-21 2018-05-21 Sound playing method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108735240A true CN108735240A (en) 2018-11-02
CN108735240B CN108735240B (en) 2020-12-25

Family

ID=63937613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810486775.2A Active CN108735240B (en) 2018-05-21 2018-05-21 Sound playing method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108735240B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493633A (en) * 2019-08-19 2019-11-22 武汉蓝星科技股份有限公司 A kind of image and audio separated transmission system, method and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360089A (en) * 2007-08-03 2009-02-04 深圳Tcl工业研究院有限公司 Method and system for network media process
CN105337934A (en) * 2014-07-04 2016-02-17 阿里巴巴集团控股有限公司 Audio output method and equipment
CN105681444A (en) * 2016-02-02 2016-06-15 优听无限传媒科技(北京)有限责任公司 Method for remotely controlling target wifi loudspeaker box by intelligent terminal
CN105848225A (en) * 2016-03-22 2016-08-10 广东欧珀移动通信有限公司 Wireless connection switching method and device applied to audio playing system
WO2017039575A1 (en) * 2015-08-28 2017-03-09 Hewlett-Packard Development Company, L.P. Remote sensor voice recognition
CN106911909A (en) * 2017-03-02 2017-06-30 北京疯景科技有限公司 Video call method and system based on intelligent camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360089A (en) * 2007-08-03 2009-02-04 深圳Tcl工业研究院有限公司 Method and system for network media process
CN105337934A (en) * 2014-07-04 2016-02-17 阿里巴巴集团控股有限公司 Audio output method and equipment
WO2017039575A1 (en) * 2015-08-28 2017-03-09 Hewlett-Packard Development Company, L.P. Remote sensor voice recognition
CN105681444A (en) * 2016-02-02 2016-06-15 优听无限传媒科技(北京)有限责任公司 Method for remotely controlling target wifi loudspeaker box by intelligent terminal
CN105848225A (en) * 2016-03-22 2016-08-10 广东欧珀移动通信有限公司 Wireless connection switching method and device applied to audio playing system
CN106911909A (en) * 2017-03-02 2017-06-30 北京疯景科技有限公司 Video call method and system based on intelligent camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493633A (en) * 2019-08-19 2019-11-22 武汉蓝星科技股份有限公司 A kind of image and audio separated transmission system, method and mobile terminal

Also Published As

Publication number Publication date
CN108735240B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
KR101878279B1 (en) Video remote-commentary synchronization method and system, and terminal device
KR100829113B1 (en) Apparatus and method for providing of broadcasting data in a digital multimedia broadcasting service
US9538318B2 (en) Apparatus and method for playing music
CN102265578B (en) System and method of switching from streaming content to local content
CN102177537B (en) Information processing system, display device, output device, information processing device, identification information acquisition method and identification information supply method
US20150296247A1 (en) Interaction of user devices and video devices
JP4772800B2 (en) Broadcast content information providing method and system
US20100064329A1 (en) Communication system and method
CN102696224A (en) Method for connecting video communication to other device, video communication apparatus and display apparatus thereof
US20150067726A1 (en) Interaction of user devices and servers in an environment
CN104270806A (en) Transmitting power adjusting method and device
US20070174871A1 (en) Method and device for providing brief information on data broadcasting service in digital multimedia broadcasting receiving terminal
US11375267B2 (en) Playback resume between mobile entertainment system and set-top box
JP6864811B2 (en) Broadcast content playback device
KR20110037680A (en) Apparatus and method for outputting multi chanel audio of portable device
CN108735240A (en) sound playing method, device, storage medium and terminal
CN103686317A (en) Method and device for playing television channels
KR100743243B1 (en) Method for playing multimedia in portable terminal and the portable terminal thereof
CN100531330C (en) Home entertainment system and control device for receiving multi TV channel and channel guide
WO2016006087A1 (en) Control device, method, and program
US20130133004A1 (en) Method for performing broadcasting program schedule control through electronic device, and associated apparatuses
CN103299647A (en) Method for performing message control through a multimedia player, and associated apparatus
KR20160006889A (en) Digital broadcasting system and method for controlling a lean-back using second screen device
CN103248936A (en) Method and device for displaying television program in silent mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant