CN108495152A - A kind of net cast method, apparatus, electronic equipment and medium - Google Patents
A kind of net cast method, apparatus, electronic equipment and medium Download PDFInfo
- Publication number
- CN108495152A CN108495152A CN201810278523.0A CN201810278523A CN108495152A CN 108495152 A CN108495152 A CN 108495152A CN 201810278523 A CN201810278523 A CN 201810278523A CN 108495152 A CN108495152 A CN 108495152A
- Authority
- CN
- China
- Prior art keywords
- data information
- service data
- video flowing
- main broadcaster
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/242—Synchronization processes, e.g. processing of PCR [Program Clock References]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of net cast method, apparatus, electronic equipment and media, are applied to server, including:Obtain the video flowing that main broadcaster end is sent;Service data information is received, and records the time of reception of reception;The service data information is written to the correspondence frame in the video flowing, wherein the server matches at the time of obtaining the corresponding frame with the time of reception;The video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end, when the viewer end plays the video flowing, to synchronize and show the corresponding frame and the service data information.The present invention solves the business function that existing live streaming platform provides, and existing the displaying of service data information and live video stream easily occur asynchronous, leads to service data information and the unmatched technical problem of video render progress.The displaying synchronism for improving service data information and live video is realized, and improves the technique effect of the viewing experience of user.
Description
Technical field
The present invention relates to a kind of Internet technical field more particularly to net cast method, apparatus, electronic equipment and Jie
Matter.
Background technology
Currently, with the progress of network communication technology and the speed-raising of broadband network, network direct broadcasting has obtained more and more
Development and application, the quantity for the main broadcaster being broadcast live are also more and more.In order to improve user's stickiness, increase mutual during being broadcast live
Dynamic property increases the enthusiasm of main broadcaster and improves the economic well-being of workers and staff of live streaming platform, platform is broadcast live now and provides multiple business function,
Including:Barrage, object of giving a present, answer etc..
Existing service data information, such as barrage data information, give a present object data information or data information of setting a question etc., it is past
Toward meeting by service server come processing forward, and live video is forwarded by live video server, when two
When forward-path has Network Transmission Delays that the forwarding of certain paths is caused to be delayed, it may appear that service data information and live video
Stream shows nonsynchronous situation, it may appear that the service data information of displaying and the unmatched problem of video render progress.
As it can be seen that the business function that existing live streaming platform provides, exists and easily service data information and live video stream exhibition occurs
Show asynchronous, leads to service data information and the unmatched technical problem of video render progress.
Invention content
The embodiment of the present application solves existing straight by a kind of net cast method, apparatus of offer, electronic equipment and medium
Broadcast the business function of platform offer, existing the displaying of service data information and live video stream easily occur asynchronous, leads to business
Data information and the unmatched technical problem of video render progress.
In a first aspect, providing a kind of net cast method, the method is applied to server, including:
Obtain the video flowing that main broadcaster end is sent;
When receiving the corresponding service data information in the main broadcaster end, and recording the reception for receiving the service data information
It carves;
The service data information is written to the correspondence frame in the video flowing, wherein it is described right that the server obtains
It answers and is matched with the time of reception at the time of frame;
The video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end, in the sight
It is synchronous to show the corresponding frame and the service data information when many ends play the video flowing.
Optionally, the corresponding service data information in the reception main broadcaster end, including:It is corresponding to receive the main broadcaster end
The barrage information that viewer end is sent;Alternatively, receiving the present information that the corresponding viewer end in the main broadcaster end is sent;Alternatively, receiving
What the main broadcaster end was sent robs answering information;Alternatively, receiving the answering information that the corresponding viewer end in the main broadcaster end is sent.
Optionally, it is matched with the time of reception at the time of server obtains the corresponding frame, including:The service
It is identical as the time of reception at the time of device acquisition corresponding frame, or compare other frames in the video flowing, the clothes
Business device obtains closest with the time of reception at the time of the corresponding frame.
Optionally, described that the correspondence frame in the video flowing is written into the service data information, including:To described right
During answering frame to encode, the service data information is encoded and the corresponding frame is written by preset rules.
Second aspect provides a kind of net cast method, and the method is applied to viewer end, including:
Receive the video flowing that the server is sent;The video flowing includes the correspondence for carrying service data information
Frame;
The video flowing is played, and is synchronized when playing the corresponding frame and shows the service data information.
Optionally, described synchronized when playing the corresponding frame shows the service data information, including:To the correspondence
Frame decoding, and decode the service data information according to preset rules;It is synchronous to show the decoded corresponding frame and the industry
Business data information.
The third aspect provides a kind of net cast device, and described device is server, including:
Acquiring unit, the video flowing for obtaining the transmission of main broadcaster end;
Information receiving unit for receiving the corresponding service data information in the main broadcaster end, and records and receives the business
The time of reception of data information;
Writing unit, for the service data information to be written to the correspondence frame in the video flowing, wherein the service
Device matches at the time of obtaining the corresponding frame with the time of reception;
Transmission unit has been written into the video of the service data information and flow to the corresponding spectators in the main broadcaster end for sending
End, when the viewer end plays the video flowing, to synchronize and show the corresponding frame and the service data information.
Fourth aspect provides a kind of net cast device, and described device is viewer end, including:
Video flowing receiving unit, the video flowing sent for receiving the server;The video flowing includes carrying
Service data information is corresponding frame;
Broadcast unit for playing the video flowing, and synchronizes when playing the corresponding frame and shows the business datum
Information.
5th aspect, provides a kind of electronic equipment, including memory, processor and storage on a memory and can handled
The computer program run on device, which is characterized in that the processor realizes first aspect and second party when executing described program
Any method in face.
6th aspect, provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that
First aspect and second aspect any method are realized when the program is executed by processor.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
Method, apparatus, electronic equipment and medium provided by the embodiments of the present application receive video flowing and business by server
Data information, and the time of reception for receiving the service data information is recorded, the video is written into the service data information
Correspondence frame in stream, wherein the server matches at the time of obtaining the corresponding frame with the time of reception, so that described
Service data information can be corresponding correspondence frame be sent to viewer end together so that the viewer end play described in regard
When frequency flows, the displaying corresponding frame that can be synchronized and the service data information avoid the occurrence of service data information and are regarded with live streaming
Frequency stream displaying is asynchronous, and caused service data information and the unmatched problem of video render progress effectively increase business
The displaying synchronism of data information and live video, improves the viewing experience of user.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, others are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the flow chart of net cast method in the embodiment of the present application one;
Fig. 2 is the flow chart of net cast method in the embodiment of the present application two;
Fig. 3 is the structural schematic diagram of device in the embodiment of the present application three;
Fig. 4 is the structural schematic diagram of device in the embodiment of the present application four;
Fig. 5 is the structural schematic diagram of electronic equipment in the embodiment of the present application;
Fig. 6 is the structural schematic diagram of the embodiment of the present application Computer readable storage medium storing program for executing 600.
Specific implementation mode
The embodiment of the present application solves existing straight by a kind of net cast method, apparatus of offer, electronic equipment and medium
Broadcast the business function of platform offer, existing the displaying of service data information and live video stream easily occur asynchronous, leads to business
Data information and the unmatched technical problem of video render progress.Realize the exhibition for improving service data information and live video
Show synchronism, and improves the technique effect of the viewing experience of user.
The technical solution of the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
Obtain the video flowing that main broadcaster end is sent;
When receiving the corresponding service data information in the main broadcaster end, and recording the reception for receiving the service data information
It carves;
The service data information is written to the correspondence frame in the video flowing, wherein it is described right that the server obtains
It answers and is matched with the time of reception at the time of frame;
The video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end, in the sight
It is synchronous to show the corresponding frame and the service data information when many ends play the video flowing.
Specifically, the embodiment of the present application is believed using same or same group of server to obtain video flowing and business datum
Breath effectively reduces the Network Transmission Delays difference of the two.And the time of reception of the service data information is received by recording,
The service data information is written to the correspondence frame in the video flowing, wherein the server obtain the corresponding frame when
Quarter matches with the time of reception, so that the correspondence frame that the service data information can be corresponding is sent to spectators together
End, so that when the viewer end plays the video flowing, the displaying corresponding frame that can be synchronized and business datum letter
Breath avoids the occurrence of service data information and shows asynchronous, caused service data information and video render with live video stream
The unmatched problem of progress effectively increases service data information and the displaying synchronism of live video, improves the viewing of user
Experience.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Embodiment one
As shown in Figure 1, present embodiments providing a kind of net cast method, the method is applied to server, including:
Step S101 obtains the video flowing that main broadcaster end is sent;
Step S102 receives the corresponding service data information in the main broadcaster end, and records and receive the service data information
The time of reception;
The correspondence frame in the video flowing is written, wherein the server obtains in the service data information by step S103
It takes and is matched with the time of reception at the time of the corresponding frame;
Step S104, the video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end,
When the viewer end plays the video flowing, to synchronize and show the corresponding frame and the service data information.
In the embodiment of the present application, the server can be computer equipment, high in the clouds or computer equipment group, herein not
It is restricted.The main broadcaster end and the client can be smart mobile phone, notebook, desktop computer and tablet computer, herein
It is not restricted.
In the following, the specific implementation step of net cast method provided by the embodiments of the present application is discussed in detail in conjunction with Fig. 1:
First, step S101 is executed, the video flowing that main broadcaster end is sent is obtained.
Specifically, during live streaming, the main broadcaster end can be by the video of recording use video flowing lasting in real time
Mode be sent to the server, the server also can be in real time by recording the different frame that be received sequentially video flowing.
In specific implementation process, the server can record the frame reception for receiving each frame in the video flowing
Moment, in order to which the follow-up time of reception with the service data information compares.
Then, step S102 is executed, the corresponding service data information in the main broadcaster end is received, and records and receives the business
The time of reception of data information.
In the embodiment of the present application, the service data information is:Live video data during being broadcast live in addition to main broadcaster
Outside, data are exchanged between other main broadcasters and spectators user or between spectators user and spectators user.For example, the industry
Be engaged in data information can be barrage data information, give a present object data information or answer data information.It is described to receive the main broadcaster end
Corresponding service data information, Ke Yiwei:Receive the barrage information that the corresponding viewer end in the main broadcaster end is sent;Alternatively, receiving
The present information that the corresponding viewer end in the main broadcaster end is sent;Alternatively, receive that the main broadcaster end sends robs answering information;Or
Person receives the answering information that the corresponding viewer end in the main broadcaster end is sent, and this is not restricted, also will not enumerate.
In specific implementation process, it is contemplated that the treating capacity of server controls, can be first to all service data informations
Classify, be classified as needing the service data information played with video stream synchronization and need not be played with video stream synchronization
Service data information.For the service data information for needing to play with video stream synchronization, sends it to the server and carry out
Processing can be sent at other Service Process Server the service data information that need not be played with video stream synchronization
Reason, the treating capacity to avoid the server are excessive.
Based on above-mentioned the case where classifying to service data information, specifically receive the mode of the service data information compared with
It is more, it enumerates separately below for two kinds:
The first, the input terminal (viewer end or main broadcaster end) of the service data information is directly by the service data information
It is sent to the server.
The i.e. described server can issue the list of the service data information that needs and video stream synchronization play to each sight in advance
Many ends and main broadcaster end, after user is in the viewer end or the main broadcaster end input service data information, the viewer end
Or the main broadcaster end can judge whether it belongs to the service data information that needs are played with video stream synchronization, if it is, sending
The service data information to the server carries out subsequent synchronisation processing.
Second, classified service device is set to forward the service data information.
It is independently arranged classified service device, prestores what in need and video stream synchronization played in the classified service device
The list of service data information, it is described after user is in the viewer end or the main broadcaster end input service data information
The service data information can be sent to the classified service device by viewer end or the main broadcaster end, and the classified service device can be sentenced
Breaking, whether it belongs to the service data information that needs are played with video stream synchronization, if it is, forwarding send the business datum to believe
Breath to the server carries out subsequent synchronisation processing.
Certainly, specific sending method is not limited to above two, and this is not restricted, also will not enumerate.
Then, step S103 is executed, the service data information is written to the correspondence frame in the video flowing, wherein institute
It states at the time of server obtains the corresponding frame and is matched with the time of reception.
In the embodiment of the present application, the time of reception for receiving the service data information, with the reception video flowing
In each frame the frame time of reception, be that the timekeeping system being subject on the server carrys out timing, to avoid timing system
Time difference caused by system is different.
In specific implementation process, it is contemplated that there may be the frame times of reception for not having frame in video flowing and the business number
It is believed that the time of reception identical situation of breath, thus be arranged at the time of the server obtains the corresponding frame with the reception
Moment matches, including:
It is identical as the time of reception at the time of server acquisition corresponding frame, or
Compare other frames in the video flowing, at the time of the server obtains the corresponding frame with the time of reception
It is closest.
In the embodiment of the present application, it is contemplated that video flowing needs to be sent to viewer end after encoding, and can be arranged the industry
Business data information method that the corresponding frame is written is:During being encoded to the corresponding frame, the business datum is believed
Breath encodes and the corresponding frame is written by preset rules.
The preset rules can be that service data information coding is placed on to the predeterminated position of the corresponding frame coding,
Either the preset identifier of service data information coding is identified in the coding of the corresponding frame, is not limited herein
System, also will not enumerate.
Then, step S104 is executed, is sent and the video of the service data information is written to flow to the main broadcaster end corresponding
Viewer end, when the viewer end plays the video flowing, can synchronize and show the corresponding frame and the service data information.
In the embodiment of the present application, after the video flowing that the viewer end receives that the server is sent, institute can be played
Video flowing is stated, and is synchronized when playing to the corresponding frame and shows the service data information.Specifically, the spectators
The video flowing that server is sent described in end meeting received in sequence, and sequentially decoding plays, and business datum letter is carried when it is received
After the corresponding frame of breath, the service data information can be decoded to the corresponding frame decoding, and according to preset rules, then together
The decoded corresponding frame of playing display and the service data information are walked, so that the service data information will not be because of
Network delay and with video flowing show it is asynchronous.
It helps to understand the implementation process the present embodiment provides method by taking barrage as an example below:
User A watches live streaming in the direct broadcasting room of main broadcaster B, when it watches main broadcaster B to defeated when putting the picture of soy sauce in pot
Enter barrage information " soy sauce is too many ";
During the video stream of main broadcaster B to server, which is also sent to the server, server
Record is 11 at the time of obtaining the barrage information:25:45;
Server will be 11 in the video flowing of barrage information write-in main broadcaster B:25:In the 45 correspondence frames received, due to regarding
Frequency stream and barrage information are sent to the server, and timekeeping system is consistent, therefore the correspondence frame is just main broadcaster B to putting in pot
The picture of soy sauce;
Then the correspondence frame after write-in is sequentially sent to other viewer ends in the direct broadcasting room of main broadcaster B by server, then its
His viewer end can synchronize " soy sauce is too many " that displaying user A is sent barrage and main broadcaster B to the correspondence frame for putting soy sauce in pot,
To realize that displaying synchronizes.It effectively avoids in main broadcaster B to showing " soy sauce is too many " before or after putting the picture of soy sauce in pot
Barrage, cause viewer end viewing experience bad.
Specifically, method, apparatus provided by the embodiments of the present application, electronic equipment and medium, using same or same
Server is organized to obtain video flowing and service data information, effectively reduces the Network Transmission Delays difference of the two.And pass through note
Record receives the time of reception of the service data information, and the correspondence frame in the video flowing is written in the service data information,
Wherein, it is matched with the time of reception at the time of server obtains the corresponding frame, so that the service data information
Correspondence frame that can be corresponding is sent to viewer end together, so that when the viewer end plays the video flowing, it can be same
The displaying corresponding frame of step and the service data information, it is different from live video stream displaying to avoid the occurrence of service data information
Step, caused service data information and the unmatched problem of video render progress, effectively increase service data information with it is straight
The displaying synchronism for broadcasting video, improves the viewing experience of user.
Based on same inventive concept, this application provides embodiments one to correspond to the method in spectators end side, refers to
Embodiment two.
Embodiment two
The present embodiment provides a kind of net cast methods, as shown in Fig. 2, the method is applied to viewer end, including:
Step S201 receives the video flowing that the server is sent;The video flowing includes carrying business datum letter
The correspondence frame of breath;
Step S202 plays the video flowing, and is synchronized when playing the corresponding frame and show the service data information.
In the embodiment of the present application, the server can be computer equipment, high in the clouds or computer equipment group, herein not
It is restricted.The viewer end can be smart mobile phone, notebook, desktop computer and tablet computer, also not be restricted herein.
In the embodiment of the present application, described synchronized when playing the corresponding frame shows the service data information, including:
The service data information is decoded to the corresponding frame decoding, and according to preset rules;
It is synchronous to show the decoded corresponding frame and the service data information.
Net cast method provided in this embodiment and the both ends that net cast method in embodiment one is Same Way, therefore
And based on the method described in the embodiment of the present application one, those skilled in the art can understand the method for the present embodiment
How specific implementation mode and its various change form herein realize not this method so in order to illustrate the succinct of book
It is discussed in detail again.
Based on same inventive concept, this application provides one corresponding device embodiment of embodiment, detailed in Example three.
Embodiment three
The present embodiment provides a kind of net cast devices, as shown in figure 3, described device is server, including:
Acquiring unit 301, the video flowing for obtaining the transmission of main broadcaster end;
Information receiving unit 302 for receiving the corresponding service data information in the main broadcaster end, and records and receives the industry
The time of reception of business data information;
Writing unit 303, for the service data information to be written to the correspondence frame in the video flowing, wherein described
Server matches at the time of obtaining the corresponding frame with the time of reception;
Transmission unit 304 has been written into the video of the service data information to flow to the main broadcaster end corresponding for sending
Viewer end, when the viewer end plays the video flowing, to synchronize and show the corresponding frame and the service data information.
Since the device that the present embodiment is introduced is to implement to fill used by net cast method in the embodiment of the present application one
It sets, so based on the method described in the embodiment of the present application one, those skilled in the art can understand the present embodiment
The specific implementation mode of device and its various change form, so how to be realized in the embodiment of the present application for the device at this
Method be no longer discussed in detail.As long as those skilled in the art implement to set used by the method in the embodiment of the present application
It is standby, belong to the range to be protected of the application.
Based on same inventive concept, this application provides two corresponding device embodiment of embodiment, detailed in Example four.
Example IV
The present embodiment provides a kind of net cast devices, as shown in figure 4, described device is viewer end, including:
Video flowing receiving unit 401, the video flowing sent for receiving the server;The video flowing includes carrying
Service data information is corresponding frame;
Broadcast unit 402 for playing the video flowing, and synchronizes when playing the corresponding frame and shows the business number
It is believed that breath.
Since the device that the present embodiment is introduced is to implement to fill used by net cast method in the embodiment of the present application two
It sets, so based on the method described in the embodiment of the present application two, those skilled in the art can understand the present embodiment
The specific implementation mode of device and its various change form, so how to be realized in the embodiment of the present application for the device at this
Method be no longer discussed in detail.As long as those skilled in the art implement to set used by the method in the embodiment of the present application
It is standby, belong to the range to be protected of the application.
Based on same inventive concept, this application provides two corresponding apparatus embodiments of embodiment one and embodiment, refer to
Embodiment five.
Embodiment five
The present embodiment provides a kind of electronic equipment, the electronic equipment is server, as shown in figure 5, including memory
510, processor 520 and the computer program 511 that can be run on memory 510 and on processor 520, processor are stored in
Following steps are realized when 520 execution computer program 511:
Obtain the video flowing that main broadcaster end is sent;
When receiving the corresponding service data information in the main broadcaster end, and recording the reception for receiving the service data information
It carves;
The service data information is written to the correspondence frame in the video flowing, wherein it is described right that the server obtains
It answers and is matched with the time of reception at the time of frame;
The video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end, in the sight
It is synchronous to show the corresponding frame and the service data information when many ends play the video flowing.
The present embodiment also provides a kind of electronic equipment, and the electronic equipment is viewer end, as shown in figure 5, including memory
510, processor 520 and the computer program 511 that can be run on memory 510 and on processor 520, processor are stored in
Following steps are realized when 520 execution computer program 511:
Receive the video flowing that the server is sent;The video flowing includes the correspondence for carrying service data information
Frame;
The video flowing is played, and is synchronized when playing the corresponding frame and shows the service data information.
In specific implementation process, when processor 520 executes computer program 511, embodiment one may be implemented or implement
Any embodiment in example two.
Since the electronic equipment that the present embodiment is introduced is to implement a kind of video in the embodiment of the present application one or embodiment two
Equipment used by live broadcasting method, so based on the method described in the embodiment of the present application one or embodiment two, this field institute
The specific implementation mode and its various change form of electronic equipment of the present embodiment can be understood by belonging to technical staff, so herein
How method in the embodiment of the present application is realized if being no longer discussed in detail for the electronic equipment.As long as those skilled in the art
Implement equipment used by the method in the embodiment of the present application, belongs to the range to be protected of the application.
Based on same inventive concept, this application provides two corresponding storage mediums of embodiment one and embodiment, refer to reality
Apply example six.
Embodiment six
The present embodiment provides a kind of computer readable storage mediums 600, as shown in fig. 6, being stored thereon with computer program
611, the method described in embodiment one or embodiment two is realized when which is executed by processor.
In specific implementation process, when which is executed by processor, embodiment one may be implemented or implement
Any embodiment in example two.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of net cast method, which is characterized in that the method is applied to server, including:
Obtain the video flowing that main broadcaster end is sent;
The corresponding service data information in the main broadcaster end is received, and records the time of reception for receiving the service data information;
The service data information is written to the correspondence frame in the video flowing, wherein the server obtains the corresponding frame
At the time of matched with the time of reception;
The video that transmission has been written into the service data information flow to the corresponding viewer end in the main broadcaster end, in the viewer end
When playing the video flowing, based on the corresponding frame for carrying the service data information, it is synchronous show the corresponding frame and
The service data information.
2. the method as described in claim 1, which is characterized in that it is described to receive the corresponding service data information in the main broadcaster end,
Including:
Receive the barrage information that the corresponding viewer end in the main broadcaster end is sent;Alternatively,
Receive the present information that the corresponding viewer end in the main broadcaster end is sent;Alternatively,
Receive the main broadcaster end transmission robs answering information;Alternatively,
Receive the answering information that the corresponding viewer end in the main broadcaster end is sent.
3. the method as described in claim 1, which is characterized in that the server connects at the time of obtaining the corresponding frame with described
Time receiving carves matching, including:
It is identical as the time of reception at the time of server acquisition corresponding frame, or
Other frames in the video flowing are compared, the server most connects at the time of obtaining the corresponding frame with the time of reception
Closely.
4. the method as described in claim 1, which is characterized in that described that the service data information is written in the video flowing
Correspondence frame, including:
During being encoded to the corresponding frame, the service data information is encoded and the correspondence is written by preset rules
Frame.
5. a kind of net cast method, which is characterized in that the method is applied to viewer end, including:
Receive the video flowing that server is sent;The video flowing includes the correspondence frame for carrying service data information;
The video flowing is played, and is synchronized when playing the corresponding frame and shows the service data information.
6. method as claimed in claim 5, which is characterized in that described synchronized when playing the corresponding frame shows the business
Data information, including:
The service data information is decoded to the corresponding frame decoding, and according to preset rules;
It is synchronous to show the decoded corresponding frame and the service data information.
7. a kind of net cast device, which is characterized in that described device is server, including:
Acquiring unit, the video flowing for obtaining the transmission of main broadcaster end;
Information receiving unit for receiving the corresponding service data information in the main broadcaster end, and records and receives the business datum
The time of reception of information;
Writing unit, for the service data information to be written to the correspondence frame in the video flowing, wherein the server obtains
It takes and is matched with the time of reception at the time of the corresponding frame;
Transmission unit has been written into the video of the service data information and flow to the corresponding viewer end in the main broadcaster end for sending,
When the viewer end plays the video flowing, to synchronize and show the corresponding frame and the service data information.
8. a kind of net cast device, which is characterized in that described device is viewer end, including:
Video flowing receiving unit, the video flowing sent for receiving the server;The video flowing includes carrying business
Data information is corresponding frame;
Broadcast unit for playing the video flowing, and synchronizes when playing the corresponding frame and shows the service data information.
9. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, which is characterized in that the processor realizes claim 1-6 any methods when executing described program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Claim 1-6 any methods are realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810278523.0A CN108495152B (en) | 2018-03-30 | 2018-03-30 | Video live broadcast method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810278523.0A CN108495152B (en) | 2018-03-30 | 2018-03-30 | Video live broadcast method and device, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108495152A true CN108495152A (en) | 2018-09-04 |
CN108495152B CN108495152B (en) | 2021-05-28 |
Family
ID=63317319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810278523.0A Active CN108495152B (en) | 2018-03-30 | 2018-03-30 | Video live broadcast method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108495152B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714622A (en) * | 2018-11-15 | 2019-05-03 | 北京奇艺世纪科技有限公司 | A kind of video data handling procedure, device and electronic equipment |
CN110225384A (en) * | 2019-06-18 | 2019-09-10 | 北京字节跳动网络技术有限公司 | The method for pushing of status message, the switching method of interaction content, device and equipment |
CN111147887A (en) * | 2020-01-06 | 2020-05-12 | 网易(杭州)网络有限公司 | Live broadcast service control method and device, computer readable medium and electronic equipment |
CN111163326A (en) * | 2019-12-30 | 2020-05-15 | 网易(杭州)网络有限公司 | Virtual gift presenting method, virtual gift presenting device, medium, and electronic apparatus |
CN111669612A (en) * | 2019-03-08 | 2020-09-15 | 腾讯科技(深圳)有限公司 | Live broadcast-based information delivery method and device and computer-readable storage medium |
CN111770373A (en) * | 2020-07-09 | 2020-10-13 | 北京达佳互联信息技术有限公司 | Content synchronization method, device and equipment based on live broadcast and storage medium |
CN111818359A (en) * | 2020-09-14 | 2020-10-23 | 北京达佳互联信息技术有限公司 | Processing method and device for live interactive video, electronic equipment and server |
CN112019937A (en) * | 2019-05-30 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Online answer live broadcasting method and device, server and storage medium |
CN112437316A (en) * | 2020-10-15 | 2021-03-02 | 北京三快在线科技有限公司 | Method and device for synchronously playing instant message and live video stream |
CN112839235A (en) * | 2020-12-30 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Display method, comment sending method, video frame pushing method and related equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120159527A1 (en) * | 2010-12-16 | 2012-06-21 | Microsoft Corporation | Simulated group interaction with multimedia content |
CN103096128A (en) * | 2011-11-07 | 2013-05-08 | 中国移动通信集团公司 | Method capable of achieving video interaction, server, terminal and system |
CN103621106A (en) * | 2011-06-20 | 2014-03-05 | 微软公司 | Providing video presentation commentary |
CN106231363A (en) * | 2016-08-08 | 2016-12-14 | 上海幻电信息科技有限公司 | A kind of barrage video stream transmission method and equipment thereof |
CN106412622A (en) * | 2016-11-14 | 2017-02-15 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displaying barrage information during video content playing process |
CN106488291A (en) * | 2016-11-17 | 2017-03-08 | 百度在线网络技术(北京)有限公司 | The method and apparatus of simultaneous display file in net cast |
CN106816055A (en) * | 2017-04-05 | 2017-06-09 | 杭州恒生数字设备科技有限公司 | A kind of low-power consumption live teaching broadcast recording and broadcasting system for interacting and method |
CN107277594A (en) * | 2017-07-06 | 2017-10-20 | 广州华多网络科技有限公司 | A kind of video and audio and barrage synchronous method and device |
CN107277641A (en) * | 2017-07-04 | 2017-10-20 | 上海全土豆文化传播有限公司 | A kind of processing method and client of barrage information |
CN107743252A (en) * | 2017-11-01 | 2018-02-27 | 创盛视联数码科技(北京)有限公司 | A kind of method for reducing live delay |
-
2018
- 2018-03-30 CN CN201810278523.0A patent/CN108495152B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120159527A1 (en) * | 2010-12-16 | 2012-06-21 | Microsoft Corporation | Simulated group interaction with multimedia content |
CN103621106A (en) * | 2011-06-20 | 2014-03-05 | 微软公司 | Providing video presentation commentary |
CN103096128A (en) * | 2011-11-07 | 2013-05-08 | 中国移动通信集团公司 | Method capable of achieving video interaction, server, terminal and system |
CN106231363A (en) * | 2016-08-08 | 2016-12-14 | 上海幻电信息科技有限公司 | A kind of barrage video stream transmission method and equipment thereof |
CN106412622A (en) * | 2016-11-14 | 2017-02-15 | 百度在线网络技术(北京)有限公司 | Method and apparatus for displaying barrage information during video content playing process |
CN106488291A (en) * | 2016-11-17 | 2017-03-08 | 百度在线网络技术(北京)有限公司 | The method and apparatus of simultaneous display file in net cast |
CN106816055A (en) * | 2017-04-05 | 2017-06-09 | 杭州恒生数字设备科技有限公司 | A kind of low-power consumption live teaching broadcast recording and broadcasting system for interacting and method |
CN107277641A (en) * | 2017-07-04 | 2017-10-20 | 上海全土豆文化传播有限公司 | A kind of processing method and client of barrage information |
CN107277594A (en) * | 2017-07-06 | 2017-10-20 | 广州华多网络科技有限公司 | A kind of video and audio and barrage synchronous method and device |
CN107743252A (en) * | 2017-11-01 | 2018-02-27 | 创盛视联数码科技(北京)有限公司 | A kind of method for reducing live delay |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714622A (en) * | 2018-11-15 | 2019-05-03 | 北京奇艺世纪科技有限公司 | A kind of video data handling procedure, device and electronic equipment |
CN109714622B (en) * | 2018-11-15 | 2021-04-16 | 北京奇艺世纪科技有限公司 | Video data processing method and device and electronic equipment |
CN111669612B (en) * | 2019-03-08 | 2023-02-28 | 腾讯科技(深圳)有限公司 | Live broadcast-based information delivery method and device and computer-readable storage medium |
CN111669612A (en) * | 2019-03-08 | 2020-09-15 | 腾讯科技(深圳)有限公司 | Live broadcast-based information delivery method and device and computer-readable storage medium |
CN112019937A (en) * | 2019-05-30 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Online answer live broadcasting method and device, server and storage medium |
CN110225384A (en) * | 2019-06-18 | 2019-09-10 | 北京字节跳动网络技术有限公司 | The method for pushing of status message, the switching method of interaction content, device and equipment |
CN111163326A (en) * | 2019-12-30 | 2020-05-15 | 网易(杭州)网络有限公司 | Virtual gift presenting method, virtual gift presenting device, medium, and electronic apparatus |
CN111147887A (en) * | 2020-01-06 | 2020-05-12 | 网易(杭州)网络有限公司 | Live broadcast service control method and device, computer readable medium and electronic equipment |
CN111770373A (en) * | 2020-07-09 | 2020-10-13 | 北京达佳互联信息技术有限公司 | Content synchronization method, device and equipment based on live broadcast and storage medium |
CN111770373B (en) * | 2020-07-09 | 2022-09-02 | 北京达佳互联信息技术有限公司 | Content synchronization method, device and equipment based on live broadcast and storage medium |
CN111818359A (en) * | 2020-09-14 | 2020-10-23 | 北京达佳互联信息技术有限公司 | Processing method and device for live interactive video, electronic equipment and server |
US11388453B2 (en) | 2020-09-14 | 2022-07-12 | Beijing Dajia Internet Information Technology Co., Ltd. | Method for processing live-streaming interaction video and server |
CN112437316A (en) * | 2020-10-15 | 2021-03-02 | 北京三快在线科技有限公司 | Method and device for synchronously playing instant message and live video stream |
CN112839235A (en) * | 2020-12-30 | 2021-05-25 | 北京达佳互联信息技术有限公司 | Display method, comment sending method, video frame pushing method and related equipment |
CN112839235B (en) * | 2020-12-30 | 2023-04-07 | 北京达佳互联信息技术有限公司 | Display method, comment sending method, video frame pushing method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108495152B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495152A (en) | A kind of net cast method, apparatus, electronic equipment and medium | |
CN108600815A (en) | A kind of online method and system chorused in real time | |
CN107801083A (en) | A kind of network real-time interactive live broadcasting method and device based on three dimensional virtual technique | |
CN106488291B (en) | The method and apparatus of simultaneous display file in net cast | |
CN103535027B (en) | The method for handling the sequence of encoded video frame | |
CN108989883B (en) | Live broadcast advertisement method, device, equipment and medium | |
CN108174233A (en) | A kind of live broadcasting method, device, server and medium | |
CN108769824A (en) | A kind of video mixed flow method, apparatus, system, equipment and medium | |
CN112672179B (en) | Method, device and equipment for live game | |
CN106060606A (en) | Large-screen partition display method, play terminal and system of digital audio-visual place, and digital video-on-demand system | |
CN112584087B (en) | Video conference recording method, electronic device and storage medium | |
CN108833809A (en) | A kind of video mixed flow control method, device, system, equipment and medium | |
CN104998412A (en) | Single-player game realization method and apparatus | |
CN105491396A (en) | Multimedia information processing method and server | |
CN109586929A (en) | The transmission method and device of conference content | |
KR102163695B1 (en) | Method for providing real-time engaging streaming service over internet and apparatus therefor | |
CN111083504B (en) | Interaction method, device and equipment | |
CN107613365A (en) | A kind of video broadcasting method and device | |
CN109218798A (en) | A kind of live streaming barrage color setting method and device | |
US20210227005A1 (en) | Multi-user instant messaging method, system, apparatus, and electronic device | |
CN108650541A (en) | Realize that the method and system of video is played simultaneously in distinct device | |
CN104427383B (en) | A kind of information processing method and electronic equipment | |
CN106060580A (en) | Synchronous image display method and device | |
CN111803924B (en) | Multi-terminal synchronous display method and device for cloud game and readable storage medium | |
US20230283813A1 (en) | Centralized streaming video composition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |