CN108737355A - Streaming media playing based on user bandwidth - Google Patents

Streaming media playing based on user bandwidth Download PDF

Info

Publication number
CN108737355A
CN108737355A CN201710278651.0A CN201710278651A CN108737355A CN 108737355 A CN108737355 A CN 108737355A CN 201710278651 A CN201710278651 A CN 201710278651A CN 108737355 A CN108737355 A CN 108737355A
Authority
CN
China
Prior art keywords
bandwidth
streaming
user
account
slice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710278651.0A
Other languages
Chinese (zh)
Other versions
CN108737355B (en
Inventor
陈培源
司增辉
殷泽祥
吴则栋
邓英杰
龙江华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CITIC Guoan Broadcom Network Co Ltd
Original Assignee
CITIC Guoan Broadcom Network 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 CITIC Guoan Broadcom Network Co Ltd filed Critical CITIC Guoan Broadcom Network Co Ltd
Priority to CN201710278651.0A priority Critical patent/CN108737355B/en
Publication of CN108737355A publication Critical patent/CN108737355A/en
Application granted granted Critical
Publication of CN108737355B publication Critical patent/CN108737355B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/70Media network packetisation
    • 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/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiment of the disclosure is related to the streaming media playing based on user bandwidth.Disclose a kind of method for playing stream media content.This method includes obtaining the bandwidth of opening an account of user, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user.This method further includes obtaining index file associated with the streaming medium content to be played, and wherein index file includes multiple code checks associated with multiple Streaming Medias slice.This method further includes based on multiple code checks in open an account bandwidth and index file come the first Streaming Media slice from the selection of multiple Streaming Medias slice for broadcasting.Embodiment of the disclosure is by obtaining user bandwidth data so that user equipment can adaptively play the streaming medium content of suitable code check version.Therefore, embodiment of the disclosure can reduce situations such as interim card or buffering in playing process, while also ensure the play quality of streaming medium content, and the user for thus effectively increasing streaming medium content plays experience.

Description

Streaming media playing based on user bandwidth
Technical field
Embodiment of the disclosure relates generally to stream media technology field, relates more specifically to play based on user bandwidth The method and apparatus of streaming medium content.
Background technology
Streaming medium content refers to the time-base media continuously transmitted using streaming technology on network (such as internet), Such as video, audio or other files in stream media.Different from common multimedia, streaming media playing need not be in advance by stream Media content is completely downloaded in the local.In industries such as broadcasting and TV, telecommunications, the Streaming Media based on Internet Protocol (IP) may be implemented and broadcast It puts or presents, video playing, video on demand, live telecast, TV playback, time shifting of television etc..It is, for example, possible to use because of spy FidonetFido TV (IPTV) or OTT (Over The TOP) pattern TV carry out playing stream media content.
With the development of information technology, the clarity of the streaming medium contents such as video is continuously improved, and original clear version regards Frequency usually requires that higher network condition.In order to ensure user can smooth playing video, video provider usually regards to original Frequency carries out transcoding, the various video version of different clarity versions is generated, for example, ordinary video, SD video, super clear video Deng.User can select suitable video version to play out according to the network response condition in playing process.
Invention content
In view of this, the presently disclosed embodiments propose a kind of method based on user bandwidth playing stream media content and Equipment.Embodiment of the disclosure is by obtaining user bandwidth data so that user equipment can adaptively play suitable code check The streaming medium content of version.Therefore, embodiment of the disclosure can reduce situations such as interim card or buffering in playing process, simultaneously Also ensure the play quality of streaming medium content, the user for thus effectively increasing streaming medium content plays experience.
According to the disclosure in a first aspect, providing a kind of method for playing stream media content.This method includes obtaining The bandwidth of opening an account for obtaining user, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user.This method further includes Index file associated with the streaming medium content to be played is obtained, wherein index file includes being sliced phase with multiple Streaming Medias Associated multiple code checks.This method further includes being cut from multiple Streaming Medias based on multiple code checks in open an account bandwidth and index file First Streaming Media slice of the piece selection for broadcasting.
According to the second aspect of the disclosure, a kind of method for transmitting streaming medium content is provided.This method includes base The bandwidth of opening an account of user is determined in the user identifier of user, wherein bandwidth of opening an account is the net distributed from network operator to user Network bandwidth.This method further includes associated with streaming medium content to determine based on the content identification for the streaming medium content to be played Index file, wherein index file includes multiple code checks associated with multiple Streaming Medias slice.This method further include from The download that family equipment receives the first Streaming Media slice in being sliced for multiple Streaming Medias is asked, wherein the first Streaming Media is sliced base In opening an account bandwidth and index file is determined.
According to the third aspect of the disclosure, a kind of electronic equipment is provided.The electronic equipment includes processor and is coupled to Processor and the memory for being stored with instruction.Described instruction executes following action when executed by the processor:Obtain user's It opens an account bandwidth, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user;It obtains and the stream matchmaker to be played Hold associated index file in vivo, wherein index file includes multiple code checks associated with multiple Streaming Medias slice;It is based on Multiple code checks in the bandwidth and index file of opening an account carry out the first Streaming Media slice for broadcasting from the selection of multiple Streaming Medias slice.
According to the fourth aspect of the disclosure, a kind of electronic equipment is provided.The electronic equipment includes processor and is coupled to Processor and the memory for being stored with instruction.Described instruction executes following action when executed by the processor:Based on user's User identifier determines the bandwidth of opening an account of user, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user. This method further includes determining index associated with streaming medium content based on the content identification for the streaming medium content to be played File, wherein index file include multiple code checks associated with multiple Streaming Medias slice.This method further includes from user equipment The download of the first Streaming Media slice in multiple Streaming Medias slice is asked in reception, wherein the first Streaming Media slice is based on opening an account Bandwidth and index file are determined.
In addition, embodiment of the disclosure additionally provides a kind of computer readable storage medium.The computer-readable storage medium Matter has the computer-readable program instructions being stored thereon.These computer-readable program instructions can be used for executing according to this Method or process described in each embodiment in open.
Description of the drawings
It refers to the following detailed description in conjunction with the accompanying drawings, the feature, advantage and other aspects of the presently disclosed embodiments will become Must be more obvious, show several embodiments of the disclosure by way of example rather than limitation herein, in the accompanying drawings:
Fig. 1 illustrates the schematic diagrames of the framework of computing system according to an embodiment of the present disclosure;
Fig. 2 illustrates the schematic diagram according to an embodiment of the present disclosure for handling the process of streaming medium content;
Fig. 3 illustrates the schematic diagram of the process according to an embodiment of the present disclosure for playing stream media content;
Fig. 4 illustrates the schematic diagram of the structure of index file according to an embodiment of the present disclosure;
Fig. 5 illustrates the schematic diagram according to an embodiment of the present disclosure for downloading streaming medium content;
Fig. 6 illustrates the flow chart of the method according to an embodiment of the present disclosure for playing stream media content;
Fig. 7 illustrates the flow chart according to an embodiment of the present disclosure for transmitting the method for streaming medium content;And
Fig. 8 illustrates the schematic block diagram for the equipment that can be used for implementing embodiment of the disclosure.
Specific implementation mode
Each exemplary embodiment of the disclosure is described in detail below with reference to attached drawing.Flow chart and block diagram in attached drawing are shown The architecture, function and operation in the cards of method and system according to various embodiments of the present disclosure.It should be noted that Each box in flowchart or block diagram can represent a part for a module, program segment, or code, the module, program Section or a part for code may include one or more being held for realizing the logic function of defined in each embodiment Row instruction.It should also be noted that in some alternative implementations, the function of being marked in box can also be according to different from attached The sequence marked in figure occurs.For example, two boxes succeedingly indicated can essentially be basically executed in parallel or it Can also execute in a reverse order sometimes, this depend on involved function.It should also be noted that flow chart And/or the combination of each box in block diagram and the box in flowchart and or block diagram, work(as defined in executing can be used Can or the dedicated hardware based system of operation realize, or can make using a combination of dedicated hardware and computer instructions to combine and It realizes.
Term as used herein "include", "comprise" and similar terms are understood to open term, i.e., " including/including but not limited to ", expression can also include other content.In this disclosure, term "based" is " at least portion It is based on dividing ";Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " expression is " at least one Other embodiment ".
It should be appreciated that provide these exemplary embodiments merely to make those skilled in the art can better understand that into And realize embodiment of the disclosure, and do not in any way limit the scope of the invention.
Conventional method usual default choice most clearly video version in play-on-demand video or live video.However, If the network condition of user can not smooth playing most clearly video version when (such as network bandwidth insufficient), video will appear Phenomena such as interim card, buffering (such as needing buffering 3-5 seconds), thus user equipment can determine that current bandwidth cannot be satisfied the video The online broadcasting of version.Then, smooth ordinary video version can be switched to play out, needed by one so as to cause video The buffering ability smooth playing of section time, influences user experience.Another conventional method is that default choice is most in video playing Smooth version (for example, clarity minimum ordinary video version), although video cardton may not occur in this case Or the phenomenon that buffering, but the clarity of video is relatively low, also affects user experience when user plays video.
In addition, video segment generally use dynamic bit rate (VBR) encodes, thus each slice size and reality of video Code check may be different.However, only recording the average bit rate of entire video in traditional index file, rather than record each The code check of slice itself.Therefore there are average bit rate less than user network bandwidth and individually slice code check itself be more than network The case where bandwidth, so as to cause that smooth can not play video online, there is still a need for buffering or interim cards for the player of user equipment.
Embodiment of the disclosure propose it is a kind of based on user bandwidth come the method and apparatus of playing stream media content.This public affairs The embodiment opened is by obtaining user bandwidth data so that user equipment can adaptively play the stream matchmaker of suitable code check version Hold in vivo.That is, embodiment of the disclosure can select relatively most clearly in the case where ensureing video playing not interim card Video version.Therefore, embodiment of the disclosure can reduce situations such as interim card or buffering in playing process, while can also protect The play quality for demonstrate,proving streaming medium content, the user for thus effectively increasing streaming medium content play experience.In addition, the reality of the disclosure Apply code check of the example by each slice of determination itself, rather than the average bit rate of entire video, thus can ensure video playing Fluency.Embodiment of the disclosure illustrative methods and equipment are described below with reference to Fig. 1-8.
Fig. 1 illustrates the schematic diagrames of the framework of computing system 100 according to an embodiment of the present disclosure.As shown in Figure 1, calculating System 100 includes user equipment 110 and server 120.User equipment 110 can be any end with ability to play multi-media End equipment, for example, mobile device (smart mobile phone, tablet computer, portable computer etc.) or fixed equipment it is (such as desk-top Computer, set-top box, projecting apparatus etc.).Server 120 can be any server for being capable of providing Online Video broadcasting.Ability Field technique personnel should be appreciated that server 120 can be the form of single physical equipment, or the physics of multiple separation is set Standby (for example, composition server system).
In some embodiments, user equipment 110 and server 120 can include respectively communication module (not shown), and And user equipment 110 can be communicated with server 120 on network 130.Network 130 can be any wired and/or nothing Gauze network.Optionally, which can include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, Virtual Private Network (VPN) network, cordless communication network etc..As shown in Figure 1, user equipment 110 can be sent to server 120 in playing stream media Hold the request of (such as video), and receives video (such as order video or live video) from server 120 and play out.It can Selection of land, user equipment 110 can play video by browser, application program or embedded software etc..
As shown in Figure 1, server 120 may include:Memory module 121 (such as Storage System for Stream Media), for storing Files in stream media;Transcoding module 122 (such as trans-coding system) carries out transcoding for streaming media content;123 (example of portal module Such as gate system), the navigation of streaming medium content for rendering;Content managing module 124 (such as Content Management System CMS) is used It is managed in streaming media content etc.;Authentication module 125 (such as authentication system), for recognizing user identity etc. Card;And business support module 126 (such as business operation supports system (BOSS)), for being supported to business datum.Though Six modules in server 120 are schematically illustrated in right Fig. 1, but server 120 may include more or fewer Module, embodiment of the disclosure are not limited by this respect, wherein each module can be software function module, or object Manage the subsystems of separation.
In some embodiments, content managing module 124 can be from upstream media information system, ISP or content Supplier's typing order video programme information or live video programme information, content managing module 124 can also to program request and/ Or live video program is managed, audits and maintenance items packet relationship etc..Content managing module 124 is believed to video frequency program Cease into after edlin, packing and audit, video program information can be sent to portal module 123, for user into Row is presented.
In some embodiments, transcoding module 122 can be provided from upstream media information system, ISP or content Person imports video file or programme televised live stream, and wherein transcoding module 122 can carry out offline and/or online turn with streaming media content Code, to generate standardized files in stream media.Files in stream media after transcoding is sent to memory module 121 and carried out by transcoding module Slicing treatment and storage.
In some embodiments, business support module 126 receives user data from upstream, and by the subscription data of user Etc. information be sent to authentication module 125, user equipment needs recognizing by authentication module 125 before playing stream media content Card.If by the certification of authentication module 125, user equipment can ask streaming medium content to play out.
Although it will be appreciated by those skilled in the art that illustrate only a user equipment 110 in computing system 100, It may include the user equipment of multiple and different types in computing system 100;Although illustrating only a service in computing system 100 Device 120, but computing system 100 can also include the server of multiple distributed arrangements.
Fig. 2 illustrates the schematic diagram according to an embodiment of the present disclosure for handling the process 200 of streaming medium content.Ability Field technique personnel should be appreciated that process 200 can be executed by the server 120 above with reference to described in Fig. 1.
Content managing module 124 is managed for streaming media content etc., can when it obtains new streaming medium content To carry out transcoding processing and slicing treatment to the streaming medium content obtained by process 200.202, content managing module 124 Transcoding task is sent to transcoding module 122.Transcoding module 122 is after receiving transcoding task, 204, from such as upstream matchmaker Body information system, ISP or content provider obtain streaming medium content, and streaming media content is handled, such as raw At the files in stream media of different code check versions, such as super clear file, SD file and ordinary sharpness file.It is additionally or standby Selection of land can also be directed to streaming medium content, generate the files in stream media of different video format.206, after completing transcoding, Handling result is sent to content managing module 124 by transcoding module 122.
208, content managing module 124 sends the order of storage notice to memory module 121.Memory module 121 is connecing Receive storage notice after, 210 from transcoding module 122 obtain transcoding after files in stream media.Next, 212, mould is stored Block 121 carries out slicing treatment to each files in stream media, such as according to preassigned (such as predetermined time length, such as 10 seconds) Each files in stream media is cut into multiple Streaming Media slices, then can be determined in the code check being each sliced and indexed file Record the code check being each sliced.
In some embodiments, each slice can be with time span having the same.Alternatively, different slices can have There is different time spans.Each slice file inherit the codings such as video and the audio of former files in stream media, subtitle and other Description information.Alternatively it is also possible to describe subtitle and other description informations using individual file.214, memory module 121 return to the link of streaming medium content to content managing module 124, which may include the Streaming Media text of different code check versions Each Streaming Media slice in part.For example, can generate including the uniform resource locator for describing each slice file (URL) index file of the key messages such as address, duration.Index file can describe different video encodings, different code checks, difference The video and audio of address is sliced.For example, after user equipment gets program indexing file, it is indexed document analysis, according to rope The multimedia file of different code checks, different address described in quotation part according to same index file, it can be achieved that play difference The multimedia content of code check, and according to the multimedia content version of network bandwidth situation adjust automatically difference clarity, so as to Improve user experience.
Fig. 3 illustrates the schematic diagram of the process 300 according to an embodiment of the present disclosure for playing stream media content.? 302, in the case where user asks to play video, user equipment 110 initiates playing request, such as is asked for the program request of video It asks, or is asked for the live streaming of Streaming Media.304, user equipment 110 sends user identifier (userID) to server 120 With the content identification (programID) for the streaming medium content to be played, wherein user identifier for example can be the broadband of user The user name of account, the set-top box identification of user or network.
306, server 120 needs first after receiving user identifier and the content identification from user equipment 110 Whether have the access right of streaming media content, such as determined and used based on user identifier by authentication module 125 if verifying user Whether the streaming medium content has been bought in family.If do not bought, error prompting message can be sent to user equipment, prompt to use The streaming medium content is not bought at family, so the streaming medium content can not be played.If bought, 308, can be based on using Family identifies to determine the bandwidth of opening an account of user, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user.Example Such as, business support module 126 can inquire the net that user buys or customized at network operator based on the user identifier of user Network bandwidth.The bandwidth of opening an account of user can be pre-stored in business support module 126 (such as BOSS systems), can also be from External server or database are obtained in real time.
310, the bandwidth that can will open an account of business support module 126 is sent to portal module 123, and portal module 123 is based on Bandwidth of opening an account and streaming medium content mark generate broadcasting link, such as can generate broadcasting connection http://xxx.com/ program/53621277.mpd?Bandwidth=2M, wherein 2M indicate that the bandwidth of opening an account of user is 2 megabits per second (Mbps), 53621277 streaming medium content mark is indicated.
312, user equipment 110 receives broadcasting link from server 120, then parses broadcasting link 314, for example, Above-mentioned example broadcasting link can be parsed, to obtain the bandwidth of user as 2Mbps, streaming medium content is identified as 53621277.Next, 316, user equipment 110 sends the request for obtaining corresponding index file to server 120. 318, server 120 determines associated index file based on streaming medium content mark, and wherein index file includes each The code check of slice, and index file is sent to user equipment 110 320.Showing for index file is described below with reference to Fig. 4 Example structure.
322, user equipment 110 parses index file to obtain the information being each sliced comprising what is be each sliced cuts Piece identifies and slice code check.324, user equipment is suitable to select based on each code check in open an account bandwidth and index file Code check.For example, it may be determined that in multiple code checks, maximal rate less than bandwidth of opening an account, then select the stream of the maximal rate Media are sliced.In this way, can no more than user open an account bandwidth in the case of select available maximal rate, from And it is effectively guaranteed the fluency and play quality of video.
326, after selection is suitble to the Streaming Media slice of code check version, user equipment 110 is sent pair to server 120 In the download request of the slice of selected code check, and 328 selected Streaming Media slice is downloaded from server 120.? 330, the Streaming Media slice that played is downloaded.It is alternatively possible to be directed to subsequent period of time, repeat the above process to obtain Obtain subsequent Streaming Media slice.
In accordance with an embodiment of the present disclosure, when user equipment just starts to play video, so that it may to pass through the band of opening an account of user Width selects suitable video version, and the download for thus avoiding video waits for or buffering, effectively improves the use of Streaming Media Family plays experience.
Fig. 4 illustrates the schematic diagram of the structure 400 of index file according to an embodiment of the present disclosure.In general, Streaming Media skill Art standard can be with the dynamic self-adapting Streaming Media (DASH), etc. on such as HTTP live broadcast stream medias (HLS), HTTP.Index text Part for example can be the format or text formatting of extensible markup language (XML).
As shown in figure 4, the media presentation description (MDP) 410 of index file describes limited or unlimited media content.MDP 410 may include multiple periods (Period), such as period 420,430 etc., and each period represents a period, such as 15 Second.Within the same period, the available code check of streaming medium content will not usually change.In the case of net cast, use Family equipment can dynamically obtain the index file of continuous renewal, wherein the old period may be deleted, and the new period may It is added.
Each period includes multiple adaptation collection (Adaptation set), such as the period 420 includes adapting to collection 440 and 450. Each collection that adapts to can include the various code rate of streaming medium content, as shown in figure 4, each collection that adapts to may include multiple expressions (Representation), such as collection 440 is adapted to including indicating 460 and 470.It is each to indicate to can correspond to different code check versions This, if user equipment switching code rate version when playing, can select to switch between different expressions.
It is each to indicate to may include multiple sections (Segment), such as indicate that 460 include section 480 and 490.Each section can be with Corresponding to an address URL, it may correspond to the identical addresses URL and add different bytes ranges.Each section can wrap again Multiple subsegments (Sub-Segment) are included, the subsegment in different sections in the same expression can form subrepresentation, such as section 480 In subsegment 481 and section 490 in subsegment 491 form subrepresentation 461, indicate one in the slice of certain code check version Point.
In traditional method and standard, does not include usually the code check being sliced in index file, shown below traditional Example index file.
Method according to an embodiment of the present disclosure is modified the index file in traditional method and standard, in rope The code check being each sliced is added in quotation part.It shown below example index file according to an embodiment of the present disclosure.
Compared with traditional index file, example index file according to an embodiment of the present disclosure is each Slice code check is added in the S of SegmentTimeline, wherein video identifier is indicated (such as " v=" 3313983 " ") with v, and Audio identification indicates (such as " a=" 65738 " ") that the unit of wherein v and a can be that kilobytes are per second with a.Pass through this side Formula, client can obtain the code check being each sliced, and open an account bandwidth with it or current bandwidth is compared, most to selection The video version of suitable code check, thus not only ensure that the fluency of video playing also ensures the play quality of video.
Fig. 5 illustrates the schematic diagram 500 according to an embodiment of the present disclosure for downloading streaming medium content.As shown in figure 5, When the video playing for receiving user equipment is asked, using above with respect to process 300 described in Fig. 3, opening based on user Family bandwidth selects the slice 1 (being shown as 510) to be downloaded.As shown in figure 5, each slice duration can be, for example, 10 seconds, often A prediction unit can be set to such as 30 seconds, including subsequent 3 slices.
Next, download file size that can be by slice 1 and download time, determine the current lower carrier band of user equipment Width, i.e. user equipment download network bandwidth when slice 1.Then by the smaller in the bandwidth of opening an account of the download bandwidth and user As current bandwidth.The multiple average of a variety of clarity versions of 3 slices after slice 1 can be determined according to index file Code check (i.e. 3 slice code check average value), and based on current bandwidth come select next will download slice 2, 4 (being shown as 520,530 and 540) of slice 3 and slice.In some embodiments, it may be determined that in multiple average bit rates, be less than The maximum average bit rate of current bandwidth, and download and play 3 Streaming Medias slice of the maximum average bit rate.
Therefore, method according to an embodiment of the present disclosure considers opening an account for user after determining first slice Bandwidth and current download bandwidth, so as to download and play subsequent Streaming Media slice more glibly.Further, since this public affairs The embodiment opened be current bandwidth is compared with the code check (or average bit rate of several slices) being each sliced, rather than with it is whole The average bit rate of a streaming medium content is compared, thus can be to avoid the buffering or Caton phenomenon being likely to occur.
In some embodiments, user equipment is carried out at the same time the download of next slice when playing current slice, also into Row download time calculates, and is compared with the non-reproduction time of current slice;It is currently cut as the download time of next slice is less than The non-reproduction time of piece, then continue;If the download time of next slice is more than or equal to the non-reproduction time of current slice, then may be used To select the subsequent slice compared with low bit- rate.
Fig. 6 illustrates the flow chart of the method 600 according to an embodiment of the present disclosure for playing stream media content.It should Understand, method 600 can be executed by the user equipment 110 above with reference to described in Fig. 1.610, the band of opening an account of user is obtained Width, wherein bandwidth of opening an account is the network bandwidth distributed from network operator to user.620, obtain and the stream matchmaker to be played Hold associated index file in vivo, wherein index file includes multiple code checks associated with multiple Streaming Medias slice.? 630, based on multiple code checks in open an account bandwidth and index file come first-class for what is played from the slice selection of multiple Streaming Medias Media are sliced.
Fig. 7 illustrates the flow chart according to an embodiment of the present disclosure for transmitting the method 700 of streaming medium content.It should Understand, method 700 can be executed by one or more of server 120 module above with reference to described in Fig. 1.710, base The bandwidth of opening an account of user is determined in the user identifier of user, wherein bandwidth of opening an account is the net distributed from network operator to user Network bandwidth.720, index associated with streaming medium content is determined based on the content identification for the streaming medium content to be played File, wherein index file include multiple code checks associated with multiple Streaming Medias slice.730, from user equipment reception pair In multiple Streaming Medias slice in the first Streaming Media slice download request, wherein the first Streaming Media slice based on open an account bandwidth and Index file is determined.
It should be appreciated that the equipment sharp can in various manners be realized.For example, in certain embodiments, which can be with It is realized by the combination of hardware, software or software and hardware.Wherein, hardware components can be realized using special logic; Software section can then store in memory, by instruction execution system appropriate, such as microprocessor or special designs it is hard Part executes.It will be understood by those skilled in the art that above-mentioned method and system can use computer executable instructions And/or be included in the processor control code to realize, such as in such as disk, optical disk carrier medium, such as read-only memory Programmable memory or such as optics or electrical signal carrier data medium on provide such code.The disclosure Embodiment equipment and device not only can be by such as ultra large scale integrated circuit or gate array, such as logic chip, crystal The hardware of the programmable hardware device of the semiconductor or field programmable gate array of pipe etc., programmable logic device etc. Circuit is realized, can also be used for example by the software realization performed by various types of processors, can also be by above-mentioned hardware circuit Combination with software is realized.
Fig. 8 illustrates the schematic block diagram for the electronic equipment 800 that can be used for implementing embodiment of the disclosure.It should manage Solution, electronic equipment 800 may be implemented as user equipment 110 or server 120 described in Fig. 1, and electronic equipment 800 can also Any one module being implemented as in server 120 described in Fig. 1.As shown in figure 8, equipment 800 includes central processing unit (CPU) 801 (such as processor), can according to the computer program instructions being stored in read-only memory (ROM) 802 or The computer program instructions in random access storage device (RAM) 803 are loaded into from storage unit 808, it is various appropriate to execute Action and processing.In RAM 803, can also storage device 800 operate required various programs and data.CPU801,ROM 802 And RAM 803 is connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to bus 804.
Multiple components in equipment 800 are connected to I/O interfaces 805, including:Input unit 806, such as keyboard, mouse etc.; Output unit 807, such as various types of displays, loud speaker etc.;Storage unit 808, such as disk, CD etc.;And it is logical Believe unit 809, such as network interface card, modem, wireless communication transceiver etc..Communication unit 809 allows equipment 800 by such as The computer network of internet and/or various telecommunication networks exchange information/data with other equipment.
Each method as described above, such as method 600 or 700 can be executed by processing unit 801.For example, at some In embodiment, method 600 and 700 can be implemented as computer software programs, be tangibly embodied in machine readable media, example Such as storage unit 808.In some embodiments, some or all of of computer program can be via ROM 802 and/or communication Unit 809 and be loaded into and/or be installed in equipment 800.When computer program is loaded into RAM 803 and is held by CPU 801 When row, the action of one or more of method as described above 600 and 700 or step can be executed.
Computer program product may include computer readable storage medium, containing for executing each of the disclosure The computer-readable program instructions of aspect.Computer readable storage medium can be kept and store by instruction execution equipment The tangible device of the instruction used.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, Magnetic storage apparatus, light storage device, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Meter The more specific example (non exhaustive list) of calculation machine readable storage medium storing program for executing includes:Portable computer diskette, hard disk, arbitrary access Memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random-access Memory (SRAM), Portable compressed disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, machine Tool encoding device, the punch card for being for example stored thereon with instruction or groove internal projection structure and above-mentioned any appropriate group It closes.Computer readable storage medium used herein above is not interpreted instantaneous signal itself, such as radio wave or other The electromagnetic wave of Free propagation, the electromagnetic wave propagated by waveguide or other transmission mediums are (for example, the light arteries and veins for passing through fiber optic cables Punching) or pass through electric wire transmit electric signal.
Computer-readable program instructions described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing present disclosure operation can be assembly instruction, instruction set architecture (ISA) Instruction, machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programmings Language arbitrarily combines the source code or object code write, the programming language include the programming language-of object-oriented such as C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer-readable program refers to Order can be executed fully, partly be executed on the user computer, as an independent software package on the user computer Execute, part on the user computer part on the remote computer execute or completely on a remote computer or server It executes.In situations involving remote computers, remote computer can include LAN by the network-of any kind (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize internet Service provider is connected by internet).In some embodiments, believe by using the state of computer-readable program instructions Breath comes personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or programmable logic Array (PLA), the electronic circuit can execute computer-readable program instructions, to realize the various aspects of present disclosure.
It should be noted that although being referred to several modules or submodule of equipment in the detailed description above, it is this Division is merely exemplary rather than enforceable.In fact, in accordance with an embodiment of the present disclosure, two or more above-described moulds The feature and function of block can embody in a module.Conversely, the feature and function of an above-described module can be with It is further divided into and is embodied by multiple modules.
The foregoing is merely embodiment of the disclosure alternative embodiments, are not limited to embodiment of the disclosure, for For those skilled in the art, embodiment of the disclosure can have various modifications and variations.It is all in embodiment of the disclosure Within spirit and principle, made by any modification, equivalence replacement, improvement etc., should be included in the protection of embodiment of the disclosure Within the scope of.
Although describing embodiment of the disclosure by reference to several specific embodiments, it should be appreciated that, the disclosure Embodiment is not limited to disclosed specific embodiment.Embodiment of the disclosure be intended to cover appended claims spirit and Included various modifications and equivalent arrangements in range.The range of the attached claims meets broadest explanation, to wrap Containing all such modifications and equivalent structure and function.

Claims (20)

1. a kind of method for playing stream media content, including:
The bandwidth of opening an account of user is obtained, the bandwidth of opening an account is the network bandwidth distributed from network operator to the user;
Index file associated with the streaming medium content to be played is obtained, the index file includes being cut with multiple Streaming Medias The associated multiple code checks of piece;And
Based on the multiple code check in the open an account bandwidth and the index file, it is sliced selection from the multiple Streaming Media and uses It is sliced in the first Streaming Media of broadcasting.
2. according to the method described in claim 1, the bandwidth of opening an account for wherein obtaining user includes:
The content identification of the user identifier and the streaming medium content of the user is sent to server;And
The broadcasting link for the streaming medium content is received from the server, the broadcasting link is based on the bandwidth of opening an account It is generated with the content identification, the bandwidth of opening an account is determined based on the user identifier.
3. according to the method described in claim 2, wherein obtaining index file associated with the streaming medium content to be played Including:
The index file associated with the streaming medium content is obtained based on the broadcasting link.
4. according to the method described in claim 1, the first-class matchmaker wherein from the slice selection of the multiple Streaming Media for broadcasting Body is sliced:
Parse the index file;
Determine specific code check in the multiple code check, less than the bandwidth of opening an account;And
The first Streaming Media slice is downloaded based on the specific code check.
5. according to the method described in claim 4, further including:
Determine the download bandwidth of the first Streaming Media slice;
Determine the smaller in the download bandwidth and the bandwidth of opening an account as current bandwidth;
Determine multiple average bit rates of the predetermined number Streaming Media slice after the first Streaming Media slice;
Determine specific average bit rate in the multiple average bit rate, less than the current bandwidth;
The predetermined number Streaming Media slice is downloaded based on the specific average bit rate.
6. a kind of method for transmitting streaming medium content, including:
Determine the bandwidth of opening an account of the user based on the user identifier of user, the bandwidth of opening an account is from network operator to institute State the network bandwidth of user's distribution;
Index file associated with the streaming medium content is determined based on the content identification for the streaming medium content to be played, The index file includes multiple code checks associated with multiple Streaming Medias slice;And
The download that the first Streaming Media in being sliced the multiple Streaming Media is sliced is received from the user equipment to ask, it is described First Streaming Media slice opens an account bandwidth and the index file is determined based on described.
7. according to the method described in claim 6, wherein determining that the bandwidth of opening an account of the user includes based on user identifier:
Based on the user identifier and the content identification, whether the user is verified with the access to the streaming medium content Power;
In response to verifying the user with the access right to institute's streaming medium content, described open is obtained based on the user identifier Family bandwidth;And
Based on open an account bandwidth and the content identification, the broadcasting link for the streaming medium content is generated.
8. according to the method described in claim 7, wherein based on the content identification for the streaming medium content to be played determine with The associated index file of streaming medium content includes:
The index file associated with the streaming medium content is determined based on the broadcasting link.
9. according to the method described in claim 6, further including:
Transcoding is carried out to each streaming medium content in multiple streaming medium contents, the more of each streaming medium content are directed to generate Multiple files in stream media of kind code check type;
It is divided into several Streaming Medias to be sliced each files in stream media in multiple files in stream media;
The code check of each Streaming Media slice in several Streaming Medias slice is recorded in one or more index files.
10. according to the method described in claim 6, wherein being received from the user equipment in the multiple Streaming Media slice The first Streaming Media slice download request include:
The download for being sliced first Streaming Media associated with specific code check is received from the user equipment to ask, it is described Specific code check is in the multiple code check, less than the maximal rate of the bandwidth of opening an account.
11. a kind of electronic equipment, including:
Processor;
Memory is coupled to the processor and is stored with instruction, described instruction executed when being executed by the processor with Lower action:
The bandwidth of opening an account of user is obtained, the bandwidth of opening an account is the network bandwidth distributed from network operator to the user;
Index file associated with the streaming medium content to be played is obtained, the index file includes being cut with multiple Streaming Medias The associated multiple code checks of piece;And
Based on the multiple code check in the open an account bandwidth and the index file, it is sliced selection from the multiple Streaming Media and uses It is sliced in the first Streaming Media of broadcasting.
12. equipment according to claim 11, wherein the bandwidth of opening an account for obtaining user includes:
The content identification of the user identifier and the streaming medium content of the user is sent to server;And
The broadcasting link for the streaming medium content is received from the server, the broadcasting link is based on the bandwidth of opening an account It is generated with the content identification, the bandwidth of opening an account is determined based on the user identifier.
13. equipment according to claim 12, wherein obtaining index text associated with the streaming medium content to be played Part includes:
The index file associated with the streaming medium content is obtained based on the broadcasting link.
14. equipment according to claim 11, wherein from the slice selection of the multiple Streaming Media for the first-class of broadcasting Media are sliced:
Parse the index file;
Determine specific code check in the multiple code check, less than the bandwidth of opening an account;And
The first Streaming Media slice is downloaded based on the specific code check.
15. equipment according to claim 14, the action further include:
Determine the download bandwidth of the first Streaming Media slice;
Determine the smaller in the download bandwidth and the bandwidth of opening an account as current bandwidth;
Determine multiple average bit rates of the predetermined number Streaming Media slice after the first Streaming Media slice;
Determine specific average bit rate in the multiple average bit rate, less than the current bandwidth;
The predetermined number Streaming Media slice is downloaded based on the specific average bit rate.
16. a kind of electronic equipment, including:
Processor;
Memory is coupled to the processor and is stored with instruction, described instruction executed when being executed by the processor with Lower action:
Determine the bandwidth of opening an account of the user based on the user identifier of user, the bandwidth of opening an account is from network operator to institute State the network bandwidth of user's distribution;
Index file associated with the streaming medium content is determined based on the content identification for the streaming medium content to be played, The index file includes multiple code checks associated with multiple Streaming Medias slice;And
The download that the first Streaming Media in being sliced the multiple Streaming Media is sliced is received from the user equipment to ask, it is described First Streaming Media slice opens an account bandwidth and the index file is determined based on described.
17. equipment according to claim 16, wherein determining that the bandwidth of opening an account of the user includes based on user identifier:
Based on the user identifier and the content identification, whether the user is verified with the access to the streaming medium content Power;
In response to verifying the user with the access right to institute's streaming medium content, described open is obtained based on the user identifier Family bandwidth;And
Based on open an account bandwidth and the content identification, the broadcasting link for the streaming medium content is generated.
18. equipment according to claim 17, wherein being determined based on the content identification for the streaming medium content to be played Index file associated with the streaming medium content includes:
The index file associated with the streaming medium content is determined based on the broadcasting link.
19. equipment according to claim 16, the action further include:
Transcoding is carried out to each streaming medium content in multiple streaming medium contents, the more of each streaming medium content are directed to generate Multiple files in stream media of kind code check type;
It is divided into several Streaming Medias to be sliced each files in stream media in multiple files in stream media;
The code check of each Streaming Media slice in several Streaming Medias slice is recorded in one or more index files.
20. equipment according to claim 16 is sliced the multiple Streaming Media wherein being received from the user equipment In the first Streaming Media slice download request include:
The download for being sliced first Streaming Media associated with specific code check is received from the user equipment to ask, it is described Specific code check is in the multiple code check, less than the maximal rate of the bandwidth of opening an account.
CN201710278651.0A 2017-04-25 2017-04-25 Streaming media playback based on user bandwidth Expired - Fee Related CN108737355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710278651.0A CN108737355B (en) 2017-04-25 2017-04-25 Streaming media playback based on user bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710278651.0A CN108737355B (en) 2017-04-25 2017-04-25 Streaming media playback based on user bandwidth

Publications (2)

Publication Number Publication Date
CN108737355A true CN108737355A (en) 2018-11-02
CN108737355B CN108737355B (en) 2021-11-30

Family

ID=63934945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710278651.0A Expired - Fee Related CN108737355B (en) 2017-04-25 2017-04-25 Streaming media playback based on user bandwidth

Country Status (1)

Country Link
CN (1) CN108737355B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135173A (en) * 2020-10-10 2020-12-25 Vidaa美国公司 Method for improving play start code rate of streaming media and display equipment
CN114173145A (en) * 2021-12-08 2022-03-11 四川启睿克科技有限公司 HLS protocol-based dynamic code rate low-delay live broadcast method
CN115052167A (en) * 2022-03-15 2022-09-13 北京新流万联网络技术有限公司 Video generation method, device, medium and equipment supporting multi-protocol video live broadcast

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145933A (en) * 2007-10-26 2008-03-19 北大方正集团有限公司 Transmission method, receiving method and corresponding device for distribution system and media data
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
CN102378043A (en) * 2011-09-29 2012-03-14 深圳市矽伟智科技有限公司 Content delivery method and Internet television (TV) playing method as well as corresponding device and systems
CN102843351A (en) * 2012-03-31 2012-12-26 华为技术有限公司 Streaming media service processing method, streaming media server and system
CN106254548A (en) * 2016-09-29 2016-12-21 天脉聚源(北京)科技有限公司 A kind of method and device downloading stream medium data
EP3110098A1 (en) * 2014-02-19 2016-12-28 Huizhou TCL Mobile Communication Co., Ltd. Mobile terminal and method for achieving sharing of streaming media file of cloud based on dlna

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145933A (en) * 2007-10-26 2008-03-19 北大方正集团有限公司 Transmission method, receiving method and corresponding device for distribution system and media data
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
CN102378043A (en) * 2011-09-29 2012-03-14 深圳市矽伟智科技有限公司 Content delivery method and Internet television (TV) playing method as well as corresponding device and systems
CN102843351A (en) * 2012-03-31 2012-12-26 华为技术有限公司 Streaming media service processing method, streaming media server and system
EP3110098A1 (en) * 2014-02-19 2016-12-28 Huizhou TCL Mobile Communication Co., Ltd. Mobile terminal and method for achieving sharing of streaming media file of cloud based on dlna
CN106254548A (en) * 2016-09-29 2016-12-21 天脉聚源(北京)科技有限公司 A kind of method and device downloading stream medium data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹玉铭: "动态流媒体技术MPEG-DASH的研究与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135173A (en) * 2020-10-10 2020-12-25 Vidaa美国公司 Method for improving play start code rate of streaming media and display equipment
CN114173145A (en) * 2021-12-08 2022-03-11 四川启睿克科技有限公司 HLS protocol-based dynamic code rate low-delay live broadcast method
CN115052167A (en) * 2022-03-15 2022-09-13 北京新流万联网络技术有限公司 Video generation method, device, medium and equipment supporting multi-protocol video live broadcast

Also Published As

Publication number Publication date
CN108737355B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US10616301B2 (en) Request-based encoding for streaming content portions
US10148714B2 (en) URL parameter insertion and addition in adaptive streaming
CN104396263B (en) For the method and system of the real-time multiplexing transformation of streaming content
CN107454101B (en) System and method for content storage and transmission for downloading and streaming
US8850054B2 (en) Hypertext transfer protocol live streaming
US11356493B2 (en) Systems and methods for cloud storage direct streaming
JP2019515529A (en) Device, system and method for hybrid media content
CN108540868A (en) Processing method, device, server, terminal and the storage medium of HLS live streamings
CN105516736B (en) Video file processing method and device
CN107517411B (en) Video playing method based on GSstreamer frame
CA2820853A1 (en) Systems and methods for distributed authentication of video services
CN102130958A (en) Method and system for video live broadcasting in small file slice mode based on hypertext transport protocol (HTTP)
CN109495505A (en) Stream media protocol conversion method, device, system and computer-readable medium
CN109587514A (en) A kind of video broadcasting method, medium and relevant apparatus
CN108737355A (en) Streaming media playing based on user bandwidth
KR20170141677A (en) Receiving device, transmitting device and data processing method
CN105872572A (en) Live broadcast video processing method and device
CN109348240A (en) Video broadcasting method, apparatus and system, electronic equipment and storage medium
Begen et al. Road to salvation: streaming clients and content delivery networks working together
CN104429090A (en) Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium
CN106303754A (en) A kind of audio data play method and device
CN108989905A (en) Media stream control method, calculates equipment and storage medium at device
KR101313592B1 (en) Computing device and method for streaming
CN109948082A (en) Live information processing method and processing device, electronic equipment, storage medium
CN108174228A (en) Method, system and the storage medium of resource is broadcast live in acquisition for mobile terminal set-top box

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211130