CN104219568B - A kind of mobile phone takes away the seamless continuous playback method for listening television audio - Google Patents

A kind of mobile phone takes away the seamless continuous playback method for listening television audio Download PDF

Info

Publication number
CN104219568B
CN104219568B CN201410450407.4A CN201410450407A CN104219568B CN 104219568 B CN104219568 B CN 104219568B CN 201410450407 A CN201410450407 A CN 201410450407A CN 104219568 B CN104219568 B CN 104219568B
Authority
CN
China
Prior art keywords
audio
mobile phone
television
mobile terminal
seamless continuous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410450407.4A
Other languages
Chinese (zh)
Other versions
CN104219568A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201410450407.4A priority Critical patent/CN104219568B/en
Publication of CN104219568A publication Critical patent/CN104219568A/en
Application granted granted Critical
Publication of CN104219568B publication Critical patent/CN104219568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The seamless continuous playback method for listening television audio is taken away the present invention provides a kind of mobile phone, the LAN that mobile phone passes through multiple routers, before and after leaving TV, according to the power of router signal in LAN, judge wifi access points and switched accordingly, in wifi point access point handoff procedures, television keeps in audio data, after mobile phone terminal sends out sharing request again, according to the seamless continuous broadcasting of breakpoint.Even if user can take away television audio if leaving before TV, the real-time broadcasting of television audio is realized, support in the same LAN(I.e. when TV is connected to active router, and mobile phone by being linked into active router again from router the case where), by router transfer, in the case where allowing the of short duration pause of audio, take the real-time voice of TV to farther place and carry out seamless continuous broadcasting.

Description

A kind of mobile phone takes away the seamless continuous playback method for listening television audio
Technical field
The seamless continuous playback method for listening television audio is taken away the present invention relates to a kind of mobile phone, is applicable in more particularly to one kind The seamless continuous playback method for listening television audio is taken away in the mobile phone of smart television.
Background technology
With the development of smart television, demand of the user to the service that TV provides is increasing.For example, user is watching When TV, because feelings of getting something else on need before leaving TV, but it is again very interested in next television content, once from It opens, cannot know following television content, the needs of meeting oneself of differing surely sound of television is put into maximum, together When can also interfere with other people.
So, how to realize and sound is taken away in real time, do not miss the program for oneself liking seeing, moreover it is possible to ensure seamless continuously to broadcast It puts, meets user's requirement.
More and more functions, while hand may be implemented as now more and more common appliance and electronic in intelligent sliding moved end Electromechanics regard it is also more and more common, it is poor but there are real-times, and it is busy when there is no time viewing, it is only necessary to listening can meet It is required that in addition, if being shown simultaneously if there is video, there are the wasting of resources, while mobile terminal is used as charge prepd, if loaded Greatly, unnecessary waste can be brought to battery capacity, therefore in the case where only program being needed to listen to, it is how simply and effectively real It now takes away and listens to TV programme and continuously played, become our technical problem urgently to be resolved hurrily.
FFmpeg is the video and audio stream scheme of an open-source cross-platform, belongs to free software, is permitted using LGPL or GPL It can demonstrate,prove(The component selected according to you).It provides recording, conversion and the total solution for fluidizing audio and video.It is contained Very advanced audio/video encoding and decoding library libavcodec, in order to ensure high portable and encoding and decoding quality.
Invention content
The technical problem to be solved in the present invention is to provide one kind so that television audio is moved away from mobile terminal, and after The method of continuous seamless play.
The technical solution adopted by the present invention is as follows:
A kind of mobile phone takes away the seamless continuous playback method for listening television audio, and specific method step is:
One, mobile terminal connects router network, and audio sharing request is sent to television;
Two, after television receives the request of mobile terminal, television audio signals is converted into mobile terminal audio signal and play lattice Formula simultaneously sends it to mobile terminal;
Three, mobile terminal will play out after the audio signal decoding received, while mobile phone terminal passes through operating system in real time Api monitors wifi intensity, if in all wireless routers matched, the wifi intensity of existing connection, which is less than, matches centering Maximum wifi intensity when, stop the broadcasting of audio, and wifi connections are switched to maximum wifi intensity;
Four, after TV receives the notice of mobile phone handover network, sound is kept in, waits for mobile phone re-request audio number According to;
Five, mobile phone terminal initiates audio request to TV again, continues the audio for playing TV.
Preferably, in the step 3, the wifi intensity of existing connection is less than the maximum wifi intensity with centering 1/3 when, stop the broadcasting of audio.
Preferably, the step 4 further includes whether the audio data size for judging that TV is temporary is more than the value set, Actually the audio data of preservation is emptied.
Preferably, the step 5 further includes:Judge whether mobile phone applies for audio data again in 10 seconds, otherwise clearly The audio data that sky preserves.
Preferably, the step further includes, after wifi points of penetration are replaced, choose whether that breakpoint continuously plays by user.
Preferably, the step 1 further includes:The visit of mobile terminal is responded after television verification mobile terminal request permissions again Ask request.
Preferably, the method for the television verification mobile terminal request permissions is:It is realized by login interface mobile terminal Access to DTV end.
It is transmitted to by the http agreements made by oneself preferably, the network port gets off the audio data collecting of TV Mobile terminal;It includes that audio format describes, audio is adopted that the customized http agreements, which refer in customized http headers, The number of sample rate and code check and channel.
Preferably, in the step 2, television audio signals are converted to by mobile terminal audio letter using encoder server Number broadcast format.
Preferably, the encoder server is FFmpeg.
Preferably, the audio format that the mobile terminal receives is MP3 format.
Compared with prior art, the beneficial effects of the invention are as follows:Even if user can be by television audio if leaving before TV It takes away, realizes the real-time broadcasting of television audio, support in the same LAN(I.e. when TV is connected to active router, mobile phone is logical Cross the case where being linked into active router again from router),, will in the case where allowing the of short duration pause of audio by router transfer The real-time voice of TV takes farther place to and is continuously played.
Description of the drawings
Fig. 1 is the functional block diagram of a wherein embodiment of the invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments and attached drawing, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
This specification(Including any accessory claim, abstract and attached drawing)Disclosed in any feature, except non-specifically chatting State, can alternative features equivalent by other or with similar purpose replaced.That is, unless specifically stated, each feature An only example in a series of equivalent or similar characteristics.
A kind of mobile phone takes away the seamless continuous playback method for listening television audio, and specific method step is:
One, mobile terminal connects router network, and audio sharing request is sent to television;
Two, after television receives the request of mobile terminal, television audio signals is converted into mobile terminal audio signal and play lattice Formula simultaneously sends it to mobile terminal, and the decoding of mobile phone terminal audio is facilitated to play;
It is shared that audio of certain network port of a service oracle listener monitoring tcp for monitoring mobile phone is run in television TV audio data collecting being played on is got off to be transmitted to mobile terminal by access request when listening to handset requests, is moved It is responsible for playing realaudio data in moved end.
Three, mobile terminal will play out after the audio signal decoding received, while mobile phone terminal passes through operating system in real time Api monitors wifi intensity, if in all wireless routers matched, the wifi intensity of existing connection, which is less than, matches centering Maximum wifi intensity when, stop the broadcasting of audio, and wifi connections are switched to maximum wifi intensity;
Four, after TV receives the notice of mobile phone handover network, sound is kept in, waits for mobile phone re-request audio number According to;
Five, mobile phone terminal initiates audio request to TV again, continues the audio of seamless play TV from breakpoint.
Even if user can take away television audio if leaving before TV, the real-time broadcasting of television audio is realized, support to exist In the same LAN(I.e. when TV is connected to active router, and mobile phone by being linked into active router again from router the case where), By router transfer, in the case where allowing the of short duration pause of audio, takes the real-time voice of TV to farther place and carry out It is continuous to play.
In the step 3, when the wifi intensity of existing connection is less than 1/3 of the maximum wifi intensity with centering, stop Wifi connections point of penetration is shifted to the point of penetration of wifi maximum intensities by the only broadcasting of audio, while can be to avoid wifi points of penetration The caused audio stealpass of continuous switching.
The step 4 further includes whether the audio data size for judging that TV is temporary is more than the value set, empties actually The audio data of preservation.
The step 5 further includes:Judge that whether mobile phone applies for audio data again in 10 seconds, otherwise empties preservation Audio data.
The step further includes after wifi points of penetration are replaced, choosing whether that breakpoint continuously plays by user.Such as user Before being back to TV at a distance, for the real-time of audio & video, then it can switch to and play or stop mobile phone terminal sound in real time Frequency is listened to.
The step 1 further includes:Television verifies mobile terminal request permissions, and by responding receiving movement after verification again The access request at end, to ensure safety and privacy.
In this embodiment, the method for the television verification mobile terminal request permissions is:Mobile terminal passes through login Interface realizes the access to television, easy to operate.
Further, it can be arranged only to need to input when logging in first time and access password, it is automatic to log in later then It logs in, is conveniently operated.
In this embodiment, the network port gets off the audio data collecting of TV by the http associations made by oneself View is transmitted to mobile terminal, ensures the shared real-time of audio.
It includes that audio format describes, audio is adopted that the customized http agreements, which refer in customized http headers, The number of sample rate and code check and channel.
In the step 2, the pcm audio signal of television is converted to by mobile terminal audio signal using encoder server Broadcast format.
In this embodiment, the encoder server is FFmpeg.
In this embodiment, the audio format that the mobile terminal receives is MP3 format, versatile, is easy to convert And decoding.

Claims (9)

1. a kind of mobile phone is taken away and listens the seamless continuous playback method of the audio of television audio, specific method step to be:
One, mobile terminal connects router network, and audio sharing request is sent to television;
Two, after the request of television reception mobile terminal, television audio signals are converted into mobile terminal audio signal broadcast format simultaneously Send it to mobile terminal;
Three, mobile terminal will play out after the audio signal decoding received, while mobile phone terminal is supervised by operating system api in real time Wifi intensity is surveyed, if in all wireless routers matched, the wifi intensity of existing connection is less than the maximum with centering When wifi intensity, stop the broadcasting of audio, and wifi connections are switched to maximum wifi intensity;
Four, after TV receives the notice of mobile phone handover network, sound is kept in, waits for mobile phone re-request audio data;
Five, mobile phone terminal initiates audio request to TV again, continues the audio for playing TV;
In the step 3, when the wifi intensity of existing connection is less than 1/3 of the maximum wifi intensity with centering, stop audio It plays.
2. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the step 4 Further include whether the audio data size for judging that TV is temporary is more than the value set, is the audio data for emptying preservation.
3. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the step 5 Further include:Judge that whether mobile phone applies for audio data again in 10 seconds, otherwise empties the audio data of preservation.
4. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the step is also Including after wifi points of penetration are replaced, choosing whether that breakpoint continuously plays by user.
5. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the step 1 Further include:The access request of mobile terminal is responded after television verification mobile terminal request permissions again.
6. mobile phone according to claim 5, which is taken away, listens the seamless continuous playback method of the audio of television audio, the television Verification mobile terminal request permissions method be:The access to DTV end is realized by login interface in mobile terminal.
7. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the network-side Mouth gets off the audio data collecting of TV is transmitted to mobile terminal by customized http agreements;The customized http It includes audio format description, audio sample rate and code check and of channel that agreement, which refers in customized http headers, Number.
8. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the step 2 In, television audio signals are converted to by mobile terminal audio signal broadcast format using encoder server.
9. mobile phone according to claim 1, which is taken away, listens the seamless continuous playback method of the audio of television audio, the mobile terminal The audio format of reception is MP3 format.
CN201410450407.4A 2014-09-05 2014-09-05 A kind of mobile phone takes away the seamless continuous playback method for listening television audio Active CN104219568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410450407.4A CN104219568B (en) 2014-09-05 2014-09-05 A kind of mobile phone takes away the seamless continuous playback method for listening television audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410450407.4A CN104219568B (en) 2014-09-05 2014-09-05 A kind of mobile phone takes away the seamless continuous playback method for listening television audio

Publications (2)

Publication Number Publication Date
CN104219568A CN104219568A (en) 2014-12-17
CN104219568B true CN104219568B (en) 2018-08-28

Family

ID=52100642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410450407.4A Active CN104219568B (en) 2014-09-05 2014-09-05 A kind of mobile phone takes away the seamless continuous playback method for listening television audio

Country Status (1)

Country Link
CN (1) CN104219568B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162434A (en) * 2015-04-17 2016-11-23 中兴通讯股份有限公司 The method and device of voice data is received based on mobile terminal
CN106878762A (en) * 2015-12-14 2017-06-20 北京奇虎科技有限公司 A kind of method for realizing terminal device switching, device, server and system
CN106534913A (en) * 2016-10-14 2017-03-22 深圳市元征科技股份有限公司 Resource synchronization processing method and communication terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123131A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Method and system for maintaining continuity of stream media service
CN102724590A (en) * 2011-03-29 2012-10-10 深圳市同洲软件有限公司 Method for audio processing, digital television terminal and system
CN103873798A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Sound playing method and device for intelligent television
CN103888818A (en) * 2014-03-24 2014-06-25 青岛海信电器股份有限公司 Method, equipment and system for playing television programs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101450100B1 (en) * 2007-11-22 2014-10-15 삼성전자주식회사 Multimedia apparatus and synchronization method thereof
CN101754300A (en) * 2008-11-28 2010-06-23 英业达股份有限公司 Wireless signal switching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123131A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Method and system for maintaining continuity of stream media service
CN102724590A (en) * 2011-03-29 2012-10-10 深圳市同洲软件有限公司 Method for audio processing, digital television terminal and system
CN103873798A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Sound playing method and device for intelligent television
CN103888818A (en) * 2014-03-24 2014-06-25 青岛海信电器股份有限公司 Method, equipment and system for playing television programs

Also Published As

Publication number Publication date
CN104219568A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN103534679B (en) Media Stream shared method and terminal
CN103475793B (en) Attaching terminal is used to call out
US10750123B2 (en) Method and apparatus using an integrated femtocell and residential gateway device
US9456398B2 (en) Auto-discovery of home and out-of-franchise networks
US20130254353A1 (en) Method, System and Apparatus for Providing Streaming Media Service
EP3001602A1 (en) Method, related device and system supporting streaming media multicast
US9888291B2 (en) Method and system for self-broadcasting in a social experience environment
CN108322790A (en) Wireless screen transmission method and device
CN106941629B (en) Real-time live broadcast method based on SIP + RTP and RTMP protocol intercommunication
CN108259813A (en) Multi-functional biography screen device, system and method
WO2020216059A1 (en) Network resource sharing method and related apparatus
US9351328B2 (en) Method for transferring a communication session between devices
US20150012929A1 (en) Network controlled streaming
WO2011088656A1 (en) Method and system for implementing three-party call of videophone by mobile terminals
CN105979334A (en) Screen content transmission system, terminal and screen content transmission method
CN104219568B (en) A kind of mobile phone takes away the seamless continuous playback method for listening television audio
WO2014187295A1 (en) Communication method, terminal and communication system
CN105828253A (en) Wireless connection control method and device in audio playing system
TWI495288B (en) Wireless mobile device, system and method of broadcasting wireless streaming media
CN104219567A (en) System and method for remotely monitoring DTV (digital television) audio in real time via mobile terminal
CN106664432A (en) Multimedia information play methods and systems, acquisition equipment, standardized server
CN110248131A (en) A kind of throwing screen device and conference system being modeled to USB camera
US9491406B2 (en) Seamless escalation of mesh videoconferences to bridged videoconferences
CN110113656B (en) IPTV (Internet protocol television) server access method, terminal equipment and IPTV system
JP2015537411A (en) Channel reuse between communication networks sharing a communication channel

Legal Events

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