CN106506561B - A kind of flow-medium transmission method and device - Google Patents
A kind of flow-medium transmission method and device Download PDFInfo
- Publication number
- CN106506561B CN106506561B CN201611252078.8A CN201611252078A CN106506561B CN 106506561 B CN106506561 B CN 106506561B CN 201611252078 A CN201611252078 A CN 201611252078A CN 106506561 B CN106506561 B CN 106506561B
- Authority
- CN
- China
- Prior art keywords
- server
- rtmp
- streaming media
- push
- party
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- 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/222—Secondary servers, e.g. proxy server, cable television Head-end
-
- 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/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present embodiments relate to technical field of media, a kind of flow-medium transmission method and device are disclosed.Wherein, the flow-medium transmission method is applied in live broadcast system, the live broadcast system includes third-party server, turns push server and multiple synthesis servers, this method comprises: the push server that turns is from third-party server acquisition real-time messages transport protocol RTMP Streaming Media, the access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server;It is described to turn push server the RTMP Streaming Media is transmitted at least one described synthesis server, it is handled with triggering the synthesis server to the RTMP Streaming Media, and the synthesis server will treated that the RTMP Streaming Media pushes to that live streaming platform is broadcast live.Using the present invention, the human cost in third-party server addition white list can be saved.
Description
Technical field
The present invention relates to technical field of media, and in particular to a kind of flow-medium transmission method and device.
Background technique
Numerous Streaming Media (such as video source) is all by real-time messages transport protocol (Real Time currently on the market
Messaging Protocol, RTMP) mode be distributed to different live streaming platforms.The third party for providing the Streaming Media is based on stream
Amount, antitheft wait considers, the live streaming platform quantity for obtaining the Streaming Media can be all limited by way of IP white list.
The server ip address that each live streaming platform must all provide respective receiving stream media is given to third party, thus
Only these live streaming platforms have permission acquisition Streaming Media, and other sides cannot get Streaming Media.However mainly will in the industry
The IP address for oneself carrying out the server of Streaming Media processing is supplied to third party, to be added into white list, but usually carries out
The number of servers of Streaming Media processing is numerous, increases the manpower consumption of addition white list.
Summary of the invention
The embodiment of the invention discloses a kind of flow-medium transmission method and device, by setting negligible amounts turn praise and admire business
Device obtains RTMP Streaming Media, to save the human cost of addition white list.
First aspect of the embodiment of the present invention discloses a kind of flow-medium transmission method, is applied in live broadcast system, the live streaming
System includes third-party server, turns push server and multiple synthesis servers, comprising:
It is described turn push server from the third-party server obtain real-time messages transport protocol RTMP Streaming Media, described turn
The access mandate of the third-party server is obtained ahead of time in the target network identity of push server;
It is described to turn push server the RTMP Streaming Media is transmitted at least one described synthesis server, described in triggering
Synthesis server handles the RTMP Streaming Media, and by treated, the RTMP Streaming Media pushes away the synthesis server
It send to live streaming platform and is broadcast live.
Second aspect of the embodiment of the present invention discloses a kind of streaming media device, turns push server applied to live broadcast system
In, the live broadcast system further includes third-party server and multiple synthesis servers, comprising:
Obtain module, for from the third-party server obtain real-time messages transport protocol RTMP Streaming Media, described turn
The access mandate of the third-party server is obtained ahead of time in the target network identity of push server;
Forwarding module, for the RTMP Streaming Media to be transmitted at least one described synthesis server, described in triggering
Synthesis server handles the RTMP Streaming Media, and by treated, the RTMP Streaming Media pushes away the synthesis server
It send to live streaming platform and is broadcast live.
In the embodiment of the present invention, setting turns push server in live broadcast system, this turns push server from third-party server
RTMP Streaming Media is obtained, which is obtained ahead of time the access mandate of third-party server, turns to push away
Acquired RTMP Streaming Media is forwarded at least one synthesis server by server, and synthesis server carries out RTMP Streaming Media
Processing, and push treated RTMP Streaming Media to live streaming platform and be broadcast live.This mode be arranged negligible amounts turn praise and admire
Device be engaged in from third-party server acquisition RTMP Streaming Media, is obtained without large number of synthesis server from third-party server
RTMP Streaming Media is taken, the human cost in third-party server to access mandate addition white list is greatly saved.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow chart of flow-medium transmission method disclosed by the embodiments of the present invention;
Fig. 2 is the flow chart of another flow-medium transmission method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of network architecture diagram disclosed by the embodiments of the present invention;
Fig. 4 is a kind of UI surface chart at instructor in broadcasting end disclosed by the embodiments of the present invention;
Fig. 5 is a kind of UI surface chart at instructor in broadcasting end disclosed by the embodiments of the present invention;
Fig. 6 is a kind of structure chart of streaming media device disclosed by the embodiments of the present invention;
Fig. 7 is a kind of structure chart for obtaining module disclosed by the embodiments of the present invention;
Fig. 8 is the structure chart of another streaming media device disclosed by the embodiments of the present invention.
Specific embodiment
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 description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
Term " target " in description and claims of this specification and the attached drawing be for distinguishing different objects,
Rather than for describing special object.In addition, term " includes " and " having " and their any deformations, it is intended that covering is not
Exclusive includes.Such as it contains the process, method, system, product or equipment of a series of steps or units and is not limited to
The step of listing or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these
The intrinsic other step or units of process, method, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of flow-medium transmission method disclosed by the embodiments of the present invention.The present invention is real
The flow-medium transmission method for applying example can be applied in live broadcast system, which includes third-party server, turns to praise and admire business
Device and multiple synthesis servers.As shown in Figure 1, this method may comprise steps of:
S100, it is described turn push server from the third-party server obtain real-time messages transport protocol RTMP Streaming Media,
The access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server;
Optionally, the access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server
It include: the RTMP video source visit that the target network identity for turning push server is added to the third-party server in advance
It asks in control white list.
In the embodiment of the present invention, turn push server as shown in figure 3, increasing in the network architecture of live broadcast system, turns to praise and admire
The quantity of business device is far smaller than the quantity of synthesis server.For example, can increase by two in the network architecture turns push server, one
For a push server that turns as host apparatus, another turns push server as stand-by equipment, under host apparatus non-failure conditions,
Streaming Media is obtained using the host apparatus, if when host apparatus failure, turning to obtain Streaming Media by stand-by equipment.
This turns push server can directly obtain Streaming Media from third-party server, in order to guarantee third party's service
The safety of device, the target network identity for turning host apparatus and stand-by equipment in push server are required to obtain third party's service
The access mandate of device.Target network identity can be the Internet protocol address for turning push server (Internet Protocol
Address, IP).
As shown in figure 3, turning the IP address of the host apparatus in push server and the IP address of stand-by equipment is required to add
Into the RTMP video source access control white list of third-party server.For example, turn push server can be used telecommunications, connection with
And the network of mobile three operators, therefore turn push server for one there are three IP address.It should be noted that third
The RTMP video source access control white list of square server is used to control the acquisition power for obtaining Streaming Media in the third-party server
Limit, only network identity can just be obtained with the consistent server of network identification match in the RTMP video source access control white list
Take the media resource in the third-party server.
In the embodiment of the present invention, the target network identity for turning push server is added to the third party's service in advance
In the RTMP video source access control white list of device, specific addition manner can be to be added by third party.
As shown in figure 4, if not turning the IP address of push server in third-party server addition, when opening instructor in broadcasting's client
When, user interface (User Interface, UI) can prompt connection video source provider, and the IP address for turning push server is added
Into RTMP video source access control white list.
If being added to the IP address for turning push server in third-party server, third-party server, which can return, obtains RTMP
The address RTMP of Streaming Media is the source RTMP uniform resource locator (Uniform Resource Locator, URL).Such as Fig. 5
It is shown, when needing to obtain Streaming Media, input RTMP origin url address and name.
As an alternative embodiment, the push server that turns is from third-party server acquisition RTMP stream matchmaker
Body, comprising:
The RTMP Streaming Media for turning push server and receiving third-party server push, the third-party server to
All-network in the RTMP video source access control white list identifies RTMP Streaming Media described in identified server push.
In one embodiment, all-network of the third-party server active into RTMP video source access control white list
Identified server push RTMP Streaming Media is identified, the target network identity for turning push server makes an addition to RTMP video source in advance
In access control white list, therefore it also can receive the RTMP Streaming Media that third-party server is pushed.It should be noted that
This RTMP Streaming Media acquisition modes need to bear flow by third party.
As another optional embodiment, the push server that turns is from third-party server acquisition RTMP stream matchmaker
Body, including following two step:
Step 1, the push server that turns is to third-party server transmission Streaming Media acquisition request, the Streaming Media
The target network identity for turning push server described in carrying in acquisition request, judges the target to trigger the third-party server
Network identity whether with the network identification match in the RTMP video source access control white list;
Step 2, the push server that turns receive RTMP Streaming Media, and the RTMP Streaming Media is the target network identity
When consistent with the network identification match in the RTMP video source access control white list, the third-party server is to described turn
Push server push.
In one embodiment, turning push server actively can also request RTMP Streaming Media to third-party server, for example,
Turn push server and send Streaming Media acquisition request to third-party server, is carried in the Streaming Media acquisition request and turn push server
Target network identity, after third-party server receives Streaming Media acquisition request, parsing obtains to be taken in the Streaming Media acquisition request
The target network identity of band.
Third-party server by the network identity in the target network identity and RTMP video source access control white list into
Row matching illustrates that this turns push server and has the permission for accessing the third-party server if matching is consistent.Third-party server
Turn push server push RTMP Streaming Media to this.It should be noted that this RTMP Streaming Media acquisition modes are by turning push server
Affiliated businessman bears flow.
S101, it is described to turn push server the RTMP Streaming Media is transmitted at least one described synthesis server, with touching
Sending out synthesis server described handles the RTMP Streaming Media, and the synthesis server will treated the RTMP stream
Media push to live streaming platform is broadcast live.
It is after turning push server and getting RTMP Streaming Media, acquired RTMP Streaming Media is former in the embodiment of the present invention
Seal the motionless processing for turning to shift onto synthesis server progress RTMP Streaming Media.For example, addition subtitle, is added at picture or decoding
Reason etc..
Synthesis server will treated that RTMP Streaming Media pushes to that live streaming platform is broadcast live.The present invention is turned by deployment
Push server, the IP address for providing minimum server guarantees the safety of third-party server to third party, and reduces third
The manpower consumption of Fang Tianjia white list, while original third party can be reached and be based on flow, antitheft wait considers, limitation addition white list
Quantity purpose.
In the embodiment of the present invention, setting turns push server in live broadcast system, this turns push server from third-party server
RTMP Streaming Media is obtained, which is obtained ahead of time the access mandate of third-party server, turns to push away
Acquired RTMP Streaming Media is forwarded at least one synthesis server by server, and synthesis server carries out RTMP Streaming Media
Processing, and push treated RTMP Streaming Media to live streaming platform and be broadcast live.This mode be arranged negligible amounts turn praise and admire
Device be engaged in from third-party server acquisition RTMP Streaming Media, is obtained without large number of synthesis server from third-party server
RTMP Streaming Media is taken, the human cost in third-party server to access mandate addition white list is greatly saved.
Referring to Fig. 2, Fig. 2 is the flow chart of another flow-medium transmission method disclosed by the embodiments of the present invention.The present invention
The flow-medium transmission method of embodiment can be applied in live broadcast system, which includes third-party server, turns to praise and admire
Business device and multiple synthesis servers.As shown in Fig. 2, this method may comprise steps of:
S200, it is described turn push server from the third-party server obtain real-time messages transport protocol RTMP Streaming Media,
The access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server;
Step of embodiment of the present invention S200 please refers to the embodiment step S100 of Fig. 1, and details are not described herein.
The RTMP Streaming Media is forwarded in default media cloud group by S201, the push server that turns, and is added with triggering
The synthesis server of instructor in broadcasting's client and the addition default media cloud group in the default media cloud group obtains
The RTMP Streaming Media, and the RTMP Streaming Media is handled.
In the embodiment of the present invention, as shown in figure 3, turn after push server gets RTMP Streaming Media from third-party server,
The RTMP Streaming Media is turned to be pushed into default media cloud group.Media cloud group: being that can receive and distribute different RTMP Streaming Medias
Container.
Personal computer (personal computer, PC) instructor in broadcasting's client and at least one synthesis server can add
Enter in the default media cloud group, and obtains the RTMP Streaming Media from the media cloud group.Instructor in broadcasting user can lead in PC
It broadcasts and carries out the processing such as special video effect, subtitle, picture addition in client, while PC instructor in broadcasting client can also send signaling to addition
This presets the synthesis server of media cloud group, can do corresponding special efficacy, subtitle, picture according to signaling on synthesis server and add
Deng processing.
After the completion of synthesis server carries out special video effect processing to RTMP Streaming Media, by treated, RTMP Streaming Media is pushed
To live streaming platform, the video effect that guarantee PC instructor in broadcasting client is seen in this way is consistent with the effect on live streaming platform.
Facilitate instructor in broadcasting end multichannel to supervise in this way, saves flow and save CPU again, numerous synthesis server clusters can be directly from matchmaker
Treated RTMP Streaming Media is obtained in Ti Yun group, is not necessarily to white list herein.
In the embodiment of the present invention, setting turns push server in live broadcast system, this turns push server from third-party server
RTMP Streaming Media is obtained, which is obtained ahead of time the access mandate of third-party server, turns to push away
Acquired RTMP Streaming Media is forwarded at least one synthesis server by server, and synthesis server carries out RTMP Streaming Media
Processing, and push treated RTMP Streaming Media to live streaming platform and be broadcast live.This mode be arranged negligible amounts turn praise and admire
Device be engaged in from third-party server acquisition RTMP Streaming Media, is obtained without large number of synthesis server from third-party server
RTMP Streaming Media is taken, the human cost in third-party server to access mandate addition white list is greatly saved.
Referring to Fig. 6, Fig. 6 is a kind of structure chart of streaming media device disclosed by the embodiments of the present invention.The present invention is real
The streaming media device for applying example turns in push server applied to live broadcast system, and the live broadcast system further includes third party's service
Device and multiple synthesis servers, as shown in fig. 6, the streaming media device includes:
Module 100 is obtained, it is described for obtaining real-time messages transport protocol RTMP Streaming Media from the third-party server
The access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server;
Optionally, the access mandate of the third-party server is obtained ahead of time in the target network identity for turning push server
It include: the RTMP video source visit that the target network identity for turning push server is added to the third-party server in advance
It asks in control white list.
In the embodiment of the present invention, turn push server as shown in figure 3, increasing in the network architecture of live broadcast system, turns to praise and admire
The quantity of business device is far smaller than the quantity of synthesis server.For example, can increase by two in the network architecture turns push server, one
For a push server that turns as host apparatus, another turns push server as stand-by equipment, under host apparatus non-failure conditions,
Streaming Media is obtained using the host apparatus, if when host apparatus failure, turning to obtain Streaming Media by stand-by equipment.
This turns push server can directly obtain Streaming Media from third-party server, in order to guarantee third party's service
The safety of device, the target network identity for turning host apparatus and stand-by equipment in push server are required to obtain third party's service
The access mandate of device.Target network identity can be the Internet protocol address for turning push server (Internet Protocol
Address, IP).
As shown in figure 3, turning the IP address of the host apparatus in push server and the IP address of stand-by equipment is required to add
Into the RTMP video source access control white list of third-party server.For example, turn push server can be used telecommunications, connection with
And the network of mobile three operators, therefore turn push server for one there are three IP address.It should be noted that third
The RTMP video source access control white list of square server is used to control the acquisition power for obtaining Streaming Media in the third-party server
Limit, only network identity can just be obtained with the consistent server of network identification match in the RTMP video source access control white list
Take the media resource in the third-party server.
In the embodiment of the present invention, the target network identity for turning push server is added to the third party's service in advance
In the RTMP video source access control white list of device, specific addition manner can be to be added by third party.
As shown in figure 4, if not turning the IP address of push server in third-party server addition, when opening instructor in broadcasting's client
When, user interface (User Interface, UI) can prompt connection video source provider, and the IP address for turning push server is added
Into RTMP video source access control white list.
If being added to the IP address for turning push server in third-party server, third-party server, which can return, obtains RTMP
The address RTMP of Streaming Media is the source RTMP uniform resource locator (Uniform Resource Locator, URL).Such as Fig. 5
It is shown, when needing to obtain Streaming Media, input RTMP origin url address and name.
It is pushed away as an alternative embodiment, the acquisition module 100 is specifically used for the reception third-party server
The RTMP Streaming Media sent, all-network mark of the third-party server into the RTMP video source access control white list
The push server that turns identified pushes the RTMP Streaming Media.
In one embodiment, all-network of the third-party server active into RTMP video source access control white list
Identified server push RTMP Streaming Media is identified, the target network identity for turning push server makes an addition to RTMP video source in advance
In access control white list, therefore it also can receive the RTMP Streaming Media that third-party server is pushed.
As another optional embodiment, as shown in fig. 7, the acquisition module 100 of the embodiment of the present invention may include
Transmission unit 1000 and receiving unit 1001;
Transmission unit 1000, for sending Streaming Media acquisition request to the third-party server, the Streaming Media is obtained
The target network identity for turning push server described in carrying in request, judges the target network to trigger the third-party server
It identifies whether and the network identification match in the RTMP video source access control white list;
Receiving unit 1001, for receiving RTMP Streaming Media, the RTMP Streaming Media is the target network identity and institute
State network identification match in RTMP video source access control white list it is consistent when, the third-party server is praised and admired to described turn
It is engaged in what device pushed.
In one embodiment, turning push server actively can also request RTMP Streaming Media to third-party server, for example,
Turn push server and send Streaming Media acquisition request to third-party server, is carried in the Streaming Media acquisition request and turn push server
Target network identity, after third-party server receives Streaming Media acquisition request, parsing obtains to be taken in the Streaming Media acquisition request
The target network identity of band.
Third-party server by the network identity in the target network identity and RTMP video source access control white list into
Row matching illustrates that this turns push server and has the permission for accessing the third-party server if matching is consistent.Third-party server
Turn push server push RTMP Streaming Media to this.
Forwarding module 101, for the RTMP Streaming Media to be transmitted at least one described synthesis server, to trigger
It states synthesis server to handle the RTMP Streaming Media, and the synthesis server will treated the RTMP Streaming Media
Live streaming platform is pushed to be broadcast live.
It is after turning push server and getting RTMP Streaming Media, acquired RTMP Streaming Media is former in the embodiment of the present invention
Seal the motionless processing for turning to shift onto synthesis server progress RTMP Streaming Media.For example, addition subtitle, is added at picture or decoding
Reason etc..
Synthesis server will treated that RTMP Streaming Media pushes to that live streaming platform is broadcast live.The present invention is turned by deployment
Push server, the IP address for providing minimum server guarantees the safety of third-party server to third party, and reduces third
The manpower consumption of Fang Tianjia white list, while original third party can be reached and be based on flow, antitheft wait considers, limitation addition white list
Quantity purpose.
Optionally, the forwarding module 101 is specifically used for for the RTMP Streaming Media being forwarded in default media cloud group,
To trigger the instructor in broadcasting's client being added in the default media cloud group and the synthesis of the default media cloud group be added
Server obtains the RTMP Streaming Media, and handles the RTMP Streaming Media.
In the embodiment of the present invention, as shown in figure 3, turn after push server gets RTMP Streaming Media from third-party server,
The RTMP Streaming Media is turned to be pushed into default media cloud group.Media cloud group: being that can receive and distribute different RTMP Streaming Medias
Container.
Personal computer (personal computer, PC) instructor in broadcasting's client and at least one synthesis server can add
Enter in the default media cloud group, and obtains the RTMP Streaming Media from the media cloud group.Instructor in broadcasting user can lead in PC
It broadcasts and carries out the processing such as special video effect, subtitle, picture addition in client, while PC instructor in broadcasting client can also send signaling to addition
This presets the synthesis server of media cloud group, can do corresponding special efficacy, subtitle, picture according to signaling on synthesis server and add
Deng processing.
After the completion of synthesis server carries out special video effect processing to RTMP Streaming Media, by treated, RTMP Streaming Media is pushed
To live streaming platform, the video effect that guarantee PC instructor in broadcasting client is seen in this way is consistent with the effect on live streaming platform.
Facilitate instructor in broadcasting end multichannel to supervise in this way, saves flow and save CPU again, numerous synthesis server clusters can be directly from matchmaker
Treated RTMP Streaming Media is obtained in Ti Yun group, is not necessarily to white list herein.
It is corresponding, as shown in figure 8, for the structural representation of another streaming media device provided in an embodiment of the present invention
Figure, as shown, the streaming media device can include: transceiver 5001 and processor 5002.Processor 5002 is for controlling
The operation of the streaming media device carries out the transmission (including receive and/or send) of Streaming Media including control transceiver 5001.
The streaming media device can be used for the push server that turns in scene shown in Fig. 3, and execute Fig. 1 and Fig. 2 the method step.
Detail can be with reference to the description in above method, and details are not described herein.
Further, which can also include memory 5003, and memory 5003 may include read-only
Memory and random access memory, for providing instruction and data to processor 5002.Memory 5003 can integrate in place
It manages in device 5002, it can also be independently of processor 5002.The a part of of memory 5003 can also include that non-volatile row is deposited at random
Access to memory (NVRAM).The various components of the device are coupled by bus system, and wherein bus system 5009 can wrap
Include data/address bus.Bus system 5009 can also include power bus, control bus and status signal bus in addition.But in order to clear
For the sake of explanation, various buses are all designated as bus system 5009 in figure.
Optionally, transceiver 5001, which is used to obtain real-time messages transport protocol RTMP from the third-party server, flows matchmaker
The access mandate of the third-party server is obtained ahead of time in body, the target network identity for turning push server;
Transceiver 5001 is also used to the RTMP Streaming Media being transmitted at least one described synthesis server, to trigger
It states synthesis server to handle the RTMP Streaming Media, and the synthesis server will treated the RTMP Streaming Media
Live streaming platform is pushed to be broadcast live.
The process that the embodiment of the present application discloses can be applied in processor 5002, or be realized by processor 5002.In
During realization, each step for the process which realizes can pass through the integrated of the hardware in processor 5002
The instruction of logic circuit or software form is completed.Processor 5002 can be general processor, digital signal processor, dedicated
It is integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete
Hardware component may be implemented or execute disclosed each method, step and logic diagram in the embodiment of the present application.General procedure
Device can be microprocessor or any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be with
Be embodied directly in hardware processor and execute completion, or in processor hardware and software unit combination execute completion.Software
Unit can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory 5003, and processor 5002 reads storage
Information in device 5003 completes the step of embodiment of the present invention indicates process in conjunction with its hardware.
In the embodiment of the present invention, setting turns push server in live broadcast system, this turns push server from third-party server
RTMP Streaming Media is obtained, which is obtained ahead of time the access mandate of third-party server, turns to push away
Acquired RTMP Streaming Media is forwarded at least one synthesis server by server, and synthesis server carries out RTMP Streaming Media
Processing, and push treated RTMP Streaming Media to live streaming platform and be broadcast live.This mode be arranged negligible amounts turn praise and admire
Device be engaged in from third-party server acquisition RTMP Streaming Media, is obtained without large number of synthesis server from third-party server
RTMP Streaming Media is taken, the human cost in third-party server to access mandate addition white list is greatly saved.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey
Sequence, the program include some or all of any flow-medium transmission method recorded in above method embodiment step when executing
Suddenly.
Although combining each embodiment herein, invention has been described, however, implementing the claimed invention
In the process, those skilled in the art are by checking the attached drawing, disclosure and the appended claims, it will be appreciated that and it is real
Other variations of the existing open embodiment.In the claims, " comprising " (comprising) word is not excluded for other compositions
Part or step, "a" or "an" are not excluded for multiple situations.Claim may be implemented in single processor or other units
In several functions enumerating.Mutually different has been recited in mutually different dependent certain measures, it is not intended that these are arranged
It applies to combine and generates good effect.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer journey
Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention
The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware
Part can also use other distribution forms, such as pass through the wired or wireless telecommunication system of Internet or other.
The present invention be referring to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/
Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/
Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions
To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although in conjunction with specific features and embodiment, invention has been described, it is clear that, do not departing from this hair
In the case where bright spirit and scope, it can be carry out various modifications and is combined.Correspondingly, the specification and drawings are only institute
The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair
Change, change, combining or equivalent.Obviously, those skilled in the art various changes and modifications can be made to the invention without
It is detached from the spirit and scope of the present invention.If in this way, these modifications and changes of the present invention belong to the claims in the present invention and its
Within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of flow-medium transmission method is applied in live broadcast system, the live broadcast system includes third-party server, turns to praise and admire
Business device and multiple synthesis servers, the quantity for turning push server are far smaller than the quantity of the synthesis server, special
Sign is, comprising:
From third-party server acquisition real-time messages transport protocol RTMP Streaming Media, described turn is praised and admired the push server that turns
The target network identity of business device is added in advance in the RTMP video source access control white list of the third-party server, if institute
It states and turns the target network identity of push server and be not added with to the RTMP video source access control white list of the third-party server
In, when user opens instructor in broadcasting's client, prompt information is exported, for prompting the target network identity for turning push server
It is added in the RTMP video source access control white list of the third-party server;
It is described to turn push server the RTMP Streaming Media is transmitted at least one described synthesis server, to trigger the synthesis
Server handles the RTMP Streaming Media, and by treated, the RTMP Streaming Media pushes to the synthesis server
Live streaming platform is broadcast live.
2. the method as described in claim 1, which is characterized in that the push server that turns is obtained from the third-party server
RTMP Streaming Media, comprising:
The RTMP Streaming Media for turning push server and receiving third-party server push, the third-party server is to described
All-network in RTMP video source access control white list identifies RTMP Streaming Media described in identified server push.
3. the method as described in claim 1, which is characterized in that the push server that turns is obtained from the third-party server
RTMP Streaming Media, comprising:
It is described to turn push server and send Streaming Media acquisition request to the third-party server, it takes in the Streaming Media acquisition request
Turn the target network identity of push server described in band, to trigger whether the third-party server judges the target network identity
With the network identification match in the RTMP video source access control white list;
The push server that turns receives RTMP Streaming Media, and the RTMP Streaming Media is that the target network identity and the RTMP are regarded
When network identification match in frequency source access control white list is consistent, the third-party server turns push server push to described
's.
4. method as claimed in any one of claims 1-3, which is characterized in that the push server that turns is by RTMP stream matchmaker
Body is transmitted at least one described synthesis server, comprising:
It is described turn push server by the RTMP Streaming Media be forwarded to cloud instructor in broadcasting end at least one media cloud group and the matchmaker
In synthesis server corresponding to Ti Yun group, includes at least one instructor in broadcasting user in media cloud group, led by described
The operation of broadcasting user carries out transcoding processing to trigger the synthesis server to the RTMP Streaming Media.
5. the method as described in claim 1, which is characterized in that the target network identity includes described turning the mutual of push server
Networking protocol IP address.
6. a kind of streaming media device, applied to turning in push server for live broadcast system, the live broadcast system further includes third
Square server and multiple synthesis servers, the quantity for turning push server are far smaller than the quantity of the synthesis server,
It is characterized in that, described device includes:
Module is obtained, for obtaining real-time messages transport protocol RTMP Streaming Media from the third-party server, described turn is praised and admired
The target network identity of business device is added in advance in the RTMP video source access control white list of the third-party server, if institute
It states and turns the target network identity of push server and be not added with to the RTMP video source access control white list of the third-party server
In, when user opens instructor in broadcasting's client, prompt information is exported, for prompting the target network identity for turning push server
It is added in the RTMP video source access control white list of the third-party server;
Forwarding module, for the RTMP Streaming Media to be transmitted at least one described synthesis server, to trigger the synthesis
Server handles the RTMP Streaming Media, and by treated, the RTMP Streaming Media pushes to the synthesis server
Live streaming platform is broadcast live.
7. device as claimed in claim 6, which is characterized in that the acquisition module is specifically used for receiving the third party's service
The RTMP Streaming Media of device push, all-network of the third-party server into the RTMP video source access control white list
Identify RTMP Streaming Media described in identified server push.
8. device as claimed in claim 6, which is characterized in that the acquisition module includes:
Transmission unit is taken in the Streaming Media acquisition request for sending Streaming Media acquisition request to the third-party server
Turn the target network identity of push server described in band, to trigger whether the third-party server judges the target network identity
With the network identification match in the RTMP video source access control white list;
Receiving unit, for receiving RTMP Streaming Media, the RTMP Streaming Media is that the target network identity and the RTMP are regarded
When network identification match in frequency source access control white list is consistent, the third-party server turns push server push to described
's.
9. the device as described in claim 6-8 any one, which is characterized in that the forwarding module is specifically used for will be described
RTMP Streaming Media is forwarded to Composite service corresponding at least one media cloud group and media cloud group at cloud instructor in broadcasting end
In device, includes at least one instructor in broadcasting user in media cloud group, the conjunction is triggered by the operation of the instructor in broadcasting user
Transcoding processing is carried out to the RTMP Streaming Media at server.
10. device as claimed in claim 6, which is characterized in that the target network identity includes described turning push server
Internet protocol address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611252078.8A CN106506561B (en) | 2016-12-29 | 2016-12-29 | A kind of flow-medium transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611252078.8A CN106506561B (en) | 2016-12-29 | 2016-12-29 | A kind of flow-medium transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106506561A CN106506561A (en) | 2017-03-15 |
CN106506561B true CN106506561B (en) | 2019-10-29 |
Family
ID=58334593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611252078.8A Active CN106506561B (en) | 2016-12-29 | 2016-12-29 | A kind of flow-medium transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106506561B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798698B (en) * | 2019-11-25 | 2020-09-11 | 盈动电子竞技(海南自贸区)有限公司 | Multi-server stream pushing method, equipment and storage medium for live broadcast application program |
CN112866727B (en) * | 2020-12-23 | 2024-03-01 | 贵阳叁玖互联网医疗有限公司 | Streaming media live broadcast method and system capable of receiving third party push stream |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945240A (en) * | 2014-04-17 | 2014-07-23 | 海信集团有限公司 | Video playing method and device based on video aggregation |
CN103974137A (en) * | 2014-05-15 | 2014-08-06 | 北京奇艺世纪科技有限公司 | Cross-equipment video resource pushing method and device |
CN104244108A (en) * | 2014-09-24 | 2014-12-24 | 上海网达软件股份有限公司 | Live method and system |
CN104506889A (en) * | 2014-12-30 | 2015-04-08 | 青岛海信电器股份有限公司 | Method, terminal, servers and system for playing video |
CN105721484A (en) * | 2016-03-04 | 2016-06-29 | 网宿科技股份有限公司 | Streaming media forward pushing method and system, and server with system |
CN105872850A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Live data pushing method and equipment based on white list |
CN105872577A (en) * | 2015-12-01 | 2016-08-17 | 乐视云计算有限公司 | Method, device and system for obtaining video data |
CN106204112A (en) * | 2016-06-29 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of drainage method being divided into based on customer consumption and system |
-
2016
- 2016-12-29 CN CN201611252078.8A patent/CN106506561B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103945240A (en) * | 2014-04-17 | 2014-07-23 | 海信集团有限公司 | Video playing method and device based on video aggregation |
CN103974137A (en) * | 2014-05-15 | 2014-08-06 | 北京奇艺世纪科技有限公司 | Cross-equipment video resource pushing method and device |
CN104244108A (en) * | 2014-09-24 | 2014-12-24 | 上海网达软件股份有限公司 | Live method and system |
CN104506889A (en) * | 2014-12-30 | 2015-04-08 | 青岛海信电器股份有限公司 | Method, terminal, servers and system for playing video |
CN105872577A (en) * | 2015-12-01 | 2016-08-17 | 乐视云计算有限公司 | Method, device and system for obtaining video data |
CN105872850A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Live data pushing method and equipment based on white list |
CN105721484A (en) * | 2016-03-04 | 2016-06-29 | 网宿科技股份有限公司 | Streaming media forward pushing method and system, and server with system |
CN106204112A (en) * | 2016-06-29 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of drainage method being divided into based on customer consumption and system |
Also Published As
Publication number | Publication date |
---|---|
CN106506561A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566786B (en) | Method and device for acquiring monitoring video and terminal equipment | |
CN104539977B (en) | Method for previewing and device is broadcast live | |
CN105812479B (en) | Request method and device and acquisition method and device for use permission | |
CN111309279B (en) | Multi-screen interactive display method and device | |
US20170127151A1 (en) | Method and Device for Protecting Video Digital Copyrights | |
CN109729386B (en) | Video file playing starting method and system, electronic equipment and storage medium | |
CN103533460A (en) | Method, device, terminal and system for sharing television service | |
US20170155653A1 (en) | User-based data processing method and device | |
CN108540434A (en) | Automatic media playing content element is provided from across source resource | |
CN111510756A (en) | Audio and video switching method and device, computer equipment and readable storage medium | |
US20180035143A1 (en) | Popping-screen push system and method | |
CN110401858A (en) | A kind of video broadcasting method, device, electronic equipment and storage medium | |
CN106506561B (en) | A kind of flow-medium transmission method and device | |
JP2023047294A (en) | Content insertion using network appliance | |
EP2933745A1 (en) | Method and apparatus for downloadable DRM in a trusted execution environment | |
US11997095B2 (en) | Content permission platform | |
CN110134410B (en) | Personalized information association method and device for cold-start user and storage medium | |
CN104717528A (en) | Streaming media live telecast PAAS processing method, device and system | |
CN110290097B (en) | Data processing method and device, storage medium and electronic device | |
CN113038192B (en) | Video processing method and device, electronic equipment and storage medium | |
CN112073488A (en) | Method and device for processing request | |
CN105392028B (en) | A kind of transmission method and device of data | |
CN109348298B (en) | Method and equipment for pushing and playing multimedia data stream | |
CN113961162A (en) | Screen projection control method, screen projection sending end, screen projection receiving end and screen projection system | |
CN113660290A (en) | Signaling transmission method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210113 Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd. Address before: 511449 29 / F, building B-1, Wanda Plaza North District, Wanbo business center, Panyu District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd. |