CN106330907A - Mobile-end audio high/low-data-rate adaptive play method - Google Patents

Mobile-end audio high/low-data-rate adaptive play method Download PDF

Info

Publication number
CN106330907A
CN106330907A CN201610715202.3A CN201610715202A CN106330907A CN 106330907 A CN106330907 A CN 106330907A CN 201610715202 A CN201610715202 A CN 201610715202A CN 106330907 A CN106330907 A CN 106330907A
Authority
CN
China
Prior art keywords
code stream
audio
audio frequency
stream
play
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610715202.3A
Other languages
Chinese (zh)
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.)
Archimedes (shanghai) Media Co Ltd
Original Assignee
Archimedes (shanghai) Media 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 Archimedes (shanghai) Media Co Ltd filed Critical Archimedes (shanghai) Media Co Ltd
Priority to CN201610715202.3A priority Critical patent/CN106330907A/en
Publication of CN106330907A publication Critical patent/CN106330907A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for a mobile end to play different data rates of audios by monitoring network signals intelligently in real time and according to signal intensity. The method is characterized in that the method comprises the following steps: 1) a slice server slices audios in different data rates; 2) the mobile end plays a common data rate audio first; 3) the network (WIFI and a mobile network) signals at the mobile end are monitored in real time; 4) the different data rates of audios are switched according to the monitored network result; 5) the audio is played continuously; and 6) the steps 3)-5) are cycled until audio play is finished.

Description

Mobile terminal audio frequency high-low code flow adaptive identifying method
Technical field
This programme is applicable to mobile terminal, according to the power of current network signal (including WIFI, mobile network), automated intelligent Identification and play the audio frequency of corresponding code stream.
Background technology
Current phone manufacturer is numerous, and the handset capability of production is different, and network signal (WIFI or mobile network) is different Power (the signal intensity that RSSI:Received Signal Strength Indicator-receives in period or different locations Instruction) different, the most off and on, even there is Caton phenomenon, so brings bad experience to user in user's listening to audio, The most sometimes normal work or life are also affected.
The Streaming Media QoS control method of a kind of network self-adapting of technology being currently known (patent No.: CN102547389B), transmitted and the height of player relief area by the message of the QoS of XMPP according to server and client side Low water level judges, increases burden in the case of original network thus can be given more weak, and performance and experience are not fine.Such as one The transmission method (patent No.: CN102098547A) of built-in network self adaptation/real-time high-definition video, is to transmit mould according to network The assessment return value of block, then the video gathered is done the coding of high code stream or the coding of low code stream, so can bring about broadcasting Time delay and the load of increase server.
Therefore, in this case, the user of mobile terminal is used, if the distributor of audio frequency uses identical code stream Audio content, the user of network difference is because network problem is experienced bad, and the good user of network signal can not be preferable because of network And experience preferably (high definition code stream) audio content.
Summary of the invention
The detailed content of this programme relates to server and mobile terminal
1, service end part
Service end is responsible for the distribution of audio code stream, according to circumstances can distribute multiple code stream during distribution: high definition code stream (128k), common code stream (56k) and low code stream (16k), use multimedia Open Framework FFMPEG, cut out corresponding according to demand Audio code stream is cut into slices, and cuts stream order as follows:
Acodec audio coding decoding storehouse codec parameters output file, ffmpeg i audio-source file address (* .m3u8)
The file format cut out approximately as:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:YES
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=16000//low code stream
http://www.example.com/low.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=56000//common code stream
http://www.example.com/middle.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=128000//high definition code stream
http://www.example.com/high.m3u8
#EXT-X-ENDLIST
The voice data of all kinds of specification code streams that service end is handled well stores on server, then uses unified interface Address is externally announced, in order to mobile terminal accesses.
2, mobile terminal part
The equipment of mobile terminal, owing to location is unfixed, the network state potentially unstable caused, such as hands Machine uses WIFI in Office Area, holds mobile phone when getting around, and network signal will be dynamic, so just may feel that broadcasting During network audio, arise that pause once in a while or Caton phenomenon, if in the case of using mobile network 4G equally, may go to Another place and cause 4G signal the most weak and transfer weak 3G to, also result in audio frequency play card or stop.
We design and can define type as follows according to the size of the dB value of the RSSI of network signal:
It is weak signal during dBm≤-80db, plays low code stream audio frequency;
It is strong signal during dBm >=-25db, plays high definition code stream audio frequency;
DBm value is marginal is the most common signal, code stream audio frequency in broadcasting.
When mobile terminal player commences play out audio frequency, acquiescence plays the audio frequency of common code stream, starts periodically in playing process The detection of network signal, according to the result of detection signal, plays the audio frequency of corresponding code stream automatically, if network signal is more weak, Just it is switched to low code stream audio stream according to reproduction time stamp play, when signal is fine, is switched to high definition code also according to reproduction time The audio stream broadcast point of stream.The code stream that packet loss is more serious can also carry out application sometimes and retransmit packet loss, player is according to current The time that audio frequency is play carries out the seamless switching of high-low code flow, has the most preferably ensured the experience of user.
For broadcast audio, particularly programme televised live, if network signal is very poor, cause user's broadcast listening off and on Can not the broadcast content of the announcer of uppick normally, there may come a time when, owing to losing some contents and misinterpretation, to employ net Network intelligent adaptive audio code stream, has just ensured to miss and has listened to content, experiences more preferably.
Accompanying drawing explanation
Fig. 1: code stream self adaptation is cut stream, is play audio frequency schematic diagram;
Fig. 2: mobile terminal dynamic monitoring network signal also switches audio code stream schematic diagram.
Detailed description of the invention
The operating procedure of this programme is as follows:
1, service end downloads FFMPEG source code, and configuration compiling parameter also compiles FFMPEG, to include supporting sound in configuration Frequently AAC form and M3U8 form, in compilation process, may report an error, and needs to download some plug-in unit supports;
2, section server use slice tool FFMPEG, cut as required the audio stream source address of stream, code stream information and The duration of section, configuration cuts stream parameter accordingly, cuts out the audio file of the different code streams such as high, normal, basic respectively, stores to specifying Server;
3, storage server is responsible for all kinds of audio files that storage section server cuts out, and accesses for mobile terminal and connects;
4, mobile terminal detects the power of network signal RSSI in real time, then judges stablizing of this value according to the result of detection Property, such as there may be the instability that network signal is at times strong and at other times weak in certain short time period, in this case, cannot be right The switching of high-low sound frequency stream is so frequent, and should use the audio frequency of low code stream, waits when network signal becomes strong signal stabilization It is switched to high definition code stream.
5, switching audio code stream, first records the timestamp of the most currently playing audio frequency, then opens and need switching Audio code stream, according to the timestamp just now recorded, directly plays at timestamp, so ensures seamless switching, so gives and use The experience that family is brought is more preferable.

Claims (9)

1. a mobile terminal audio frequency high-low code flow adaptive identifying method, it is characterised in that comprise the steps:
(1) section server cuts out the audio frequency of different code streams;
(2) common code stream audio frequency is play in mobile terminal first;
(3) mobile terminal network signal is monitored in real time;
(4) web results according to monitoring switches the audio frequency of different code streams;
(5) continue to play audio frequency;
(6) circulation step (3), (4) and (5), terminate until audio frequency is play.
2. the method for claim 1, further, the section code stream that cuts out of server include high definition code stream (128k), Common code stream (56k) and low code stream (16k).
The most the method for claim 1, wherein server of cutting into slices cuts out the voice data of different code streams and is stored in storage clothes On business device, unified interface IP address is then used externally to announce, in order to mobile terminal accesses.
4. the method as described in claim 1 or 2 or 3, further, when mobile terminal player commences play out audio frequency, acquiescence is broadcast Put the audio frequency of common code stream, playing process starts periodic detection network signal, according to the result of detection signal, automatically plays phase Answering the audio frequency of code stream, if network signal is more weak, is just switched to low code stream audio stream according to reproduction time stamp and plays, signal is very It is switched to the audio stream broadcast point of high definition code stream also according to reproduction time time good.
5. method as claimed in claim 4, further, the dB value of the RSSI of periodic detection network signal, when dB value is less than Or during equal to first threshold, be switched to low code stream audio stream and play, when dB value is more than or equal to Second Threshold, it is switched to high definition Code stream audio stream is play, and when dB value falls between, plays according to common code stream.
6. method as claimed in claim 4, further, the dB value of the RSSI of periodic detection network signal, according to detection Result judges the stability of this value, if unstable, then uses the audio frequency of low code stream.
7. the method as described in one of claim 4-6, further, the code stream that packet loss is more serious is carried out by mobile terminal player Application retransmits packet loss, and player carries out the seamless switching of high-low code flow according to the time that present video is play.
8. the method for claim 1, further, when switching audio code stream, first records the most currently playing The timestamp of audio frequency, then opens and needs the audio code stream of switching, according to the timestamp just now recorded, directly broadcast at timestamp Put, it is ensured that seamless switching.
9. the method for claim 1, further, described mobile terminal network is WI F I or mobile network.
CN201610715202.3A 2016-08-24 2016-08-24 Mobile-end audio high/low-data-rate adaptive play method Pending CN106330907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610715202.3A CN106330907A (en) 2016-08-24 2016-08-24 Mobile-end audio high/low-data-rate adaptive play method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610715202.3A CN106330907A (en) 2016-08-24 2016-08-24 Mobile-end audio high/low-data-rate adaptive play method

Publications (1)

Publication Number Publication Date
CN106330907A true CN106330907A (en) 2017-01-11

Family

ID=57790318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610715202.3A Pending CN106330907A (en) 2016-08-24 2016-08-24 Mobile-end audio high/low-data-rate adaptive play method

Country Status (1)

Country Link
CN (1) CN106330907A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115196A (en) * 2006-07-27 2008-01-30 腾讯科技(深圳)有限公司 Method, system and terminal for adjusting video quality
CN101931479A (en) * 2010-08-05 2010-12-29 华为终端有限公司 Method and device for playing audio signal
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
CN102149005A (en) * 2011-04-29 2011-08-10 四川长虹电器股份有限公司 Self-adaptive method for controlling network video quality
CN104219539A (en) * 2014-09-29 2014-12-17 公安部第一研究所 Video encoding and transmitting method based on TD-LTE (time division long term evolution) channel detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115196A (en) * 2006-07-27 2008-01-30 腾讯科技(深圳)有限公司 Method, system and terminal for adjusting video quality
CN101931479A (en) * 2010-08-05 2010-12-29 华为终端有限公司 Method and device for playing audio signal
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
CN102149005A (en) * 2011-04-29 2011-08-10 四川长虹电器股份有限公司 Self-adaptive method for controlling network video quality
CN104219539A (en) * 2014-09-29 2014-12-17 公安部第一研究所 Video encoding and transmitting method based on TD-LTE (time division long term evolution) channel detection

Similar Documents

Publication Publication Date Title
CN104040992B (en) There is the Media Stream of improved efficiency in mobile network
CN104412253B (en) The method of self adaptation stream transmission is known for the quality in hypertext transfer protocol
CN102123303B (en) Audio/video file playing method and system as well as transmission control device
CN105828134B (en) Control method for playing back and device in a kind of audio-video frequency playing system
US20140108622A1 (en) Streaming media transmission method, device, and system
US20080133766A1 (en) Method and apparatus for streaming media to a plurality of adaptive client devices
CN111224693B (en) Audio data transmission method and device for wireless earphone, storage medium and terminal
WO2013017165A1 (en) Shaping media traffic based on manifest file in http adaptive streaming
CN102739627A (en) Method and system for switching and playing video
CA2742858A1 (en) Audio/video data play control method and apparatus
WO2011157143A2 (en) Method and device for multi-rates handover in live broadcast
CN104254007A (en) Method and device for processing audio
CN107404339B (en) Method and device for adjusting Bluetooth A2DP code setting
WO2015104570A1 (en) Method for improving the power consumption of a mobile device during video streaming
CN104581385A (en) Multi-screen interactive self-adaptive playback method and system
KR20110065100A (en) Method and apparatus for supporting multimedia streaming service
CN105679341B (en) A kind of document play-back method, device and mobile terminal
CN106303754A (en) A kind of audio data play method and device
CN105704607A (en) Method and equipment for switching earphone modes
CN106330907A (en) Mobile-end audio high/low-data-rate adaptive play method
CN101431657B (en) Time shift processing method, system and apparatus for network TV
JPWO2019017218A1 (en) Transmission device, transmission method, reception device, reception method, and program
CN107943447A (en) Method for playing music, system, readable storage medium storing program for executing and intelligent terminal
CN111436007A (en) Multimedia program playing method and device and set top box
CN104038778A (en) Multimedia redirection playing control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111