CN108574851A - Method for pushing, device, streaming media server and computer readable storage medium - Google Patents

Method for pushing, device, streaming media server and computer readable storage medium Download PDF

Info

Publication number
CN108574851A
CN108574851A CN201711308136.9A CN201711308136A CN108574851A CN 108574851 A CN108574851 A CN 108574851A CN 201711308136 A CN201711308136 A CN 201711308136A CN 108574851 A CN108574851 A CN 108574851A
Authority
CN
China
Prior art keywords
target
content file
prolong
broadcast
broadcasting
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
CN201711308136.9A
Other languages
Chinese (zh)
Other versions
CN108574851B (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201711308136.9A priority Critical patent/CN108574851B/en
Publication of CN108574851A publication Critical patent/CN108574851A/en
Application granted granted Critical
Publication of CN108574851B publication Critical patent/CN108574851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • 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
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/2625Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for delaying content or additional data distribution, e.g. because of an extended sport event

Landscapes

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

Abstract

An embodiment of the present invention provides a kind of method for pushing, device, streaming media server and computer readable storage medium, method for pushing includes:According to the system time of streaming media server and for the target data stream in the data flow of acquisition it is preset to prolong sowing time long, judge whether target data stream meets preset pushing condition;If it is satisfied, handle the data packet of acquired target data stream, push treated data packet.Using method for pushing provided in an embodiment of the present invention, sowing time long propelling data packet can be prolonged according to preset, to realize the delay live of data.

Description

Method for pushing, device, streaming media server and computer readable storage medium
Technical field
The present invention relates to delay live technical field, more particularly to a kind of method for pushing, device, streaming media server and Computer readable storage medium.
Background technology
According to the relevant regulations of General Bureau of Radio, Film and Television:It is required that all kinds of radio and television programme televised lives participated in by the masses, are delayed without exception It broadcasts within 20 seconds or more.The purpose of live television programs delay live is to broadcast personnel for prison to provide certain monitoring period, to prevent The picture and language for being unfavorable for social stability and safety broadcast.It can be seen that the necessity of delay live.
In current live streaming media service, streaming media server, will not be to data after the data in receiving data flow It is cached, but data is directly pushed out, data flow mentioned here refers to the stream of data transmission, the number in data flow According to can be audio, video data.Streaming media server will not be edited and be handled to data without delay live, but this Sample may violate corresponding laws and regulations because data are illegal.
Invention content
The embodiment of the present invention is designed to provide a kind of method for pushing, device, streaming media server and computer-readable Storage medium carries out delay live to realize to data.Specific technical solution is as follows:
In a first aspect, in order to achieve the above object, an embodiment of the present invention provides a kind of method for pushing, are applied to Streaming Media Server, method include:
It is broadcast according to the system time of streaming media server and for preset prolong of the target data stream in the data flow of acquisition Duration, judges whether target data stream meets preset pushing condition;
If it is satisfied, handle the data packet of acquired target data stream, push treated data packet.
Optionally, according to streaming media server system time and for the target data stream in the data flow of acquisition it is pre- If prolong that sowing time is long, and before judging the step of whether target data stream meets preset pushing condition, method further includes:
Obtain the data packet of target data stream;
The obtained data packet of storage, content file is broadcast as prolonging;
Record target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein be between prolonging sowing time be based on needle Determination is grown to the sowing time that prolongs of target data stream setting;
It is broadcast according to the system time of streaming media server and for preset prolong of the target data stream in the data flow of acquisition Duration, judges whether target data stream meets preset pushing condition, including:
Judge for target data stream recorded prolong sowing time between it is middle it is minimum prolong sowing time between whether be greater than or equal to stream matchmaker The system time of body server, when it is minimum prolong sowing time between be more than or equal to the system time of streaming media server, judge number of targets Meet preset pushing condition according to stream;
The data packet of acquired target data stream is handled, push treated data packet, including:
Sequencing between prolonging sowing time according to what is recorded is broadcast content file and is handled, and pushes processing to prolonging successively Content file is broadcast in prolonging afterwards.
Optionally, the sequencing between prolonging sowing time according to what is recorded is broadcast content file and is handled to prolonging successively, and Push treated prolong the step of broadcasting content file before, method further includes:
Whether timing inquiry is provided with for target data stream is prohibited broadcasting the period;
It prohibits broadcasting the period if be provided with for target data stream, obtains prohibiting broadcasting the period for target data stream;
Sequencing between prolonging sowing time according to what is recorded is broadcast content file and is handled, and pushes processing to prolonging successively Afterwards prolong the step of broadcasting content file, including:
It is prohibited broadcasting the period based on acquired, judges whether that push target is prolonged and broadcast content file, wherein target, which is prolonged, broadcasts content File, which is that target data stream is corresponding, not to be pushed and prolonging of not prohibited broadcasting is broadcast in content file, in minimum prolonging is broadcast between prolonging sowing time Hold file;
If push target prolongs and broadcasts content file, target is prolonged and broadcasts content file and handles;
Treated that target prolongs broadcasts content file for push, is not pushed and that does not prohibit broadcasting prolongs the case where broadcasting content file existing Under, it returns to execute and be prohibited broadcasting the period based on acquired, judge whether that push target is prolonged and broadcast content file.
Optionally, judge not push target prolong broadcast content file in the case of, method further includes:
Delete target, which is prolonged, broadcasts content file, and does not push existing and in the case that prolonging of not prohibiting broadcasting broadcasts content file, return Receipt row is prohibited broadcasting the period based on acquired, judges whether that pushing target prolongs the step of broadcasting content file;
Push treated target prolongs broadcast content file after, method further includes:
Delete target, which is prolonged, broadcasts content file.
Optionally, target is prolonged and broadcasts content file and handles, including:
It releases target and prolongs the encapsulation for broadcasting content file;
The target after de-encapsulation is prolonged using preset target protocol and broadcasts content file and is packaged, as treated Target, which is prolonged, broadcasts content file.
Optionally, treated that target prolongs broadcasts content file for push, including:
Code check when using the data packet for obtaining target data stream, treated that target prolongs broadcasts content file for push.
Optionally, push treated target prolongs broadcast content file after, method further includes:
Acquisition is directed to the reference agreement that target plays end setting, wherein target broadcasting end is prolonged for broadcasting target broadcasts content text The broadcasting end of the corresponding data of part;
Judge whether target protocol is with reference to agreement;
It, will treated that target prolongs broadcasts content file and be sent to target and play end if target protocol is with reference to agreement;
It, will treated that target prolongs broadcasts content file and be converted to using referring to agreement if target protocol is not with reference to agreement The target of encapsulation, which is prolonged, broadcasts content file, and transformed target prolonged to broadcast content file and be sent to target and plays end.
Optionally, it is each prolong broadcast content file prolong sowing time between prolong for this and broadcast the receiving time of content file and to prolong sowing time long The sum of.
Optionally, it is prohibited broadcasting the period based on acquired, judges whether that pushing target prolongs the step of broadcasting content file, wraps It includes:
It obtains target and prolongs the receiving time and playing duration for broadcasting content file;
Target is prolonged to the sum of the receiving time for broadcasting content file and playing duration, prolongs the cut-off for broadcasting content file as target Time;
Judge target prolong broadcast content file target time section whether between the period of prohibiting broadcasting obtained there are Chong Die, If there is overlapping, then judge not push target to prolong and broadcast content file, if there is no overlapping, then judges to push in target prolongs and broadcast Hold file;Wherein, target time section is to prolong to broadcast content file to target since target prolongs the receiving time for broadcasting content file The period that deadline terminates.
Second aspect, in order to achieve the above object, the embodiment of the present invention additionally provide a kind of pusher, are applied to stream matchmaker Body server, device include:
First judgment module, for the target in the system time according to streaming media server and the data flow for acquisition Data flow is preset, and to prolong sowing time long, judges whether target data stream meets preset pushing condition;
Pushing module is used in the case where the judging result of the first judgment module is to meet, to acquired number of targets It is handled according to the data packet of stream, push treated data packet.
Optionally, device further includes:
Obtain module, the data packet for obtaining target data stream;
Memory module broadcasts content file for storing obtained data packet as prolonging;
Logging modle, for record target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein prolong and broadcast Time is to prolong sowing time length determination based on what is be arranged for target data stream;
First judgment module, specifically for judging to prolong sowing time for what the target data stream in the data flow obtained was recorded Between it is middle it is minimum prolong sowing time between whether be greater than or equal to the system time of streaming media server, when it is minimum prolong sowing time between be more than etc. In the system time of streaming media server, judgement target data stream meets preset pushing condition;
Pushing module is file push module,
File push module, for the sequencing between prolonging sowing time according to what is recorded, successively to prolong broadcast content file into Row processing, and push that treated prolongs and broadcast content file.
Optionally, device further includes:
Whether enquiry module is inquired to be provided with for target data stream for timing and prohibit broadcasting the period;
First acquisition module, in the case where the query result of enquiry module is to be, obtaining the taboo of target data stream Broadcast the period;
File push module, including:
Judging submodule is judged whether to push target to prolong and broadcasts content file for being prohibited broadcasting the period based on acquired, In, target, which is prolonged, to be broadcast content file to be that target data stream is corresponding is not pushed and prolonging of not prohibited broadcasting is broadcast in content file, is prolonged and is broadcast Time, content file was broadcast in minimum prolonging;
Handle submodule, in the case where the judging result of judging submodule is, target is prolonged broadcast content file into Row processing;
Submodule is pushed, target, which prolongs, for pushing that treated broadcasts content file, is not pushed and that does not prohibit broadcasting prolongs existing In the case of broadcasting content file, returns and execute judging submodule.
Optionally, device further includes:
Removing module is used in the case where the judging result of judging submodule is no, and delete target, which is prolonged, broadcasts content file, And it is not pushed existing and in the case that prolonging of not prohibiting broadcasting broadcasts content file, returns and execute judging submodule;
Removing module, be additionally operable to the push of push submodule treated target prolongs broadcast content file after, delete target Prolong and broadcasts content file.
Optionally, submodule is handled, prolongs the encapsulation for broadcasting content file specifically for releasing target;It is assisted using preset target View, which prolongs the target after de-encapsulation, to be broadcast content file and is packaged, and as treated, target prolongs broadcasts content file.
Optionally, submodule is pushed, code check when being specifically used for using the data packet for obtaining target data stream, push processing Target afterwards, which is prolonged, broadcasts content file.
Optionally, device further includes:
Second acquisition module, for obtaining for the reference agreement for playing end setting, wherein it is to play mesh that target, which plays end, Mark prolongs the broadcasting end for broadcasting the corresponding data of content file;
Second judgment module, for judging whether target protocol is with reference to agreement;
Sending module will treated that target prolongs broadcasts in the case where the judging result of the second judgment module is to be Content file is sent to target and plays end;It, will treated target in the case where the judging result of the second judgment module is no Prolong to broadcast content file and be converted to and prolong using the target with reference to protocol encapsulation and broadcast content file, and transformed target is prolonged and broadcasts content File is sent to target and plays end.
Optionally, it is each prolong broadcast content file prolong sowing time between prolong for this and broadcast the receiving time of content file and to prolong sowing time long The sum of.
Optionally, judging submodule prolongs the receiving time and duration for broadcasting content file specifically for acquisition target;By target Prolong the sum of the receiving time for broadcasting content file and playing duration, prolongs the deadline for broadcasting content file as target;Judge target Prolong broadcast content file target time section whether between the period of prohibiting broadcasting obtained there are Chong Die, if there is overlapping, then Judgement, which does not push target and prolongs, broadcasts content file, if there is no overlapping, then judges that push is prolonged and broadcasts content file;Wherein, when target Between Duan Weicong targets prolong and broadcast the receiving time of content file and start to target to prolong the time that the deadline for broadcasting content file terminates Section.
The third aspect, in order to achieve the above object, the embodiment of the present invention additionally provide a kind of streaming media server, including place Manage device and memory, wherein
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes the method for pushing of first aspect.
Fourth aspect, in order to achieve the above object, the embodiment of the present invention additionally provide a kind of computer readable storage medium, It is stored with computer program in computer readable storage medium, pushing away for first aspect is realized when computer program is executed by processor Delivery method.
5th aspect, an embodiment of the present invention provides a kind of computer program products including instruction, when it is in computer When upper operation so that computer executes the method for pushing of first aspect.
6th aspect, an embodiment of the present invention provides a kind of computer programs, when run on a computer so that meter Calculation machine executes the method for pushing of first aspect.
Method for pushing, device, streaming media server and computer readable storage medium provided in an embodiment of the present invention, can be with By the system time of streaming media server and for data flow is preset prolong sowing time between, determining that target data stream meets push In the case of condition, the data packet in propelling data stream may be implemented to data prolong to broadcast live streaming.Certainly, implement the present invention Any product or method must be not necessarily required to reach simultaneously above all advantages.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the first flow diagram of method for pushing provided in an embodiment of the present invention;
Fig. 2 is second of flow diagram of method for pushing provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram for the realization that the function of broadcasting stream is prolonged in push in the embodiment of the present invention;
Fig. 4 is that will prolong to broadcast content file and be put into the embodiment of the present invention to prolong the principle schematic for broadcasting push buffering area;
Fig. 5 is the third flow diagram of method for pushing provided in an embodiment of the present invention;
Fig. 6 is to prolong the schematic diagram for broadcasting direct seeding technique realization in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of pusher provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of streaming media server provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to solve the problems, such as existing streaming media server without delay live, an embodiment of the present invention provides one kind Method for pushing, device, streaming media server and computer readable storage medium.
Method for pushing provided in an embodiment of the present invention is illustrated first below.
Method for pushing provided in an embodiment of the present invention is preferably applied to streaming media server, the main work(of streaming media server It can be that audio-video document is transferred to by client with streaming protocol, be watched online for user;Also receivable live video stream, then with Streaming protocol is broadcast live to client.Streaming protocol includes RTP (Real-time Transport Protocol, real-time Transmission association View)/RTSP (Real Time Streaming Protocol, instant crossfire agreement), MMS (Microsoft Media Server, Microsoft Media Server), RTMP (Real Time Message Protocol, real-time information transmission agreement) etc..Stream Media refer in a streaming manner in a network transmit audio, video and multimedia file media format.In embodiments of the present invention, it flows Media can be KVS (King Soft Video on demand Service, Kingsoft cloud order program service) or KLS (King Soft Live video Service, Kingsoft cloud direct broadcast service) in streaming media server.
Fig. 1 is the first flow diagram of method for pushing provided in an embodiment of the present invention, and method includes:
S101:It is preset according to the system time of streaming media server and for the target data stream in the data flow of acquisition It is long to prolong sowing time, judges whether target data stream meets preset pushing condition.
Target data stream refers to one in the data flow that streaming media server is obtained, and data flow refers to audio and video number According to can include multiple data packets in a data flow.Illustratively, server A sends video 1 and arrives server B, it is believed that What server A was transferred to server B is exactly video flowing.Data flow described in the embodiment of the present invention refers to needing the number of delay live According to corresponding stream, for example, when athletic game is broadcast live, picture will be broadcast live by, which needing, is sent to spectators, is sent to the picture of spectators at this time Corresponding stream is not data flow mentioned here, and is practised fraud in order to prevent, and athletic game battle both sides are cannot to watch in real time Picture, the corresponding stream of picture for being sent to battle both sides at this time may be considered data flow mentioned here.
Each data flow that streaming media server is obtained corresponds to unique stream identification, which can be with Including at least one of word, data, letter and character.Illustratively, stream identification can be account, the user of user The combination of Apply Names and video identifier used in recorded video.Video identifier can be the title of video or regard The number of frequency can also be generated according to mark generating algorithm, herein without limiting.
It can be that delay live demand for services side is pre-set to prolong sowing time length, can be arranged not for different data flows With to prolong sowing time long, can also be that identical to prolong sowing time long.Prolong sowing time length by delay live demand for services side oneself to be arranged, it can be with The demand for meeting different delay live demand for services sides, the clothes of high quality and hommization are provided for delay live demand for services side Business.Delay live demand for services side is the service side of user, audio, video data the broadcasting in delay live demand for services side of user It puts in device and plays.It in delay live demand for services side determines that some data flow prolong to broadcast processing but be not arranged and prolongs sowing time In the case of length, streaming media server can by it is preset prolong sowing time length as the data flow to prolong sowing time long.It requires emphasis It is under normal circumstances, to prolong sowing time length and be generally larger than 20 seconds, but not be more than 5 hours, otherwise become live video , rather than delay live.Delay demand for services side mentioned here can be above-mentioned described user, or above-mentioned use Family provides the service side of direct broadcast service.
In embodiments of the present invention, there is shadow of the deviation to judging result in the system time of streaming media server in order to prevent Sound, can periodically or the system time of convection media server is corrected in real time, illustratively, the system of streaming media server Time can be kept by the system time of NTP (Network Time Protocol, Network Time Protocol) and ntp server Synchronous, particularly, streaming media server obtains the system time of ntp server, in the system of acquired ntp server Between on the basis of increase communication delay from streaming media server to NTP, the system time as streaming media server.Streaming Media The system time of server is accurate, it is ensured that pushes the accuracy of time, and then can accurately control that prolong sowing time long.
Judge whether target data stream meets preset pushing condition, it can be understood as judge target data stream prolongs sowing time It is long whether then, it is understood that for judge the time for starting to obtain target data stream and target data stream to prolong sowing time long Summation whether be more than streaming media server system time.Judge that target data stream meets preset pushing condition, then holds Row S102.If conditions are not met, then waiting for until target video stream meets the preset push time.It is emphasized that such as gynophore To a data flow, judge that the data flow meets pushing condition, then S101 will not be executed again by being directed to the data flow.
S102:The data packet of acquired target data stream is handled, push treated data packet.
In embodiments of the present invention, in the case where judging that target data stream meets preset pushing condition, number of targets It does not stop there may be cutout and two states according to stream, cutout can judge that target data stream meets preset push item Before part, the data packet of target data stream end of transmission, can also be to judge that target data stream meets preset push While condition, the data packet end of transmission of target data stream.Do not stop refers to judging that target data stream meets default push away When sending condition, the data packet not yet end of transmission of target data stream.Illustratively, by taking data flow is video flowing A as an example, video flowing The sowing time length of prolonging of A is 1 hour, less than in video flowing A if the streaming media server pushing video stream A used times are 30 minutes When the preset pushing condition of foot, stop;If the streaming media server pushing video stream A used times are 1 hour, in video flowing When A meets preset pushing condition, video flowing A just stops;If the streaming media server pushing video stream A used times are 2 hours, When video flowing A meets preset pushing condition, video flowing A not yet stops.
No matter in target data stream when meeting preset condition, whether target video stream stops, and may each be according to acquisition The sequencing of the data packet of target data stream, handles data packet, and pushes treated data packet.Whether data flow Cutout is to illustrate the state of data flow, and whether meeting pushing condition to data flow, there is no influence.Handling data packet can To be that data packet is decapsulated, the data packet after decapsulation can also be sealed again using pre-set encapsulation format Dress.
In the prior art, after the data packet of streaming media server acquisition target data stream, directly data packet is pushed out Go, become same period live streaming, and in embodiments of the present invention, streaming media server can by itself system time and be directed to Data flow is preset prolong sowing time between, in the case where determining that target data stream meets pushing condition, the data in propelling data stream Packet, to realize the delay live to data.
Fig. 2 is second of flow diagram of method for pushing provided in an embodiment of the present invention, and method includes:
S201:Obtain the data packet of target data stream.
In embodiments of the present invention, user can utilize data acquisition equipment gathered data, data acquisition mentioned here Equipment can be that the equipment for acquiring audio, video data specifically, can be professional equipment can also be with data acquisition function Mobile device.Illustratively, mobile device can be mobile phone, tablet computer etc., herein without enumerating.
In traditional broadcasting and TV live streaming field, user using professional equipment acquire audio, video data, professional equipment need by It disposes at the scene, the audio, video data of collection site.Meanwhile user broadcasts content using the operate interface that professional equipment provides to prolonging (i.e. audio, video data) is into edlin and cutting.Collected data would generally be stored in disk by professional equipment, and prolonged Sowing time length sends data after reaching.The realization that above-mentioned delay live is just depends on professional equipment, can be because specially Industry equipment price costliness increases the cost of delay live.And professional equipment gathered data can be used in the embodiment of the present invention, Non-professional equipment gathered data can be used, to reduce the cost of delay live.In addition, above-mentioned delay live technology is to answer Field is broadcast live with traditional broadcasting and TV, and in the embodiment of the present invention, delay live technology can be applied to internet direct seeding technique, Therefore, the application range of two kinds of delay live technologies is different.
The data of acquisition can be carried out coding compression by data acquisition equipment after collecting data, and coding refers to full Under conditions of sufficient certain mass (requirement of signal-to-noise ratio or subjective assessment score), institute in image or image is indicated with less bit Include the technology of information.After being encoded to data, it is achieved that compressing data.Specifically, may be used H.265 or H.264 data are encoded.H.264 it is a kind of high performance video coding and decoding technology.H.265 it is made after H.264 Fixed new video encoding standard, H.265 standard around existing video encoding standard H.264, retain original certain skills Art, while some relevant technologies are improved.
After being encoded to data, the data after coding are packaged using streaming protocol, will be sealed by internet Data transmission after dress is to streaming media server, it can be understood as data acquisition equipment is to streaming media server plug-flow.Plug-flow is Refer to data-pushing to server through stream, plug-flow is actually propelling data packet.
S202:The obtained data packet of storage, content file is broadcast as prolonging.
In embodiments of the present invention, the data in coding are packaged using streaming protocol, are with GOP (Group of Pictures, picture group) it is packaged for unit, it can be understood as a GOP is exactly one group of audio/video data packet.One GOP It is exactly one group of continuous picture.After streaming media server obtains data packet, the data packet obtained is used into preset agreement lattice Formula preserves data packet, specifically, the data packet write-in after being preserved using preset protocol format be locally stored, as prolonging Broadcast content file, one is prolonged that broadcast content file corresponding with a GOP.Preset protocol format mentioned here can be MPEG (Moving Picture Experts Group, dynamic image expert group)-TS (Transport Stream, transport stream) lattice Formula.
S203:Record target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein be base between prolonging sowing time In be arranged for target data stream to prolong sowing time length determining.
Delay content file prolong sowing time between can be understood as prolonging the practical broadcast time for broadcasting content file, specifically, prolonging Broadcast content file prolong sowing time between can prolong the first frame practical broadcast time for broadcasting content file.In embodiments of the present invention, may be used Prolong as this first frame practical broadcast time for broadcasting content file will be prolonged and broadcast the filename of content file.
Can be the sum of to prolong the acquisition time for broadcasting content file head frames and prolong sowing time length between prolonging sowing time.Prolong and broadcasts in content file Including data store in the form of frames, each frame data acquisition when correspond to a timestamp, it is corresponding Timestamp be exactly the frame data acquisition time, the acquisition time and data of data be packaged together, and obtains data Packet just obtains the acquisition time of data.
When data pass through the Internet transmission, due to the characteristic of internet, may there are packet loss re-transmission, transmission time Therefore uncertain problem in order to record accurately delay time, provides the service that can be precisely controlled between prolonging sowing time, can be with By for prolong broadcast content file receiving time and prolong sowing time length the sum of, prolong as this broadcast content file prolong sowing time between, wherein prolong The receiving time for broadcasting content file is when receiving this to prolong the system of streaming media server when broadcasting content file corresponding data packet Between.
In embodiments of the present invention, streaming media server can also be safeguarded to prolong and broadcast index text while executing S202-S203 Part, streaming media server can judge whether the file of propelling data stream, can also obtain data flow according to the information recorded State.Prolong broadcast had recorded in index file be currently available for prolonging broadcast push prolong the information for broadcasting content file, broadcast specifically, prolonging Index file record have it is each prolong broadcast content file filename, it is each prolong the playing duration for broadcasting content file, also record has every One prolongs the storage location for broadcasting content file, wherein prolongs that broadcast the playing duration of content file be that this prolongs last for broadcasting content file Difference between the timestamp of frame and the timestamp of first frame.Prolong and broadcast index file and be stored in local, can be sealed with M3U8 formats Dress prolongs and broadcasts index file, that is, prolongs that broadcast index file be M3U8 files, and M3U8 files refer to the M3U of UTF-8 coded formats, wherein M3U is to have recorded an index text-only file, and UTF (Unicode Transformation Format) -8 is Unicode A kind of elongated character code, Unicode are an industrywide standard in computer science, including character set, encoding scheme Deng.
Prolong to broadcast index file and also record to have and prolongs the state for broadcasting the corresponding data flow of content file and preset to prolong sowing time long.Number According to stream state include do not reach prolong sowing time length cutout, do not reach prolong sowing time length cutout, reach prolong sowing time length not stop and Reached prolong sowing time length stop these four states.Up to sowing time length is prolonged, cutout refers to that data flow does not meet pushing condition, and number It is not finished according to the plug-flow of collecting device.Do not refer to that data flow does not meet pushing condition, but data acquisition is set up to sowing time length cutout is prolonged Standby plug-flow is over.It has reached and has prolonged sowing time length cutout refers to that data flow meets pushing condition, but data acquisition equipment Plug-flow is simultaneously not finished.Reached prolong sowing time length cutout refer to that data flow meets pushing condition, and the plug-flow of data acquisition equipment is Terminate.By this in four state can clearly react the state of data flow, streaming media server can be according to being recorded The state of data flow determines the state of each data flow.Prolonging sowing time length can also be referred to as to prolong to broadcast time window, prolong and broadcast index text Window state between prolonging sowing time in also being recorded in part, prolongs that broadcast the state of time window include prolonging to broadcast between time window expired and prolonged sowing time Window is less than.If prolonging the system time that the sum of sowing time length and the receiving time of data flow are greater than or equal to streaming media server, Then explanation, which is prolonged, broadcasts time window and has expired, and otherwise, illustrates to prolong that broadcast time window less than.Prolong and broadcasts time window and completely can be understood as counting Meet pushing condition according to stream, prolongs and broadcast that time window is less than to be unsatisfactory for pushing condition to be interpreted as data flow.Prolong and broadcasts time window State can indicate that status indicator can be at least one of word, number and letter with preset status indicator.It is exemplary , data flow A prolong sowing time between 1 mark of Window state, illustrate that prolonging for data flow A broadcasts time window and expired, if data flow A Prolong sowing time between Window state other identifier or non-record identification except 1, it may be considered that time window is broadcast in prolonging for data flow A Mouth is less than.
The LMSS (Live Media Streaming Service, live broadcast stream media service) run in streaming media server The step of S201-S203 can be executed.
S204:Judge for the target data stream in the data flow obtained recorded prolong sowing time between middle minimum prolong sowing time Between whether be greater than or equal to streaming media server system time, if so, execute S205, otherwise, terminate.
It is minimum prolong sowing time between corresponding data packet be first data packet in obtained target data stream, if most It is small prolong sowing time between be greater than or equal to the system time of streaming media server itself, illustrate target data stream at this time prolong sowing time between Window has been expired, i.e., target data stream meets pushing condition;Otherwise, illustrate that target data stream is unsatisfactory for pushing condition.In the present invention In embodiment, if for a data flow describe it is multiple prolong sowing time between, it is only necessary to judge recorded prolong sowing time between in most It is small prolong sowing time between whether be greater than or equal to the system time of streaming media server because it is minimum prolong sowing time between be greater than or equal to The system time of streaming media server illustrates that target data stream meets pushing condition, then can push that treated successively and prolong in broadcasting Hold file, completes that entire target data stream is corresponding to prolong the push operation for broadcasting content file.
Prolonging of being run in streaming media server, which broadcasts content push service scan and read prolonging in being locally stored, broadcasts index text Part particularly prolongs to broadcast content push service and monitor and is locally stored to prolong and broadcasts index file, once prolong the data broadcast in index file There are changes, then update immediately and respectively prolong prolonging in the task of broadcasting and broadcast content file list.Prolong that broadcast content file list be to prolong to broadcast content The information for broadcasting content file of prolonging broadcast and recorded in index file is prolonged in Push Service extraction, and the information extracted is documented in file It is obtained in list.It should be noted that one is prolonged, to broadcast content file list corresponding with a data flow.Prolong and broadcasts content push clothes Business can be that GOUT (Upload Toolkit Power by Golang) is the uploading tools that GO language is realized.Go language is paddy A kind of completely new programming language released is sung, the complexity of code can be reduced in the case where not losing application program capacity.
Prolong and broadcast content push service and also have the function of that push prolongs and broadcasts stream, push prolong the realization principle of the function of broadcasting stream can be with Prolong as shown in figure 3, prolonging to broadcast content push service and read and broadcast content file list, judges that this prolongs to broadcast and prolong sowing time in content file list Whether length expire, if it is, treated prolongs and broadcast content file for push, if it is not, waiting-timeout pushes, treated prolongs Broadcast content file.
S205:Sequencing between prolonging sowing time according to what is recorded is broadcast content file and is handled, and pushes to prolonging successively Treated prolongs and broadcasts content file.
Prolong that broadcast the receiving time of the corresponding data packet of content file directly proportional to receiving between prolonging sowing time, when the reception of data packet Between it is directly proportional to the acquisition time of data packet, according to the sequencing between prolonging sowing time, first from being locally stored between middle reading prolongs sowing time Content file is broadcast in minimum prolonging, and read prolong is broadcast content file and handled, and treated prolongs and broadcast content file for push;So Time small prolonging between prolonging sowing time is read in local afterwards and broadcasts content file, read prolong is broadcast by content file handles, at push Prolonging after reason broadcasts content file ... ..., and so on, until target data stream it is corresponding prolong broadcast content file all pushed Finish.
In embodiments of the present invention, in order to reduce network jitter to play end picture generate influence, can first by from In local read prolong sowing time between smaller prolonging broadcast content file, by reading prolong broadcast content file store to prolong broadcast push buffering Area prolongs all total durations for broadcasting content file of prolonging for broadcasting push buffering area storage in default range, then will prolong and broadcast push The prolonging of buffering area broadcasts content file and is handled and pushed, and reduces push treated and prolong the stand-by period for broadcasting content file.Show Example property, Fig. 4 be that will prolong to broadcast content file and be put into the principle schematic prolonged and broadcast push buffering area, prolong to broadcast and push buffering area and can deposit Prolonging for total duration 5 seconds or so of storage broadcasts content file, from read in local prolong sowing time between minimum prolonging broadcast content file, store to prolonging Broadcast push buffering area, then, for except it is stored to prolong broadcast push buffering area prolong broadcast content file extension broadcast content text Part judges that whether minimum prolonging broadcasts the playing duration of content file more than target duration between currently prolonging sowing time, wherein target duration To store total duration and the stored difference for prolonging and broadcasting file and playing total duration, if so, terminate, if it is not, this is prolonged broadcast it is interior Hold file and store to prolonging and broadcast push buffering area, then executes and broadcast prolonging for push buffering area for except stored and broadcast content text to prolonging The extension of part broadcasts content file, when judging that whether minimum prolonging broadcasts the playing duration of content file more than target between currently prolonging sowing time It is long.Prolong and broadcast content push service and handle prolonging to broadcast prolonging in content buffer and broadcast content file, and prolongs to treated and broadcast Content file pushes to LMSS, that is, prolongs to broadcast content push service and will prolong and broadcast stream and push to LMSS.Content is broadcast it should be noted that prolonging The prolonging of buffering area is broadcast after content file pushes out, and has new prolonging and broadcasts content file and store to prolonging and broadcasts content buffer.This Sample in advance by it is local will prolong to broadcast content file and store to prolonging broadcast push buffering area, it is possible to reduce read prolong broadcast content file when Between.
In embodiments of the present invention, streaming media server is in judging to prolong between sowing time except what is recorded for target data stream It is minimum prolong sowing time between whether be greater than or equal to the system time of streaming media server, then treated prolongs and broadcast content text for push Part, to realize the delay live to data.
Fig. 5 is the third flow diagram of method for pushing provided in an embodiment of the present invention, and method includes:
S501:Obtain the data packet of target data stream.
S502:The obtained data packet of storage, content file is broadcast as prolonging.
S503:Record target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein be base between prolonging sowing time In be arranged for target data stream to prolong sowing time length determining.
It should be noted that S501-S503 is identical as the S201-S203 in above-described embodiment herein without repeating.
S504:Whether timing inquiry is provided with for target data stream is prohibited broadcasting the period, if so, S505 is executed, otherwise, Terminate.
Auditor can watch the data that target data stream is included, and check the legitimacy of data, if data do not conform to Method illustrates that the broadcast of the data is possible to violate relevant laws and regulations, needs the broadcast for preventing the data.Determining the data not After legal, it may be determined that identified receiving time section is exactly the period of prohibiting broadcasting, specifically by the receiving time section of the data , it may be determined that the minimum receiving time of illegal data and maximum receiving time, by the receiving time of minimum and most Period where big receiving time is set as the period of prohibiting broadcasting.Illustratively, determine the time in 9 points of 20 seconds 10 minutes -9 points 10 Data between dividing 25 seconds are illegal, then set 9 points of 20 seconds 10 minutes -9 points to the period of prohibiting broadcasting within 25 seconds 10 minutes.One data flow It can be not present and prohibit broadcasting the period, there may also be one to prohibit broadcasting the period, prohibits broadcasting the period there may also be multiple, specifically It is determined according to the data that data flow is included.After being provided with the period of prohibiting broadcasting to a data flow, set is prohibited broadcasting Period stores into database.The database can be operation have LMDS (Live Media Dispatch Service, directly Broadcast media schedule service) server.
The incidence relation prohibited broadcasting between period and stream identification stored in database prolongs and broadcasts content push service root The data flow is inquired from database with the presence or absence of prohibiting broadcasting the period according to the fixed timing of the mark of data flow.Prohibiting broadcasting the period can be with The viewing of auditor and be set, it is possible to last time inquiry for a data flow period of prohibiting broadcasting is not arranged, next time It is possible to just be provided with for the data flow when inquiry and prohibit broadcasting the period, in order to avoid being disobeyed because illegal data are broadcasted The appearance of the case where laws and regulations of inverse correlation needs timing inquiry to whether there is for a data flow and prohibits broadcasting the time.If It inquires to be provided with for target data stream and prohibit broadcasting the period, then execute S505, otherwise, the timing since current, when timing is arrived Up to the duration of timing, S504 is executed again.
S505:Obtain prohibiting broadcasting the period for target data stream.
According to the stream identification of target data stream, the period of prohibiting broadcasting of target data stream is read from database.
S506:Judge for the target data stream in the data flow obtained recorded prolong sowing time between middle minimum prolong sowing time Between whether be greater than or equal to streaming media server system time, if so, execute S507, otherwise, terminate.
S507:It is prohibited broadcasting the period based on acquired, judges whether that push target is prolonged and broadcast content file, if so, executing S508, if it is not, then terminating, wherein target prolongs that broadcast content file be that target data stream is corresponding is not pushed and is not prohibited broadcasting Prolong and broadcast in content file, between prolonging sowing time minimum prolonging broadcast content file.
After obtaining and prohibiting broadcasting the period, needs to be based on the acquired period, prolonged according to target and broadcast prolonging for content file Between sowing time and reproduction time, judges whether to push target to prolong and broadcast content file, specific judgment mode may include following step Suddenly:
Step A:It obtains target and prolongs the receiving time and playing duration for broadcasting content file.
Target prolongs that broadcast the receiving time of content file be that target prolongs the receiving time for broadcasting the corresponding data packet of content file.Mesh Mark, which prolongs, to be broadcast the receiving time of content file and can be read from prolonging to broadcast in index file or database;Can also be to be calculated, Can specifically calculate the target prolong broadcast content file prolong sowing time between with prolong sowing time length difference, prolong as target broadcast content text The receiving time of part.
In embodiments of the present invention, the playing duration of content file can be broadcast from prolonging to broadcast to obtain target in index file and prolong.
Step B:Target is prolonged to the sum of the receiving time for broadcasting content file and playing duration, prolongs as target and broadcasts content file Deadline.
Illustratively, target prolongs that broadcast content file be file A, the receiving time of file A be 9 points 30 seconds 30 minutes, file A's Playing duration is 5 seconds, deadline of file A be 9 points 35 seconds 30 minutes.
Step C:Judge target prolong broadcast content file target time section whether with deposited between period of prohibiting broadcasting for being obtained It is being overlapped, if there is overlapping, is then judging not push target to prolong and broadcast content file, if there is no overlapping, then judging to push mesh Mark, which prolongs, broadcasts content file;Wherein, target time section is in prolonging to target since target prolongs the receiving time for broadcasting content file and broadcasting The period that the deadline of appearance file terminates.
In embodiments of the present invention, target time section is the period of a closure, specifically, can be expressed as [receiving Time, deadline].Prohibit broadcasting the period be also one closure period.Judge that target prolongs the object time for broadcasting content file Section rope and period of prohibiting broadcasting for being obtained are with the presence or absence of overlapping, it can be understood as target time section whether with the period of prohibiting broadcasting include Identical data.Illustratively, target time section is 9 points of 30 seconds 30 minutes -9 points 30 minutes and 35 seconds, the period of prohibiting broadcasting be 9 points 30 minutes 25 Second -9 point 30 minutes and 32 seconds, target time section and period of prohibiting broadcasting, the part of overlapping was 9 points of 30 seconds 30 minutes -9 points 30 minutes there are Chong Die 32 seconds, judgement, which does not push the corresponding target of target time section and prolongs, broadcast content file;If the period of prohibiting broadcasting be 9 points 25 seconds 30 minutes -9 Point 30 minutes and 28 seconds, then target time section and period of prohibiting broadcasting there is no Chong Die, judge that pushing the corresponding target of target time section prolongs Broadcast content file.
If for target data stream period more than one of prohibiting broadcasting in the case of, can compare target time section with it is every One prohibits broadcasting the period with the presence or absence of overlapping, alternatively, elder generation selects a time from the period of prohibiting broadcasting and target time section is closest Prohibit broadcasting the period, then prohibit broadcasting period and the target time section that judge to pick out be with the presence or absence of Chong Die, if it is present not pushing away It send target to prolong and broadcasts content file, otherwise, push the target and prolong and broadcast content file.
S508:Target is prolonged and broadcasts content file and handles.
In embodiments of the present invention, determining that it is heavy not with the period of prohibiting broadcasting that target prolongs the target time section for broadcasting content file It is folded, then target is prolonged and broadcast content file and handle, specifically target is prolonged and broadcasts the mode that content file is handled and is:
It releases target and prolongs the encapsulation for broadcasting content file;
The target after de-encapsulation is prolonged using preset target protocol and broadcasts content file and is packaged, as treated Target, which is prolonged, broadcasts content file.
Encapsulation is to be subsequently filled the packet header of corresponding agreement in the payload for map the data into some tunneling, forms envelope Fill the data packet of agreement.Decapsulation, the inverse process exactly encapsulated disassemble protocol package, handle the information in packet header, take out in payload Data.Data packet can be reliably and accurately transmitted to destination by encapsulation, and can efficiently utilize transfer resource.Solution Encapsulation is operated to data according to actual needs to obtain data.
Decapsulation refers to the process of successively removing Protocol Control Information, is to remove target to prolong the association broadcast entrained by content file The information of view.Illustratively, target, which is prolonged, broadcasts what content file was obtained by MPEG-TS protocol encapsulations, and target, which is prolonged, broadcasts content file Target is prolonged and broadcasts the information of content file institute agreement and remove, exactly prolonged to target and broadcast content by the middle information for carrying MPEG-TS agreements File decapsulates.Target is prolonged after broadcasting content file de-encapsulation, using preset target protocol to the target after de-encapsulation Prolong and broadcasts content file and be packaged.
S509:Treated that target prolongs broadcasts content file for push, is not pushed and prolonging of not prohibiting broadcasting broadcasts content file existing In the case of, execute S507.
When push treated target prolongs broadcast content file after, detecting target data stream, there is also do not push and do not prohibit broadcasting Prolong when broadcasting content file, then execute S507, if there is no not pushing and prolonging of not prohibiting broadcasting broadcasts content file, then illustrate the mesh Mark data flow it is all prolong to broadcast content file and pushed terminate.
It is mentioned here prohibit broadcasting prolong that broadcast content file refer to that content is broadcast in prolong Chong Die with the period of prohibiting broadcasting of target time section File.Push it is currently processed after target prolong broadcast content file when, it is understood that there may be prolonging of prohibiting broadcasting broadcasts content file and also is stored in Local situation repeats to determine that in order to prevent one is prolonged and broadcasts whether content file is that prolonging of prohibiting broadcasting broadcasts content file, can be never Push and prolonging of not prohibiting broadcasting, which broadcast selection target in content file and prolong, broadcasts content file.
In embodiments of the present invention, judging that target prolongs the target time section for broadcasting content file and the period of prohibiting broadcasting does not weigh The folded time, treated that target prolongs broadcasts content file for push, can avoid that target prolongs broadcasts content because treated as possible in this way File is illegal and violates the generation of relevant laws and regulations event.
End interim card is played caused by propelling data is excessively slow in order to prevent, or is broadcast caused by propelling data is too fast in order to prevent Buffer Overflow frame losing is put, then code check when needing using the data packet for obtaining target data stream, treated that target prolongs broadcasts for push Content file.
Code check when using the data packet for obtaining target data stream, treated that target prolongs broadcasts content file for push, not It is to say to have to using identical code check when the data packet for obtaining target stream, treated that target prolongs broadcasts content file for push.And It is that treated that target prolongs when broadcasting the code check and the data packet of acquisition target data stream of content file code check is identical as possible for push, It can be interpreted as code check when simulation obtains the data packet of target data stream, treated that target prolongs broadcasts content file for push.
Code check control is the plug-flow end control in live TV stream, and prolongs to broadcast to flow and need to read and push from local, because This, code check can be described as broadcasting content push Service controll by prolonging.Plug-flow end mentioned here is exactly to prolong content push service of broadcasting, right For streaming media server, target data stream is exactly live TV stream, and target data stream prolong by streaming media server broadcasts processing Afterwards, live TV stream, which becomes to prolong, broadcasts stream, and push, which is prolonged, broadcasts stream.It plays end and can obtain this and prolong and broadcast stream, obtained for broadcasting end Prolong broadcast stream be exactly live TV stream.
In order to reduce streaming media server memory space waste, while in order to will store it is subsequent prolong broadcast content text Part avoids newest prolong from broadcasting content file loss as possible, judge not push target prolong broadcast content file in the case of, delete Target, which is prolonged, broadcasts content file, and is not pushed and in the case that prolonging of not prohibiting broadcasting broadcasts content file existing, and returns to execute and is based on institute What is obtained prohibits broadcasting the period, judges whether that pushing target prolongs the step of broadcasting content file.
In addition, push treated target prolongs broadcast content file after, delete target, which is prolonged, broadcasts content file.
Delete target, which is prolonged, to be broadcast the mode of content file and can prolong to broadcast index file or prolong according to and broadcast in content file list The target of record prolongs the storage location for broadcasting content file, and the target stored in the storage location in local is prolonged and broadcasts content file and deletes It removes.
In order to meet the demand that demand for services side is broadcast in different prolonging, it is sent to the file for prolonging the broadcasting end for broadcasting demand for services side It is consistent that used agreement plays the preset agreement in end, therefore, push treated target prolongs broadcast content file after, the party Method can also include the following steps:
Step 1:Acquisition is directed to the reference agreement that target plays end setting, wherein target broadcasting end is prolonged for broadcasting target to be broadcast The broadcasting end of the corresponding data of content file.
It is to play target to prolong the broadcasting end for broadcasting the corresponding data of content file that target, which plays end, i.e. target plays end and plays mesh Mark, which prolongs, broadcasts the corresponding picture of content file.Target data stream is corresponding with stream identification, includes delay live in stream identification In the case of the mark of party in request, can according to the mark of the delay live party in request pre-established with play end incidence relation, Determine that target plays end, certainly, there is also other modes to determine that target plays end, herein without enumerating.
Prolong and broadcasts that content push service will treated that target prolongs broadcasts content file and push to LMSS.It is stored in the database Prolong in the case of broadcasting the reference agreement that the pre-set target in demand for services side plays end, LMSS can obtain needle from database The reference agreement of end setting is played to target;The pre-set target broadcasting in demand for services side is broadcast being locally stored to be stored with to prolong In the case of the reference agreement at end, LMSS can obtain the reference agreement that end setting is played for target from local.Certainly, LMSS can also in other way be obtained with reference to agreement.The agreement mentioned here that refers to is pre-set, plays end institute The agreement used.
With reference to agreement can be RTMP, HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol)+ FLV (Flash Video, stream media format) or HLS.HLS is a Streaming Media net based on HTTP proposed by Apple Inc. Network transport protocol.
Step 2:Judge whether target protocol is with reference to agreement, if so, step 3 is executed, if it is not, executing step 4.
Target that target protocol is that treated, which is prolonged, broadcasts agreement used in content file, specifically, will treated prolongs and broadcast The corresponding agreement of protocol-identifier entrained by content file is as target protocol, if it is judged that target protocol is with reference to agreement, 3 are thened follow the steps, otherwise, executes step 4.
Step 3:It will treated that target prolongs broadcasts content file and be sent to target and play end.
Step 3 simply understands can be streaming media server by CDN (Content Delivery Network, it is interior Content distributing network) system will treated that target prolongs broadcasts content file and be sent to target and play end.Target plays end playback process Target afterwards, which is prolonged, broadcasts the corresponding audio, video data of content file, is specifically:CDN system Hui Yuanyan from streaming media server is broadcast Stream, target play end and draw stream from CDN system.Hui Yuan can be understood as target broadcasting end and draw stream, CDN system from CDN system In if do not store prolong broadcast stream it is corresponding treated prolongs and broadcast content file, obtained from the streaming media server in source station. It refers to the pulling data stream from specified address to draw stream.
Step 4:By treated, target prolongs broadcasts content file and be converted to prolong using the target with reference to protocol encapsulation and broadcast content File, and transformed target prolonged to broadcast content file and be sent to and plays end.
By treated, target prolongs broadcasts content file and be converted to prolong using the target with reference to protocol encapsulation and broadcast content file, has Body can be that target prolongs broadcasts content file decapsulation to treated, and the target after encapsulation is prolonged and broadcasts content file and utilizes with reference to assisting View is packaged.Preset protocol conversion algorithm can also be utilized, conversion encapsulation target, which is prolonged, broadcasts agreement used in content file.
In embodiments of the present invention, encapsulation target is prolonged and broadcasts the agreement of content file and converts, can met different The demand of delay live demand for services side, the live streaming media agreement that can also be compatible in internet.
The delay live technology of the method for pushing provided based on inventive embodiments is carried out below by a specific example It introduces.
As shown in fig. 6, LMSS plug-flows of the Pusher (data acquisition equipment) into streaming media server, it can be understood as LMSS obtains the data packet in data flow, and being run in streaming media server has LMSS and GOUT, streaming media server and LMDS groups At source station.LMSS is obtained from LMDS after first data packet for obtaining data flow and is directed to prolonging for data flow setting in advance Sowing time is long, and then, LMSS handles data packet, and acquisition, which is prolonged, broadcasts content file, and LMSS, which will prolong to broadcast content file and prolong, broadcasts rope Quotation part is preserved to local.GOUT readings, which are prolonged, broadcasts the information that prolonging in index file broadcasts content file, by the information storage of reading It is broadcast in content file list to prolonging, what is stored in GOUT meeting timing readings LMDS prohibits broadcasting the period, and content text is broadcast judging to prolong Sowing time length of prolonging in part list has expired, and prolongs from local reading and broadcasts content file, is judging that pushing this prolongs based on the period of prohibiting broadcasting It after broadcasting content file, broadcasts content file to prolonging and handles, and will treated prolongs and broadcast content file and push to LMSS, i.e. GOUT Prolong to LMSS push and broadcasts stream.CDN system Hui Yuanyan from streaming media server broadcasts stream, and Puller (playing end) is from CDN system Draw stream.
Fig. 7 is the structural schematic diagram of pusher provided in an embodiment of the present invention, which judges mould including first Block 701 and pushing module 702, wherein
First judgment module 701, in the system time according to streaming media server and the data flow for acquisition Target data stream is preset, and to prolong sowing time long, judges whether target data stream meets preset pushing condition;
Pushing module 702 is used in the case where the judging result of the first judgment module 701 is to meet, to acquired The data packet of target data stream is handled, push treated data packet.
In the prior art, after the data packet of streaming media server acquisition target data stream, directly data packet is pushed out Go, become same period live streaming, and in embodiments of the present invention, streaming media server can by itself system time and be directed to Data flow is preset prolong sowing time between, in the case where determining that target data stream meets pushing condition, the data in propelling data stream Packet, to realize the delay live to data.
In one embodiment of the invention, which can also include:
Obtain module, the data packet for obtaining target data stream;
Memory module broadcasts content file for storing obtained data packet as prolonging;
Logging modle, for record target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein prolong and broadcast Time is to prolong sowing time length determination based on what is be arranged for target data stream;
First judgment module 701, specifically for judging to prolong for what the target data stream in the data flow obtained was recorded Between sowing time it is middle it is minimum prolong sowing time between whether be greater than or equal to the system time of streaming media server, when it is minimum prolong sowing time between it is big In the system time equal to streaming media server, judgement target data stream meets preset pushing condition;
Pushing module 702 is file push module,
File push module, for the sequencing between prolonging sowing time according to what is recorded, successively to prolong broadcast content file into Row processing, and push that treated prolongs and broadcast content file.
In one embodiment of the invention, which can also include:
Whether enquiry module is inquired to be provided with for target data stream for timing and prohibit broadcasting the period;
First acquisition module, in the case where the query result of enquiry module is to be, obtaining the taboo of target data stream Broadcast the period;
File push module, including:
Judging submodule is judged whether to push target to prolong and broadcasts content file for being prohibited broadcasting the period based on acquired, In, target, which is prolonged, to be broadcast content file to be that target data stream is corresponding is not pushed and prolonging of not prohibited broadcasting is broadcast in content file, is prolonged and is broadcast Time, content file was broadcast in minimum prolonging;
Handle submodule, in the case where the judging result of judging submodule is, target is prolonged broadcast content file into Row processing;
Submodule is pushed, target, which prolongs, for pushing that treated broadcasts content file, is not pushed and that does not prohibit broadcasting prolongs existing In the case of broadcasting content file, returns and execute judging submodule.
In one embodiment of the invention, which can also include:
Removing module is used in the case where the judging result of judging submodule is no, and delete target, which is prolonged, broadcasts content file, And it is not pushed existing and in the case that prolonging of not prohibiting broadcasting broadcasts content file, returns and execute judging submodule;
Removing module, be additionally operable to the push of push submodule treated target prolongs broadcast content file after, delete target Prolong and broadcasts content file.
In one embodiment of the invention, submodule is handled, prolongs the envelope for broadcasting content file specifically for releasing target Dress;The target after de-encapsulation is prolonged using preset target protocol and broadcasts content file and is packaged, as treated target Prolong and broadcasts content file.
In one embodiment of the invention, submodule is pushed, is specifically used for using the data for obtaining target data stream Code check when packet, treated that target prolongs broadcasts content file for push.
In one embodiment of the invention, which can also include:
Second acquisition module, for obtaining for the reference agreement for playing end setting, wherein it is to play mesh that target, which plays end, Mark prolongs the broadcasting end for broadcasting the corresponding data of content file;
Second judgment module, for judging whether target protocol is with reference to agreement;
Sending module will treated that target prolongs broadcasts in the case where the judging result of the second judgment module is to be Content file is sent to target and plays end;It, will treated target in the case where the judging result of the second judgment module is no Prolong to broadcast content file and be converted to and prolong using the target with reference to protocol encapsulation and broadcast content file, and transformed target is prolonged and broadcasts content File is sent to target and plays end.
In one embodiment of the invention, it is each prolong broadcast content file prolong sowing time between prolong for this and broadcast content file Receiving time and prolong sowing time length the sum of.
In one embodiment of the invention, judging submodule prolongs specifically for acquisition target and broadcasts connecing for content file Between time receiving and duration;Target is prolonged to the sum of the receiving time for broadcasting content file and playing duration, prolongs as target and broadcasts content file Deadline;Judge target prolong broadcast content file target time section whether with there is weight between period of prohibiting broadcasting for being obtained It is folded, if there is overlapping, then judge not push target to prolong and broadcast content file, if there is no overlapping, then judge that push is prolonged and broadcast in Hold file;Wherein, target time section is to prolong to broadcast content file to target since target prolongs the receiving time for broadcasting content file The period that deadline terminates.
The embodiment of the present invention additionally provides a kind of streaming media server, as shown in figure 8, including processor 801, memory 802, wherein
Memory 802, for storing computer program;
Processor 801 when for executing the program stored on memory 802, realizes following steps:
It is broadcast according to the system time of streaming media server and for preset prolong of the target data stream in the data flow of acquisition Duration, judges whether target data stream meets preset pushing condition;
If it is satisfied, handle the data packet of acquired target data stream, push treated data packet.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment of the present invention, a kind of computer program product including instruction is additionally provided, when it is being counted When being run on calculation machine so that computer executes method for pushing any in above-described embodiment.
In the prior art, after the data packet of streaming media server acquisition target data stream, directly data packet is pushed out Go, become same period live streaming, and in embodiments of the present invention, streaming media server can by itself system time and be directed to Data flow is preset prolong sowing time between, in the case where determining that target data stream meets pushing condition, the data in propelling data stream Packet, to realize the delay live to data.
In another embodiment of the present invention, a kind of computer program is additionally provided, when run on a computer, is made It obtains computer and executes method for pushing any in above-described embodiment.
In the prior art, after the data packet of streaming media server acquisition target data stream, directly data packet is pushed out Go, become same period live streaming, and in embodiments of the present invention, streaming media server can by itself system time and be directed to Data flow is preset prolong sowing time between, in the case where determining that target data stream meets pushing condition, the data in propelling data stream Packet, to realize the delay live to data.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device/ For streaming media server/computer readable storage medium/computer program product/computer program embodiments, due to its base Originally it is similar to embodiment of the method, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
The above is merely preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.It is all in this hair Any modification, equivalent replacement, improvement and so within bright spirit and principle, are included within the scope of protection of the present invention.

Claims (20)

1. a kind of method for pushing, which is characterized in that it is applied to streaming media server, the method includes:
It is broadcast according to the system time of the streaming media server and for preset prolong of the target data stream in the data flow of acquisition Duration, judges whether the target data stream meets preset pushing condition;
If it is satisfied, handle the data packet of the acquired target data stream, push treated data packet.
2. according to the method described in claim 1, it is characterized in that, in the system time according to the streaming media server With the target data stream in the data flow for acquisition it is preset to prolong sowing time long, it is default to judge whether the target data stream meets Pushing condition the step of before, the method further includes:
Obtain the data packet of the target data stream;
The obtained data packet of storage, content file is broadcast as prolonging;
Record the target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein it is described prolong sowing time between be base In be arranged for the target data stream to prolong sowing time length determining;
It is broadcast according to the system time of the streaming media server and for preset prolong of the target data stream in the data flow of acquisition Duration, judges whether the target data stream meets preset pushing condition, including:
Judge for the target data stream in the data flow obtained recorded prolong sowing time between it is middle it is minimum prolong sowing time between it is whether big In or equal to the streaming media server system time, when it is minimum prolong sowing time between be more than or equal to the streaming media server System time judges that the target data stream meets preset pushing condition;
The data packet to the acquired target data stream is handled, push treated data packet, including:
Sequencing between prolonging sowing time according to what is recorded is broadcast content file and is handled to prolonging successively, and pushes that treated Prolong and broadcasts content file.
3. according to the method described in claim 2, it is characterized in that, it is described prolong sowing time according to what is recorded between priority it is suitable Sequence is broadcast content file and is handled to prolonging successively, and before pushing that treated and prolonging the step of broadcasting content file, and the method is also Including:
Whether timing inquiry is provided with for the target data stream is prohibited broadcasting the period;
It prohibits broadcasting the period if be provided with for the target data stream, obtains prohibiting broadcasting the period for the target data stream;
It is described prolong sowing time according to what is recorded between sequencing, broadcast content file to prolonging successively and handle, and push processing Afterwards prolong the step of broadcasting content file, including:
It is prohibited broadcasting the period based on acquired, judges whether that push target is prolonged and broadcast content file, wherein the target, which is prolonged, broadcasts content File, which is that the target data stream is corresponding, not to be pushed and prolonging of not prohibited broadcasting is broadcast in content file, minimum between prolonging sowing time to prolong Broadcast content file;
Content file is broadcast if pushing the target and prolonging, the target is prolonged and broadcasts content file and handles;
Treated that target prolongs broadcasts content file for push, is not pushed and in the case that prolonging of not prohibiting broadcasting broadcasts content file existing, It returns and is prohibited broadcasting the period based on acquired described in executing, judge whether that push target is prolonged and broadcast content file.
4. according to the method described in claim 3, it is characterized in that, broadcasting content file judging not push the target to prolong In the case of, the method further includes:
It deletes the target and prolongs and broadcast content file, and do not push existing and in the case that prolonging of not prohibiting broadcasting broadcasts content file, return It is prohibited broadcasting the period based on acquired described in receipt row, judges whether that pushing target prolongs the step of broadcasting content file;
The push treated target prolongs broadcast content file after, the method further includes:
It deletes the target and prolongs and broadcast content file.
5. according to the method described in claim 3, it is characterized in that, described prolong to the target broadcasts content file and handles, Including:
It releases the target and prolongs the encapsulation for broadcasting content file;
The target after de-encapsulation is prolonged using preset target protocol and broadcasts content file and is packaged, as treated target Prolong and broadcasts content file.
6. according to the method described in claim 5, it is characterized in that, the push treated that target prolongs broadcasts content file, wrap It includes:
Code check when using the data packet for obtaining the target data stream, treated that target prolongs broadcasts content file for push.
7. according to the method described in claim 6, it is characterized in that, the push treated target prolongs broadcast content file it Afterwards, the method further includes:
Obtain reference the agreement that end setting is played for target, wherein the target play end be play the target prolong broadcast it is interior Hold the broadcasting end of the corresponding data of file;
Judge the target protocol whether be it is described refer to agreement;
If the target protocol be it is described refer to agreement, will treated that target prolongs broadcasts content file and be sent to the target and broadcast Put end;
If the target protocol be not it is described refer to agreement, will treated that target prolongs broadcasts content file and be converted to described in utilization Prolong with reference to the target of protocol encapsulation and broadcast content file, and transformed target prolonged to broadcast content file and be sent to the target and is played End.
8. according to the method described in claim 2, it is characterized in that, it is each prolong broadcast content file prolong sowing time between prolong and broadcast for this in The receiving time for holding file prolongs the sum of sowing time length with described.
9. according to the method described in claim 3, it is characterized in that, described prohibited broadcasting the period based on acquired, judge whether Push target prolongs the step of broadcasting content file, including:
It obtains the target and prolongs the receiving time and playing duration for broadcasting content file;
The target is prolonged to the sum of the receiving time for broadcasting content file and playing duration, prolongs as the target and broadcasts content file Deadline;
Judge the target prolong broadcast content file target time section whether between the period of prohibiting broadcasting obtained there are Chong Die, If there is overlapping, then judges not push the target to prolong and broadcast content file, if there is no overlapping, then judge to push the mesh Mark, which prolongs, broadcasts content file;Wherein, the target time section for prolonging the receiving time for broadcasting content file since the target to institute It states target and prolongs the period for broadcasting that the deadline of content file terminates.
10. a kind of pusher, which is characterized in that be applied to streaming media server, described device includes:
First judgment module, for the target in the system time according to the streaming media server and the data flow for acquisition Data flow is preset, and to prolong sowing time long, judges whether the target data stream meets preset pushing condition;
Pushing module is used in the case where the judging result of first judgment module is to meet, to the acquired mesh The data packet of mark data flow is handled, push treated data packet.
11. device according to claim 10, which is characterized in that described device further includes:
Obtain module, the data packet for obtaining the target data stream;
Memory module broadcasts content file for storing obtained data packet as prolonging;
Logging modle, for record the target data stream it is corresponding it is each prolong broadcast content file prolong sowing time between, wherein it is described It is to prolong sowing time length determination based on what is be arranged for the target data stream between prolonging sowing time;
First judgment module, specifically for judging to prolong sowing time for what the target data stream in the data flow obtained was recorded Between it is middle it is minimum prolong sowing time between whether be greater than or equal to the system time of the streaming media server, when it is minimum prolong sowing time between it is big In the system time equal to the streaming media server, judge that the target data stream meets preset pushing condition;
The pushing module is file push module,
The file push module, for the sequencing between prolonging sowing time according to what is recorded, successively to prolong broadcast content file into Row processing, and push that treated prolongs and broadcast content file.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Whether enquiry module is inquired to be provided with for the target data stream for timing and prohibit broadcasting the period;
First acquisition module, in the case where the query result of the enquiry module is to be, obtaining the target data stream Prohibit broadcasting the period;
The file push module, including:
Judging submodule is judged whether that push target is prolonged and broadcasts content file for being prohibited broadcasting the period based on acquired, wherein The target, which is prolonged, to be broadcast content file to be that the target data stream is corresponding is not pushed and prolonging of not prohibited broadcasting is broadcast in content file, Content file is broadcast in minimum prolonging between prolonging sowing time;
Submodule is handled, content text is broadcast in the case where the judging result of the judging submodule is, prolonging to the target Part is handled;
Submodule is pushed, target, which prolongs, for pushing that treated broadcasts content file, is not pushed and in prolonging of not prohibiting broadcasting broadcast existing In the case of holding file, returns and execute the judging submodule.
13. device according to claim 12, which is characterized in that described device further includes:
Removing module, in the case where the judging result of the judging submodule is no, deleting the target and prolonging and broadcast content File, and do not pushed existing and in the case that prolonging of not prohibiting broadcasting broadcasts content file, return and execute the judging submodule;
The removing module, be additionally operable to the push of push submodule treated target prolongs broadcast content file after, described in deletion Target, which is prolonged, broadcasts content file.
14. device according to claim 12, which is characterized in that the processing submodule is specifically used for releasing the mesh Mark prolongs the encapsulation for broadcasting content file;The target after de-encapsulation is prolonged using preset target protocol and broadcasts content file and seals Dress, as treated, target prolongs broadcasts content file.
15. device according to claim 14, which is characterized in that the push submodule is specifically used for using acquisition institute State the code check when data packet of target data stream, treated that target prolongs broadcasts content file for push.
16. device according to claim 15, which is characterized in that described device further includes:
Second acquisition module, for obtaining the reference agreement for playing end setting for target, wherein it is to broadcast that the target, which plays end, It puts the target and prolongs the broadcasting end for broadcasting the corresponding data of content file;
Second judgment module, for judge the target protocol whether be it is described refer to agreement;
Sending module will treated that target prolongs broadcasts in the case where the judging result of second judgment module is to be Content file is sent to the target and plays end;In the case where the judging result of second judgment module is no, will handle Target afterwards, which prolongs to broadcast content file and be converted to prolong using the target with reference to protocol encapsulation, broadcasts content file, and will be transformed Target, which prolongs to broadcast content file and be sent to the target, plays end.
17. according to the devices described in claim 11, which is characterized in that it is each prolong broadcast content file prolong sowing time between prolong and broadcast for this The receiving time of content file prolongs the sum of sowing time length with described.
18. device according to claim 12, which is characterized in that the judging submodule is specifically used for obtaining the mesh Mark prolongs the receiving time and duration for broadcasting content file;The target is prolonged broadcast the receiving time of content file and playing duration it With prolong the deadline for broadcasting content file as the target;Judge that the target is prolonged to broadcast the target time section of content file and be It is no to there is overlapping between the period of prohibiting broadcasting obtained, if there is overlapping, then judges not push the target to prolong and broadcast content File then judges to prolong described in push and broadcasts content file if there is no overlapping;Wherein, the target time section is from the mesh Mark, which prolongs, to be broadcast the receiving time of content file and starts to the target to prolong the period for broadcasting that the deadline of content file terminates.
19. a kind of streaming media server, which is characterized in that including processor and memory, wherein
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-9.
20. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-9 any method and steps when the computer program is executed by processor.
CN201711308136.9A 2017-12-11 2017-12-11 Push method, device, streaming media server and computer readable storage medium Active CN108574851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711308136.9A CN108574851B (en) 2017-12-11 2017-12-11 Push method, device, streaming media server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711308136.9A CN108574851B (en) 2017-12-11 2017-12-11 Push method, device, streaming media server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108574851A true CN108574851A (en) 2018-09-25
CN108574851B CN108574851B (en) 2021-02-05

Family

ID=63576685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711308136.9A Active CN108574851B (en) 2017-12-11 2017-12-11 Push method, device, streaming media server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108574851B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819310A (en) * 2019-01-25 2019-05-28 青岛海信传媒网络技术有限公司 A kind of stream medium data playback method and device
CN110662114A (en) * 2019-09-30 2020-01-07 广州华多网络科技有限公司 Video processing method and device, electronic equipment and storage medium
CN110809170A (en) * 2019-10-09 2020-02-18 北京达佳互联信息技术有限公司 Time delay determination method and device, commodity link display method and device and server
CN111225229A (en) * 2020-01-15 2020-06-02 广州酷狗计算机科技有限公司 Live broadcast method and device, computer equipment and storage medium
CN111901619A (en) * 2020-07-23 2020-11-06 北京达佳互联信息技术有限公司 Message pushing method and device
CN113068052A (en) * 2021-03-15 2021-07-02 上海哔哩哔哩科技有限公司 Method for determining brushing amount of live broadcast room, live broadcast method and data processing method
WO2022166591A1 (en) * 2021-02-05 2022-08-11 北京金山云网络技术有限公司 Method and apparatus for playing live streaming resource, and storage medium and electronic device
CN115396691A (en) * 2021-05-21 2022-11-25 北京金山云网络技术有限公司 Data stream processing method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625142B (en) * 2012-03-26 2016-03-09 华为技术有限公司 The methods, devices and systems that direct broadcast band time delay is play
CN103414918B (en) * 2013-05-09 2016-08-24 网宿科技股份有限公司 The delay broadcasting of live streaming media and contents controlling method and streaming media server
CN103618912A (en) * 2013-11-26 2014-03-05 乐视网信息技术(北京)股份有限公司 Live telecast time shifting method and server
CN105828107A (en) * 2016-03-30 2016-08-03 乐视控股(北京)有限公司 Live broadcast time delay method and apparatus
CN106454492A (en) * 2016-10-12 2017-02-22 武汉斗鱼网络科技有限公司 Live pornographic content audit system and method based on delayed transmission

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819310A (en) * 2019-01-25 2019-05-28 青岛海信传媒网络技术有限公司 A kind of stream medium data playback method and device
CN110662114A (en) * 2019-09-30 2020-01-07 广州华多网络科技有限公司 Video processing method and device, electronic equipment and storage medium
CN110662114B (en) * 2019-09-30 2021-11-23 广州方硅信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN110809170A (en) * 2019-10-09 2020-02-18 北京达佳互联信息技术有限公司 Time delay determination method and device, commodity link display method and device and server
CN111225229A (en) * 2020-01-15 2020-06-02 广州酷狗计算机科技有限公司 Live broadcast method and device, computer equipment and storage medium
CN111225229B (en) * 2020-01-15 2021-12-03 广州酷狗计算机科技有限公司 Live broadcast method and device, computer equipment and storage medium
CN111901619A (en) * 2020-07-23 2020-11-06 北京达佳互联信息技术有限公司 Message pushing method and device
CN111901619B (en) * 2020-07-23 2023-10-31 北京达佳互联信息技术有限公司 Message pushing method and device
WO2022166591A1 (en) * 2021-02-05 2022-08-11 北京金山云网络技术有限公司 Method and apparatus for playing live streaming resource, and storage medium and electronic device
CN113068052A (en) * 2021-03-15 2021-07-02 上海哔哩哔哩科技有限公司 Method for determining brushing amount of live broadcast room, live broadcast method and data processing method
CN115396691A (en) * 2021-05-21 2022-11-25 北京金山云网络技术有限公司 Data stream processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108574851B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN108574851A (en) Method for pushing, device, streaming media server and computer readable storage medium
US11245940B2 (en) Method and apparatus for transmitting media data in multimedia transport system
WO2017107649A1 (en) Video transmission method and device
CN101785278B (en) streaming data content in a network
CN106210708B (en) A kind of detection method and system of picture delay
CN104541512B (en) Method and apparatus for handling the broadcast singal for including interactive broadcasting service
US10057535B2 (en) Data segment service
WO2017197001A1 (en) System for video playback using a server generated manifest
CN109474854B (en) Video playing method, playlist generating method and related equipment
CN108200447B (en) Live broadcast data transmission method and device, electronic equipment, server and storage medium
WO2015090095A1 (en) Information pushing method, device, and system
KR102026266B1 (en) Estimation method of network jitter for apparatuses transporting coded media data
CN101710965A (en) Full network storage and scheduling method and system for network television
US10887651B2 (en) Signaling and operation of an MMTP de-capsulation buffer
CN101009686A (en) A stream media playing method
CN108696771A (en) A kind of video broadcasting method and device
CN101009685A (en) A stream media playing system
EP3167617B1 (en) Method and device for remotely recording video programs
CN102480484A (en) Method for making multimedia file, multimedia server and electronic equipment
CN109982113B (en) Video file processing method and device
EP3193508B1 (en) Distribution device and information device
CN106134205B (en) Device and method for sending and receiving information relevant to multi-medium data in hybrid network and its structure
KR100576543B1 (en) Apparatus and Method for Converting Media Stream for Multimedia Service in DAB system
CN110545447B (en) Audio and video synchronization method and device
TWI523511B (en) Variable bit rate video panning method

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