CN109729369A - A kind of live streaming exchange method, system, device and computer readable storage medium - Google Patents
A kind of live streaming exchange method, system, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109729369A CN109729369A CN201811400954.6A CN201811400954A CN109729369A CN 109729369 A CN109729369 A CN 109729369A CN 201811400954 A CN201811400954 A CN 201811400954A CN 109729369 A CN109729369 A CN 109729369A
- Authority
- CN
- China
- Prior art keywords
- limitation
- video stream
- permission
- live video
- script
- 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.)
- Pending
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a kind of live streaming exchange method, system, device and computer readable storage mediums, are related to the communications field.Wherein, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation instruction obtains limitation live video stream, and be sent to receiving end after the limitation live video stream is encoded to the video content setting viewing permission that the direct broadcasting room is played;Receiving end can receive the limitation live video stream, determine that the receiving end determines the broadcast mode of the limitation live video stream in receiving end to the viewing permission of limitation live video stream, and according to viewing permission.In the embodiment of the present invention, in the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, the broadcast mode of limitation video flowing is determined in the receiving end, so that in the same direct broadcasting room, transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may realize and the different content of different receiving ends is broadcast live.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of live streaming exchange method, system, device and computer-readable deposit
Storage media.
Background technique
Currently, live streaming is preferably developed, in live streaming, transmitting terminal can share live content to live streaming cloud, connect
Receiving end can get live content in viewing cloud, realize the interaction of transmitting terminal and receiving end.
In the prior art, in a direct broadcasting room, the interaction content of transmitting terminal and receiving end is usually consistent, as long as that is,
In the same direct broadcasting room, by the same transmitting terminal plug-flow, as the live content that receiving end is seen with interaction is;If transmitting terminal
Some contents of publication only want to groups of people and see, transmitting terminal needs to reset other direct broadcasting rooms with permission, in weight
The contents of the section is broadcast live in newly-installed direct broadcasting room.
But in the above-mentioned live streaming exchange method of the prior art, transmitting terminal needs to open up multiple direct broadcasting rooms, operates very numerous
It is trivial, and opening up for multiple direct broadcasting rooms will also result in more occupancy to live streaming platform resource.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of live streaming exchange method, system, device and the computer readable storage medium to solve the above problems.
According to the first aspect of the invention, a kind of live streaming exchange method is provided, is applied to include transmitting terminal and receiving end
System, which comprises
The transmitting terminal obtains permission limitation instruction when being broadcast live by direct broadcasting room;
The transmitting terminal is limited in response to the permission and is instructed, the video content setting viewing played to the direct broadcasting room
Permission obtains limitation live video stream;
After the transmitting terminal is encoded the limitation live video stream, it is sent to receiving end;
The receiving end receives the limitation live video stream that transmitting terminal is sent;
The receiving end is decoded the limitation live video stream;
The receiving end determines the sight to the limitation live video stream according to the limitation live video stream obtained after decoding
See permission;
The receiving end determines the broadcast mode of the limitation live video stream according to the viewing permission.
According to the second aspect of the invention, another live streaming exchange method is provided, transmitting terminal, the method packet are applied to
It includes:
When being broadcast live by direct broadcasting room, permission limitation instruction is obtained;
It limits and instructs in response to the permission, to the video content setting viewing permission that the direct broadcasting room is played, obtain
Limit live video stream;
After the limitation live video stream is encoded, it is sent to receiving end.
According to the third aspect of the invention we, another live streaming exchange method is provided, receiving end, the method packet are applied to
It includes:
Receive the limitation live video stream that transmitting terminal is sent;
The limitation live video stream is decoded;
According to the limitation live video stream obtained after decoding, the viewing permission to the limitation live video stream is determined;
The broadcast mode of the limitation live video stream is determined according to the viewing permission.
According to the fourth aspect of the invention, a kind of live streaming interactive system is provided, the system comprises: transmitting terminal and reception
End;
Wherein, the transmitting terminal, for when being broadcast live by direct broadcasting room, obtaining permission limitation instruction;
The transmitting terminal, instructs for limiting in response to the permission, and the video content played to the direct broadcasting room is set
Viewing permission is set, limitation live video stream is obtained;
The transmitting terminal is sent to receiving end after being encoded the limitation live video stream;
The receiving end, for receiving the limitation live video stream of transmitting terminal transmission;
The receiving end, for being decoded to the limitation live video stream;
The receiving end, for determining to the limitation live video according to the limitation live video stream obtained after decoding
The viewing permission of stream;
The receiving end, for determining the broadcast mode of the limitation live video stream according to the viewing permission.
According to the fifth aspect of the invention, another live streaming interactive device is provided, transmitting terminal, described device packet are applied to
It includes:
Permission limits instruction acquisition module, for when being broadcast live by direct broadcasting room, obtaining permission limitation instruction;
Limitation live video stream obtains module, instructs for limiting in response to the permission, is played to the direct broadcasting room
Video content setting viewing permission, obtain limitation live video stream;
Sending module is sent to receiving end after being encoded the limitation live video stream.
According to the sixth aspect of the invention, another live streaming interactive device is provided, receiving end, described device packet are applied to
It includes:
Live video stream receiving module is limited, for receiving the limitation live video stream of transmitting terminal transmission;
Decoder module, for being decoded to the limitation live video stream;
Permission determining module is watched, it is straight to the limitation for determining according to the limitation live video stream obtained after decoding
Broadcast the viewing permission of video flowing;
Broadcast mode determining module, for determining the broadcasting side of the limitation live video stream according to the viewing permission
Formula.
According to the seventh aspect of the invention, a kind of computer readable storage medium, the computer-readable storage are provided
Computer program is stored on medium, and as above any live streaming interaction side is realized when the computer program is executed by processor
Method.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention is when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation instruction, in response to
Permission limitation instruction, transmitting terminal can obtain limitation live streaming to the video content setting viewing permission that the direct broadcasting room is played
Video flowing, and receiving end is sent to after the limitation live video stream is encoded;Receiving end can receive limitation live streaming view
Frequency flows, and after decoding the limitation live video stream, the receiving end can be determined to the viewing permission of limitation live video stream, and root
The broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, in a direct broadcasting room
Playing process in, instruction can be limited according to permission that transmitting terminal is got, determine broadcasting for limitation video flowing in the receiving end
Mode is put, so that transmitting terminal, which only needs to limit according to permission, to be instructed, so that it may be realized to difference in the same direct broadcasting room
The different content of receiving end is broadcast live, and transmitting terminal operation is very simple, and can opening up to live streaming platform to avoid multiple direct broadcasting rooms
The occupancy of resource.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart that exchange method is broadcast live provided in an embodiment of the present invention;
Fig. 2 is the step flow chart of another live streaming exchange method provided in an embodiment of the present invention;
Fig. 3 is the step flow chart of another live streaming exchange method provided in an embodiment of the present invention;
Fig. 4 is the application schematic diagram of live streaming exchange method provided in an embodiment of the present invention;
Fig. 5 is a kind of block diagram that interactive system is broadcast live provided in an embodiment of the present invention;
Fig. 6 is a kind of block diagram that interactive device is broadcast live provided in an embodiment of the present invention;
Fig. 7 is the block diagram of another live streaming interactive device provided in an embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It should be appreciated that described herein, specific examples are only used to explain the present invention, and only present invention a part is real
Example is applied, instead of all the embodiments, is not intended to limit the present invention.
The embodiment of the present invention provides a kind of live streaming exchange method, the live streaming exchange method can be applied to include transmitting terminal and
The system of receiving end, wherein when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation instruction, in response to the power
Limit limitation instruction, transmitting terminal can obtain limitation live video to the video content setting viewing permission that the direct broadcasting room is played
Stream, and receiving end is sent to after the limitation live video stream is encoded;Receiving end can receive the limitation live video stream,
After decoding the limitation live video stream, the receiving end can be determined to the viewing permission of limitation live video stream, and according to sight
See that permission determines the broadcast mode of the limitation live video stream in receiving end.In the embodiment of the present invention, in broadcasting for direct broadcasting room
During putting, instruction can be limited according to the permission that transmitting terminal is got, determine the broadcasting side of limitation video flowing in the receiving end
Formula, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may be realized to different receptions in the same direct broadcasting room
The different content at end is broadcast live, and transmitting terminal operation is very simple, and can opening up to live streaming platform resource to avoid multiple direct broadcasting rooms
Occupancy.Live streaming exchange method mentioned above is specifically described below.
Referring to Fig.1, a kind of step flow chart that exchange method is broadcast live is shown, applied to including transmitting terminal and receiving end
System.
In the embodiment of the present invention, transmitting terminal specifically be can be when being broadcast live, and the client where main broadcaster specifically can be
Computer, mobile terminal etc., the embodiment of the present invention to the particular content of transmitting terminal without limitation.
It is appreciated that corresponding with transmitting terminal to can be receiving end, receiving end can be in live streaming, see in live streaming
See live the client of content;Transmitting terminal can issue live content, and receiving end can watch transmitting terminal and must not send out live content,
Client where receiving end is specifically also possible to computer, mobile terminal etc., particular content of the embodiment of the present invention to receiving end
Without limitation.
As shown in Figure 1, this method may include:
Step 101: the transmitting terminal obtains permission limitation instruction when being broadcast live by direct broadcasting room.
In the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, if whole that transmitting terminal will be broadcast live or
Partial video content is not intended to certain receiving ends to watch, and control can be received or in receiving control by triggering by sending end subscriber
Input limitation content issues permission limitation instruction, correspondingly, the available permission limitation instruction of transmitting terminal.Permission limitation refers to
Enable the viewing permission for triggering the video content that transmitting terminal setting receiving end plays the direct broadcasting room.
For example, can be arranged in the live streaming interface of transmitting terminal direct broadcasting room receive control, receive control can be by
The forms such as button, input frame, it is exemplary, setting the control that input limits the age can be received in live streaming interface, when transmitting terminal exists
When receiving input numerical value in control, it is believed that transmitting terminal wishes that the receiving end viewing for limiting inputted numerical value or less the age will
Some or all of live streaming video content;Alternatively, setting the control that grade limits can be received in live streaming interface, work as transmitting terminal
When inputting VIP in receiving control, it is believed that transmitting terminal wishes that limitation is not that the part that will be broadcast live is watched in the receiving end of VIP
Or all videos content;Alternatively, setting the control that geographical location limits can be received in live streaming interface, when transmitting terminal is receiving
When inputting geographical location in control, it is believed that transmitting terminal wishes that limitation is not that the portion that will be broadcast live is watched in the receiving end of the position
Point or all videos content.It is appreciated that receiving control can limit according to practical application scene, the embodiment of the present invention, which is not done, to be had
Body limits.By the step, wish to limit viewing of a part of receiving end to the video content that will be broadcast live when sending end subscriber
It, can be directly by issuing permission limitation instruction in direct broadcasting room when permission, operation is very easy, and does not need to open again
If new direct broadcasting room.
Step 102: the transmitting terminal is limited in response to the permission and is instructed, the video content played to the direct broadcasting room
Setting viewing permission, obtains limitation live video stream.
In the embodiment of the present invention, transmitting terminal is limited in response to the permission and is instructed, and can include according in permission limitation instruction
Permission limit content, the video content setting viewing permission played to the direct broadcasting room obtains limitation live video stream.
For example, transmitting terminal can be by being arranged code key to the video content that will play, or in the view that will be played
The video content setting viewing permission that the modes such as addition limitation content play direct broadcasting room in frequency content, it will be understood that ability
Field technique personnel can also be according to practical application scene, and the video content played in other way to the direct broadcasting room is arranged
Permission is watched, limitation live video stream is obtained, the embodiment of the present invention is not specifically limited in this embodiment.
Step 103: after the transmitting terminal is encoded the limitation live video stream, being sent to receiving end.
In the embodiment of the present invention, transmitting terminal can be encoded limitation live video stream, and coding is information from a kind of shape
Formula or format are converted to another form of process, can be weaved into text, number or other objects with prespecified method
Number, or by information, data conversion at defined electric impulse signal;After completing coding, live video stream can will be limited
Receiving end is sent to by predetermined server, wherein the predetermined server can be content distributing network (Content
Delivery Network, CDN) server, wherein CDN server can be according to the connection of network flow and each node, load
Situation and to the integrated informations such as the distance of receiving end and response time, will limit live video stream be oriented to it is nearest from receiving end
On service node, therefore, limitation live video stream first can be sent to predetermined server by transmitting terminal, then by predetermined server
Limitation live video stream is sent to receiving end, live video stream will be limited to improve with this and is sent to the efficiency of receiving end.
Step 104: the receiving end receives the limitation live video stream that transmitting terminal is sent.
In the embodiment of the present invention, when receiving end wishes to watch live streaming, the note of platform can be broadcast live in receiving end by logging in
Volume account, and enter the direct broadcasting room for wishing to watch, and then receive the live streaming of limitation transmitted by the transmitting terminal for corresponding to the direct broadcasting room
Video flowing.
In concrete application, receiving end can receive limitation live video stream by predetermined server.For example, receiving end
A viewing live video stream request first can be sent to predetermined server, correspondingly, predetermined server can be straight according to the viewing
It broadcasts video flowing request and the limitation live video stream that transmitting terminal is sent is sent to receiving end.Wherein, which can be
CDN server, wherein CDN server according to the connection of network flow and each node, load state and can arrive receiving end
Limitation live video stream is oriented on the service node nearest from receiving end by the integrated informations such as distance and response time, therefore, hair
Sending end is first sent to predetermined server by will limit live video stream, is then sent to receiving end by predetermined server, can be with
Improve the transmitting efficiency of limitation live video stream.
Step 105: the receiving end is decoded the limitation live video stream.
In the embodiment of the present invention, receiving end can be decoded limitation video flowing, and decoding is the inverse process of coding, is passed through
Decoding, the state before limits value live stream can be reduced to coding.
Step 106: the receiving end determines and view is broadcast live to the limitation according to the limitation live video stream obtained after decoding
The viewing permission of frequency stream.
In the embodiment of the present invention, in decoded limitation live video stream, the viewing of the limitation live video stream is carried
Permission, therefore the receiving end can be determined to the limitation live video stream according to the match condition of receiving end and viewing permission
Watch permission.
For example, if after decoding limitation live video stream, obtaining the limitation live video stream only allows 6 years old or more to connect
Receiving end watches the limitation live video stream, if the logon account of the receiving end is shown, the age of the reception end subscriber less than 6 years old,
The viewing permission of so receiving end, which may is that, cannot watch in some or all of limitation live video stream correspondence video
Hold;If the logon account of the receiving end is shown, the age of the reception end subscriber is greater than 6 years old, then the viewing permission of the receiving end
May is that can watch the corresponding video content of limitation live video stream.
Step 107: the receiving end determines the broadcast mode of the limitation live video stream according to the viewing permission.
In the embodiment of the present invention, receiving end can determine the broadcast mode of the limitation live video stream according to viewing permission,
If such as the viewing permission of receiving end be can watch the limitation live video stream, the limitation live video stream can be played,
If the viewing permission of receiving end is that cannot watch some or all of limitation live video stream content, the limit can not be played
Live video stream processed, or the processing such as stamp is carried out by the partial content seen not permitted in permission is watched.It is appreciated that broadcast mode
It can be set according to actual application scenarios, the embodiment of the present invention is not especially limited broadcast mode.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
Fig. 2 is the step flow chart of another live video method for stream processing provided in an embodiment of the present invention, is applied to hair
Sending end, as shown in Fig. 2, this method may include:
Step 201: when being broadcast live by direct broadcasting room, obtaining permission limitation instruction.
Specifically, the implementation of this step is referred to above-mentioned steps 101, this will not be repeated here for the embodiment of the present invention.
It is described when being broadcast live by direct broadcasting room as the preferred embodiment of the embodiment of the present invention, obtain permission limit
System instruction, comprising:
Sub-step A1: when being broadcast live by direct broadcasting room, at least one power is shown in the user interface of the transmitting terminal
Limit limitation instruction generates button and at least one input frame.
In the embodiment of the present invention, input frame can be the input control that can receive to send end subscriber input, input frame
Number can be determined according to actual application scenarios, for example, can be set according to actual application scenarios for inputting in difference
The multiple input frames held, for example wherein to an input frame for receiving age information input, another input frame is for receiving
Geographical location information input, another input frame is for receiving class information input etc.;Permission limitation instruction generates button can be with
It is that can receive to send end subscriber triggering, and generate the button of corresponding authority limitation instruction according to triggering.
Sub-step A2: input information is received in the input frame, and limits instruction generation button in the permission and connects
In the case where receiving trigger action, restrictive condition is determined according to the input information.
Sub-step A3: it generates the permission including the restrictive condition and limits instruction.
In the embodiment of the present invention, if receiving input information in sink block, and instruction is limited in permission and generates button
When receiving trigger action, it is believed that wish to generate permission limitation instruction, therefore, according to input information and can be somebody's turn to do in receiving end
The corresponding permission of input information limits instruction generation button and determines restrictive condition, and production includes the permission limitation of the restrictive condition
Instruction.In concrete application, trigger action can be clicking operation, voice-controlled operations, gesture operation etc..
Preferably, the input information includes at least one in following information: age information, geographical location information, grade
Information.
Correspondingly, the restrictive condition comprises at least one of the following:
The limitation registration age is in the age information end subscriber below that receives to the part of the limitation live video stream
Or all watch permission;
Limitation registration geographical location is not belonging to the reception end subscriber of the geographical location information to the limitation live video
Some or all of stream viewing permission;
Limitation registration grade is in the class information end subscriber below that receives to the part of the limitation live video stream
Or all watch permission.
Preferably, described include: to some or all of described limitation live video stream viewing permission
Watch in the corresponding partial video of the limitation live video stream perhaps all videos content.
In concrete application, if transmitting terminal, when direct broadcasting room is broadcast live, transmitting terminal thinks that the content that will be broadcast live is not suitable for 6
Year child's viewing below, then transmitting terminal can input 6 in the input frame corresponding to age limit of direct broadcasting room, and click
Permission limitation instruction generates button, then transmitting terminal, which can receive to be used to indicate, does not allow receiving end viewing in 6 years old or less that will be broadcast live
The permission of content limits instruction;If transmitting terminal, when direct broadcasting room is broadcast live, addition is spread colored special efficacy by transmitting terminal, but is only wanted to
VIP user can see that then transmitting terminal can input VIP, or and point in the input frame for corresponding to grade limitation of direct broadcasting room
It hits permission limitation instruction and generates button, then transmitting terminal, which can receive to be used to indicate, does not allow the non-receiving end VIP viewing that will be broadcast live
Spread colored special efficacy permission limitation instruction;If dialect content, such as Guangdong language will be broadcast live in transmitting terminal when direct broadcasting room is broadcast live
Usually Cantonese can understand, then transmitting terminal can input Guangdong in the input frame corresponding to territory restriction of direct broadcasting room, and
Click permission limitation instruction generate button, then transmitting terminal can receive be used to indicate do not allow be not Guangdong receiving end viewing i.e.
The permission of the live content of live streaming is limited into instruction.
In the embodiment of the present invention, the mode of specific three kinds of inputs information and restrictive condition in live streaming is listed, this is passed through
The embodiment of inventive embodiments, permission limitation instruction can very easily be issued by sending end subscriber.
Step 202: it limits and instructs in response to the permission, the video content setting viewing power that the direct broadcasting room is played
Limit obtains limitation live video stream.
Specifically, the implementation of this step is referred to above-mentioned steps 102, this will not be repeated here for the embodiment of the present invention.
As the preferred embodiment of the embodiment of the present invention, the video-frequency playing content played to the direct broadcasting room is set
Viewing permission is set, limitation live video stream is obtained, comprising:
Step B1: it according to the included restrictive condition of permission limitation instruction, generates and corresponds to the restrictive condition
Limit script.
In the embodiment of the present invention, transmitting terminal is inserted with script generation module, refers to when transmitting terminal receives permission limitation
After order, the included restrictive condition of instruction can be limited according to permission, generates the limitation script for corresponding to restrictive condition in real time.
Step B2: serializing the limitation script, obtains serializing limitation script.
In the embodiment of the present invention, after limitation script generates, needs to limit script and carry out serializing operation, wherein sequence
Change, which refers to the process of, is converted to the form that can store or transmit for the status information for limiting script, which, which can be, is based on
What the serializing operation of the binary stream provided in C# (C sharp) language was realized, generally, limitation script is inherently band lattice
The string of binary characters of formula and coding in this step, can execute binary stream to the original binary character string of limitation script
Serializing operation, and then obtain serializing limitation script.It is of course also possible to which limitation script sequence is turned to other forms, example
Such as, character to decimal string, etc. the limitation script after serializing can reduce flow spent when transmission when being transmitted.
Preferably, the serializing limitation script, comprising:
The limitation script is ranked up sequentially in time;According to configuration file included by the limitation script,
Limitation script after the sequence is merged, the binary character string of boil down to.
The embodiment of the present invention, which is shown, will limit script sequence and turns to the serializing limitation script of binary character string
Specific embodiment.
In concrete application, limitation script can be ranked up according to the time sequencing of generation, and according to limitation script
File type, document No. mode that configuration file is identified etc., the mode adapted to is selected to merge the limitation script after sequence,
The binary character string of boil down to.Because binary character string is the computer language of standard, implement through the invention
The sequencing method of example, can easier be identified with receiving end.
The designated position of key frame is inserted into the serializing and limits script in B3: Xiang Suoshu video content of step, is limited
Live video stream processed.
In the embodiment of the present invention, serializing limitation script can be inserted into the designated position of video content key frame, then
The available limitation live video stream including restrictive condition.
Preferably, the serializing is inserted into the designated position of the key frame into the video content limits script, packet
It includes:
As triggering moment at the time of the permission limitation instruction will be received, the corresponding video of the triggering moment is obtained
Key frame in content;The serializing limitation script is inserted into the head of the key frame.
In the embodiment of the present invention, as triggering moment at the time of transmitting terminal will can first receive permission limitation instruction, obtain
Take the key frame in the corresponding video content of triggering moment;Serializing limitation script is inserted into the head of the key frame again, due to
At the time of may be considered transmitting terminal at the time of receiving permission limitation instruction will carry out viewing authority setting, therefore, obtain
Serializing limitation instruction is inserted into the head of the key frame by the moment corresponding key frame, can be in the live streaming at the moment
Appearance carries out viewing authority setting, it will be understood that can also be according to actual application scenarios, by the live content after the moment
Key frame continues into serializing limitation instruction, until the insertion of transmitting terminal triggering end sequenceization limitation instruction, ensure that hair
Any control of the sending end to video content viewing permission in direct broadcasting room.
In concrete application, it is inserted with serialization module and HEADER implant module in transmitting terminal, serialization module can
Binary string is turned to so that script sequence will be limited, serializing limitation script can be inserted into current live by HEADER implant module
In the corresponding HEADER of video flowing key frame.
In the embodiment of the present invention, by simply defining script and serializing agreement, in limitation live video stream key frame
Head insetion sequenceization limit script, not only may be implemented between same main broadcaster, transmitting terminal to receiving end viewing permission set
It sets, and script and serializing will not excessively occupy the computing resource of transmitting terminal, will not impact to the fluency of live streaming.
Step 203: after the limitation live video stream is encoded, being sent to receiving end.
Specifically, the implementation of this step is referred to above-mentioned steps 103, this will not be repeated here for the embodiment of the present invention.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
Fig. 3 is the step flow chart of another live video method for stream processing provided in an embodiment of the present invention, applied to connecing
Receiving end, as shown in figure 3, this method may include:
Step 301: receiving the limitation live video stream that transmitting terminal is sent.
Specifically, the implementation of this step is referred to above-mentioned steps 104, this will not be repeated here for the embodiment of the present invention.
Step 302: the limitation live video stream is decoded.
Specifically, the implementation of this step is referred to above-mentioned steps 105, this will not be repeated here for the embodiment of the present invention.
Step 303: according to the limitation live video stream obtained after decoding, determining the viewing to the limitation live video stream
Permission.
Specifically, the implementation of this step is referred to above-mentioned steps 106, this will not be repeated here for the embodiment of the present invention.
As a kind of preferred embodiment of the embodiment of the present invention, viewing of the determination to the limitation live video stream
Permission, comprising:
Sub-step C1: serializing limitation script is extracted from the designated position of the key frame of the limitation live video stream.
In the embodiment of the present invention, because transmitting terminal inserts serializing limitation script in the designated position of limitation live stream,
So receiving end can extract serializing limitation script from the designated position of the key frame of limitation live video stream.
Preferably, serializing limitation script is extracted in the designated position of the key frame from the limitation live video stream,
Include:
Serializing limitation script is extracted from the head of the key frame of the limitation live video stream.
In concrete application, receiving end, which can be set, extracts HEADER information module, and extracting HEADER information module can be with
To the corresponding HEADER information of Key Frame Extraction of limitation live video stream, serializing limitation script is obtained.
Sub-step C2: unserializing operation is carried out to serializing limitation script, obtains limitation script.
In the embodiment of the present invention, unserializing is the inverse operation of serializing, is operated, can will be serialized by unserializing
Limitation script is reduced to limitation script.
Preferably, described carry out unserializing operation to serializing limitation script, comprising:
According to configuration file included by serializing limitation script, serializing limitation script is decompressed,
After fractionation, parsing obtains limitation script.
In the embodiment of the present invention, receiving end can the text that is identified of configuration file according to included by serializing limitation script
Part type, document No. mode etc., carry out decompression fractionation to the serializing script by the way of adaptation, and parsing obtains limitation foot
This.
Sub-step C3: the corresponding restrictive condition of the parsing limitation script.
In the embodiment of the present invention, the information for being included by limiting script can be parsed out corresponding restrictive condition.
In concrete application, restrictive condition is comprised at least one of the following: the limitation registration age is below in the age information
It receives end subscriber and permission is watched to some or all of described limitation live video stream;Limitation registration geographical location is not belonging to described
The reception end subscriber of geographical location information watches permission to some or all of described limitation live video stream;Limitation registration grade
Permission is watched to some or all of described limitation live video stream in class information reception end subscriber below.It can manage
Solution, those skilled in the art can restrictive condition determines according to actual conditions particular content, the embodiment of the present invention do not do this
It is specific to limit.
Sub-step C4: the viewing permission to limitation live video stream is obtained according to the restrictive condition.
Preferably, described obtain the viewing permission to limitation live video stream according to the restrictive condition, comprising:
The registration information of the transmitting terminal is matched with the restrictive condition, is obtained to the limitation live video stream
Viewing permission.
In the embodiment of the present invention, the registration information of transmitting terminal can be transmitting terminal and log in the registration use inputted when live streaming platform
Family, the registration information of transmitting terminal specifically can be the information such as age, region, the grade of registration user.By by the note of transmitting terminal
Volume information is matched with restrictive condition, can be received end to the viewing permission of limitation live video stream.
For example, if the restrictive condition be limitation age information at 6 years old reception end subscriber below cannot watch limit
The corresponding all videos content of live video stream processed, if it is 5 years old at the age that the registration information of receiving end, which includes, the sight of the receiving end
See permission are as follows: the corresponding all videos content of limitation live video stream cannot be watched;Correspondingly, if the registration information packet of receiving end
Including the age is 7 years old, then the viewing permission of the receiving end are as follows: can watch the corresponding all videos content of limitation live video stream.Again
For example, if the restrictive condition is to limit the reception end subscriber that class information is not VIP grade to watch limitation live video
Corresponding special efficacy content (such as colored special efficacy being spread, than heart special efficacy etc.) is flowed, if it is not VIP that the registration information of receiving end, which includes grade,
The then viewing permission of the receiving end are as follows: the corresponding normal video content of limitation live video stream can be watched, but limitation cannot be watched
The corresponding special efficacy content of live video stream;Correspondingly, if it is VIP that the registration information of receiving end, which includes grade, the receiving end
Watch permission are as follows: the corresponding all videos content of limitation live video stream and special efficacy can be watched.
It is crucial in limitation live video stream by simply defining decoding and unserializing agreement in the embodiment of the present invention
Serializing limitation script is extracted on the head of frame, and then determines that receiving end to the viewing permission of transmitting terminal live content, not only may be used
To realize between same main broadcaster, setting of the transmitting terminal to receiving end viewing permission, and decode and serializing will not be occupied excessively
The computing resource of receiving end will not impact the fluency of viewing live streaming.
Step 304: the broadcast mode of the limitation live video stream is determined according to the viewing permission.
Specifically, the implementation of this step is referred to above-mentioned steps 107, this will not be repeated here for the embodiment of the present invention.
It is described that the limitation live streaming view is determined according to the viewing permission as a kind of preferred embodiment of the embodiment of the present invention
The broadcast mode of frequency stream, comprising:
When playing the limitation live video stream, the video content that the viewing permission allows to play is played, and, it is right
The not permitted video content played of the viewing permission carries out blocking processing.
In the embodiment of the present invention, receiving end allows to play when playing limitation live video stream for viewing permission
Video content can carry out blocking processing with normal play for the video content of broadcasting not permitted in viewing permission, such as
Mosaic is broken, animation is shown, increases floating layer or blank screen blue screen etc..
Preferably, the video content to broadcasting not permitted in the viewing permission carries out blocking processing, comprising:
Floating layer is set in the video content of the broadcasting not permitted in the viewing permission.
In the embodiment of the present invention, floating layer can be set in the video content of the broadcasting not permitted in viewing permission, floating layer can
To cover the video content of broadcasting not permitted in viewing permission, guarantee that receive end subscriber viewing broadcasts less than not permitted in viewing permission
The video content put, and the particular content form of floating layer can carry out flexible setting according to receiving end demand, be a kind of simple spirit
Living blocks processing mode.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, receiving end can receive transmission
The limitation live video stream sent is held, after decoding the limitation live video stream, the receiving end can be determined to limitation live streaming view
The viewing permission of frequency stream, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.The present invention is real
It applies in example, it, can be according to the limitation live video stream transmitted by transmitting terminal, in receiving end in the playing process of a direct broadcasting room
The broadcast mode of middle determining limitation video flowing, so that transmitting terminal only needs to be limited according to permission in the same direct broadcasting room
Instruction, so that it may realize and the different content of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can be to avoid multiple straight
The occupancy opened up to live streaming platform resource between broadcasting.
Further, Fig. 4 is a kind of application schematic diagram that exchange method is broadcast live provided in an embodiment of the present invention, such as Fig. 4 institute
Show, script agreement can be defined in transmitting terminal, after receiving permission limitation instruction, generates limitation foot by generating script module
This, after limiting script serializing by serialization module, serializing limitation script is inserted by HEADER implant module
The head of key frame in video content obtains limitation live video stream, after live video stream encryption will be limited by coding module,
It is sent to receiving end by the way that Cloud Server is broadcast live, receiving end decodes the limitation live video stream by decoder module, then passes through
HEADER information module is extracted, the header information of limitation live video stream is extracted, serializing limitation script is obtained, passes through antitone sequence
Change module for after serializing limitation script progress antitone sequence operation, obtains limitation script, can parse by script parsing module
The corresponding restrictive condition of script is limited, the corresponding limitation of restrictive condition can be executed by script execution module and operated, thus
Corresponding video content can be played according to limitation operation in live stream display module.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
Fig. 5 is a kind of block diagram that interactive system is broadcast live provided in an embodiment of the present invention, as shown in figure 5, the system 50 can be with
Including transmitting terminal 510 and receiving end 520;
Wherein, the transmitting terminal, for when being broadcast live by direct broadcasting room, obtaining permission limitation instruction;
The transmitting terminal, instructs for limiting in response to the permission, and the video content played to the direct broadcasting room is set
Viewing permission is set, limitation live video stream is obtained;
The transmitting terminal is sent to receiving end after being encoded the limitation live video stream;
The receiving end, for receiving the limitation live video stream of transmitting terminal transmission;
The receiving end, for being decoded to the limitation live video stream;
The receiving end, for determining to the limitation live video according to the limitation live video stream obtained after decoding
The viewing permission of stream;
The receiving end, for determining the broadcast mode of the limitation live video stream according to the viewing permission.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
Fig. 6 is a kind of block diagram that interactive device is broadcast live provided in an embodiment of the present invention, is applied to transmitting terminal, as shown in fig. 6,
The device 60 may include:
Permission limits instruction acquisition module 610, for obtaining permission when being broadcast live by direct broadcasting room
Limitation instruction;
Limitation live video stream obtains module 620, instructs for limiting in response to the permission, is broadcast to the direct broadcasting room
The video content setting viewing permission put, obtains limitation live video stream;
Sending module 630 is sent to receiving end after being encoded the limitation live video stream.
Preferably, the limitation live video stream obtains module 620 and includes:
It limits script and generates submodule, for the restrictive condition included according to permission limitation instruction, generate and correspond to
In the limitation script of the restrictive condition;
Serializing limitation script submodule obtains serializing limitation script for serializing the limitation script;
Limitation live video stream obtains submodule, for described in the designated position insertion of key frame into the video content
Serializing limitation script, obtains limitation live video stream.
Preferably, the serializing limitation script submodule includes:
Sequencing unit, for being ranked up sequentially in time to the limitation script;
Serialization unit, for the configuration file according to included by the limitation script, by the limitation foot after the sequence
This merging, the binary character string of boil down to.
Preferably, the limitation live video stream obtains submodule and includes:
Key frame acquiring unit obtains institute as triggering moment at the time of for that will receive the permission limitation instruction
State the key frame in the corresponding video content of triggering moment;
It is inserted into unit, for the serializing limitation script to be inserted into the head of the key frame.
Preferably, the permission limitation instruction acquisition module 610 includes:
Display sub-module, for being shown at least in the user interface of the transmitting terminal when being broadcast live by direct broadcasting room
One permission limitation instruction generates button and at least one input frame;
Restrictive condition determines submodule, limits for receiving input information in the input frame, and in the permission
In the case that instruction generation button receives trigger action, restrictive condition is determined according to the input information;
Permission limitation instruction generates submodule, for generating the permission limitation instruction including the restrictive condition.
Preferably, the input information includes at least one in following information: age information, geographical location information, grade
Information;
The restrictive condition comprises at least one of the following:
The limitation registration age is in the age information end subscriber below that receives to the part of the limitation live video stream
Or all watch permission;
Limitation registration geographical location is not belonging to the reception end subscriber of the geographical location information to the limitation live video
Some or all of stream viewing permission;
Limitation registration grade is in the class information end subscriber below that receives to the part of the limitation live video stream
Or all watch permission.
Preferably, described to include: to some or all of described limitation live video stream viewing permission
Watch in the corresponding partial video of the limitation live video stream perhaps all videos content.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
Fig. 7 is a kind of block diagram that interactive device is broadcast live provided in an embodiment of the present invention, is applied to receiving end, as shown in fig. 7,
The device 70 may include:
Live video stream receiving module 710 is limited, for receiving the limitation live video stream of transmitting terminal transmission;
Decoder module 720, for being decoded to the limitation live video stream;
Permission determining module 730 is watched, for determining to the limitation according to the limitation live video stream obtained after decoding
The viewing permission of live video stream;
Broadcast mode determining module 740, for determining the broadcasting of the limitation live video stream according to the viewing permission
Mode.
Preferably, the viewing permission determining module 730 includes:
Serializing limitation script extracts submodule, and the designated position for the key frame from the limitation live video stream is taken out
Take serializing limitation script;
Limitation script obtains submodule, for carrying out unserializing operation to serializing limitation script, is limited
Script;
Analyzing sub-module, for parsing the corresponding restrictive condition of the limitation script;
Viewing permission determines submodule, for obtaining the viewing power to limitation live video stream according to the restrictive condition
Limit.
Preferably, the serializing limitation script extraction submodule includes:
Sequence is extracted on serializing limitation script extracting unit, the head for the key frame from the limitation live video stream
Change limitation script.
Preferably, the limitation script obtains submodule and includes:
Limitation script obtains unit, for the configuration file according to included by serializing limitation script, by the sequence
After columnization limitation script is decompressed, split, parsing obtains limitation script.
Preferably, the limitation script obtains unit and includes:
Limitation script obtains subelement, for the registration information of the transmitting terminal to be matched with the restrictive condition,
Obtain the viewing permission to the limitation live video stream.
Preferably, the broadcast mode determining module 740 includes:
Broadcast mode determines submodule, for playing viewing permission institute when playing the limitation live video stream
Allow the video content played, and, the video content of broadcasting not permitted in the viewing permission is carried out blocking processing.
Preferably, the broadcast mode determines that submodule includes:
Broadcast mode determination unit, for floating layer to be arranged in the video content for watching broadcasting not permitted in permission.
In conclusion the embodiment of the present invention, when transmitting terminal is broadcast live by direct broadcasting room, available permission limitation refers to
It enables, limits and instruct in response to the permission, transmitting terminal can obtain the video content setting viewing permission that the direct broadcasting room is played
Live video stream is limited, and is sent to receiving end after the limitation live video stream is encoded;Receiving end can receive the limit
Live video stream processed after decoding the limitation live video stream, can determine viewing of the receiving end to limitation live video stream
Permission, and the broadcast mode of the limitation live video stream in receiving end is determined according to viewing permission.In the embodiment of the present invention, one
In the playing process of a direct broadcasting room, instruction can be limited according to the permission that transmitting terminal is got, determine limitation view in the receiving end
The broadcast mode of frequency stream, so that transmitting terminal, which only needs to be limited according to permission, to be instructed, so that it may real in the same direct broadcasting room
Now the different contents of different receiving ends is broadcast live, transmitting terminal operation is very simple, and can opening up pair to avoid multiple direct broadcasting rooms
The occupancy of platform resource is broadcast live.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output
Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory
The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate
The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with
Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or
Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or
Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to
Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as
The data-signal and carrier wave of modulation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable live streaming interactive terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable live streaming interactive terminals
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable live streaming interactive terminals
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded on computer or other programmable live streaming interactive terminals, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of live streaming exchange method provided by the present invention, system, device and computer readable storage medium, into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (31)
1. a kind of live streaming exchange method, which is characterized in that applied to the system including transmitting terminal and receiving end, the method packet
It includes:
The transmitting terminal obtains permission limitation instruction when being broadcast live by direct broadcasting room;
The transmitting terminal is limited in response to the permission and is instructed, the video content setting viewing power played to the direct broadcasting room
Limit obtains limitation live video stream;
After the transmitting terminal is encoded the limitation live video stream, it is sent to receiving end;
The receiving end receives the limitation live video stream that transmitting terminal is sent;
The receiving end is decoded the limitation live video stream;
The receiving end determines that the viewing to the limitation live video stream is weighed according to the limitation live video stream obtained after decoding
Limit;
The receiving end determines the broadcast mode of the limitation live video stream according to the viewing permission.
2. a kind of live streaming exchange method, which is characterized in that be applied to transmitting terminal, which comprises
When being broadcast live by direct broadcasting room, permission limitation instruction is obtained;
It limits and instructs in response to the permission, to the video content setting viewing permission that the direct broadcasting room is played, limited
Live video stream;
After the limitation live video stream is encoded, it is sent to receiving end.
3. according to the method described in claim 2, it is characterized in that, the video-frequency playing content played to the direct broadcasting room
Setting viewing permission, obtains limitation live video stream, comprising:
According to the included restrictive condition of permission limitation instruction, the limitation script for corresponding to the restrictive condition is generated;
The limitation script is serialized, serializing limitation script is obtained;
Into the video content, the designated position of key frame is inserted into the serializing and limits script, obtains limitation live video
Stream.
4. according to the method described in claim 3, it is characterized in that, the serializing limitation script, comprising:
The limitation script is ranked up sequentially in time;
According to configuration file included by the limitation script, the limitation script after the sequence is merged, boil down to binary system
Character string.
5. according to the method described in claim 3, it is characterized in that, the designated position of the key frame into the video content
It is inserted into the serializing limitation script, comprising:
As triggering moment at the time of the permission limitation instruction will be received, the corresponding video content of the triggering moment is obtained
In key frame;
The serializing limitation script is inserted into the head of the key frame.
6. according to the method described in claim 2, it is characterized in that, described when being broadcast live by direct broadcasting room, acquisition permission
Limitation instruction, comprising:
When being broadcast live by direct broadcasting room, show that the limitation instruction of at least one permission generates in the user interface of the transmitting terminal
Button and at least one input frame;
Input information is received in the input frame, and is limited instruction generation button in the permission and received trigger action
In the case of, restrictive condition is determined according to the input information;
It generates the permission including the restrictive condition and limits instruction.
7. according to the method described in claim 6, it is characterized in that, the input information includes at least one in following information:
Age information, geographical location information, class information;
The restrictive condition comprises at least one of the following:
The limitation registration age is in the age information end subscriber below that receives to the part of the limitation live video stream or complete
Permission is watched in portion;
Limitation registration geographical location is not belonging to the reception end subscriber of the geographical location information to the limitation live video stream
Partly or entirely viewing permission;
Limitation registration grade is in the class information end subscriber below that receives to the part of the limitation live video stream or complete
Permission is watched in portion.
8. the method according to the description of claim 7 is characterized in that described to some or all of described limitation live video stream
Watching permission includes:
Watch in the corresponding partial video of the limitation live video stream perhaps all videos content.
9. a kind of live streaming exchange method, which is characterized in that be applied to receiving end, which comprises
Receive the limitation live video stream that transmitting terminal is sent;
The limitation live video stream is decoded;
According to the limitation live video stream obtained after decoding, the viewing permission to the limitation live video stream is determined;
The broadcast mode of the limitation live video stream is determined according to the viewing permission.
10. according to the method described in claim 9, it is characterized in that, viewing of the determination to the limitation live video stream
Permission, comprising:
Serializing limitation script is extracted from the designated position of the key frame of the limitation live video stream;
Unserializing operation is carried out to serializing limitation script, obtains limitation script;
Parse the corresponding restrictive condition of the limitation script;
The viewing permission to limitation live video stream is obtained according to the restrictive condition.
11. according to the method described in claim 10, it is characterized in that, the key frame from the limitation live video stream
Extract serializing limitation script in designated position, comprising:
Serializing limitation script is extracted from the head of the key frame of the limitation live video stream.
12. according to the method described in claim 10, it is characterized in that, described carry out antitone sequence to serializing limitation script
Change operation, comprising:
According to configuration file included by serializing limitation script, serializing limitation script is decompressed, is split
Afterwards, parsing obtains limitation script.
13. according to the method described in claim 10, it is characterized in that, described according to the restrictive condition obtain that limitation is broadcast live
The viewing permission of video flowing, comprising:
The registration information of the transmitting terminal is matched with the restrictive condition, obtains the sight to the limitation live video stream
See permission.
14. according to the method described in claim 9, it is characterized in that, described determine that the limitation is straight according to the viewing permission
Broadcast the broadcast mode of video flowing, comprising:
When playing the limitation live video stream, the video content that the viewing permission allows to play is played, and, to described
The not permitted video content played of viewing permission carries out blocking processing.
15. according to the method for claim 14, which is characterized in that the view to broadcasting not permitted in the viewing permission
Frequency content carries out blocking processing, comprising:
Floating layer is set in the video content of the broadcasting not permitted in the viewing permission.
16. a kind of live streaming interactive system, which is characterized in that the system comprises: transmitting terminal and receiving end;
Wherein, the transmitting terminal, for when being broadcast live by direct broadcasting room, obtaining permission limitation instruction;
The transmitting terminal is instructed for limiting in response to the permission, and the video content setting played to the direct broadcasting room is seen
It sees permission, obtains limitation live video stream;
The transmitting terminal is sent to receiving end after being encoded the limitation live video stream;
The receiving end, for receiving the limitation live video stream of transmitting terminal transmission;
The receiving end, for being decoded to the limitation live video stream;
The receiving end, for according to the limitation live video stream obtained after decoding, determining to the limitation live video stream
Watch permission;
The receiving end, for determining the broadcast mode of the limitation live video stream according to the viewing permission.
17. a kind of live streaming interactive device, which is characterized in that be applied to transmitting terminal, described device includes:
Permission limits instruction acquisition module, for when being broadcast live by direct broadcasting room, obtaining permission limitation instruction;
Limitation live video stream obtains module, instructs for limiting in response to the permission, the view played to the direct broadcasting room
Frequency curriculum offering watches permission, obtains limitation live video stream;
Sending module is sent to receiving end after being encoded the limitation live video stream.
18. device according to claim 17, which is characterized in that the limitation live video stream obtains module and includes:
It limits script and generates submodule, for the restrictive condition included according to permission limitation instruction, generate and correspond to institute
State the limitation script of restrictive condition;
Serializing limitation script submodule obtains serializing limitation script for serializing the limitation script;
Limitation live video stream obtains submodule, and the sequence is inserted into the designated position for the key frame into the video content
Change limitation script, obtains limitation live video stream.
19. device according to claim 18, which is characterized in that the serializing limits script submodule and includes:
Sequencing unit, for being ranked up sequentially in time to the limitation script;
Serialization unit closes the limitation script after the sequence for the configuration file according to included by the limitation script
And the binary character string of boil down to.
20. device according to claim 18, which is characterized in that the limitation live video stream obtains submodule and includes:
Key frame acquiring unit obtains the touching as triggering moment at the time of for that will receive the permission limitation instruction
Send out the key frame in moment corresponding video content;
It is inserted into unit, for the serializing limitation script to be inserted into the head of the key frame.
21. device according to claim 17, which is characterized in that the permission limits instruction acquisition module and includes:
Display sub-module, for showing at least one in the user interface of the transmitting terminal when being broadcast live by direct broadcasting room
Permission limitation instruction generates button and at least one input frame;
Restrictive condition determines submodule, for receiving input information in the input frame, and limits and instructs in the permission
In the case that generation button receives trigger action, restrictive condition is determined according to the input information;
Permission limitation instruction generates submodule, for generating the permission limitation instruction including the restrictive condition.
22. device according to claim 21, which is characterized in that the input information includes at least one in following information
It is a: age information, geographical location information, class information;
The restrictive condition comprises at least one of the following:
The limitation registration age is in the age information end subscriber below that receives to the part of the limitation live video stream or complete
Permission is watched in portion;
Limitation registration geographical location is not belonging to the reception end subscriber of the geographical location information to the limitation live video stream
Partly or entirely viewing permission;
Limitation registration grade is in the class information end subscriber below that receives to the part of the limitation live video stream or complete
Permission is watched in portion.
23. device according to claim 22, which is characterized in that described to the part for limiting live video stream or complete
Permission is watched in portion
Watch in the corresponding partial video of the limitation live video stream perhaps all videos content.
24. a kind of live streaming interactive device, which is characterized in that be applied to receiving end, described device includes:
Live video stream receiving module is limited, for receiving the limitation live video stream of transmitting terminal transmission;
Decoder module, for being decoded to the limitation live video stream;
Permission determining module is watched, is regarded for determining that the limitation is broadcast live according to the limitation live video stream obtained after decoding
The viewing permission of frequency stream;
Broadcast mode determining module, for determining the broadcast mode of the limitation live video stream according to the viewing permission.
25. device according to claim 24, which is characterized in that the viewing permission determining module includes:
Serializing limitation script extracts submodule, and sequence is extracted in the designated position for the key frame from the limitation live video stream
Columnization limit script;
Limitation script obtains submodule, for carrying out unserializing operation to serializing limitation script, obtains limitation script;
Analyzing sub-module, for parsing the corresponding restrictive condition of the limitation script;
Viewing permission determines submodule, for obtaining the viewing permission to limitation live video stream according to the restrictive condition.
26. device according to claim 25, which is characterized in that the serializing limitation script extracts submodule and includes:
Serializing limit is extracted on serializing limitation script extracting unit, the head for the key frame from the limitation live video stream
Script processed.
27. device according to claim 25, which is characterized in that the limitation script obtains submodule and includes:
Limitation script obtains unit, for the configuration file according to included by serializing limitation script, by the serializing
After limitation script is decompressed, split, parsing obtains limitation script.
28. device according to claim 25, which is characterized in that the limitation script obtains unit and includes:
Limitation script obtains subelement, for matching the registration information of the transmitting terminal with the restrictive condition, obtains
To the viewing permission of the limitation live video stream.
29. device according to claim 24, which is characterized in that the broadcast mode determining module includes:
Broadcast mode determines submodule, is allowed for when playing the limitation live video stream, playing the viewing permission
The video content of broadcasting, and, the video content of broadcasting not permitted in the viewing permission is carried out blocking processing.
30. device according to claim 29, which is characterized in that the broadcast mode determines that submodule includes:
Broadcast mode determination unit, for floating layer to be arranged in the video content for watching broadcasting not permitted in permission.
31. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes the live streaming exchange method as described in any in claim 1 to 15 when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400954.6A CN109729369A (en) | 2018-11-22 | 2018-11-22 | A kind of live streaming exchange method, system, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400954.6A CN109729369A (en) | 2018-11-22 | 2018-11-22 | A kind of live streaming exchange method, system, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109729369A true CN109729369A (en) | 2019-05-07 |
Family
ID=66295108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811400954.6A Pending CN109729369A (en) | 2018-11-22 | 2018-11-22 | A kind of live streaming exchange method, system, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729369A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784730A (en) * | 2019-10-31 | 2020-02-11 | 广州华多网络科技有限公司 | Live video data transmission method, device, equipment and storage medium |
CN111860377A (en) * | 2020-07-24 | 2020-10-30 | 中国平安人寿保险股份有限公司 | Live broadcast method and device based on artificial intelligence, electronic equipment and storage medium |
CN112019876A (en) * | 2019-05-31 | 2020-12-01 | 杭州海康威视数字技术股份有限公司 | Video access method, device, storage server and video access system |
CN112291573A (en) * | 2020-03-27 | 2021-01-29 | 北京字节跳动网络技术有限公司 | Live stream pushing method and device and electronic equipment |
CN112584243A (en) * | 2020-12-08 | 2021-03-30 | 北京字节跳动网络技术有限公司 | Multimedia data processing method and device and electronic equipment |
CN112954458A (en) * | 2021-01-20 | 2021-06-11 | 浙江大华技术股份有限公司 | Video occlusion method, device, electronic device and storage medium |
CN113395535A (en) * | 2021-06-15 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | Live broadcast processing method, device and system, storage medium and electronic equipment |
CN114356484A (en) * | 2022-01-06 | 2022-04-15 | 北京字跳网络技术有限公司 | Resource processing method, resource processing device, electronic device, storage medium, and program product |
CN115242746A (en) * | 2022-06-29 | 2022-10-25 | 赤子城网络技术(北京)有限公司 | Safety processing method and system for social application users |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547271A (en) * | 2010-12-24 | 2012-07-04 | 瀚斯宝丽股份有限公司 | Video content output device and method capable of filtering video contents according to looker age |
US20140337877A1 (en) * | 2008-04-02 | 2014-11-13 | Qwest Communications International Inc. | IPTV Follow Me Content System and Method |
CN105763900A (en) * | 2016-04-22 | 2016-07-13 | 天脉聚源(北京)传媒科技有限公司 | Method of setting live program authority and apparatus thereof |
CN106210562A (en) * | 2016-08-31 | 2016-12-07 | 北京像素软件科技股份有限公司 | A kind of implementation method of live specially good effect |
CN106534876A (en) * | 2016-10-11 | 2017-03-22 | 北京小米移动软件有限公司 | Target user determining method and target user determining device |
CN106534900A (en) * | 2016-11-24 | 2017-03-22 | 天脉聚源(北京)科技有限公司 | Method and device for uploading live broadcast video streams |
CN106604054A (en) * | 2016-12-22 | 2017-04-26 | 中央电视台 | Program live broadcast method, program live broadcast device and server |
CN108200447A (en) * | 2018-01-15 | 2018-06-22 | 北京金山云网络技术有限公司 | Live data transmission method, device, electronic equipment, server and storage medium |
-
2018
- 2018-11-22 CN CN201811400954.6A patent/CN109729369A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140337877A1 (en) * | 2008-04-02 | 2014-11-13 | Qwest Communications International Inc. | IPTV Follow Me Content System and Method |
CN102547271A (en) * | 2010-12-24 | 2012-07-04 | 瀚斯宝丽股份有限公司 | Video content output device and method capable of filtering video contents according to looker age |
CN105763900A (en) * | 2016-04-22 | 2016-07-13 | 天脉聚源(北京)传媒科技有限公司 | Method of setting live program authority and apparatus thereof |
CN106210562A (en) * | 2016-08-31 | 2016-12-07 | 北京像素软件科技股份有限公司 | A kind of implementation method of live specially good effect |
CN106534876A (en) * | 2016-10-11 | 2017-03-22 | 北京小米移动软件有限公司 | Target user determining method and target user determining device |
CN106534900A (en) * | 2016-11-24 | 2017-03-22 | 天脉聚源(北京)科技有限公司 | Method and device for uploading live broadcast video streams |
CN106604054A (en) * | 2016-12-22 | 2017-04-26 | 中央电视台 | Program live broadcast method, program live broadcast device and server |
CN108200447A (en) * | 2018-01-15 | 2018-06-22 | 北京金山云网络技术有限公司 | Live data transmission method, device, electronic equipment, server and storage medium |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019876A (en) * | 2019-05-31 | 2020-12-01 | 杭州海康威视数字技术股份有限公司 | Video access method, device, storage server and video access system |
CN112019876B (en) * | 2019-05-31 | 2022-06-03 | 杭州海康威视数字技术股份有限公司 | Video access method, device, storage server and video access system |
CN110784730A (en) * | 2019-10-31 | 2020-02-11 | 广州华多网络科技有限公司 | Live video data transmission method, device, equipment and storage medium |
CN112291573A (en) * | 2020-03-27 | 2021-01-29 | 北京字节跳动网络技术有限公司 | Live stream pushing method and device and electronic equipment |
US11848762B2 (en) | 2020-03-27 | 2023-12-19 | Douyin Vision Co., Ltd. | Live broadcast stream pushing method and apparatus, and electronic device |
CN111860377A (en) * | 2020-07-24 | 2020-10-30 | 中国平安人寿保险股份有限公司 | Live broadcast method and device based on artificial intelligence, electronic equipment and storage medium |
CN112584243A (en) * | 2020-12-08 | 2021-03-30 | 北京字节跳动网络技术有限公司 | Multimedia data processing method and device and electronic equipment |
CN112954458A (en) * | 2021-01-20 | 2021-06-11 | 浙江大华技术股份有限公司 | Video occlusion method, device, electronic device and storage medium |
CN113395535A (en) * | 2021-06-15 | 2021-09-14 | 北京沃东天骏信息技术有限公司 | Live broadcast processing method, device and system, storage medium and electronic equipment |
CN114356484A (en) * | 2022-01-06 | 2022-04-15 | 北京字跳网络技术有限公司 | Resource processing method, resource processing device, electronic device, storage medium, and program product |
CN114356484B (en) * | 2022-01-06 | 2023-12-15 | 北京字跳网络技术有限公司 | Resource processing method, device, electronic equipment, storage medium and program product |
CN115242746A (en) * | 2022-06-29 | 2022-10-25 | 赤子城网络技术(北京)有限公司 | Safety processing method and system for social application users |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109729369A (en) | A kind of live streaming exchange method, system, device and computer readable storage medium | |
US9621963B2 (en) | Enabling delivery and synchronization of auxiliary content associated with multimedia data using essence-and-version identifier | |
US8667068B2 (en) | Method and apparatus for electronic message delivery | |
CN101438592B (en) | Method and apparatus for re-constructing media from a media representation | |
CN109947512A (en) | A kind of text adaptation display methods, device, server and storage medium | |
US11197048B2 (en) | Transmission device, transmission method, reception device, and reception method | |
KR100781624B1 (en) | Method and system for preparing multimedia content for transmission | |
CN107634928B (en) | Code stream data processing method and device | |
CN106575423B (en) | Broadcast link service based on cloud streaming media, broadcast link service client device, and trigger content providing server | |
KR101616158B1 (en) | Method and apparatus of preventing from viewing program long time | |
KR102084010B1 (en) | Apparatus for providing advertisement timetable and method using the same | |
CN113286202A (en) | Set top box network program customization method based on http protocol | |
CN111869225B (en) | Information processing apparatus, information processing method, and non-transitory computer readable storage medium | |
CN107534792A (en) | Receiving device, send equipment and data processing method | |
KR20160087225A (en) | System for cloud streaming service, method of image cloud streaming service to provide a multi-view screen, and apparatus for the same | |
CN104702985B (en) | Geographic information services real-time interaction method and its system based on digital tv network | |
CN107318043A (en) | A kind of method for processing video frequency and device | |
US11695488B2 (en) | ATSC over-the-air (OTA) broadcast of public volumetric augmented reality (AR) | |
KR20190061734A (en) | Apparatus and method for providing moving picture contents | |
US10911813B1 (en) | Providing metadata for live media streams | |
CN108234065B (en) | Augmented reality content transmission method and system | |
US9578396B2 (en) | Method and device for providing HTML-based program guide service in a broadcasting terminal, and recording medium therefor | |
CN108769792A (en) | A kind of electronic message terminal device | |
KR20230018219A (en) | Media streaming server, method of providing live video and live caht video as straming video and computer program for the method | |
CN113542873A (en) | Data processing method and device, storage medium and electronic 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190507 |
|
RJ01 | Rejection of invention patent application after publication |