CN107396206A - A kind of plug-flow method and system of live data - Google Patents

A kind of plug-flow method and system of live data Download PDF

Info

Publication number
CN107396206A
CN107396206A CN201710791635.1A CN201710791635A CN107396206A CN 107396206 A CN107396206 A CN 107396206A CN 201710791635 A CN201710791635 A CN 201710791635A CN 107396206 A CN107396206 A CN 107396206A
Authority
CN
China
Prior art keywords
plug
flow
live
equipment
rtmp
Prior art date
Application number
CN201710791635.1A
Other languages
Chinese (zh)
Inventor
王云
彭浩浩
Original Assignee
广州华多网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州华多网络科技有限公司 filed Critical 广州华多网络科技有限公司
Priority to CN201710791635.1A priority Critical patent/CN107396206A/en
Publication of CN107396206A publication Critical patent/CN107396206A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26603Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for automatically generating descriptors from content, e.g. when it is not made available by its provider, using content analysis techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/643Communication protocols

Abstract

This application discloses a kind of plug-flow method of live data, including:Instructor in broadcasting's equipment generates corresponding RTMP plug-flows network configuration parameters according to network environment, and RTMP plug-flows network configuration parameters are utilized into planar bar code technology generation plug-flow Quick Response Code;Live equipment obtains plug-flow Quick Response Code and plug-flow Quick Response Code is identified, and obtains RTMP plug-flow network configuration parameters;Live device configuration RTMP plug-flow network configuration parameters, the live data of live equipment is uploaded to the plug-flow network address that RTMP plug-flow network configuration parameters include.The plug-flow method can be applied to the various live equipment without MIM message input module, the configuration of plug-flow parameter need not be carried out manually, can pass through the operating procedure of simple and fast, the plug-flow of live data is carried out with high plug-flow accuracy rate, the technical threshold of network direct broadcasting is reduced, improves the utilization rate of manavelins.The application further simultaneously discloses a kind of plug-flow system of live data, has above-mentioned beneficial effect.

Description

A kind of plug-flow method and system of live data

Technical field

The application is related to network direct broadcasting technical field, the plug-flow method and system of more particularly to a kind of live data.

Background technology

With the development of network direct broadcasting technology, more hardware vendors want miscellaneous live equipment access is live Platform, i.e., pushed away by means of the RTMP (Real Time Messaging Protocol, real-time messages host-host protocol) of live platform Function is flowed, is not limited to the live number that PC various live equipment will be obtained by way of RTMP plug-flows in these live equipment According to live platform is pushed to, so as to realize the higher network direct broadcasting of flexibility.

Among prior art, it is desirable to by the live data plug-flow including audio, video data in various live equipment On to live platform, needing to carry out the configuration of parameter unavoidably, the Parameter Configuration process that tradition is applied on PC is very cumbersome, although Apply to be greatly reduced in various intelligent mobile terminal and need unnecessary Parameter Configuration process, but set in view of some It is standby not have touch-screen, keyboard or other information input module, such as moving camera, the video camera and radio encoder of specialty Deng can not carry out the configuration of parameter by the way of input, it is fabulous but can not use straight to sometimes have to give up this kind of effect Broadcast equipment, improve manavelins apply with live technical threshold, other problems also be present.

So how to provide it is a kind of without manual configuration parameter, step simple and fast, accuracy rate it is high be applied to it is various straight The live data plug-flow mechanism for broadcasting equipment is those skilled in the art's urgent problem to be solved.

The content of the invention

The purpose of the application is to provide a kind of plug-flow method and system of live data, and it can be applied to input without information The various live equipment of module, i.e., need not carry out manually plug-flow parameter configuration, can by the operating procedure of simple and fast, with High plug-flow accuracy rate carries out the plug-flow of live data, reduces the technical threshold that manavelins are applied to network direct broadcasting, carries The high utilization rate of manavelins.

In order to solve the above technical problems, the application provides a kind of plug-flow method of live data, the plug-flow method includes:

Instructor in broadcasting's equipment generates corresponding RTMP plug-flows network configuration parameters according to network environment, and by the RTMP plug-flows net Network configuration parameter utilizes planar bar code technology generation plug-flow Quick Response Code;

Live equipment obtains the plug-flow Quick Response Code and the plug-flow Quick Response Code is identified, and obtains the RTMP plug-flows Network configuration parameters;

RTMP plug-flow network configuration parameters described in the live device configuration, by the live data of the live equipment Reach the plug-flow network address that the RTMP plug-flows network configuration parameters include.

Optionally, instructor in broadcasting's equipment generates corresponding RTMP plug-flows network configuration parameters according to network environment, including:

Judge whether each ultimate range of the live equipment away from instructor in broadcasting's equipment exceedes threshold value;

Internet plug-flow address is obtained if so, then being chosen from default internet plug-flow network address storehouse, and by described in Internet plug-flow address and corresponding internet connection end slogan perform packaging operation, obtain internet plug-flow configuration parameter;

LAN plug-flow address is obtained if it is not, then being chosen from default LAN plug-flow network address storehouse, and by described in LAN plug-flow address and corresponding LAN connection end slogan perform packaging operation, obtain LAN plug-flow configuration parameter.

Optionally, live equipment obtains the plug-flow Quick Response Code and the plug-flow Quick Response Code is identified, and obtains described RTMP plug-flow network configuration parameters, including:

Shoot to obtain the pictorial information of the plug-flow Quick Response Code using the camera of the live equipment;Wherein, it is described straight Broadcasting equipment includes camera and can normally be connected to LAN or internet;

Information extraction is carried out to the pictorial information using the Quick Response Code recognizer for being built in the live equipment, obtained The RTMP plug-flows network configuration parameters.

Optionally, RTMP plug-flow network configuration parameters described in the live device configuration, by the straight of the live equipment Multicast data is uploaded to the plug-flow network address that the RTMP plug-flows network configuration parameters include, including:

The RTMP plug-flows network configuration parameters are performed into fractured operation, obtain plug-flow network address and corresponding port Number;

It is respectively that the plug-flow network address and port numbers configuration is defeated in upload address input and connection end slogan Enter place;

Live number described in the plug-flow network address of the live equipment utilization configuration completion and the port numbers plug-flow According to.

Optionally, the plug-flow method also includes:

When at least two live equipment be present, wheel is performed to live data described at least two-way according to preset rules Change operation.

Optionally, the plug-flow method also includes:

Post-processing is carried out to the live data, so that the live data meets live requirement.

Present invention also provides a kind of plug-flow system of live data, the plug-flow system includes:

Instructor in broadcasting's equipment, corresponding RTMP plug-flows network configuration parameters are generated according to network environment for instructor in broadcasting's equipment, and will The RTMP plug-flows network configuration parameters utilize planar bar code technology generation plug-flow Quick Response Code;

Live equipment, for obtaining the plug-flow Quick Response Code and the plug-flow Quick Response Code being identified, obtain described RTMP plug-flow network configuration parameters;The RTMP plug-flows network configuration parameters are configured at itself, live data is uploaded to The plug-flow network address that the RTMP plug-flows network configuration parameters include.

Optionally, instructor in broadcasting's equipment is specifically used for judging each ultimate range of the live equipment away from instructor in broadcasting's equipment Whether threshold value is exceeded;Internet plug-flow address is obtained if so, then being chosen from default internet plug-flow network address storehouse, and will The internet plug-flow address and corresponding internet connection end slogan perform packaging operation, obtain internet plug-flow configuration ginseng Number;LAN plug-flow address is obtained if it is not, then being chosen from default LAN plug-flow network address storehouse, and by the LAN Plug-flow address and corresponding LAN connection end slogan perform packaging operation, obtain LAN plug-flow configuration parameter.

Optionally, the live equipment is specifically used for the RTMP plug-flows network configuration parameters performing fractured operation, obtains To plug-flow network address and corresponding port numbers;Respectively by the plug-flow network address and the port numbers configuration it is upper by reference Input and connection end slogan input;It is straight described in the plug-flow network address completed using configuration and the port numbers plug-flow Multicast data.

Optionally, the plug-flow system also includes:

Synthesis server, for carrying out post-processing to the live data, so that the live data meets live want Ask.

A kind of plug-flow method of live data provided herein, generated accordingly according to network environment by instructor in broadcasting's equipment RTMP plug-flow network configuration parameters, and by the RTMP plug-flows network configuration parameters using planar bar code technology generation plug-flow two dimension Code;Live equipment obtains the plug-flow Quick Response Code and the plug-flow Quick Response Code is identified, and obtains the RTMP plug-flows network Configuration parameter;RTMP plug-flow network configuration parameters described in the live device configuration, by the live data of the live equipment It is uploaded to the plug-flow network address that the RTMP plug-flows network configuration parameters include.

Obviously, technical scheme provided herein, generated accordingly according to network environment first with instructor in broadcasting's equipment RTMP plug-flow network configuration parameters, and planar bar code technology of arranging in pairs or groups will be contained in plug-flow Quick Response Code in the RTMP plug-flow network configuration parameters Interior, operation directly the plug-flow Quick Response Code can be identified in live equipment, and directly can configure recognition result straight at this Broadcast in equipment itself, realize automatically configuring for parameter.The plug-flow method can be applied to various live without MIM message input module Equipment, i.e., need not manually carry out plug-flow parameter configuration, can be accurate with high plug-flow by the operating procedure of simple and fast Rate carries out the plug-flow of live data, reduces the technical threshold that manavelins are applied to network direct broadcasting, improves manavelins Utilization rate.The application additionally provides a kind of plug-flow system of live data simultaneously, has above-mentioned beneficial effect, no longer superfluous herein State.

Brief description of the drawings

, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.

A kind of flow chart of the plug-flow method for live data that Fig. 1 is provided by the embodiment of the present application;

The flow chart of the plug-flow method for another live data that Fig. 2 is provided by the embodiment of the present application;

The flow chart of the plug-flow method for another live data that Fig. 3 is provided by the embodiment of the present application;

The flow chart of the plug-flow method for another live data that Fig. 4 is provided by the embodiment of the present application;

A kind of structured flowchart of the plug-flow system for live data that Fig. 5 is provided by the embodiment of the present application;

The structured flowchart of the plug-flow system for another live data that Fig. 6 is provided by the embodiment of the present application;

The structured flowchart of the plug-flow system for another live data that Fig. 7 is provided by the embodiment of the present application.

Embodiment

The core of the application is to provide a kind of plug-flow method and system of live data, and it can be applied to input without information The various live equipment of module, i.e., need not carry out manually plug-flow parameter configuration, can by the operating procedure of simple and fast, with High plug-flow accuracy rate carries out the plug-flow of live data, reduces the technical threshold that manavelins are applied to network direct broadcasting, carries The high utilization rate of manavelins.

To make the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art The all other embodiment obtained under the premise of creative work is not made, belong to the scope of the application protection.

Below in conjunction with Fig. 1, a kind of flow chart of the plug-flow method for live data that Fig. 1 is provided by the embodiment of the present application.

It specifically includes following steps:

S101:Instructor in broadcasting's equipment generates corresponding RTMP plug-flows network configuration parameters according to network environment, and by RTMP plug-flows Network configuration parameters utilize planar bar code technology generation plug-flow Quick Response Code;

This step is intended to the RTMP plug-flow network configuration parameters using the generation of instructor in broadcasting's equipment, and utilizes Quick Response Code generation technique Generation includes the RTMP plug-flows network configuration parameters inherent plug-flow Quick Response Code.

Wherein, the RTMP plug-flows network configuration parameters of generation are under practical context according to targetedly generating, because Uncertainty for instructor in broadcasting's equipment, it is necessary to using instructor in broadcasting's equipment enter the live equipment of performing network living broadcast and instructor in broadcasting's equipment away from From also not knowing, and when distance is limited, the LAN of coverage cell domain scope can be used to carry out live data Transmission, then the RTMP plug-flows network configuration parameters are exactly that can make live equipment and the instructor in broadcasting under LAN environment at this moment Equipment realizes the series of parameters of connection;It is apart from each other in live equipment and instructor in broadcasting's equipment, it is unsatisfactory for the coverage of LAN When, the internet that is widely present can only be utilized, the setting of modern the Internet is determined no matter where four-way can passed through Eight routers reached, interchanger, which are realized, to be accessed and connects, i.e., the RTMP plug-flow network configuration parameters now generated are exactly to make not In the case of meeting the live condition of LAN, the series of parameters of internet Connecting quantity is included using the characteristic of internet.

Of course, it is also possible to other special network environments be present, can be according to reality because not possessing universal applicability Situation combination various factors are analyzed and selected, a kind of most suitable mode of selection, and above mentioned two Kind common network environment respectively has strong point, can also use the Connecting quantity of internet under LAN environment, but before Person is due to instructor in broadcasting's equipment with live equipment at a distance of close, it is possible to achieve the high-speed transfer of live data, and compare the side of internet Formula can cut down delay to extremely low.

Wherein, RTMP is based on TCP (Transmission Control Protocol, transmission control protocol), is an association Discuss race, including a variety of mutation such as RTMP basic agreements and RTMPT/RTMPS/RTMPE.RTMP is that one kind is designed to carry out in real time Data communication procotol, be mainly used to Flash/AIR platforms and support RTMP agreements Streaming Media/interactive server it Between carry out audio frequency and video and data communication.The software of the common support agreement includes Adobe Media Server/Ultrant Media Server/red5 etc..

The RTMP plug-flow network configuration parameters are to include to realize that live equipment is connected with instructor in broadcasting's equipment and carries out stabilization The set of whole parameters of live data is transmitted, can be included:The plug-flow network address that is connected with instructor in broadcasting's equipment, network connection end Slogan, data conversion format requirement etc., herein and are not specifically limited, and should regard instructor in broadcasting's equipment type under practical application scene Number, live unit type, operating system call etc. carry out comprehensive selection and setting.

Quick Response Code is also known as QR Code, QR full name Quick Response, is one super popular on mobile device in recent years A kind of coded system, it can deposit more information than conventional barcode, can also represent more data types.It is to use certain The chequered with black and white graphic recording data symbol information that specific geometric figure is distributed in the two-dimensional direction according to certain rules; On coding dexterously using form " 0 " of computer-internal logical foundations, " 1 " bit stream concept, using several with Binary system corresponding geometrical body represents word numerical information, is known automatically by image input device or photoelectric scanning device Read to realize that information automatically processes:Every kind of code system has its specific character set;Each character occupies certain width;With certain Verifying function etc..Also there is the information automatic identification function and the processing rotationally-varying point of figure to not going together simultaneously.

This step is exactly to utilize a lot of RTMP plug-flows network configuration parameters can be included in into a slight Quick Response Code Mode in picture, so that conveniently extraction obtains the RTMP plug-flows to live equipment from the Quick Response Code in subsequent step Network configuration parameters.

S102:Live equipment obtains plug-flow Quick Response Code and plug-flow Quick Response Code is identified, and obtains RTMP plug-flow networks and matches somebody with somebody Put parameter;

On the basis of S101, this step is intended to the plug-flow Quick Response Code for making live equipment get generation and therefrom identified To the RTMP plug-flow network configuration parameters included in the plug-flow Quick Response Code.

It is well known that Quick Response Code generation technique a certain amount of information is generated the information is included it is specific Quick Response Code, and the only Quick Response Code generation technique is necessarily not all right, it is necessary to matched identification extractive technique be present, can The interior information being contained in the specific Quick Response Code is extracted, could realize and borrow the shape that two-dimension code image is easy to circulation Formula, the purpose that numerous and diverse information is circulated.And the today propagated its belief on a large scale in intelligent mobile terminal, no matter in which kind of operating system Quick Response Code identification software all can be voluntarily installed, easily realize the information for parsing and including from Quick Response Code.It is therefore not right herein How specifically to identify that obtaining the RTMP plug-flow network configuration parameters is defined from plug-flow Quick Response Code, because identical function is soft Part or program quantity are extremely more, but the principle of work and power is identical or extremely similar, can be according to the live unit type under actual conditions, behaviour Make system species, personal like etc. synthesis to be selected.

And under the two kinds of great representational network environments referred in view of S101, how live equipment, which gets, is led It is also varied to broadcast the mode of the plug-flow Quick Response Code of equipment generation, can be by intelligent mobile terminal under LAN environment Camera shoots to obtain the plug-flow Quick Response Code at instructor in broadcasting's equipment, recycles built-in identification analysis software to parse what is included RTMP plug-flow network configuration parameters;MSN as similar QQ, wechat etc. can also be utilized, should by internet Plug-flow Quick Response Code is indirectly transferred to each instructor in broadcasting's equipment etc. mode, also and is not specifically limited herein, and it is specific should to regard actual conditions Analyze to make a choice.

And the quantity of live equipment that instructor in broadcasting's equipment can connect can be multiple simultaneously, the number specifically connected receives respectively The limitation of kind network communication protocol, but scheme provided herein can accomplish to connect 12 live equipment simultaneously, The connection of 12 tunnel live datas can be realized simultaneously i.e. after the parameter configuration of subsequent step.And during 12 live equipment of connection simultaneously It is not only to generate one group of RTMP plug-flow network configuration parameters, it is corresponding to need 12 road RTMP plug-flow network configuration parameters be present, It is corresponded, and is not each mutually involved and is influenceed.

S103:Live device configuration RTMP plug-flow network configuration parameters, the live data of live equipment is uploaded to The plug-flow network address that RTMP plug-flow network configuration parameters include.

On the basis of S102, this step is intended to identify that obtained RTMP plug-flows network configuration parameters configuration is live at this In equipment, the live data of live equipment is uploaded to the plug-flow network address that RTMP plug-flow network configuration parameters include.When So, the configuration mode that this step is provided is different from the manual configuration mode of prior art, is that identification automatically is obtained into RTMP Plug-flow network configuration parameters according to comprising various parameters, it is whole by the parameter configuration needed for live equipment in corresponding position Do not need user to be manually entered, if certainly tangible need to carry out manual modification or special operational, hand can also be carried out The operations such as dynamic modification.

And specifically how to realize that the mode of configuration has a lot, for example, because being included in RTMP plug-flow network configuration parameters Various parameters have each apparent identification feature, the judgement of each parameter can be carried out by each identification feature, and specifically It will determine that result is configured in the relevant position of live setting, realize automatic configuration process;The plug-flow Quick Response Code can also generated When each parameter that just RTMP plug-flow network configuration parameters are included carry out uniform type label, i.e., a kind of parameter assigns identification of the same race Numbering, live equipment need to only carry out species judgement and then be configured according to the identiflication number, not do and specifically match somebody with somebody herein The restriction of mode is put, difficulty should be implemented in combination with depending on actual conditions and comfort level synthesis is accounted for and selected.

Further, in order to ensure that live data meets the live requirement of progress that instructor in broadcasting's equipment can be stablized, Ke Yi Live equipment increases synthesis server with instructor in broadcasting's equipment room, and the synthesis server can be carried out such as:Audio frequency and video synthesis, split, Form conversion, code check adjustment, the live data for generating each definition and the operation such as later stage special efficacy addition is carried out, if except this it Other requirements also be present targetedly can customize or select synthesis server of special type etc. outside, not do herein specific Limit.

In view of in order to give full play to the interest of live viewing spectators and watch tendency, being more than in the way of live data or During equal to two-way, it can be changed planes according to default cycle wheel and make the rotation for live data of not gone the same way, to eliminate spectators to same One property live data is sick of, and then ensures viewing rate and online number.

Based on above-mentioned technical proposal, the plug-flow method for a kind of live data that the embodiment of the present application provides, first with leading Broadcast equipment and corresponding RTMP plug-flows network configuration parameters are generated according to network environment, and planar bar code technology of arranging in pairs or groups is by the RTMP plug-flows It is contained in network configuration parameters in plug-flow Quick Response Code, operation directly can be identified to the plug-flow Quick Response Code in live equipment, and Automatically configuring for parameter can be realized directly by recognition result configuration in the live equipment itself.The plug-flow method can be applied In the various live equipment without MIM message input module, i.e., need not carry out manually plug-flow parameter configuration, can be by simple fast Prompt operating procedure, the plug-flow of live data is carried out with high plug-flow accuracy rate, it is straight applied to network to reduce manavelins The technical threshold broadcast, improve the utilization rate of manavelins.

Below in conjunction with Fig. 2, the flow of the plug-flow method for another live data that Fig. 2 is provided by the embodiment of the present application Figure.

The present embodiment is matched somebody with somebody for how to obtain corresponding plug-flow according to real network environment in S101 in a upper embodiment Put parameter and how to obtain the specific restriction that corresponding plug-flow Quick Response Code is made, other steps and a upper embodiment are big Body phase is same, and same section can be found in an embodiment relevant portion, will not be repeated here.

It specifically includes following steps:

S201:Judge whether each ultimate range of the live equipment away from instructor in broadcasting's equipment exceedes threshold value;

This step is intended to using the ultimate range between live equipment and each instructor in broadcasting's equipment apart compared with threshold value.Assuming that In one office block, wherein one layer of a PC serves as instructor in broadcasting's equipment now, and it is other at the same more intelligent machines serve as Live equipment now, because each one is different at a distance of instructor in broadcasting's equipment distance, therefore ultimate range is used as basis for estimation.And it is somebody's turn to do Ultimate range can be that the administrative staff for controlling instructor in broadcasting's equipment according to the live personnel for controlling each live equipment confirm To various Map-control can also being utilized to be calculated, herein and be not specifically limited, it is specific concrete condition should to be regarded Selection.

S202:Chosen from default internet plug-flow network address storehouse and obtain internet plug-flow address;

Judged result of this step foundation in S201 exceedes threshold value for the ultimate range, i.e., not in the coverage of LAN It is interior, also it can not be just attached by the channel of LAN with instructor in broadcasting's equipment, it is intended to from default internet plug-flow network Chosen in the storehouse of location and obtain internet plug-flow address.The default internet plug-flow network address storehouse can be instructor in broadcasting's program itself institute There is provided, can also derive from what the program itself acquired according to certain condition.Further, the internet got pushes away The quantity for flowing address should be at least above the quantity of live equipment, and unnecessary internet plug-flow address can stamp substitute mark, with When plug-flow address in internet occurs abnormal before some, it is replaced automatically.

S203:Internet plug-flow address and corresponding internet connection end slogan are performed into packaging operation, obtain internet Plug-flow configuration parameter;

This step is established on the basis of S202, and corresponding internet is also needed to the connection of instructor in broadcasting's equipment because to realize Connection end slogan, what the port numbers were typically given tacit consent to using RTMP agreements, it can also be modified according to special requirement.Into After work(obtains the internet plug-flow address and corresponding internet connection end slogan, packaging operation is performed to obtain internet plug-flow Configuration parameter.

S204:Chosen from default LAN plug-flow network address storehouse and obtain LAN plug-flow address;

S205:LAN plug-flow address and corresponding LAN connection end slogan are performed into packaging operation, obtain LAN Plug-flow configuration parameter;

S204 establish S201 judged result for the ultimate range not less than threshold value, the i.e. coverage in LAN It is interior, it can be attached by the channel of LAN with instructor in broadcasting's equipment, it is intended to from default LAN plug-flow network address storehouse Middle selection obtains LAN plug-flow address.S204 other contents and S205 content are substantially similar with S202 and S203, simply Changed from internet channels for LAN channel, only need to select corresponding LAN plug-flow address and LAN connection end slogan , here is omitted.

S206:By internet plug-flow configuration parameter using planar bar code technology generation internet plug-flow Quick Response Code or by LAN Plug-flow configuration parameter utilizes planar bar code technology generation LAN plug-flow Quick Response Code.

This step is intended to borrow the internet plug-flow configuration parameter of S203 or S205 generations or LAN plug-flow configuration parameter Assisted two-dimensional code generation technique generates corresponding internet plug-flow Quick Response Code or LAN plug-flow Quick Response Code.

Below in conjunction with Fig. 3, the flow of the plug-flow method for another live data that Fig. 3 is provided by the embodiment of the present application Figure.

The present embodiment is to be directed in a upper embodiment how to be pushed away accordingly from plug-flow Quick Response Code in S102 and S103 Flow network configuration parameter and how to be configured and success plug-flow live data made one is specific limits, other steps It is substantially the same with a upper embodiment, same section can be found in an embodiment relevant portion, will not be repeated here.

It specifically includes following steps:

S301:Shoot to obtain the pictorial information of plug-flow Quick Response Code using the camera of live equipment;Wherein, live equipment bag Include camera and can normally be connected to LAN or internet;

S302:Information extraction is carried out to pictorial information using the Quick Response Code recognizer for being built in live equipment, obtained RTMP plug-flow network configuration parameters;

This step is intended to believe the two-dimension code image that shooting obtains using the Quick Response Code recognizer for being built in live equipment Breath carries out including information extraction operations, to obtain the RTMP plug-flow network configuration parameters being included in plug-flow Quick Response Code.

S303:RTMP plug-flows network configuration parameters are performed into fractured operation, obtain plug-flow network address and corresponding port Number;

According to the description of embodiment two, when RTMP plug-flows network configuration parameters are by plug-flow network address and respective end slogan During composition, this step is intended to utilize fractured operation, retrieves plug-flow network address and corresponding port numbers.

S304:Plug-flow network address and port numbers configuration are being uploaded into address input and the input of connection end slogan respectively Place;

On the basis of S303, this step respectively by plug-flow network address and port numbers configuration upload address input and Connection end slogan input.Specific how to configure plug-flow network address and port numbers is uploading address input and connection The mode of port numbers input, the relevant portion in S103 is may refer to, will not be repeated here.

S305:The plug-flow network address and port numbers plug-flow live data that live equipment utilization configuration is completed;

S306:Post-processing is carried out to live data, so that live data meets live requirement.

This step is intended to after being carried out using the synthesis server between live equipment and instructor in broadcasting's equipment to live data Phase is handled, so that live equipment meets various special requirement.

Below in conjunction with Fig. 4, the flow of the plug-flow method for another live data that Fig. 3 is provided by the embodiment of the present application Figure.

The present embodiment combination practical application scene, and according to the actual conditions under a certain scene, it is more actual with one Example is illustrated to the application.Wherein, instructor in broadcasting's equipment in the present embodiment is an instructor in broadcasting PC, and live equipment is then 6 Intelligent mobile terminal, including:One IOS mobile phone, two Android phones, a moving camera, a professional camera An and intelligent watch.6 intelligent mobile terminals are provided with camera, and built-in Quick Response Code recognizer simultaneously normally connects To network, and with instructor in broadcasting PC at a distance of no more than 70 meters.

It specifically includes following steps:

S401:Instructor in broadcasting PC chooses and 6 intelligence in order under current local area network environment from LAN plug-flow address base 6 groups of corresponding LAN plug-flow configuration parameters of mobile terminal quantity;

S402:6 groups of LAN plug-flow configuration parameters are accordingly generated into 6 corresponding LANs using Quick Response Code generation technique Plug-flow Quick Response Code;

S403:6 LAN plug-flow Quick Response Codes are presented on to instructor in broadcasting PC display interface top layer by generation order;

S404:6 intelligent mobile terminals utilize built-in Quick Response Code recognizer to sweep respectively and take a LAN plug-flow two Tie up code;

S405:6 intelligent mobile terminals are by respectively since LAN plug-flow Quick Response Code sweeps the LAN plug-flow address obtained Configured with LAN connection end slogan in corresponding position;

S406:6 intelligent mobile terminals are by each configuring the LAN plug-flow address and LAN connectivity port of completion Number live data is uploaded to instructor in broadcasting PC;

S407:6 tunnel live datas were to carry out rotation in the cycle with 15 minutes.

Based on above-mentioned technical proposal, the plug-flow method for a kind of live data that the embodiment of the present application provides, first with leading Broadcast equipment and corresponding RTMP plug-flows network configuration parameters are generated according to network environment, and planar bar code technology of arranging in pairs or groups is by the RTMP plug-flows It is contained in network configuration parameters in plug-flow Quick Response Code, operation directly can be identified to the plug-flow Quick Response Code in live equipment, and Automatically configuring for parameter can be realized directly by recognition result configuration in the live equipment itself.The plug-flow method can be applied In the various live equipment without MIM message input module, i.e., need not carry out manually plug-flow parameter configuration, can be by simple fast Prompt operating procedure, the plug-flow of live data is carried out with high plug-flow accuracy rate, it is straight applied to network to reduce manavelins The technical threshold broadcast, improve the utilization rate of manavelins.

Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize more the application The basic skills principle combination actual conditions of offer may have many examples, in the case where not paying enough creative works, Should be in the protection domain of the application.

Fig. 5 to Fig. 7 is referred to below, a kind of plug-flow system for live data that Fig. 5 is provided by the embodiment of the present application Structured flowchart;The structured flowchart of the plug-flow system for another live data that Fig. 6 is provided by the embodiment of the present application;Fig. 7 is this The structured flowchart of the plug-flow system for another live data that application embodiment is provided.

The plug-flow system can include:

Instructor in broadcasting's equipment 100, corresponding RTMP plug-flows network configuration parameters are generated according to network environment for instructor in broadcasting's equipment, and RTMP plug-flows network configuration parameters are utilized into planar bar code technology generation plug-flow Quick Response Code;

Live equipment 200, for obtaining plug-flow Quick Response Code and plug-flow Quick Response Code being identified, obtain RTMP plug-flow networks Configuration parameter;RTMP plug-flows network configuration parameters are configured at itself, live data is uploaded to RTMP plug-flow network configurations The plug-flow network address that parameter includes.

Wherein, instructor in broadcasting's equipment 100 is specifically used for judging whether each ultimate range of the live equipment away from instructor in broadcasting's equipment exceedes threshold Value;Internet plug-flow address is obtained if so, then being chosen from default internet plug-flow network address storehouse, and by internet plug-flow Address and corresponding internet connection end slogan perform packaging operation, obtain internet plug-flow configuration parameter;If it is not, then from default LAN plug-flow network address storehouse in choose and obtain LAN plug-flow address, and by LAN plug-flow address and corresponding local Net connection end slogan and perform packaging operation, obtain LAN plug-flow configuration parameter.

Wherein, live equipment 200 is specifically used for RTMP plug-flows network configuration parameters performing fractured operation, obtains plug-flow net Network address and corresponding port numbers;Plug-flow network address and port numbers configuration are being uploaded into address input and connectivity port respectively Number input;The plug-flow network address and port numbers plug-flow live data completed using configuration.

Further, the plug-flow system also includes:

Synthesis server, for carrying out post-processing to live data, so that live data meets live requirement;

Cycle rotation timer, for when exist at least two live equipment when, it is straight at least two-way according to preset rules Multicast data performs alternate operation.

Wherein, instructor in broadcasting's equipment 100 can be mounted with a station terminal of cloud instructor in broadcasting's Mshow programs, cloud instructor in broadcasting's Mshow journeys Sequence is a set of software systems that can be acquired, synthesize for multipath video source, switching, issuing integration, can be set each Kind picture and text scene, its video source are not limited to traditional video camera, network flow, the video flowing that can gather network main broadcaster and connected Wheat and more people Lian Mai etc. operate.

It can be that one kind can do various special efficacys, encoding and decoding processing, push-and-pull RTMP streams to different video source that synthesis server, which is, Etc. the server of function.

Wherein, when realizing the connection with instructor in broadcasting's equipment using LAN, have comprising the live data including audio frequency and video The advantages that transmission is fast, delay is low, packet loss is few, quality is high, more suitable for meeting is live or the scene such as indoor training.Can be The upper built-in LAN stream pushing servers of Mshow, there is provided the Quick Response Code of multichannel LAN RTMP plug-flows address and address generation, it is live Equipment scans Quick Response Code, the local that Mshow programs are provided with being mounted with that instructor in broadcasting's equipment of Mshow programs is in consolidated network RTMP plug-flows address configuration is netted in live equipment, opens the camera of live equipment, the live data that the camera is shot On the embedded LAN server of incoming Mshow programs, it is mounted with that the PC of Mshow programs is then gone directly from LAN server pull-up Broadcast equipment and shift the live data of the server onto, and be shown on the display interface of the PC, while by up in local coder Mshow synthesis servers are passed to, after doing various special effect processings, by live data plug-flow to live platform.Real using internet During existing above-mentioned function, corresponding change need to be only done, will not be repeated here.

Multiple live equipment 200 are by being mounted with that the Quick Response Code that instructor in broadcasting's equipment of Mshow programs is provided can be quick It is connected into Mshow, and by live data plug-flow to Mshow, is eventually displayed in Mshow clients, operation instructor in broadcasting equipment 100 is led The personnel of broadcasting can be according to the idiographic flow of live arrangement, by way of mouse drag or shortcut, in the different periods Switch different live datas to live window, and start broadcasting to live platform, spectators can be allowed to see more rich, more diversified Live content.

Each embodiment is described by the way of progressive in specification, and what each embodiment stressed is and other realities Apply the difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration .

Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think to exceed scope of the present application.

Specific case used herein is set forth to the principle and embodiment of the application, and above example is said It is bright to be only intended to help and understand the present processes and its core concept.It should be pointed out that the ordinary skill for the art For personnel, on the premise of the application principle is not departed from, some improvement and modification, these improvement can also be carried out to the application Also fallen into modification in the application scope of the claims.

It should also be noted that, in this manual, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including key element, method, article or equipment being also present.

Claims (10)

1. a kind of plug-flow method of live data, it is characterised in that including:
Instructor in broadcasting's equipment generates corresponding RTMP plug-flows network configuration parameters according to network environment, and the RTMP plug-flows network is matched somebody with somebody Parameter is put using planar bar code technology generation plug-flow Quick Response Code;
Live equipment obtains the plug-flow Quick Response Code and the plug-flow Quick Response Code is identified, and obtains the RTMP plug-flows network Configuration parameter;
RTMP plug-flow network configuration parameters, the live data of the live equipment is uploaded to described in the live device configuration The plug-flow network address that the RTMP plug-flows network configuration parameters include.
2. plug-flow method according to claim 1, it is characterised in that instructor in broadcasting's equipment generates corresponding according to network environment RTMP plug-flow network configuration parameters, including:
Judge whether each ultimate range of the live equipment away from instructor in broadcasting's equipment exceedes threshold value;
Internet plug-flow address is obtained if so, then being chosen from default internet plug-flow network address storehouse, and by the interconnection Net plug-flow address and corresponding internet connection end slogan perform packaging operation, obtain internet plug-flow configuration parameter;
LAN plug-flow address is obtained if it is not, then being chosen from default LAN plug-flow network address storehouse, and by the local Net plug-flow address and corresponding LAN connection end slogan perform packaging operation, obtain LAN plug-flow configuration parameter.
3. plug-flow method according to claim 2, it is characterised in that live equipment obtains the plug-flow Quick Response Code and to institute State plug-flow Quick Response Code to be identified, obtain the RTMP plug-flows network configuration parameters, including:
Shoot to obtain the pictorial information of the plug-flow Quick Response Code using the camera of the live equipment;Wherein, it is described live to set It is standby to include camera and normally be connected to LAN or internet;
Information extraction is carried out to the pictorial information using the Quick Response Code recognizer for being built in the live equipment, obtained described RTMP plug-flow network configuration parameters.
4. the plug-flow method according to any one of claims 1 to 3, it is characterised in that described in the live device configuration RTMP plug-flow network configuration parameters, the live data of the live equipment is uploaded to the RTMP plug-flows network configuration parameters Comprising plug-flow network address, including:
The RTMP plug-flows network configuration parameters are performed into fractured operation, obtain plug-flow network address and corresponding port numbers;
The plug-flow network address and port numbers configuration are being uploaded into address input and connection end slogan input respectively;
Live data described in the plug-flow network address of the live equipment utilization configuration completion and the port numbers plug-flow.
5. plug-flow method according to claim 4, it is characterised in that also include:
When at least two live equipment be present, rotation behaviour is performed to live data described at least two-way according to preset rules Make.
6. plug-flow method according to claim 5, it is characterised in that also include:
Post-processing is carried out to the live data, so that the live data meets live requirement.
7. the plug-flow system of a kind of live data, it is characterised in that the plug-flow system includes:
Instructor in broadcasting's equipment, corresponding RTMP plug-flows network configuration parameters are generated according to network environment for instructor in broadcasting's equipment, and by described in RTMP plug-flows network configuration parameters utilize planar bar code technology generation plug-flow Quick Response Code;
Live equipment, for obtaining the plug-flow Quick Response Code and the plug-flow Quick Response Code being identified, obtain the RTMP and push away Flow network configuration parameter;The RTMP plug-flows network configuration parameters are configured at itself, live data are uploaded to described The plug-flow network address that RTMP plug-flow network configuration parameters include.
8. plug-flow system according to claim 7, it is characterised in that instructor in broadcasting's equipment is each described straight specifically for judging Broadcast whether ultimate range of the equipment away from instructor in broadcasting's equipment exceedes threshold value;If so, then from default internet plug-flow network address Chosen in storehouse and obtain internet plug-flow address, and the internet plug-flow address and corresponding internet connection end slogan are performed Packaging operation, obtain internet plug-flow configuration parameter;Obtained if it is not, then being chosen from default LAN plug-flow network address storehouse LAN plug-flow address, and the LAN plug-flow address and corresponding LAN connection end slogan are performed into packaging operation, obtain To LAN plug-flow configuration parameter.
9. the plug-flow system according to claim 7 or 8, it is characterised in that the live equipment is specifically used for by described in RTMP plug-flows network configuration parameters perform fractured operation, obtain plug-flow network address and corresponding port numbers;Pushed away respectively by described Flow network address and port numbers configuration are uploading address input and connection end slogan input;The institute completed using configuration State live data described in plug-flow network address and the port numbers plug-flow.
10. plug-flow system according to claim 9, it is characterised in that also include:
Synthesis server, for carrying out post-processing to the live data, so that the live data meets live requirement.
CN201710791635.1A 2017-09-05 2017-09-05 A kind of plug-flow method and system of live data CN107396206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710791635.1A CN107396206A (en) 2017-09-05 2017-09-05 A kind of plug-flow method and system of live data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710791635.1A CN107396206A (en) 2017-09-05 2017-09-05 A kind of plug-flow method and system of live data

Publications (1)

Publication Number Publication Date
CN107396206A true CN107396206A (en) 2017-11-24

Family

ID=60351208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710791635.1A CN107396206A (en) 2017-09-05 2017-09-05 A kind of plug-flow method and system of live data

Country Status (1)

Country Link
CN (1) CN107396206A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235043A (en) * 2017-11-30 2018-06-29 深圳市赛鸽天堂文化传媒有限公司 Net cast auction system and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130074116A1 (en) * 2006-11-03 2013-03-21 At&T Intellectual Property I, L.P. System and Method of Message Notification and Access via a Video Distribution Network
US20140310420A1 (en) * 2013-04-16 2014-10-16 Chi-Ming Kuo System and method of identifying networked device for establishing a p2p connection
CN106303329A (en) * 2016-08-11 2017-01-04 广州爱九游信息技术有限公司 Record screen live broadcasting method and device, mobile device and live broadcast system
CN106789592A (en) * 2017-01-11 2017-05-31 北京荣播天下文化传媒有限公司 A kind of live and wechat grafting transmission method and system
CN107027045A (en) * 2017-04-11 2017-08-08 广州华多网络科技有限公司 Pushing video streaming control method, device and video flowing instructor in broadcasting end

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130074116A1 (en) * 2006-11-03 2013-03-21 At&T Intellectual Property I, L.P. System and Method of Message Notification and Access via a Video Distribution Network
US20140310420A1 (en) * 2013-04-16 2014-10-16 Chi-Ming Kuo System and method of identifying networked device for establishing a p2p connection
CN106303329A (en) * 2016-08-11 2017-01-04 广州爱九游信息技术有限公司 Record screen live broadcasting method and device, mobile device and live broadcast system
CN106789592A (en) * 2017-01-11 2017-05-31 北京荣播天下文化传媒有限公司 A kind of live and wechat grafting transmission method and system
CN107027045A (en) * 2017-04-11 2017-08-08 广州华多网络科技有限公司 Pushing video streaming control method, device and video flowing instructor in broadcasting end

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235043A (en) * 2017-11-30 2018-06-29 深圳市赛鸽天堂文化传媒有限公司 Net cast auction system and system

Similar Documents

Publication Publication Date Title
CN104270597B (en) Video conference is established during call
CN104754396B (en) The display methods and device of barrage data
JP2009528792A (en) Media stream generation and selection
CN101999136B (en) Transmission in progress and synchronous method and system are carried out to the discrete content in rich media service
CN104067593B (en) packet streaming service capability exchange for enhanced peripheral device support
CN103596065B (en) Device orient capabilities exchange signaling and the server adaptation of content of multimedia
CN105103571B (en) For generating and interactively rendering the method and system of object-based audio
CN104363519A (en) Online-live-broadcast-based information display method, device and system
CN104427296B (en) The transmission method and device of Media Stream in video conference
EP1876855A3 (en) Method for relocating SRNS in a mobile communication system
CN102883135B (en) Screen sharing and control method
CN103607571B (en) Android phone is used to realize remote video monitoring and cloud platform control method
JP2009160369A (en) System for and method of downloading real time interaction data through mobile/broadcast concentration type network
CN102185878A (en) Method and system for obtaining television program information
CN104780338A (en) Method and electronic equipment for loading expression effect animation in instant video
KR20160021146A (en) Virtual video call method and terminal
CN104093050B (en) The controlled decision-making technique and device of controlled terminal based on multiple intelligent remote controllers
CN102800065B (en) Based on the augmented reality Apparatus and method for of Quick Response Code recognition and tracking
CN106303543B (en) Encoding video pictures and decoded method, encoding device and decoding device
WO2010145609A1 (en) Method and apparatus for transmitting uplink control signaling
TW201010430A (en) Edge device that enables efficient delivery of video to handheld device
CN102436621A (en) Systems and methods for displaying housing estate landscape data and generating housing estate landscape display data
CN1278286C (en) Traffic signal remote control system
CN103369363A (en) Method, system and device for controlling application program
CN101785255B (en) For the data flow con-trol of the network equipment

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