CN108540820A - Flow data management method, device and computer readable storage medium - Google Patents
Flow data management method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN108540820A CN108540820A CN201810433121.3A CN201810433121A CN108540820A CN 108540820 A CN108540820 A CN 108540820A CN 201810433121 A CN201810433121 A CN 201810433121A CN 108540820 A CN108540820 A CN 108540820A
- Authority
- CN
- China
- Prior art keywords
- flow data
- target
- destination address
- multicast
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26208—Content 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 the scheduling operation being performed under constraints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
Abstract
This application discloses a kind of flow data management method, device and computer readable storage mediums, are related to communications processing field.Wherein, flow data management method includes:According to multicast address, obtains multimedia multicast flow data and handle the target flow data for object format;According to the correspondence of preset multicast address and destination address, the target flow data that processing obtains is exported to destination address;According to destination address, the state of target flow data is monitored, and when the abnormal state of target flow data, outputting alarm information, warning information includes the relative address, identification information and context information of target flow data.The above method, device and computer readable storage medium, which can be used for improving the degree of automation of multimedia streaming data scheduling and realize, monitors the dynamic of data dispatch.
Description
Technical field
This application involves field of communication technology more particularly to a kind of flow data management method, device and computer-readable deposit
Storage media.
Background technology
Be greatly reduced with universal and mobile network's bandwidth cost of intelligent terminal, the application range of live streaming and program request and
Popularization degree is more and more wider.In order to which the multimedia live broadcast of television network broadcast or program request flow data to be shared with to the use in other networks
Family, usual service provider can be based on physical matrix, (such as by the relevant device in television network broadcast:CP6000 conveyers are defended
Star receiver and the big card machine of TV station's wire signal etc.) SDI (serial digital interface, digital component
Serial line interface) physics is docked to physical matrix, and SDI interface signals are then received by hardware encoding equipment, are switched to specify
The target flow data of format is simultaneously configured to cloud editing system.But scheduling process the degree of automation of entire flow data is relatively low.
Invention content
In view of this, a kind of flow data management method of the embodiment of the present application offer, device and computer readable storage medium,
It can be used for improving the degree of automation of multimedia streaming data scheduling and realize and the dynamic of data dispatch is monitored.
On the one hand the embodiment of the present application provides a kind of flow data management method, be applied to server, the method includes:
According to multicast address, obtains multimedia multicast flow data and handle the target flow data for object format;According to preset described
The correspondence of multicast address and destination address exports the target flow data that processing obtains to the destination address;According to institute
Destination address is stated, the state of the target flow data is monitored, and when the abnormal state of the target flow data, is exported
Warning information, the warning information include relative address, identification information and the context information of the target flow data.
On the one hand the embodiment of the present application additionally provides a kind of flow data managing device, including:Processing module, for according to group
Address is broadcast, obtains multimedia multicast flow data, and the multimedia multicast flow data of acquisition is handled into the target for object format
Flow data;Output module, for the correspondence according to the preset multicast address and destination address, the mesh that processing is obtained
Mark flow data is exported to the destination address;Monitoring module is used for according to the destination address, to the shape of the target flow data
State is monitored;Alarm module, when abnormal state for monitoring the target flow data when the monitoring module, output is accused
Alert information, the warning information includes relative address, identification information and the context information of the target flow data.
On the one hand the embodiment of the present application additionally provides a kind of computer readable storage medium, be stored thereon with computer journey
Sequence, which is characterized in that when the computer program is executed by processor, realize above-mentioned flow data management method.
Each embodiment of the application, by the way that according to multicast address, it is object format to obtain multimedia multicast flow data and handle
Target flow data, then according to the correspondence of multicast address and destination address, target flow data output that processing is obtained
To destination address, while according to destination address, the state of target flow data is monitored, realizes the automation tune of flow data
Degree and dynamic monitor.Also, since the correspondence of multicast address and destination address is fixed, can reduce with broadcasting
The when change flow data of system docking obtains the frequency of address, substantially increases O&M efficiency, reduces O&M cost.
Description of the drawings
Fig. 1 is the application environment schematic diagram of flow data management method provided by the embodiments of the present application;
Fig. 2 is the implementation process schematic diagram for the flow data management method that one embodiment of the application provides;
Fig. 3 is the implementation process schematic diagram for the flow data management method that another embodiment of the application provides;
Fig. 4 is the schematic diagram that destination address is configured in flow data management method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram for the flow data managing device that one embodiment of the application provides;
Fig. 6 is the structural schematic diagram for the flow data managing device that another embodiment of the application provides;
Fig. 7 is the hardware architecture diagram for the server that one embodiment of the application provides.
Specific implementation mode
Further to illustrate technological means and effect that the application is taken by the predetermined goal of the invention of realization, below in conjunction with
Specific implementation mode, structure, feature and its effect according to the application is described in detail as after in attached drawing and preferred embodiment.
Referring to Fig. 1, for the application environment schematic diagram of flow data management method provided by the embodiments of the present application.Such as Fig. 1 institutes
Show, for video multicast flow data to be shared to live streaming platform, first, by headend equipment setting for flow data scheduling
Basic information, such as:Input configuration information and output configuration information of flow data to be scheduled etc..Wherein, headend equipment for example may be used
To be the intelligent mobile terminals such as smart mobile phone, tablet computer and laptop computer or other non-can be carried out at data on the move
The terminal of reason.
Later, under the scheduling of dispatch server, cluster is handled by flow data and is believed according to the basis that headend equipment is arranged
Breath, (such as from the broadcasting and TV equipment of satellite computer room:CP6000 conveyers, satellite receiver, the big card machine of TV station's wire signal) it receives
Video multicast flow data carries out transcoding to the video multicast flow data of reception and de interlacing is handled, obtains specified clarity and code
The target flow data of rate, and by its plug-flow to connecing streaming server cluster.
Then, under the scheduling of dispatch server, target stream data are converted to such as http flv lattice by meeting adfluxion group
The data of formula are reconfigured to live streaming cloud editing system for editorial staff's editing video.Wherein, dispatch server can pass through calling
The interface of mesos+marathon completes the automatic dispatching of flow data.In addition, in the scheduling process of flow data, dispatch service
Device can also pass through monitoring server cluster and dynamically distribute monitoring process detection flv by the interface of calling mesos+marathon
The dispatch situation of flow data.
Referring to Fig. 2, Fig. 2 is the implementation process schematic diagram for the flow data management method that one embodiment of the application provides.This
The flow data management method that embodiment provides can be applied in dispatch server shown in FIG. 1.As shown in Fig. 2, this method is main
Include the following steps:
201, it according to multicast address, obtains multimedia multicast flow data and handles the target flow data for object format;
Multicast (Multicast) refers to that point-to-point configuration connection is realized between a sender and multiple recipients,
When sender gives multiple recipients to transmit identical data at the same time, a identical data packet need to be only replicated.Satellite computer room
Broadcasting and TV equipment is typically that the satellite-signal of TV is sent to Demultiplexing device in a manner of multicast.
The multicast address of multiple multimedia multicast flow datas of broadcasting and TV device multicast is preset in dispatch server, according to group
Address is broadcast, corresponding multimedia multicast flow data is obtained from broadcasting and TV equipment, live streaming is then processed into or VOD system is supported
Object format target flow data.
202, according to the correspondence of preset multicast address and destination address, the target flow data that processing is obtained exports
To destination address;
The one-to-one relationship of multicast address and destination address is preset in dispatch server.According to the relationship, will handle
Obtained target flow data is exported to corresponding destination address, so as to be broadcast live or VOD system according to the destination address obtain target
Flow data, and be distributed to each terminal device and play out.
203, according to destination address, the state of target flow data is monitored, and when the abnormal state of target flow data
When, outputting alarm information.
Specifically, according to destination address, the status information of target flow data is obtained in real time and is analyzed, judges target stream
Whether the state of data abnormal, such as whether stop, frozen frame, it is mute situations such as.Once it was found that above-mentioned cutout, frozen frame is mute
Situations such as, then according to preset way of output outputting alarm information.Warning information can be, but not limited to include flow data correlation
Address, identification information, source and context information.Identification information for example can be signal name.Relative address includes corresponding to
Multicast address and/or destination address.
Flow data management method provided in this embodiment, by according to multicast address, obtaining multimedia multicast flow data simultaneously
Processing is the target flow data of object format, and then according to the correspondence of multicast address and destination address, processing is obtained
Target flow data is exported to destination address, while according to destination address, being monitored to the state of target flow data, and stream is realized
The automatic dispatching and dynamic of data monitor.Also, due to the correspondence of multicast address and destination address be it is fixed,
The frequency for obtaining address in the when change flow data docked with play system can be reduced, O&M efficiency is substantially increased, reduces
O&M cost.
Referring to Fig. 3, Fig. 3 is the implementation process schematic diagram for the flow data management method that another embodiment of the application provides.
Flow data management method provided in this embodiment can be applied in dispatch server shown in FIG. 1.As shown in figure 3, this method master
Include the following steps:
301, the configuration-direct sent according to client is that the multimedia multicast flow data of separate sources configures corresponding mesh
Mark address;
302, between the multicast address and corresponding destination address of multimedia multicast flow data for preserving variant source
Correspondence;
The present embodiment is realized based on physical matrix (Stream Matrix).Physical matrix is the side switched by array
For method by the appliance arrangement in the arbitrarily output to the roads N output of the roads M video/audio signal, input and output share M*N kind combinations.It is being flowed
Before data dispatch, as shown in figure 4, administrator can be arranged by configuration webpage (web) that client is provided in dispatch server it is defeated
Enter configuration information and exports the correspondence between configuration information.Wherein input configuration information can be, but not limited to include:More matchmakers
Identification information, source and the multicast address of body multicast flow data.Identification information can be the signal of multimedia multicast flow data
Title.Output configuration information can be, but not limited to:Destination address, target sharpness and target bit rate.Destination address is
By the corresponding address of storage location of treated the multimedia multicast flow data such as transcoding, format conversion.In practical applications,
Destination address can be URL (Uniform Resoure Locator, uniform resource locator) address.Target sharpness and mesh
Coding rate is the clarity and code check by treated the multimedia multicast flow data such as transcoding, format conversion.Code check, Huo Zheye
It can be referred to as sampling rate, the data bits that the unit interval transmits when referring to data transmission, general unit is kbps (kilobit is per second).
Specifically, receiving configuration operation of the client based on user, the configuration-direct sent by configuration webpage, for difference
The multimedia multicast flow data in source configures corresponding destination address, and preserves the multimedia group in variant source in the database
Broadcast the correspondence between the multicast address of flow data and corresponding destination address.
303, it according to multicast address, obtains multimedia multicast flow data and handles the target flow data for object format;
Specifically, in conjunction with Fig. 1, calling the API of Marathon, (Application Programming Interface, are answered
With Program Interfaces), in flow data processing server cluster log-on data treatment progress.Then, by the data processing into
Journey obtains multimedia multicast flow data, and according to preset transcoding rule according to the multicast address in input configuration information, will
The multimedia multicast flow data of acquisition carries out transcoding and de interlacing processing, obtains the flow data of target sharpness and target bit rate.
Later, using RTMP agreements (Real Time Messaging Protocol, real-time messages transport protocol), the target is clear
The flow data of degree and target bit rate pushes to streaming media server (Crtmpserver) and meets adfluxion group.Then, Marathon is called
API start draw flow into journey (Rtmpstreammer), adfluxion is connect from Crtmpserver using RTMP by Rtmpstreammer
Group pulls the flow data of target sharpness and target bit rate, and is converted into the target flow data of object format.Wherein,
Marathon is the container cradle of an Apache Mesos, it is mainly used to dispatch and run resident service (long-
running service)。
It should be understood that the output equipment of multicast flow data generally can be satellite receiver, wired big card machine and
CP6000 codecs.Wherein, satellite receiver is for receiving satellite-signal, and wired big card machine is for receiving the wired electricity of TV station
Depending on signal, CP6000 codecs are used for remote transmission vision signal.This three classes equipment output multicast flow data, usually every
TS (Transport Stream) flow data of row scanning, therefore carry out the same of transcoding in the multimedia multicast flow data to acquisition
When, it is also necessary to de interlacing processing is carried out to it.De interlacing is exactly that interlaced video is converted to progressive video.
Optionally, flow data processing server cluster be FFmpeg server clusters, data processing process be FFmpeg into
Journey.FFmpeg be it is a set of can be used for recording, converted digital audio, video, and the computer journey of increasing income of stream can be translated into
Sequence.In this present embodiment, FFmpeg processes are mainly used for the transcoding of flow data.Multicast flow data is handled using FFmpeg processes,
Since multicast flow data allows multiple client to receive simultaneously, will not be limited by SDI physical port quantity, autgmentability
Theoretically no maximum, therefore physical matrix and hardware encoding equipment are saved, so as to reduce cost.
Optionally, object format is HTTP-FLV formats, i.e., with http protocol (HyperText Transfer
Protocol, hypertext transfer protocol) transmission FLV files.
304, according to the correspondence of preset multicast address and destination address, the target flow data that processing is obtained exports
To destination address;
Specifically, in inputting configuration information and exporting the correspondence between configuration information, search and currently processed
The corresponding destination address of multicast address of multimedia multicast flow data.Then according to the destination address found, processing is obtained
The target flow datas of HTTP-FLV formats exported.
305, destination address is sent to play system, so that play system obtains target flow data from destination address;
Play system can be VOD system or live broadcast system.Sending destination address can be broadcast based on what play system was sent
Request of data is put, can also be according to preset push rule, by dispatch server active push to play system.Play system
The target flow data of corresponding HTTP-FLV formats is obtained according to destination address, and is used for being subsequent supplied to live streaming or program request
Family.Optionally, other than destination address, also the clarity of target flow data and code check can be supplied to play system together
It uses.
By exporting target flow data to specified destination address, and each target fluxion is identified using the addresses URL
According to, therefore when being scheduled, it is only necessary to change the Rtmp input address of Rtmpstreamer, you can the scheduling for completing signal, from
Without in scheduling, changing flow data by the sectors of operation and downstream platform frequent configuration change flow data address again
Content, therefore many human costs can be saved.
Further, after the scheduling for completing flow data, by the corresponding input configuration information of the flow data of scheduling and input
The correspondence of configuration information is buffered in Redis or similar databases, to be used in follow-up change or destruction flow data.
Wherein Redis is key-value databases.
306, according to destination address, the state of target flow data is monitored;
307, when the abnormal state of target flow data, outputting alarm information.
Specifically, calling the API of Marathon, start monitoring (Streammonitor) process in monitoring server cluster,
Streammonitor obtains the status information of target flow data and is reported to dispatch server in real time according to destination address.Scheduling
Server analyzes the status information of target flow data, judges whether the state of target flow data is abnormal, such as whether occurring
Cutout, frozen frame, it is mute situations such as.Once it was found that above-mentioned cutout, frozen frame, it is mute situations such as, then it is defeated according to the preset way of output
Go out warning information.Warning information can be, but not limited to include the relative address of flow data, identification information, source and state description letter
Breath.Identification information for example can be signal name.Relative address includes corresponding multicast address and/or destination address.It is real one
In the application of border, warning information can be as follows:
Signal source:[CCTV5+] [TEDA in Tianjin]
Signalling arrangement:[ID:40] [CCTV5+] is normal
SID:[TJ01D0301100]
Matrix:[SMatrix]
EID:[TJ01S1000500000]
Coding:Soft volume FLV
[reading frame data failure] [http://10.61.22.6:20005/10000294.flv]
Alternatively, Streammonitor obtains the status information of target flow data and is reported to alarm server in real time, by accusing
Alert server analyzes the status information of target flow data.
The way of output of warning information for example can be send instant communication message, send short message, dial alarm telephone or
Person sends the mode of alarm email.By embodying source content in alarm, operation maintenance personnel can be facilitated anywhere, only
Mobile phone has network, you can confirms that specific content goes wrong in time, influences live streaming or influence program request, and then can join in time
The operation maintenance personnel of the corresponding platform of system and the operation personnel of corresponding content do emergency processing.
Flow data management method provided in this embodiment completes the automation tune of flow data by Mesos Marathon
Degree, and dynamically distribute monitoring process and the state of HTTP-FLV flow datas is monitored, realize the automatic dispatching of flow data
It is monitored with dynamic.And it is further, by the way that FFmpeg to be combined with Mesos Marathon, believe by the video of satellite computer room
Number the stream format that video living transmission system or VOD system can be supported is converted to, while being output to live streaming or VOD system, also
Have do not change the addresses URL i.e. change vision signal dispatching, avoid docked with program request or live broadcast system when
It waits and the case where frequently change addresses URL occurs, to substantially increase O&M efficiency, reduce O&M cost.
Fig. 5 is the structural schematic diagram for the flow data managing device that one embodiment of the application provides.Stream provided in this embodiment
Data administrator is the executive agent of the flow data management method in above-mentioned embodiment illustrated in fig. 2.As shown in figure 5, this implementation
Example provide flow data managing device include mainly:
Processing module 501, for according to multicast address, obtaining multimedia multicast flow data, and by the multimedia of acquisition
Multicast data flow data processing is the target flow data of object format;
Output module 502 obtains processing for the correspondence according to the preset multicast address and destination address
Target flow data is exported to the destination address;
Monitoring module 503, for according to the destination address, being monitored to the state of the target flow data;
Alarm module 504, when abnormal state for monitoring the target flow data when the monitoring module, outputting alarm letter
Breath, which includes the relative address, identification information and context information of the target flow data.
The detailed process of the respective function of each Implement of Function Module, refers in above-mentioned embodiment illustrated in fig. 2 in the present embodiment
The particular content of description, details are not described herein again.
Flow data managing device provided in this embodiment, by according to multicast address, obtaining multimedia multicast flow data simultaneously
Processing is the target flow data of object format, and then according to the correspondence of multicast address and destination address, processing is obtained
Target flow data is exported to destination address, while according to destination address, being monitored to the state of target flow data, and stream is realized
The automatic dispatching and dynamic of data monitor.Also, due to the correspondence of multicast address and destination address be it is fixed,
The frequency for obtaining address in the when change flow data docked with play system can be reduced, O&M efficiency is substantially increased, reduces
O&M cost.
Fig. 6 is the structural schematic diagram for the flow data managing device that another embodiment of the application provides.It is provided in this embodiment
Flow data managing device is the executive agent of the flow data management method in above-mentioned Fig. 2 and embodiment illustrated in fig. 3.As shown in fig. 6,
Flow data managing device provided in this embodiment includes mainly:
Processing module 501, for according to multicast address, obtaining multimedia multicast flow data, and by the multimedia of acquisition
Multicast data flow data processing is the target flow data of object format;
Output module 502 obtains processing for the correspondence according to the preset multicast address and destination address
Target flow data is exported to the destination address;
Monitoring module 503, for according to the destination address, being monitored to the state of the target flow data;
Alarm module 504, when abnormal state for monitoring the target flow data when monitoring module 503, outputting alarm
Information, the warning information include the relative address, identification information and context information of the target flow data.
Further, monitoring module 503 are specifically used for calling the interface of Marathon, start in monitoring server cluster
Monitoring process, and by the monitoring process according to the destination address, the status information of the target flow data is obtained, and to the mesh
The status information of mark flow data is analyzed, and judges whether the state of the target flow data is abnormal.
Further, processing module 501 includes:
Transcoding module 5011, the interface for calling Marathon, at flow data processing server cluster log-on data
Reason process, according to multicast address, obtains the multimedia multicast flow data, according to preset transcoding by the data processing process
The multimedia multicast flow data of acquisition is carried out transcoding and de interlacing is handled by rule, obtains target sharpness and target bit rate
Flow data, and real-time messages transport protocol is utilized, which is pushed into streaming media server and meets adfluxion group;
Format converting module 5012 flows into journey for calling the interface of Marathon to start to draw, Cheng Li is flowed by the drawing
With the real-time messages transport protocol, meets adfluxion group from the streaming media server and obtain the flow data, and be by flow data processing
The target flow data of object format.
Further, which further includes:
Sending module 601, for the destination address to be sent to play system, so that the play system is from the target
Location obtains the target flow data.
Further, which further includes:
Configuration module 602, the configuration-direct for being sent according to client are the multimedia multicast flow data of separate sources
Corresponding destination address is configured, and preserves the respectively multicast address of the multimedia multicast flow data of the separate sources and corresponding mesh
Mark the correspondence between address.
The detailed process of the respective function of each Implement of Function Module in the present embodiment refers to and implements shown in above-mentioned Fig. 2 and Fig. 3
Particular content described in example, details are not described herein again.
Flow data managing device provided in this embodiment completes the automation tune of flow data by Mesos Marathon
Degree, and dynamically distribute monitoring process and the state of HTTP-FLV flow datas is monitored, realize the automatic dispatching of flow data
It is monitored with dynamic.And it is further, by the way that FFmpeg to be combined with Mesos Marathon, believe by the video of satellite computer room
Number the stream format that video living transmission system or VOD system can be supported is converted to, while being output to live streaming or VOD system, also
Have do not change the addresses URL i.e. change vision signal dispatching, avoid docked with program request or live broadcast system when
It waits and the case where frequently change addresses URL occurs, to substantially increase O&M efficiency.
Referring to Fig. 7, Fig. 7 is the hardware structure diagram for the server that one embodiment of the application provides.
Server described in the present embodiment, including:
Memory 701, processor 702 and it is stored in the computer journey that can be run on memory 701 and on processor 702
Sequence when processor 702 executes the computer program, realizes the flow data manager described in earlier figures 2 and embodiment illustrated in fig. 3
Method.
Further, which further includes:
At least one input equipment 703 and at least one output equipment 704.
Above-mentioned memory 701, processor 702, input equipment 703 and output equipment 704 are connected by bus 705.
Wherein, input equipment 703 concretely camera, touch panel, physical button or mouse etc..Output equipment
704 concretely display screens.
Memory 701 can be high random access memory body (RAM, Random Access Memory) memory,
Can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 701 is for storing one
Group executable program code, processor 702 are coupled with memory 701.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be disposed in the server in the various embodiments described above, which can be 7 institute of earlier figures
Show the memory in embodiment, or the memory of configuration in the server.Meter is stored on the computer readable storage medium
Calculation machine program realizes the flow data pipe described in earlier figures 2 and embodiment illustrated in fig. 3 when the computer program is executed by processor
Reason method.Further, the computer can storage medium can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), RAM, the various media that can store program code such as magnetic disc or CD.
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 process, method, article or device including a series of elements are 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 device
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 device including the element.
It will be appreciated by those skilled in the art that realizing that all or part of step of above-described embodiment can be by hardware come complete
At relevant hardware can also being instructed to complete by program, the program can be stored in a kind of computer-readable storage
In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only the preferred embodiment of the application, not made any form of restriction to the application, though
Right the application is disclosed above with preferred embodiment, however is not limited to the application, any technology people for being familiar with this profession
Member, is not departing within the scope of technical scheme, when the technology contents using the disclosure above make a little change or modification
For the equivalent embodiment of equivalent variations, as long as being the technical spirit pair according to the application without departing from technical scheme content
Any simple modification, equivalent change and modification made by above example, in the range of still falling within technical scheme.
Claims (10)
1. a kind of flow data management method is applied to server, which is characterized in that the method includes:
According to multicast address, obtains multimedia multicast flow data and handle the target flow data for object format;
According to the correspondence of the preset multicast address and destination address, the target flow data that processing obtains is exported to institute
State destination address;
According to the destination address, the state of the target flow data is monitored, and when the state of the target flow data
When abnormal, outputting alarm information, the warning information includes that relative address, identification information and the state of the target flow data are retouched
State information.
2. the method as described in claim 1, which is characterized in that it is described according to the destination address, to the target flow data
State be monitored, including:
The interface for calling Marathon starts monitoring process in monitoring server cluster, and by the monitoring process according to institute
Destination address is stated, the status information of the target flow data is obtained;
The status information of the target flow data is analyzed, and judges whether the state of the target flow data is abnormal.
3. the method as described in claim 1, which is characterized in that it is described according to multicast address, obtain multimedia multicast flow data
And the target flow data that processing is object format, including:
The interface for calling Marathon, in flow data processing server cluster log-on data treatment progress;
The multimedia multicast flow data is obtained according to the multicast address by the data processing process;
According to preset transcoding rule, the multimedia multicast flow data of acquisition is subjected to transcoding and de interlacing is handled, obtains target
The flow data of clarity and target bit rate, and real-time messages transport protocol is utilized, the flow data is pushed into streaming media service
Device meets adfluxion group;
It calls the interface of Marathon to start drawing and flows into journey, real-time messages transport protocol described in Cheng Liyong is flowed by the drawing,
Adfluxion group, which is met, from the streaming media server obtains the flow data;
By the target flow data that flow data processing is the object format.
4. the method as described in claim 1, which is characterized in that described according to the preset multicast address and destination address
The target flow data that processing obtains is exported to the destination address, further includes by correspondence:
The destination address is sent to play system, so that the play system obtains the target from the destination address
Flow data.
5. method according to any one of claims 1 to 4, which is characterized in that it is described according to multicast address, obtain more matchmakers
Before body multicast flow data and the target flow data that processing is object format, including:
It is that the multimedia multicast flow data of separate sources configures corresponding destination address according to the configuration-direct that client is sent;
It preserves corresponding between the multicast address of the multimedia multicast flow data of each separate sources and corresponding destination address
Relationship.
6. a kind of flow data managing device, which is characterized in that described device includes:
Processing module, for according to multicast address, obtaining multimedia multicast flow data, and by the multimedia multicast fluxion of acquisition
According to the target flow data that processing is object format;
Output module, for the correspondence according to the preset multicast address and destination address, the target that processing is obtained
Flow data is exported to the destination address;
Monitoring module, for according to the destination address, being monitored to the state of the target flow data;
Alarm module, when abnormal state for monitoring the target flow data when the monitoring module, outputting alarm information,
The warning information includes relative address, identification information and the context information of the target flow data.
7. device as claimed in claim 6, which is characterized in that
The monitoring module, is specifically used for calling the interface of Marathon, starts monitoring process in monitoring server cluster, and lead to
The monitoring process is crossed according to the destination address, obtains the status information of the target flow data, and to the target stream
The status information of data is analyzed, and judges whether the state of the target flow data is abnormal.
8. device as claimed in claim 6, which is characterized in that the processing module includes:
Transcoding module, the interface for calling Marathon lead in flow data processing server cluster log-on data treatment progress
The data processing process is crossed, according to the multicast address, obtains the multimedia multicast flow data, is advised according to preset transcoding
Then, the multimedia multicast flow data of acquisition is subjected to transcoding and de interlacing is handled, obtain the stream of target sharpness and target bit rate
Data, and real-time messages transport protocol is utilized, the flow data is pushed into streaming media server and meets adfluxion group;
Format converting module flows into journey for calling the interface of Marathon to start to draw, is flowed into described in Cheng Liyong by the drawing
Real-time messages transport protocol meets adfluxion group from the streaming media server and obtains the flow data, and the flow data is handled
For the target flow data of the object format.
9. device as claimed in claim 6, which is characterized in that described device further includes:
Sending module, for the destination address to be sent to play system, so that the play system is from the target
Location obtains the target flow data;
Configuration module, the configuration-direct for being sent according to client are the multimedia multicast flow data configuration pair of separate sources
The destination address answered, and preserve each separate sources multimedia multicast flow data multicast address with corresponding target
Correspondence between location.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
When being executed by processor, the flow data management method as described in any one in claim 1 to 5 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810433121.3A CN108540820B (en) | 2018-05-08 | 2018-05-08 | Stream data management method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810433121.3A CN108540820B (en) | 2018-05-08 | 2018-05-08 | Stream data management method, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540820A true CN108540820A (en) | 2018-09-14 |
CN108540820B CN108540820B (en) | 2020-09-15 |
Family
ID=63476592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810433121.3A Active CN108540820B (en) | 2018-05-08 | 2018-05-08 | Stream data management method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540820B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769268A (en) * | 2019-11-07 | 2020-02-07 | 网易(杭州)网络有限公司 | Data flow monitoring method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1905499A (en) * | 2006-08-11 | 2007-01-31 | 杭州华为三康技术有限公司 | Method and system for transmitting streaming media via network and converter |
CN1933480A (en) * | 2005-09-13 | 2007-03-21 | 李晓耕 | Method for multimedia data switching gateway |
CN101193289A (en) * | 2006-11-22 | 2008-06-04 | 中兴通讯股份有限公司 | A real time conversion method from MPEG-4 transmission code stream to Internet stream media alliance stream |
CN202014343U (en) * | 2011-04-22 | 2011-10-19 | 赛特斯网络科技(南京)有限责任公司 | Video stream analyzer used for network system |
CN103281560A (en) * | 2013-06-08 | 2013-09-04 | 无锡北斗星通信息科技有限公司 | Satellite digital television program broadcast quality detecting system |
CN103312599A (en) * | 2013-05-09 | 2013-09-18 | 李冰 | Multi-network routing gateway system |
CN104661044A (en) * | 2015-02-14 | 2015-05-27 | 广州珠江数码集团有限公司 | Broadcasting and TV OTT (over the top) integration terminal and implementing method thereof |
EP2282475B1 (en) * | 2009-08-04 | 2018-02-07 | Orange | Method and device for restoring multimedia content |
-
2018
- 2018-05-08 CN CN201810433121.3A patent/CN108540820B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933480A (en) * | 2005-09-13 | 2007-03-21 | 李晓耕 | Method for multimedia data switching gateway |
CN1905499A (en) * | 2006-08-11 | 2007-01-31 | 杭州华为三康技术有限公司 | Method and system for transmitting streaming media via network and converter |
CN101193289A (en) * | 2006-11-22 | 2008-06-04 | 中兴通讯股份有限公司 | A real time conversion method from MPEG-4 transmission code stream to Internet stream media alliance stream |
EP2282475B1 (en) * | 2009-08-04 | 2018-02-07 | Orange | Method and device for restoring multimedia content |
CN202014343U (en) * | 2011-04-22 | 2011-10-19 | 赛特斯网络科技(南京)有限责任公司 | Video stream analyzer used for network system |
CN103312599A (en) * | 2013-05-09 | 2013-09-18 | 李冰 | Multi-network routing gateway system |
CN103281560A (en) * | 2013-06-08 | 2013-09-04 | 无锡北斗星通信息科技有限公司 | Satellite digital television program broadcast quality detecting system |
CN104661044A (en) * | 2015-02-14 | 2015-05-27 | 广州珠江数码集团有限公司 | Broadcasting and TV OTT (over the top) integration terminal and implementing method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769268A (en) * | 2019-11-07 | 2020-02-07 | 网易(杭州)网络有限公司 | Data flow monitoring method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108540820B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9078044B2 (en) | System and method for bypassing an emergency alert break-in for a television program | |
US20100153995A1 (en) | Resuming a selected viewing channel | |
JP5567501B2 (en) | Synchronization method between customer PVR and network-based DVR | |
US20100125658A1 (en) | Method and system for multimedia content consumption analysis | |
CN1345513A (en) | System and method for near-real time capture and reporting of large population consumer behaviors concerning television use | |
CN101371570B (en) | A method and apparatus for providing a picture in picture service | |
CN105306959B (en) | A kind of low delay network self-adapting live broadcast system | |
US20110321062A1 (en) | Capturing events from and providing targeted messages to a digital media device | |
US20150373422A1 (en) | Load balancing multicast network traffic using virtual channels | |
US20200274910A1 (en) | Network status of stream push terminal-based optimizaiton method, system and stream push terminal | |
CN110493657A (en) | OnStream intelligent online steaming media platform system | |
KR20100127215A (en) | Multiple-level message filtering | |
CN112822435A (en) | Security method, device and system allowing user to easily access | |
US20210337223A1 (en) | Method and system for panoramic multimedia streaming enabling view-region selection | |
EP1596598A2 (en) | System for the transmission and reception of radio or television data | |
CN101754024B (en) | Multiplexing device and multiplexing method | |
CN108540820A (en) | Flow data management method, device and computer readable storage medium | |
MX2010008145A (en) | Method for broadcasting digital data. | |
CN101370028A (en) | Method and system for implementing remote message synchronization | |
CN115552914A (en) | System and method for enhanced multimedia signal broadcasting, reception, data delivery and data collection | |
CN101087406B (en) | A method and system for instant snap of monitoring system | |
US10992976B2 (en) | Method and device for providing content-related information of multimedia service | |
CN101662641B (en) | Method for viewing monitoring images by video session terminal | |
CN101252670A (en) | Apparatus and method for processing conference television | |
KR101746378B1 (en) | Apparatus for monitoring convergence broadcast using mobile terminal |
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 |