CN106302465A - A kind of method and device of playing audio-video data - Google Patents

A kind of method and device of playing audio-video data Download PDF

Info

Publication number
CN106302465A
CN106302465A CN201610679547.8A CN201610679547A CN106302465A CN 106302465 A CN106302465 A CN 106302465A CN 201610679547 A CN201610679547 A CN 201610679547A CN 106302465 A CN106302465 A CN 106302465A
Authority
CN
China
Prior art keywords
file
video data
audio
agent
address
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
CN201610679547.8A
Other languages
Chinese (zh)
Other versions
CN106302465B (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.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201610679547.8A priority Critical patent/CN106302465B/en
Publication of CN106302465A publication Critical patent/CN106302465A/en
Application granted granted Critical
Publication of CN106302465B publication Critical patent/CN106302465B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address

Abstract

The invention discloses the method and device of a kind of playing audio-video data, in order to realize improving the purpose of audio, video data playing efficiency.Described method includes: the broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtains the address of the source server of first agent's service, second agent's service and the audio, video data to be played preset;Utilize described first agent service and the address of described source server, obtain the m3u8 file of described audio, video data to be played, and by described first agent service, described m3u8 file is resolved, obtain the source address of at least one TS file of described audio, video data to be played;Utilize described second agent service and the source address of at least one TS file described, download at least one TS file of described audio, video data to be played, and play.

Description

A kind of method and device of playing audio-video data
Technical field
The present invention relates to technical field of internet application, particularly to the method and device of a kind of playing audio-video data.
Background technology
Along with the development of technology, broadcasting service and mobile service start gradually to merge, different content of multimedia and business In different transmission over networks, user wishes to utilize different terminal units (such as smart mobile phone, panel computer etc.) not These services can be enjoyed when accessing any network in the same time.
In correlation technique, Http stream (Streaming) transmission technology is used to realize the transmission of multi-medium data, i.e. audio frequency Or audio/video is input in the media encoders of server by video input device, the audio/video of input is entered by media encoders Row coding, generation TS file exports after carrying out segmentation to flow point section apparatus, is sent to dispensing device, and generates the rope of this TS file Quotation part, is distributed to client by HTTP.But, current scheme only supports single-threaded download, needs this technology of solution badly Problem.
Summary of the invention
The present invention provides the method and device of a kind of playing audio-video data, plays effect in order to realize raising audio, video data The purpose of rate.
The present invention provides a kind of method of playing audio-video data, including:
The broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtains the first agent's clothes preset The address of the source server of business, second agent's service and audio, video data to be played;
Utilize described first agent service and the address of described source server, obtain described audio, video data to be played M3u8 file, and by described first agent service, described m3u8 file is resolved, obtain described audio, video data to be played The source address of at least one TS file;
Utilize described second agent service and the source address of at least one TS file described, download described audio frequency and video to be played At least one TS file of data, and play.
In an embodiment of the present invention, described broadcast event include following one of arbitrarily:
Start intelligent terminal's playing audio-video data, switching program channel.
In an embodiment of the present invention, obtain first agent's service, the second agent's service preset, including:
A pre-defined class, such inherits the function of player of audio, video data, and this apoplexy due to endogenous wind also add For downloading the function of audio, video data, the described function for downloading audio, video data include described first agent service and Described second agent services;
Obtain described first agent service from this apoplexy due to endogenous wind and described second agent services.
In an embodiment of the present invention, utilize described first agent service and the address of described source server, obtain described The m3u8 file of audio, video data to be played, including:
The address of described source server is sent to described first agent service;
Calling the function of described player, the request sending the m3u8 file obtaining described audio, video data to be played disappears Breath, wherein, carries the address of described first agent service, described first agent services according to reception in described request message The described request message arrived and the address of described source server, obtain described audio, video data to be played at described source server M3u8 file.
In an embodiment of the present invention, described first agent services according to the described request message received and described source clothes The address of business device, obtains the m3u8 file of described audio, video data to be played at described source server, including:
Described first agent service, according to the address of described source server, sends to described source server and waits to broadcast described in obtaining The request of the m3u8 file of playback video data;
Described first agent services the m3u8 file receiving the audio, video data described to be played that described source server returns.
In an embodiment of the present invention, described method also includes:
The source address modification of at least one TS file described is described second agent service by described first agent service Address, obtains amended m3u8 file;
The source address of at least one TS file described is sent to described second agent service by described first agent service, and Described amended m3u8 file is sent to the function of described player, with by the function of described player according to described amendment After m3u8 file service to described second agent and send the request obtaining at least one TS file described.
In an embodiment of the present invention, utilize described second agent service and the source address of at least one TS file described, Download at least one TS file of described audio, video data to be played, including:
Call the function of described player, resolve described amended m3u8 file, obtain at least one TS file described Amended address;
Amended address according at least one TS file described to described second agent service transmission obtain described in extremely The request of a few TS file;
Described second agent's service receives the request obtaining at least one TS file described, according at least one TS described The source address of file, downloads at least one TS file of described audio, video data to be played.
The present invention also provides for the device of a kind of playing audio-video data, including:
First acquisition module, for the broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtains The address of the source server of first agent's service, second agent's service and the audio, video data to be played preset;
Second acquisition module, for utilizing described first agent service and the address of described source server, treats described in acquisition The m3u8 file of playing audio-video data, and by described first agent service, described m3u8 file is resolved, obtain described The source address of at least one TS file of audio, video data to be played;
Playing module, for utilizing described second agent service and the source address of at least one TS file described, downloads institute State at least one TS file of audio, video data to be played, and play.
In an embodiment of the present invention, described broadcast event include following one of arbitrarily:
Start intelligent terminal's playing audio-video data, switching program channel.
In an embodiment of the present invention, described first acquisition module is additionally operable to:
A pre-defined class, such inherits the function of player of audio, video data, and this apoplexy due to endogenous wind also add For downloading the function of audio, video data, the described function for downloading audio, video data include described first agent service and Described second agent services;
Obtain described first agent service from this apoplexy due to endogenous wind and described second agent services.
In embodiments of the present invention, the broadcast event of monitoring audio/video data, when monitoring broadcast event, obtain and preset First agent's service, second agent's service and the address of source server of audio, video data to be played;Subsequently, first is utilized Agency service and the address of source server, obtain the m3u8 file of audio, video data to be played, and serviced by first agent right M3u8 file resolves, and obtains the source address of at least one TS file of audio, video data to be played;Afterwards, the second filial generation is utilized Reason service and the source address of at least one TS file, download at least one TS file of audio, video data to be played, and play.By This is visible, and the embodiment of the present invention utilizes first agent to service and realizes multithreading download audio, video data with second agent's service, from And realize improving the purpose of audio, video data playing efficiency.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with the reality of the present invention Execute example together for explaining the present invention, be not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 show the flow chart of the method for playing audio-video data in one embodiment of the invention;
Fig. 2 show the flow chart of the method for playing audio-video data in another embodiment of the present invention;And
Fig. 3 show the structural representation of the device of playing audio-video data in one embodiment of the invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Being illustrated in figure 1 the flow chart of the method for playing audio-video data in one embodiment of the invention, the method can be answered Being used in intelligent terminal, the method may comprise steps of S11-S13.
Step S11, the broadcast event of monitoring audio/video data, when monitoring broadcast event, obtain the first generation preset The address of the source server of reason service, second agent's service and audio, video data to be played.
In this step, broadcast event can include starting intelligent terminal's playing audio-video data, switching program channel, etc. Deng, the invention is not restricted to this.
Step S12, utilizes first agent to service the address with source server, obtains the m3u8 literary composition of audio, video data to be played Part, and by first agent's service, m3u8 file is resolved, obtain at least one TS file of audio, video data to be played Source address.
Step S13, utilizes second agent to service and the source address of at least one TS file, downloads audio, video data to be played At least one TS file, and play.
In embodiments of the present invention, the broadcast event of monitoring audio/video data, when monitoring broadcast event, obtain and preset First agent's service, second agent's service and the address of source server of audio, video data to be played;Subsequently, first is utilized Agency service and the address of source server, obtain the m3u8 file of audio, video data to be played, and serviced by first agent right M3u8 file resolves, and obtains the source address of at least one TS file of audio, video data to be played;Afterwards, the second filial generation is utilized Reason service and the source address of at least one TS file, download at least one TS file of audio, video data to be played, and play.By This is visible, and the embodiment of the present invention utilizes first agent to service and realizes multithreading download audio, video data with second agent's service, from And realize improving the purpose of audio, video data playing efficiency.
Above step S11 obtains default first agent service, second agent's service, embodiments provides one Kind of optional scheme, i.e. a pre-defined class, such inherits the function (or method) of player of audio, video data, And this apoplexy due to endogenous wind also add the function for downloading audio, video data, the described function for downloading audio, video data includes First agent's service and second agent service;Obtain first agent's service from this apoplexy due to endogenous wind and second agent services.
HTTP live Streaming (HLS) be Apple realize based on HTTP (Hypertext transfer Protocol, HTML (Hypertext Markup Language)) Streaming transfer protocol, it is possible to achieve the broadcasting of Streaming Media.HLS is based on http protocol Realizing, data stream is stored as continuous print, media file the longest at server end by HLS protocol, and transferring content includes two Part, one be m3u8 file (be that a kind of of regulation in Apple's HLS protocol describes file, by text mode to media file It is described, is made up of a series of labels);Two is MPEG-TS (Moving Pictures Experts Group/Motion Pictures Experts Group-Transport Stream, dynamic image Experts Group-Transport Stream) media file of form. M3u8 file is the index file of the media file establishment for these MPEG-TS forms.Client is constantly downloaded and plays this A little media files, are achieved that the broadcasting of Streaming Media.
Above step S12 utilizes first agent service the address with source server, obtain audio, video data to be played M3u8 file, is alternatively implemented as following steps A1-A2.
Step A1, is sent to first agent's service by the address of source server.
In this step, when broadcast event occurs, starting set method, set method obtains the first agent's clothes preset The address of the source server of business, second agent's service and audio, video data to be played, the address of source server is sent out by set method Give first agent service.
Step A2, calls the function of player, sends the request message of the m3u8 file obtaining audio, video data to be played, Wherein, this request message carries the address of first agent's service, first agent service according to the request message received With the address of source server, at source server, obtain the m3u8 file of audio, video data to be played.
In this step, first agent's service, according to the address of source server, sends to source server and obtains sound to be played The request of the m3u8 file of video data;First agent services the m3u8 receiving the audio, video data to be played that source server returns File.
In the alternative embodiment of the present invention, first agent's service obtains audio, video data to be played at source server After m3u8 file, m3u8 file is resolved, obtain the source address of at least one TS file of audio, video data to be played. Subsequently, the source address modification of at least one TS file is the address that second agent services by first agent's service, after being revised M3u8 file;And then, the source address of at least one TS file is sent to second agent's service by first agent's service, and will repair M3u8 file after changing is sent to the function of player, with by the function of player according to amended m3u8 file to the second filial generation Reason service sends the request obtaining at least one TS file.
Thus, utilize second agent to service and the source address of at least one TS file in step s 13, download sound to be played During at least one TS file of video data, may comprise steps of B1-B3.
Step B1, calls the function of player, the m3u8 file after analytic modification, obtains the amendment of at least one TS file After address.
Step B2, services transmission according to the amended address of at least one TS file to second agent and obtains at least one The request of TS file.
In this step, owing to the amended address of at least one TS file is the address that second agent services, thus Can service to second agent and send the request obtaining at least one TS file.
Step B3, second agent's service receives the request obtaining at least one TS file, according at least one TS file Source address, download at least one TS file of audio, video data to be played.
It is described above the multiple implementation of each link in the embodiment shown in Fig. 1, below by a specific embodiment Be discussed in detail the playing audio-video data of the present invention method realize process.
Being illustrated in figure 2 the flow chart of the method for playing audio-video data in another embodiment of the present invention, the method is permissible Applying intelligent terminal, the method may comprise steps of S21-S28.
Step S21, the broadcast event of monitoring audio/video data.
In this step, broadcast event can include starting intelligent terminal's playing audio-video data, switching program channel, etc. Deng, the invention is not restricted to this.
Step S22, when monitoring broadcast event, starts set method, obtains first agent's service, the second filial generation preset The address of the source server of reason service and audio, video data to be played.
In this step, the embodiment of the present invention pre-defines a class (comprising set method), and such inherits audio frequency and video number According to the function (or method) of player, and this apoplexy due to endogenous wind also add the function for downloading audio, video data, described use Include that first agent services in the function downloading audio, video data to service with second agent;First agent's clothes are obtained from this apoplexy due to endogenous wind Business and second agent service.
Step S23, the address of source server is sent to first agent's service by set method.
Step S24, the function of set method call player, send the m3u8 file of acquisition audio, video data to be played Request message, wherein, carries the address of first agent's service in this request message, first agent service what basis received Request message and the address of source server, obtain the m3u8 file of audio, video data to be played at source server.
In this step, first agent's service, according to the address of source server, sends to source server and obtains sound to be played The request of the m3u8 file of video data;First agent services the m3u8 receiving the audio, video data to be played that source server returns File.
Step S25, m3u8 file is resolved by first agent's service, obtains at least one of audio, video data to be played The source address of TS file, is the address that second agent services by the source address modification of at least one TS file, obtains amended M3u8 file.
Step S26, the source address of at least one TS file is sent to second agent's service, and will repair by first agent's service M3u8 file after changing is sent to the function of player, with by the function of player according to amended m3u8 file to the second filial generation Reason service sends the request obtaining at least one TS file.
Step S27, the function of set method call player, the m3u8 file after analytic modification, obtain at least one TS literary composition The amended address of part, services transmission according to the amended address of at least one TS file to second agent and obtains at least one The request of individual TS file.
In this step, owing to the amended address of at least one TS file is the address that second agent services, thus Can service to second agent and send the request obtaining at least one TS file.
Step S28, second agent's service receives the request obtaining at least one TS file, according at least one TS file Source address, download at least one TS file of audio, video data to be played, and play.
The embodiment of the present invention utilizes first agent to service and realizes multithreading download audio, video data with second agent's service, from And realize improving the purpose of audio, video data playing efficiency.
It should be noted that in actual applications, above-mentioned all optional embodiments can be any in the way of using combination Combination, forms the alternative embodiment of the present invention, and this is no longer going to repeat them.
Corresponding to the method for the playing audio-video data in above-described embodiment, the present invention also provides for a kind of playing audio-video number According to device.It is illustrated in figure 3 the structural representation of the device of playing audio-video data in one embodiment of the invention, including:
First acquisition module 31, for the broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtains Take the address of the source server of default first agent's service, second agent's service and audio, video data to be played;
Second acquisition module 32, for utilizing described first agent service and the address of described source server, obtains described The m3u8 file of audio, video data to be played, and by described first agent service, described m3u8 file is resolved, obtain institute State the source address of at least one TS file of audio, video data to be played;
Playing module 33, for utilizing described second agent service and the source address of at least one TS file described, downloads At least one TS file of described audio, video data to be played, and play.
In an embodiment of the present invention, described broadcast event include following one of arbitrarily:
Start intelligent terminal's playing audio-video data, switching program channel.
In an embodiment of the present invention, described first acquisition module 31 is additionally operable to:
A pre-defined class, such inherits the function of player of audio, video data, and this apoplexy due to endogenous wind also add For downloading the function of audio, video data, the described function for downloading audio, video data include described first agent service and Described second agent services;
Obtain described first agent service from this apoplexy due to endogenous wind and described second agent services.
In an embodiment of the present invention, described second acquisition module 32 is additionally operable to:
The address of described source server is sent to described first agent service;
Calling the function of described player, the request sending the m3u8 file obtaining described audio, video data to be played disappears Breath, wherein, carries the address of described first agent service, described first agent services according to reception in described request message The described request message arrived and the address of described source server, obtain described audio, video data to be played at described source server M3u8 file.
In an embodiment of the present invention, described second acquisition module 32 is additionally operable to:
Described first agent service, according to the address of described source server, sends to described source server and waits to broadcast described in obtaining The request of the m3u8 file of playback video data;
Described first agent services the m3u8 file receiving the audio, video data described to be played that described source server returns.
In an embodiment of the present invention, described second acquisition module 32 is additionally operable to:
The source address modification of at least one TS file described is described second agent service by described first agent service Address, obtains amended m3u8 file;
The source address of at least one TS file described is sent to described second agent service by described first agent service, and Described amended m3u8 file is sent to the function of described player, with by the function of described player according to described amendment After m3u8 file service to described second agent and send the request obtaining at least one TS file described.
In an embodiment of the present invention, described playing module 33 is additionally operable to:
Call the function of described player, resolve described amended m3u8 file, obtain at least one TS file described Amended address;
Amended address according at least one TS file described to described second agent service transmission obtain described in extremely The request of a few TS file;
Described second agent's service receives the request obtaining at least one TS file described, according at least one TS described The source address of file, downloads at least one TS file of described audio, video data to be played.
The said apparatus of the embodiment of the present invention: the broadcast event of monitoring audio/video data, when monitoring broadcast event, obtains Take the address of the source server of default first agent's service, second agent's service and audio, video data to be played;Subsequently, profit With first agent's service and the address of source server, obtain the m3u8 file of audio, video data to be played, and taken by first agent M3u8 file is resolved by business, obtains the source address of at least one TS file of audio, video data to be played;Afterwards, is utilized Two agency services and the source address of at least one TS file, download at least one TS file of audio, video data to be played, and broadcast Put.As can be seen here, the embodiment of the present invention utilizes first agent to service and realizes multithreading download audio frequency and video number with second agent's service According to, thus realize improving the purpose of audio, video data playing efficiency.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.) Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the method for a playing audio-video data, it is characterised in that including:
The broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtain preset first agent's service, the The address of the source server of two agency services and audio, video data to be played;
Utilize described first agent service and the address of described source server, obtain the m3u8 literary composition of described audio, video data to be played Part, and by described first agent service, described m3u8 file is resolved, obtain described audio, video data to be played at least The source address of one TS file;
Utilize described second agent service and the source address of at least one TS file described, download described audio, video data to be played At least one TS file, and play.
Method the most according to claim 1, it is characterised in that described broadcast event include following one of arbitrarily:
Start intelligent terminal's playing audio-video data, switching program channel.
Method the most according to claim 1 and 2, it is characterised in that obtain first agent's service, the second agent's clothes preset Business, including:
A pre-defined class, such inherits the function of player of audio, video data, and this apoplexy due to endogenous wind also add for Downloading the function of audio, video data, the described function for downloading audio, video data includes that described first agent service is with described Second agent services;
Obtain described first agent service from this apoplexy due to endogenous wind and described second agent services.
Method the most according to claim 3, it is characterised in that utilize described first agent service and described source server Address, obtains the m3u8 file of described audio, video data to be played, including:
The address of described source server is sent to described first agent service;
Call the function of described player, send the request message of the m3u8 file obtaining described audio, video data to be played, its In, described request message carries the address of described first agent service, described first agent services what basis received Described request message and the address of described source server, obtain described audio, video data to be played at described source server M3u8 file.
Method the most according to claim 4, it is characterised in that described first agent services according to the described request received Message and the address of described source server, obtain the m3u8 file of described audio, video data to be played at described source server, Including:
Described first agent service, according to the address of described source server, sends to described source server and obtains described sound to be played The request of the m3u8 file of video data;
Described first agent services the m3u8 file receiving the audio, video data described to be played that described source server returns.
Method the most according to claim 5, it is characterised in that also include:
The source address modification of at least one TS file described is the address that described second agent services by described first agent service, Obtain amended m3u8 file;
The source address of at least one TS file described is sent to described second agent service by described first agent service, and by institute State amended m3u8 file and be sent to the function of described player, with by the function of described player according to described amended M3u8 file services to described second agent and sends the request obtaining at least one TS file described.
Method the most according to claim 6, it is characterised in that utilize described second agent service and at least one TS described The source address of file, downloads at least one TS file of described audio, video data to be played, including:
Call the function of described player, resolve described amended m3u8 file, obtain repairing of at least one TS file described Address after changing;
Amended address according at least one TS file described to described second agent service transmission obtain described at least one The request of individual TS file;
Described second agent's service receives the request obtaining at least one TS file described, according at least one TS file described Source address, download at least one TS file of described audio, video data to be played.
8. the device of a playing audio-video data, it is characterised in that including:
First acquisition module, for the broadcast event of monitoring audio/video data, when monitoring described broadcast event, obtains and presets First agent's service, second agent's service and the address of source server of audio, video data to be played;
Second acquisition module, for utilizing described first agent service and the address of described source server, obtains described to be played The m3u8 file of audio, video data, and by described first agent service described m3u8 file is resolved, obtain described in wait to broadcast The source address of at least one TS file of playback video data;
Playing module, for utilizing described second agent service and the source address of at least one TS file described, treats described in download At least one TS file of playing audio-video data, and play.
Device the most according to claim 8, it is characterised in that described broadcast event include following one of arbitrarily:
Start intelligent terminal's playing audio-video data, switching program channel.
Device the most according to claim 8 or claim 9, it is characterised in that described first acquisition module is additionally operable to:
A pre-defined class, such inherits the function of player of audio, video data, and this apoplexy due to endogenous wind also add for Downloading the function of audio, video data, the described function for downloading audio, video data includes that described first agent service is with described Second agent services;
Obtain described first agent service from this apoplexy due to endogenous wind and described second agent services.
CN201610679547.8A 2016-08-17 2016-08-17 A kind of method and device of playing audio-video data Expired - Fee Related CN106302465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610679547.8A CN106302465B (en) 2016-08-17 2016-08-17 A kind of method and device of playing audio-video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610679547.8A CN106302465B (en) 2016-08-17 2016-08-17 A kind of method and device of playing audio-video data

Publications (2)

Publication Number Publication Date
CN106302465A true CN106302465A (en) 2017-01-04
CN106302465B CN106302465B (en) 2019-09-24

Family

ID=57679476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610679547.8A Expired - Fee Related CN106302465B (en) 2016-08-17 2016-08-17 A kind of method and device of playing audio-video data

Country Status (1)

Country Link
CN (1) CN106302465B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769326A (en) * 2019-11-21 2020-02-07 广州华多网络科技有限公司 Method and device for loading video slice file and playing video file
CN113206841A (en) * 2021-04-26 2021-08-03 杭州当虹科技股份有限公司 AES decryption agent method and system based on HLS protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327417A (en) * 2013-07-11 2013-09-25 亿览在线网络技术(北京)有限公司 Method and device for directly broadcasting real-time long-distance audio and video frequency
CN103391454A (en) * 2013-07-12 2013-11-13 三星电子(中国)研发中心 Multithreading downloading method and device
CN103716719A (en) * 2013-12-02 2014-04-09 乐视网信息技术(北京)股份有限公司 Multimedia file downloading method and user terminal
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method
CN104506950A (en) * 2014-12-29 2015-04-08 珠海全志科技股份有限公司 Multithread download method and download device in network streaming media play, and download equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327417A (en) * 2013-07-11 2013-09-25 亿览在线网络技术(北京)有限公司 Method and device for directly broadcasting real-time long-distance audio and video frequency
CN103391454A (en) * 2013-07-12 2013-11-13 三星电子(中国)研发中心 Multithreading downloading method and device
CN103716719A (en) * 2013-12-02 2014-04-09 乐视网信息技术(北京)股份有限公司 Multimedia file downloading method and user terminal
CN103929427A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Dynamic multi-thread downloading device and method
CN104506950A (en) * 2014-12-29 2015-04-08 珠海全志科技股份有限公司 Multithread download method and download device in network streaming media play, and download equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769326A (en) * 2019-11-21 2020-02-07 广州华多网络科技有限公司 Method and device for loading video slice file and playing video file
CN113206841A (en) * 2021-04-26 2021-08-03 杭州当虹科技股份有限公司 AES decryption agent method and system based on HLS protocol
CN113206841B (en) * 2021-04-26 2022-08-23 杭州当虹科技股份有限公司 AES decryption agent method and system based on HLS protocol

Also Published As

Publication number Publication date
CN106302465B (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN108965907B (en) Method, device and system for playing video
CN104125229B (en) The player method of Streaming Media and playing device
CN108063769B (en) Method and device for realizing content service and content distribution network node
EP2493191B1 (en) Method, device and system for realizing hierarchically requesting content in http streaming system
US10225319B2 (en) System and method of a link surfed http live streaming broadcasting system
CN109587514B (en) Video playing method, medium and related device
CN101115185B (en) Device for the third party to implement audio-video play in IPTV and method therefor
CN105025391A (en) Video playing method and apparatus
CN103607634A (en) Method for reducing network video ordering terminal user waiting time
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN102474517A (en) A method of switching media content for a mobile apparatus
CN101662658B (en) Program push method, set-top box and electronic program guide
CN108200444B (en) Video live broadcast method, device and system
CN106789976A (en) The player method of media file, service end, client and system
CN108076383A (en) Adaptive identifying, control method, set-top box and electronic programming server
CN105828096A (en) Media stream file processing method and device
CN104363509B (en) A kind of video conversion method, device, play system and terminal
CN101127780A (en) Method for downloading, saving and replaying online video and construction of online video network
CN113727199A (en) HLS slice rapid playing starting method
CN103716681A (en) Code stream switching method and electronic equipment
CN104602046B (en) A kind of information issuing method based on HLS protocol, equipment and system
CN110113298B (en) Data transmission method, device, signaling server and computer readable medium
CN106612462B (en) Fast forward and fast backward processing method and terminal
CN106302465A (en) A kind of method and device of playing audio-video data
CN105392028B (en) A kind of transmission method and device of data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and device for playing audio and video data

Effective date of registration: 20210104

Granted publication date: 20190924

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001517

PE01 Entry into force of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190924

Termination date: 20210817

CF01 Termination of patent right due to non-payment of annual fee