CN110049355A - Method for broadcasting multimedia file and device - Google Patents

Method for broadcasting multimedia file and device Download PDF

Info

Publication number
CN110049355A
CN110049355A CN201810044029.8A CN201810044029A CN110049355A CN 110049355 A CN110049355 A CN 110049355A CN 201810044029 A CN201810044029 A CN 201810044029A CN 110049355 A CN110049355 A CN 110049355A
Authority
CN
China
Prior art keywords
terminal
code rate
supported
highest
slicing files
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
CN201810044029.8A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810044029.8A priority Critical patent/CN110049355A/en
Priority to PCT/CN2018/096116 priority patent/WO2019140877A1/en
Publication of CN110049355A publication Critical patent/CN110049355A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present disclose provides a kind of method for broadcasting multimedia file and devices, belong to network technique field.The described method includes: obtaining the first index file of multimedia file when receiving the index file acquisition request of terminal, the first index file includes the address of all code rates of the multimedia file and the slicing files of all code rates;Obtain the highest code rate that the terminal is supported;According to the highest code rate that the terminal is supported, the address of the slicing files of specified code rate and specified code rate is deleted from the first index file, obtains the second index file, and the specified code rate is higher than the highest code rate;Second index file is sent to the terminal, the second index file plays out the multimedia file according to the second index file for the terminal.The disclosure is lower than the highest code rate that terminal is supported by the code rate that control is supplied in the index file of terminal, and avoiding leads to the problem of result of broadcast difference since the code rate of terminal selection slicing files is excessive.

Description

Method for broadcasting multimedia file and device
Technical field
This disclosure relates to network technique field, in particular to a kind of method for broadcasting multimedia file and device.
Background technique
With the development of network technology, network direct broadcasting platform gradually rises, and network direct broadcasting platform can provide various live streamings Program, such as live news, sports event live broadcast, TV play live streaming, variety show live streaming.When user wants viewing, some is straight When broadcasting program, the corresponding multimedia file of the programme televised live can be played at the terminal.
Currently, the method for terminal plays multimedia file is as follows: terminal to server, which is sent, plays some multimedia file Request, server upon receiving the request, can send the index file of the multimedia file, the index file to terminal In contain the address of all code rates of the multimedia file and the slicing files of each code rate.Terminal is receiving the index , can be according to current Wireless Fidelity (Wireless Fidelity, WiFi) bandwidth after file, the institute that indexed file includes Have in code rate, the code rate that selection matches with the WiFi bandwidth, and the address of the slicing files according to the code rate, downloads the code rate Slicing files play out.In addition, terminal can be time-consuming according to the downloading of the slicing files of the code rate, to select downloading different Next slicing files of code rate, such as when slicing files downloading is time-consuming larger, terminal can attempt choosing in all code rates Next slicing files of downloading more low bit- rate are selected to play out;When slicing files downloading is time-consuming smaller, terminal can be with In all code rates, attempts selection and download next slicing files of higher code rate to play out, closed until adjusting to one Suitable code rate, for example, the suitable code rate refers to the time-consuming code rate for preset threshold of downloading.
In implementing the present disclosure, inventor find the relevant technologies the prior art has at least the following problems:
For above-mentioned technology during playing multimedia file, terminal is all according to include in the index file received Code rate continuously attempts to that the slicing files of different code rates is selected to be downloaded, if the code rate of selection is excessive, such as larger than terminal is supported Highest code rate, then it is poor to will lead to result of broadcast.
Summary of the invention
The embodiment of the present disclosure provides a kind of method for broadcasting multimedia file and device, can solve the relevant technologies and plays effect The problem of fruit difference.The technical solution is as follows:
In a first aspect, providing a kind of method for broadcasting multimedia file, which comprises
When receiving the index file acquisition request of terminal, the first index file of multimedia file is obtained, described One index file includes the address of all code rates of the multimedia file and the slicing files of all code rates;
Obtain the highest code rate that the terminal is supported;
According to the highest code rate that the terminal is supported, specified code rate and the finger are deleted from first index file The address of the slicing files of constant bit rate, obtains the second index file, and the specified code rate is higher than the highest code rate;
Second index file is sent to the terminal, second index file is for the terminal according to Second index file plays out the multimedia file.
The method that the embodiment of the present disclosure provides, the highest code rate supported by obtaining terminal, and according to the highest code rate pair Code rate in index file is adjusted, so that the code rate in the index file that terminal receives is lower than the highest code that terminal is supported Rate, the slicing files for avoiding the highest code rate that terminal selection code rate is greater than terminal support are downloaded and cause result of broadcast poor The problem of.
In a kind of possible implementation, the highest code rate for obtaining the terminal and supporting, comprising:
Obtain the business information of the terminal;
According to the business information of the terminal, the highest code rate that the terminal is supported is obtained.
The method that the embodiment of the present disclosure provides, the highest code rate that terminal is supported can be obtained according to the business information of terminal, The code rate of different terminals is limited to realize to be customized according to Carrier Requirements, it is different to be controllable to different charge users offers The multimedia file of grade plays service.
In a kind of possible implementation, the business information according to the terminal obtains the terminal and supports most High code rate, comprising:
According to the business information of the terminal, the grade of service of the terminal is determined;
According to the grade of service of the terminal, the highest code rate that the terminal is supported is determined, the different grades of service is corresponding Different highest code rates.
The method that the embodiment of the present disclosure provides determines the grade of service by the business information of terminal, and then determines terminal branch The highest code rate held provides a kind of implementation that highest code rate is obtained according to business information.
In a kind of possible implementation, the highest code rate for obtaining the terminal and supporting, comprising:
Obtain the performance information of the affiliated gateway of the terminal, the connected router of the terminal or base station;
According to the performance information, the highest code rate that the terminal is supported is determined.
The embodiment of the present disclosure provide method, terminal support highest code rate can according to the affiliated gateway of terminal, connected Router or the performance information of base station obtain, to more accurately provide available code rate for terminal.
In a kind of possible implementation, the performance information includes the side wide area network (Wide Area Network, WAN) Unicast available bandwidth, WAN side multicast available bandwidth, central processing unit (Central Processing Unit, CPU) occupy ratio At least one of in example, EMS memory occupation ratio and terminal side available bandwidth.
The method that the embodiment of the present disclosure provides, the highest code rate that terminal is supported can be according to WAN side available bandwidth, WAN side At least one in multicast available bandwidth, CPU occupation proportion, EMS memory occupation ratio and terminal side available bandwidth obtains, and provides A kind of implementation obtaining highest code rate.
It is described that the highest code rate that the terminal is supported is determined according to the performance information in a kind of possible implementation, Include:
It will appoint in the WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side available bandwidth One highest code rate supported as the terminal;Or,
According to the duration of the EMS memory occupation ratio, the caching number of slicing files and each slicing files, institute is determined State the highest code rate of terminal support;Or,
Corresponding pass according to needed for the CPU occupation proportion and forwarding slicing files between CPU occupation proportion and code rate System determines the highest code rate that the terminal is supported;Or,
By in the WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side available bandwidth extremely Few two are weighted summation, obtain the highest code rate that the terminal is supported.
The method that the embodiment of the present disclosure provides, the highest code rate that terminal is supported can be according to WAN side available bandwidth or terminal Side available bandwidth obtains, and can also be obtained according to CPU occupation proportion or EMS memory occupation ratio, provide a kind of acquisition highest code rate Implementation.
In a kind of possible implementation, it is described according to the EMS memory occupation ratio, the caching number of slicing files and The duration of each slicing files determines the highest code rate that the terminal is supported, comprising:
According to the EMS memory occupation ratio, free memory is determined;
According to the duration of the free memory, the caching number of slicing files and each slicing files, determination can be cached Highest code rate;
The highest code rate that the cacheable highest code rate is supported as the terminal.
The method that the embodiment of the present disclosure provides, the highest code rate that terminal is supported can be according to EMS memory occupation ratios, fragment text The caching number of part and the duration of each slicing files obtain, and provide a kind of implementation for obtaining highest code rate.
In a kind of possible implementation, the CPU according to needed for the CPU occupation proportion and forwarding slicing files is accounted for With the corresponding relationship between ratio and code rate, the highest code rate that the terminal is supported is determined, comprising:
According to the CPU occupation proportion, residue CPU occupation proportion is determined;
According to the residue CPU occupation proportion and the corresponding relationship, it is corresponding to obtain the residue CPU occupation proportion Code rate;
The highest code rate that the corresponding code rate of the residue CPU occupation proportion is supported as the terminal.
The method that the embodiment of the present disclosure provides, the highest code rate that terminal is supported can be according to CPU occupation proportion and forwarding Corresponding relationship between CPU occupation proportion and code rate needed for slicing files obtains, and provides a kind of realization for obtaining highest code rate Mode.
Second aspect provides a kind of multimedia file playing device, and described device includes multiple functional modules, described more A functional module is for executing method for broadcasting multimedia file provided by above-mentioned first aspect and its any is able to achieve Mode.
The third aspect provides a kind of electronic equipment, which includes: transceiver, memory and processor.Its In, the transceiver, the memory and the processor are communicated with each other by internal connecting path, the memory for storing instruction, The processor is used to execute the instruction of memory storage, receives signal to control transceiver, and control transceiver and send signal, And when the processor executes the instruction of memory storage, which makes the processor execute first aspect or the Method for broadcasting multimedia file in any possible implementation of one side.
Fourth aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Computer program, the computer program are loaded by processor and are executed any to realize above-mentioned first aspect or first aspect Method for broadcasting multimedia file in the possible implementation of kind.
Detailed description of the invention
Fig. 1 is a kind of system structure diagram that the embodiment of the present disclosure provides.
Fig. 2 is a kind of structural schematic diagram for terminal 200 that the embodiment of the present disclosure provides.
Fig. 3 is the structural schematic diagram for a kind of electronic equipment 300 that the embodiment of the present disclosure provides.
Fig. 4 is a kind of flow chart for method for broadcasting multimedia file that the embodiment of the present disclosure provides.
Fig. 5 is a kind of structural schematic diagram for multimedia file playing device that the embodiment of the present disclosure provides.
Specific embodiment
Fig. 1 is a kind of system structure diagram that the embodiment of the present disclosure provides.Referring to Fig. 1, which includes: end End, business platform (Service Platform) server, customer premises equipment, CPE (Customer Premise Equipment, CPE), (Multicast of Adaptive Bit the Rate Controller, M- of the adaptive rate control device based on multicast ABR Controller), content distributing network (Content Delivery Network, CDN) server and multiple digital version Power management (Multi-Digital Rights Management, MultiDRM) server.
Wherein, specified application is installed, which can be player (Player), which is used in terminal Play multimedia file;Business platform server is for providing the uniform resource locator (Uniform of multimedia file Resource Locator, URL) address;Cpe device can be the affiliated gateway of terminal (Gateway), the connected router of terminal Or base station, for example, home gateway (Home Gateway), the enterprise couple in router (Access of coaxial cable uplink Router), edge router (Edge Router) or wireless base station (Wireless Basestation) etc., can on cpe device Turned unicast agent (Multicast to Unicast agent, M2U agent) with being deployed with multicast, which can be with It is an application software;M-ABR Controller is for controlling the multimedia file transmission based on multicast;CDN server is used for The slicing files of multimedia file are provided;MultiDRM server is for providing the solution confidential information of slicing files.
Fig. 2 is a kind of structural schematic diagram for terminal 200 that the embodiment of the present disclosure provides, which can be used for executing following The method for broadcasting multimedia file provided in each embodiment.Referring to fig. 2, which includes:
Terminal 200 may include radio frequency (Radio Frequency, RF) circuit 110, include one or more meter Memory 120, input unit 130, display unit 140, sensor 150, the voicefrequency circuit 160, nothing of calculation machine readable storage medium storing program for executing Line fidelity (Wireless Fidelity, WiFi) module 170, the processor for including one or more than one processing core The components such as 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Figure 2 was not constituted to end The restriction at end may include perhaps combining certain components or different component layouts than illustrating more or fewer components. Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobilecommunication, 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), it is long term evolution (Long Term Evolution, LTE), Email, short Messaging service (Short Messaging Service, SMS) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 200 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 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. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 200 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detect it is on it or attached After close touch operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to touch event Type corresponding visual output is provided on display panel 141.Although in Fig. 2, touch sensitive surface 131 and display panel 141 It is that input and input function are realized as two independent components, but in some embodiments it is possible to by touch sensitive surface 131 It is integrated with display panel 141 and realizes and output and input function.
Terminal 200 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 200 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 200 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 200.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 200.
WiFi belongs to short range wireless transmission technology, and terminal 200 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 2 shows WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 200, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 200, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 200, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Optionally, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 200 further includes the power supply 190 (such as battery) powered to all parts, and optionally, power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 200 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and executable instruction, wherein can It executes instruction and is stored in memory, and be configured to be executed by one or more than one processor.The executable instruction is used In the method for broadcasting multimedia file for executing terminal side in following each embodiments.
Fig. 3 is the structural schematic diagram for a kind of electronic equipment 300 that the embodiment of the present disclosure provides.The electronic equipment 300 can be with It is provided as cpe device (gateway, router or base station).Referring to Fig. 3, which may include processor 310 and deposits Reservoir 320 can also include transceiver 330.The memory 320 is stored with computer program, and processor 310 is for executing storage The computer program stored on device 320, to execute the method for broadcasting multimedia file in following each embodiments.
Processor 310 receives order from other elements, decrypts the order received, executes calculating according to the order of decryption Or data processing.Memory 320 may include program module, such as kernel (kernel), middleware (middleware), application Program Interfaces (Application Programming Interface, API) and application.The program module can be Software, firmware or hardware or in which at least two compositions.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, such as is stored with computer program Memory, above-mentioned computer program loaded by processor and executed to complete the multimedia file broadcasting side in following embodiments Method.For example, computer readable storage medium can be read-only memory (Read-Only Memory, ROM), random access memory Device (Random-Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), Tape, floppy disk and optical data storage devices etc..
Fig. 4 is a kind of flow diagram for method for broadcasting multimedia file that the embodiment of the present disclosure provides.Referring to fig. 4, it wraps It includes:
401, terminal to business platform server send uniform resource locator (Uniform Resource Locator, URL) address acquisition request, the address the URL acquisition request are used for the address URL of request multimedia file.
Wherein, multimedia file can be the corresponding multimedia file of programme televised live.
In the embodiment of the present disclosure, terminal can to business platform server send the address URL acquisition request by way of, From the address URL of business platform server request multimedia file, which can be touched by the operation of user Hair.For example, when user wants to watch some programme televised live at the terminal, it can be in the display interface of Player to the live streaming Program carries out clicking operation, and triggering terminal sends the address URL acquisition request to business platform server, such as " the Get in Fig. 4 ChannelURL”。
402, when receiving the address the URL acquisition request of terminal, business platform server returns to the multimedia to terminal The address URL of file.
In the embodiment of the present disclosure, business platform server can be according to the multimedia text carried in the acquisition request of the address URL The mark of part, to the address URL of the corresponding multimedia file of return of terminal, such as " the Return Channel URL " in Fig. 4.
403, after terminal receives the address URL of the multimedia file, domain name system (Domain Name is sent System, DNS) it requests, which carries the domain name part of the address URL of the multimedia file.
In the embodiment of the present disclosure, terminal can obtain the address URL of multimedia file from business platform server, and terminal exists After obtaining the address URL of multimedia file, domain name mapping can be done according to the domain name part of the address URL.For example, terminal can To send DNS request to dns server, such as " the Channel Domain DNS Request " in Fig. 4, with request by multimedia The domain name part of the address URL of file is parsed into IP address.
404, gateway intercepts and captures the DNS request of terminal, and the IP address of gateway is returned to terminal.
In the embodiment of the present disclosure, it is deployed with M2U agent on the gateway, gateway can intercept and capture the Player of terminal to DNS The DNS request that server is sent regard the IP address (and IP address of M2U agent) of gateway as the corresponding IP in the address URL Address returns to the IP address of gateway to terminal, that is to say the IP address of M2U agent, to accelerate domain name mapping, in Fig. 4 " Capture DNS Request, Return M2U Agent IP for Accelerate Domain " and " DNS Response”。
405, terminal sends index file acquisition request to gateway, and the index file acquisition request is for obtaining multimedia text First index file of part.
Wherein, which includes all code rates of the multimedia file and the slicing files of all code rates Address.
In the embodiment of the present disclosure, terminal can be obtained after obtaining the IP address of gateway by sending index file to gateway The mode for taking request obtains the index file of multimedia file to gateway requests, such as " the Get Manifest " in Fig. 4.
406, when receiving the index file acquisition request of terminal, gateway sends the index file to CDN server and obtains Take request.
In the embodiment of the present disclosure, CDN server can provide the multiple groups fragment of different code rates for same multimedia file File, the corresponding code rate of every component sheets file.These slicing files are deployed in CDN server, and HTTP can be used in terminal Protocol sequence request slicing files play out.In order to which terminal selects suitable slicing files, CDN server also provides a rope Quotation part has recorded the address of all code rates of multimedia file and the slicing files of all code rates.
In the step 406, gateway can act as agent when receiving the index file acquisition request of terminal transmission, lead to The mode for sending index file acquisition request to CDN server is crossed, the first index text of multimedia file is obtained to CDN server Part, such as " the Get Manifest " in Fig. 4.
407, when receiving the index file acquisition request of gateway, CDN server sends multimedia file to gateway First index file.
Wherein, the first index file includes the ground of all code rates of the multimedia file and the slicing files of all code rates Location.
In the embodiment of the present disclosure, the first index file can be sent to gateway by CDN server, be obtained as to index file The response for taking request, such as " the HTTP Response " in Fig. 4.
408, gateway receives the first index file of multimedia file.
Above-mentioned steps 406 to 408 are when receiving the index file acquisition request of terminal, and gateway obtains multimedia file The first index file a kind of possible implementation.
409, gateway obtains the highest code rate of terminal support.
In a kind of possible implementation, gateway obtains the highest code rate of terminal support, comprising: obtains belonging to the terminal The performance information of gateway;According to the performance information, the highest code rate that the terminal is supported is determined.Wherein, which includes wide Domain net WAN side unicast available bandwidth, WAN side multicast available bandwidth, central processor CPU occupation proportion, EMS memory occupation ratio with At least one of and in the available bandwidth of terminal side.
Wherein, gateway this according to the performance information, determine that the highest code rate that the terminal is supported includes but is not limited to following four Kind mode:
The WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side can be used band by first way The highest code rate that any one of width is supported as the terminal.
Under which, if the performance information that gateway is got is WAN side unicast available bandwidth, the WAN side multicast is available Any one of bandwidth and the terminal side available bandwidth, the then highest that gateway can support any one available bandwidth as terminal Code rate.For example, the WAN side unicast available bandwidth that gateway is got is 10Mbps, then gateway is it can be concluded that the highest that terminal is supported Code rate is 10Mbps.
The second way, according to the EMS memory occupation ratio, the caching number of slicing files and each slicing files when It is long, determine the highest code rate that the terminal is supported.
Under which, if the performance information that gateway is got is EMS memory occupation ratio, gateway can be according to the memory Occupation proportion determines free memory;According to the free memory, the caching number of slicing files and each slicing files when It is long, determine cacheable highest code rate;The highest code rate that the cacheable highest code rate is supported as the terminal.
For example, the EMS memory occupation ratio that gateway is got is 80%, and free memory 5MByte=50Mbit, each fragment File 2 seconds, 2 fragments are cached, then cacheable highest code rate is 50 ÷, 2 ÷ 2=10Mbps.Therefore, gateway can be in local In file cache code rate be equal to or less than 10Mbsp slicing files, for example, gateway slicing files can be buffered in it is local In cache file.
The third mode, according to needed for the CPU occupation proportion and forwarding slicing files between CPU occupation proportion and code rate Corresponding relationship, determine the terminal support highest code rate.
Under which, there are corresponding relationships between CPU occupation proportion and code rate needed for forwarding slicing files.If gateway obtains The performance information got is CPU occupation proportion, then gateway can determine residue CPU occupation proportion according to the CPU occupation proportion; According to residue CPU occupation proportion and the corresponding relationship, the corresponding code rate of residue CPU occupation proportion is obtained;By the residue The highest code rate that the corresponding code rate of CPU occupation proportion is supported as the terminal.
It occupies for example, gateway gets M2U agent and distributes to its CPU occupation proportion and reach 95%, then residue CPU is accounted for It is 5% with ratio, if it is 5% that forwarding code rate, which is CPU occupation proportion needed for the slicing files of 10Mbps, gateway can be incited somebody to action The highest code rate that 10Mbps is supported as the terminal.
The WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side can be used band by the 4th kind of mode At least two are weighted summation in wide, obtain the highest code rate of terminal support.
Compared to first way, if the performance information that gateway is got is WAN side unicast available bandwidth, the WAN side At least two in multicast available bandwidth and the terminal side available bandwidth, then gateway can at least two available bandwidths add to this Power summation, obtains the highest code rate of terminal support.For example, the smallest at least two available bandwidths can be used can be set in terminal The weight in broadband is higher than the weight of other available bandwidths.Certainly, gateway can also be directly using the smallest available bandwidth as terminal The highest code rate of support, the embodiment of the present disclosure do not limit this.
It should be noted that above-mentioned may be achieved in that gateway determines that terminal is supported most according to the performance information of itself High code rate, in fact, gateway can also obtain the highest code rate of terminal support by other means, in a kind of possible implementation In, the highest code rate of gateway acquisition terminal support, comprising: obtain the business information of the terminal;According to the business of the terminal Information obtains the highest code rate of terminal support.
Wherein, gateway business information according to the terminal obtains the highest code rate of terminal support, comprising: according to this The business information of terminal determines the grade of service of the terminal;According to the grade of service of the terminal, the highest that the terminal is supported is determined Code rate, the different grades of service correspond to different highest code rates.The business information of terminal can be pre-configured on gateway, example Such as, which is pre-configured in net by configuring switch by the business information that operator can handle according to terminal user In the M2U agent of pass, allow gateway from middle acquisition business information is locally stored, it in this case, on gateway can be with Business information configured with multiple terminals, multiple affiliated gateway of terminal is the gateway.By according to Carrier Requirements, customization Code rate limitation to user, so that permission when providing different brackets business controls, provides different grades of clothes for different user Business.Certainly, the business information of terminal can not also be pre-configured on gateway, but when needing to obtain business information, temporarily The business information is activated, so that the business information after the available activation of gateway.
As it can be seen that gateway can both calculate the limitation of highest code rate according to performance information, the highest supported terminal is realized The dynamic of code rate controls, so that permission when providing different brackets business controls, highest code can also be obtained according to business information The static cost control for the highest code rate supported terminal is realized in the limitation of rate.
410, the highest code rate that gateway is supported according to the terminal is deleted specified code rate and is somebody's turn to do from first index file The address of the slicing files of specified code rate, obtains the second index file, which is higher than the highest code rate that terminal is supported.
In the embodiment of the present disclosure, gateway, can be according to the highest code rate, to this after determining the highest code rate that terminal is supported First index file is handled, and the code rate and corresponding slicing files of the highest code rate will be such as higher than in the first index file It deletes.
For example, gateway 409 show that the highest code rate that terminal is supported is 10Mbps through the above steps, then gateway can be by the Slicing files corresponding higher than the code rate of 10Mbps are deleted in one index file.For example, certain fragment texts in the first index file The code rate of part is 25Mbps, has had exceeded 10Mbps, then gateway can index all slicing files of 25Mbps from first It is deleted in file, when avoiding playing the excessive slicing files of these code rates, since code rate is greater than the highest code rate that terminal is supported, and Lead to the problem of result of broadcast difference.
Above-mentioned steps are the processes of content in adjustment index file, if this is most after the highest code rate that gateway obtains terminal High code rate is obtained according to the business information of terminal, then the content that index file is adjusted according to business information may be implemented in gateway; If the high code rate is obtained according to the performance information of gateway, gateway may be implemented to adjust index file according to the case where gateway Content, that is to say, gateway may be implemented not only to be accounted for according to WAN side unicast available bandwidth, WAN side multicast available bandwidth, CPU Index file is adjusted with ratio, EMS memory occupation ratio and terminal side available bandwidth etc., it can also be according to the industry of terminal Business information is adjusted index file, thus the highest code rate that limiting terminal is playable, namely the limitation available highest of user Video resolution.
411, gateway carries out multicast conversation according to the second index file.
Wherein, the second index file includes the part code rate of the multimedia file and the slicing files of the part code rate Address, the part code rate refer to that remaining code rate after code rate, the part code rate are specified in deletion in all code rates of multimedia file The highest code rate supported less than or equal to terminal.
In the embodiment of the present disclosure, after gateway obtains the second index file, multicast conversation can be started according to channel assignment, Such as " Start Multicast Session, the According to Channel Config " in Fig. 4.It that is to say, be deployed with The gateway of M2U agent can turn to unicast where multicast agent (Unicast to Multicast agent, U2M agent) Equipment sends slicing files acquisition request, and the slicing files acquisition request is for each code rate in the second index file of request Slicing files.Equipment can obtain after receiving the slicing files acquisition request to unicast server where U2M agent After the slicing files of each code rate, the slicing files are returned to gateway, wherein unicast server stores multimedia in the form of source The slicing files of file.Slicing files can be transmitted using multicast transmission mode between equipment and gateway where U2M agent.
412, second index file is sent to the terminal by gateway, second index file for the terminal according to this Two index files play out multimedia file.
In the embodiment of the present disclosure, the second index file after treatment can be sent to terminal by gateway, to respond end The index file acquisition request sent is held, such as " the HTTP Response " in Fig. 4.The index text of terminal is supplied to by limiting Highest code rate in part allows terminal to attempt that the slicing files of suitable code rate is selected to play out faster, realizes faster Convergence.And since the code rate in the second index file is less than or equal to the highest code rate that terminal is supported, thus result of broadcast is good.
413, gateway multicast slicing files do FEC correction.
In the embodiment of the present disclosure, for gateway when carrying out multicast conversation, equipment where U2M agent may be to being deployed with The gateway redundancy of the U2M agent FEC message (obtaining from content packet counting) that send out some additional, gateway can be according to these Redundant message carries out FEC correction, such as " the FEC Repair " in Fig. 4.It is corrected by FEC, a small amount of packet loss can be restored, such as 0.1% packet loss.
If 414, FEC correction is unsuccessful, gateway is obtained from CDN server loses information.
In the embodiment of the present disclosure, if gateway cannot be corrected by FEC, restore to lose information, such as in multicast transmission process In a small amount of packet loss, then gateway can obtain the loss information from CDN server, as gateway can be sent to CDN server The request of HTTP bytes range is repaired with realizing to retransmit, such as " Retransmission Repair (the HTTP Byte in Fig. 4 Range)”。
415, when receiving the second index file, terminal sends slicing files acquisition request, the slicing files to gateway Acquisition request carries target bit rate, which is equal to or less than the highest code rate that terminal is supported.
In the embodiment of the present disclosure, terminal can be asked after getting the second index file by sending slicing files acquisition The mode asked obtains the slicing files of target bit rate in the second index file from gateway, such as " the Get Fragment " in Fig. 4. The target bit rate can be terminal according to current WiFi bandwidth, in all code rates that the second index file includes, selection One code rate to match with the WiFi bandwidth.
416, when receiving the slicing files acquisition request of terminal, whether gateway inspection locally has the fragment of target bit rate File.
In the embodiment of the present disclosure, gateway can be in the slicing files of local cache multimedia file, as gateway can will be Carry out multicast conversation when acquisition slicing files be buffered in local, correspondingly, gateway when receiving slicing files acquisition request, It can check the local slicing files for whether having the target bit rate, if local cache has the slicing files of the target bit rate, Gateway can return to the slicing files of the target bit rate to terminal, such as " the Return Multicast Fragment in Fig. 4 from Cache";If the local slicing files for not being cached with the target bit rate, gateway can be by executing subsequent step 417 and step 418, the slicing files of the target bit rate are obtained from CDN server.
417, when the local not slicing files of target bit rate, gateway sends slicing files acquisition to CDN server and asks It asks, which carries target bit rate.
In the embodiment of the present disclosure, if the slicing files of the local not target bit rate of gateway, gateway can be using agencies Mode returns to terminal after the slicing files that CDN server obtains target bit rate, then by the slicing files.Specifically, gateway The slicing files of target bit rate can be obtained from CDN server, such as by sending slicing files acquisition request to CDN server " Get Other Fragment in Proxy Mode " in Fig. 4.
418, CDN server sends the slicing files of target bit rate to gateway.
In the embodiment of the present disclosure, CDN server, can be according to the slicing files after receiving slicing files acquisition request The target bit rate indicated in acquisition request, after the middle slicing files for obtaining the target bit rate are locally stored, returning to gateway should The slicing files of target bit rate, using the response as the slicing files acquisition request sent to gateway, so that gateway is available The slicing files of the target bit rate, such as " the HTTP Response " in Fig. 4.
Above-mentioned steps 417 to step 418 is when the local not slicing files of target bit rate of gateway, and gateway takes from CDN Business device obtains the process of the slicing files of the target bit rate.
419, after gateway receives the slicing files of the target bit rate, the slicing files of the target bit rate are sent to end End.
In the embodiment of the present disclosure, gateway, can should after the slicing files for getting the target bit rate from CDN server The slicing files of target bit rate are sent to terminal, using the response as the slicing files acquisition request sent to terminal, in Fig. 4 " HTTP Response ".
420, when the slicing files for receiving the target bit rate, and the slicing files of the target bit rate are point by encryption When piece file, terminal sends decryption information acquisition request to MultiDRM server.
Wherein, solution confidential information of the decryption information acquisition request for the slicing files of the request target bit rate.
In the embodiment of the present disclosure, the slicing files for the target bit rate that terminal is got may be the fragment text by encryption Part, in this way, terminal can obtain the solution secret letter of the slicing files from MultiDRM server by decrypting information acquisition request Breath, such as " the Get DRM License " in Fig. 4.
421, MultiDRM server sends the solution confidential information of the slicing files of the target bit rate to terminal.
In the embodiment of the present disclosure, MultiDRM server, can when receiving the decryption information acquisition request of terminal transmission To respond the decryption information acquisition request, for example, MultiDRM server can return to the fragment text of the target bit rate to terminal The solution confidential information of part, which is MultiDRM server is permitted to the slicing files of the terminal plays target bit rates Can, such as " the Return DRM License " in Fig. 4.
422, terminal locally decrypts the slicing files of the target bit rate, and play the target bit rate according to solution confidential information Slicing files.
In the embodiment of the present disclosure, after getting solution confidential information the solution confidential information is can be used, to target bit rate in terminal Slicing files carry out local decryption and decoding, and such as " the Decrypt and Decode " in Fig. 4, in turn, terminal can pass through Player starts to play the slicing files after decryption.
It should be noted that above-mentioned steps 420 to step 422 are got from CDN server by encryption with terminal Slicing files, terminal are illustrated for needing to obtain solution confidential information from MultiDRM server.In fact, terminal takes from CDN The slicing files that business device is got are also likely to be not encrypt, and are somebody's turn to do in this way, terminal does not need then to obtain from MultiDRM server The solution confidential information of slicing files, but can directly start to play after the slicing files for receiving the target bit rate.
Above-mentioned steps 415 to step 422 is one kind that terminal carries out multimedia file broadcasting according to second index file Possible implementation.Since the code rate in the second index file is below the highest code rate of terminal support, terminal can only obtain It takes and plays by the multimedia file of limitation code rate.
It should be noted that above-mentioned steps 415 to step 422 be by taking the slicing files of terminal plays target bit rate as an example into Row explanation, in fact, terminal can carry out the switching of code rate, for example, the slicing files of the target bit rate can be 0-2s Slicing files, terminal is during playing the slicing files of the target bit rate, next fragment of available difference code rate File, such as the slicing files of 0-4s, such terminal can then play difference after playing the slicing files of the target bit rate Next slicing files of code rate, to achieve the effect that code rate switches.
423, gateway reports operating status and statistical information to M-ABR Controller.
In the embodiment of the present disclosure, during terminal plays multimedia file, gateway can be to M-ABR The number of retransmissions of the slicing files of multimedia file, the multimedia file that Controller reporting terminal plays, the multimedia The operating statuses such as the result of broadcast of file and other Quality of experience and statistical information, such as " the Report in Fig. 4 Multicast,Retrans,Play QOE".By reporting the broadcasting situation of multimedia file, so that preferably control is based on group The multimedia file transmission broadcast.
It should be noted that the embodiment of the present disclosure is to be applied to the affiliated net of terminal with above-mentioned method for broadcasting multimedia file It closes, is deployed on the gateway for M2U agent and is illustrated, in fact, the M2U agent can also be deployed in company, terminal institute It connects on router or base station, in this way, above-mentioned method for broadcasting multimedia file also can be applied to router or base station, realizes movement Multimedia file under network plays, detailed process and the above-mentioned steps 401 when being applied to gateway to step 423 similarly, no longer It repeats.
By taking base station as an example, base station again may be by the business letter of itself situation (performance information of such as base station) or terminal Breath obtains the highest code rate that terminal is supported, and adjusts the code rate in index file according to the highest code rate.Wherein, base station obtains The highest code rate that the terminal is supported, comprising: the performance information for obtaining base station determines what the terminal was supported according to the performance information Highest code rate;Or obtain the business information of the terminal;According to the business information of the terminal, the highest code of terminal support is obtained Rate.Wherein, the performance information of base station equally includes WAN side unicast available bandwidth, WAN side multicast available bandwidth, CPU occupancy ratio At least one of in example, EMS memory occupation ratio and terminal side available bandwidth.Base station determines the terminal branch according to the performance information The process for the highest code rate held, or according to the business information of the terminal, the highest code rate and gateway for obtaining terminal support are obtained The highest code rate that terminal is supported similarly, repeats no more.
The method that the embodiment of the present disclosure provides, the highest code rate supported by obtaining terminal, and according to the highest code rate pair Code rate in index file is adjusted, so that the code rate in the index file that terminal receives is lower than the highest code that terminal is supported Rate, the slicing files for avoiding the highest code rate that terminal selection code rate is greater than terminal support are downloaded and cause result of broadcast poor The problem of.
In addition, the highest code rate that terminal is supported both can be according to the terminal gateway, the connected router of terminal or base station Performance information obtains, to more accurately provide available code rate for terminal, the highest code rate that terminal is supported can also be according to end The business information at end obtains, and limits to realize and be customized according to Carrier Requirements the code rate of different terminals, is controllable to difference Charge user provides different grades of multimedia file and plays service.
Further, since the index file for being supplied to terminal is the index file after code rate delete operation, thus compare In all code rates of multimedia file, the code rate in index file that terminal receives is less, and selectable range of code rates is smaller, Terminal is allowed to choose suitable code rate faster, to faster be adjusted in place code rate.
Fig. 5 is a kind of structural schematic diagram for multimedia file playing device that the embodiment of the present disclosure provides.It, should referring to Fig. 5 Device includes obtaining module 501, removing module 502 and sending module 503.
Module 501 is obtained, for obtaining the first of multimedia file when receiving the index file acquisition request of terminal Index file, first index file include the ground of all code rates of the multimedia file and the slicing files of all code rates Location;
The acquisition module 501 is also used to obtain the highest code rate of terminal support;
Removing module 502, the highest code rate for being supported according to the terminal delete designated code from first index file The address of the slicing files of rate and the specified code rate, obtains the second index file, which is higher than the highest code rate;
Sending module 503, for second index file to be sent to the terminal, which is used for the terminal The multimedia file is played out according to second index file.
In a kind of possible implementation, module 501 is obtained for obtaining the mistake of highest code rate in row above-mentioned steps 509 Journey.
In a kind of possible implementation, the performance information packet of the affiliated gateway of terminal, the connected router of terminal or base station Include wide area network WAN side unicast available bandwidth, WAN side multicast available bandwidth, central processor CPU occupation proportion, EMS memory occupation ratio At least one of in example and terminal side available bandwidth.
It should be noted that obtaining module 501 can be realized by the transceiver of electronic equipment, removing module 502 can be with Realize that sending module 503 can be realized by the transceiver of electronic equipment by the processor of electronic equipment.
In the embodiment of the present disclosure, the highest code rate supported by obtaining terminal, and according to the highest code rate to index file In code rate be adjusted so that the code rate in the index file that terminal receives be lower than terminal support highest code rate, avoid The slicing files that terminal selection code rate is greater than the highest code rate that terminal is supported are downloaded and cause the problem of result of broadcast difference.
It should be understood that multimedia file playing device provided by the above embodiment is when playing multimedia file, only The example of the division of the above functional modules, in practical application, can according to need and by above-mentioned function distribution by Different functional modules is completed, i.e., the internal structure of equipment is divided into different functional modules, described above complete to complete Portion or partial function.In addition, multimedia file playing device provided by the above embodiment and method for broadcasting multimedia file are real It applies example and belongs to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the alternative embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.

Claims (16)

1. a kind of method for broadcasting multimedia file, which is characterized in that the described method includes:
When receiving the index file acquisition request of terminal, the first index file of multimedia file, first rope are obtained Quotation part includes the address of all code rates of the multimedia file and the slicing files of all code rates;
Obtain the highest code rate that the terminal is supported;
According to the highest code rate that the terminal is supported, specified code rate and the designated code are deleted from first index file The address of the slicing files of rate, obtains the second index file, and the specified code rate is higher than the highest code rate;
Second index file is sent to the terminal, second index file is for the terminal according to described second Index file plays out the multimedia file.
2. the method according to claim 1, wherein the highest code rate for obtaining the terminal and supporting, comprising:
Obtain the business information of the terminal;
According to the business information of the terminal, the highest code rate that the terminal is supported is obtained.
3. according to the method described in claim 2, it is characterized in that, the business information according to the terminal, described in acquisition The highest code rate that terminal is supported, comprising:
According to the business information of the terminal, the grade of service of the terminal is determined;
According to the grade of service of the terminal, the highest code rate that the terminal is supported is determined, the different grades of service is corresponding different Highest code rate.
4. the method according to claim 1, wherein the highest code rate for obtaining the terminal and supporting, comprising:
Obtain the performance information of the affiliated gateway of the terminal, the connected router of the terminal or base station;
According to the performance information, the highest code rate that the terminal is supported is determined.
5. according to the method described in claim 4, it is characterized in that, the performance information includes that wide area network WAN side unicast is available In bandwidth, WAN side multicast available bandwidth, central processor CPU occupation proportion, EMS memory occupation ratio and terminal side available bandwidth At least one of.
6. according to the method described in claim 5, determining the terminal branch it is characterized in that, described according to the performance information The highest code rate held, comprising:
By any one of the WAN side unicast available bandwidth, the WAN side multicast available bandwidth and described terminal side available bandwidth The highest code rate supported as the terminal;Or,
According to the duration of the EMS memory occupation ratio, the caching number of slicing files and each slicing files, the end is determined Hold the highest code rate supported;Or,
Corresponding relationship according to needed for the CPU occupation proportion and forwarding slicing files between CPU occupation proportion and code rate, really The highest code rate that the fixed terminal is supported;Or,
It will be at least two in the WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side available bandwidth Item is weighted summation, obtains the highest code rate that the terminal is supported.
7. according to the method described in claim 6, it is characterized in that, described according to the EMS memory occupation ratio, slicing files The duration for caching number and each slicing files determines the highest code rate that the terminal is supported, comprising:
According to the EMS memory occupation ratio, free memory is determined;
According to the duration of the free memory, the caching number of slicing files and each slicing files, determine it is cacheable most High code rate;
The highest code rate that the cacheable highest code rate is supported as the terminal.
8. method according to claim 6 or 7, which is characterized in that described to be divided according to the CPU occupation proportion and forwarding Corresponding relationship between CPU occupation proportion and code rate needed for piece file determines the highest code rate that the terminal is supported, comprising:
According to the CPU occupation proportion, residue CPU occupation proportion is determined;
According to the residue CPU occupation proportion and the corresponding relationship, the corresponding code of the residue CPU occupation proportion is obtained Rate;
The highest code rate that the corresponding code rate of the residue CPU occupation proportion is supported as the terminal.
9. a kind of multimedia file playing device, which is characterized in that described device includes:
Module is obtained, for when receiving the index file acquisition request of terminal, obtaining the first index text of multimedia file Part, first index file include the address of all code rates of the multimedia file and the slicing files of all code rates;
The acquisition module is also used to obtain the highest code rate that the terminal is supported;
Removing module, the highest code rate for being supported according to the terminal delete specified code rate from first index file And the address of the slicing files of the specified code rate, the second index file is obtained, the specified code rate is higher than the highest code Rate;
Sending module, for second index file to be sent to the terminal, second index file is used for the end End plays out the multimedia file according to second index file.
10. device according to claim 9, which is characterized in that the business for obtaining module and being used to obtain the terminal Information;According to the business information of the terminal, the highest code rate that the terminal is supported is obtained.
11. device according to claim 10, which is characterized in that the module that obtains is for the business according to the terminal Information determines the grade of service of the terminal;According to the grade of service of the terminal, the highest code that the terminal is supported is determined Rate, the different grades of service correspond to different highest code rates.
12. device according to claim 9, which is characterized in that the acquisition module is for obtaining the affiliated net of the terminal The performance information of pass, the connected router of the terminal or base station;According to the performance information, determine that the terminal is supported most High code rate.
13. device according to claim 12, which is characterized in that the performance information includes wide area network WAN side unicast can With bandwidth, WAN side multicast available bandwidth, central processor CPU occupation proportion, EMS memory occupation ratio and terminal side available bandwidth At least one of in.
14. device according to claim 13, which is characterized in that the acquisition module is used for can by the WAN side unicast Any one of bandwidth, the WAN side multicast available bandwidth and described terminal side available bandwidth is used to support most as the terminal High code rate;Or,
The acquisition module is used for according to the EMS memory occupation ratio, the caching number of slicing files and each slicing files Duration determines the highest code rate that the terminal is supported;Or,
The acquisition module is used for CPU occupation proportion and code rate according to needed for the CPU occupation proportion and forwarding slicing files Between corresponding relationship, determine the highest code rate that the terminal is supported;Or,
The acquisition module is used for the WAN side unicast available bandwidth, the WAN side multicast available bandwidth and the terminal side At least two are weighted summation in available bandwidth, obtain the highest code rate that the terminal is supported.
15. device according to claim 14, which is characterized in that the acquisition module is used for according to the EMS memory occupation ratio Example, determines free memory;According to the duration of the free memory, the caching number of slicing files and each slicing files, really Fixed cacheable highest code rate;The highest code rate that the cacheable highest code rate is supported as the terminal.
16. device according to claim 14 or 15, which is characterized in that the acquisition module according to the CPU for accounting for With ratio, residue CPU occupation proportion is determined;According to the residue CPU occupation proportion and the corresponding relationship, obtain described surplus The corresponding code rate of remaining CPU occupation proportion;The highest that the corresponding code rate of the residue CPU occupation proportion is supported as the terminal Code rate.
CN201810044029.8A 2018-01-17 2018-01-17 Method for broadcasting multimedia file and device Pending CN110049355A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810044029.8A CN110049355A (en) 2018-01-17 2018-01-17 Method for broadcasting multimedia file and device
PCT/CN2018/096116 WO2019140877A1 (en) 2018-01-17 2018-07-18 Multimedia file playback method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810044029.8A CN110049355A (en) 2018-01-17 2018-01-17 Method for broadcasting multimedia file and device

Publications (1)

Publication Number Publication Date
CN110049355A true CN110049355A (en) 2019-07-23

Family

ID=67273176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810044029.8A Pending CN110049355A (en) 2018-01-17 2018-01-17 Method for broadcasting multimedia file and device

Country Status (2)

Country Link
CN (1) CN110049355A (en)
WO (1) WO2019140877A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853650B1 (en) * 1998-02-05 2005-02-08 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Communication network, method for transmitting a signal, network connecting unit and method for adjusting the bit rate of a scaled data flow
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
CN103987136A (en) * 2014-04-29 2014-08-13 河南科技大学 Intelligent gateway for interaction of wired network and wireless network
US20140325023A1 (en) * 2013-04-24 2014-10-30 Cisco Technology, Inc. Size prediction in streaming enviroments
CN104780393A (en) * 2015-04-10 2015-07-15 天脉聚源(北京)教育科技有限公司 Method and device for allocating resources
CN104917688A (en) * 2014-03-12 2015-09-16 中国科学院声学研究所 Code rate control method of streaming media gateway
CN206712983U (en) * 2017-04-25 2017-12-05 中信国安广视网络有限公司 Streaming media server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011157143A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Method and device for multi-rates handover in live broadcast
CN106658226B (en) * 2015-10-28 2020-12-11 中兴通讯股份有限公司 Playing method and device
CN106254548A (en) * 2016-09-29 2016-12-21 天脉聚源(北京)科技有限公司 A kind of method and device downloading stream medium data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853650B1 (en) * 1998-02-05 2005-02-08 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Communication network, method for transmitting a signal, network connecting unit and method for adjusting the bit rate of a scaled data flow
CN103269331A (en) * 2013-04-20 2013-08-28 华为技术有限公司 Method and device for selectively playing code rate content
US20140325023A1 (en) * 2013-04-24 2014-10-30 Cisco Technology, Inc. Size prediction in streaming enviroments
CN104917688A (en) * 2014-03-12 2015-09-16 中国科学院声学研究所 Code rate control method of streaming media gateway
CN103987136A (en) * 2014-04-29 2014-08-13 河南科技大学 Intelligent gateway for interaction of wired network and wireless network
CN104780393A (en) * 2015-04-10 2015-07-15 天脉聚源(北京)教育科技有限公司 Method and device for allocating resources
CN206712983U (en) * 2017-04-25 2017-12-05 中信国安广视网络有限公司 Streaming media server

Also Published As

Publication number Publication date
WO2019140877A1 (en) 2019-07-25

Similar Documents

Publication Publication Date Title
US10659844B2 (en) Interaction method and system based on recommended content
JP6877808B2 (en) Methods, devices, and systems for processing video stream data
US11153620B2 (en) Media broadcasting method, server, terminal device, and storage medium
CN104821937B (en) Token acquisition methods, apparatus and system
US10701451B2 (en) Program interaction system, method, client, and backend server
CN106302325B (en) The methods, devices and systems of specified communication service are provided
CN106791955B (en) A kind of method and system of determining live streaming duration
CN109756758A (en) Live-broadcast control method and device
KR102033986B1 (en) Method and system for transmitting streaming media, user equipment, and server
CN104918124A (en) Live interaction system, information transmission method, information receiving method and device
CN104967608B (en) Play method, mobile terminal and the fixed terminal of multimedia file
JP2021005898A (en) Method for acquiring interactive information, terminal, server and system
CN103458305A (en) Video playing method and device, terminal device and server
CN104836783B (en) The method, apparatus and system of data transmission
WO2016184295A1 (en) Instant messenger method, user equipment and system
CN105049423A (en) Authority management system, device and method
CN107332976A (en) Karaoke method, device, equipment and system
WO2007047102A2 (en) System and method of delivering video data
CN104580177B (en) Resource provider method, device and system
JP2021505081A (en) Video transmission methods, video transmission equipment, and video transmission systems, as well as computer-readable storage media
CN107277031A (en) A kind of Internet video method for down loading, device, storage medium and terminal
CN106953898A (en) A kind of method and apparatus for obtaining software kit
CN104702634A (en) Method, device and system for processing data operation request
CN106534877B (en) A kind of method and device sending Media Stream
CN109995743A (en) A kind of processing method and terminal of multimedia file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190723

RJ01 Rejection of invention patent application after publication