CN110401869A - A kind of net cast method, system and electronic equipment and storage medium - Google Patents
A kind of net cast method, system and electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110401869A CN110401869A CN201910683259.3A CN201910683259A CN110401869A CN 110401869 A CN110401869 A CN 110401869A CN 201910683259 A CN201910683259 A CN 201910683259A CN 110401869 A CN110401869 A CN 110401869A
- Authority
- CN
- China
- Prior art keywords
- saved
- video data
- segmented
- score
- video
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003860 storage Methods 0.000 title claims abstract description 38
- 230000011218 segmentation Effects 0.000 claims abstract description 36
- 238000011084 recovery Methods 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 238000004321 preservation Methods 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000010899 nucleation Methods 0.000 description 1
- 230000000474 nursing effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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/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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application discloses a kind of net cast method, system and a kind of electronic equipment and computer readable storage mediums, this method comprises: determining segmented video data to be saved;The segmented video data to be saved is the data being segmented to the live video data after Caton timing node;Determine the corresponding segmenting video score to be saved of segmented video data to be saved;Determine whether to store segmented video data to be saved into target position according to segmenting video score to be saved;After detecting that recovery is smooth, reads the segmentation rear video data in target position and play out.From the above, it can be seen that, the application is after Caton occurs for live streaming, live video data after Caton timing node will be segmented, and it saves into target position, to the video data of preservation be taken out and be played, realize the reservation to video data during Caton after restoring smooth, it can be effectively prevented from the loss of video data, improve the usage experience of user.
Description
Technical field
This application involves direct seeding technique fields, more specifically to a kind of net cast method, system and a kind of electronics
Equipment and a kind of computer readable storage medium.
Background technique
Live streaming refers to that the same time watches film in different intercommunion platforms by network system.With technology of Internet of things and
The use scope of the fast development of social demand, live streaming is more and more extensive, as a kind of emerging network social intercourse mode, has
Distinctive real-time interactive, diversity, independence, benefit and authenticity have obtained the concern of users and have liked.So
And during live streaming, often it is possible that due to network environment it is poor caused by live streaming Caton problem, so as to cause loss
The video data during Caton is broadcast live, seriously affects user experience.
Therefore, how to solve the above problems is that those skilled in the art need to pay close attention to.
Summary of the invention
The application be designed to provide a kind of net cast method, system and a kind of electronic equipment and a kind of computer can
Storage medium is read, the loss of video data can be effectively avoided, improve the usage experience of user.
To achieve the above object, this application provides a kind of net cast methods, comprising:
Determine segmented video data to be saved;The segmented video data to be saved is to straight after Caton timing node
Broadcast the data that video data is segmented;
Determine the corresponding segmenting video score to be saved of the segmented video data to be saved;
Determine whether to store the segmented video data to be saved to target according to the segmenting video score to be saved
In position;
After detecting that recovery is smooth, reads the segmentation rear video data in the target position and play out.
Optionally, determination segmented video data to be saved, comprising:
The live video data after the Caton timing node is segmented based on preset condition, is obtained described wait protect
Deposit segmented video data;The preset condition is preset data amount size or predetermined time period.
Optionally, described to be determined whether according to the segmenting video score to be saved by the segmented video data to be saved
After storing into target position, further includes:
If it is determined that storing the segmented video data to be saved into the target position, it is determined that described to be saved point
The essential information and record of section video data;The video that the essential information includes at least the segmented video data to be saved rises
Only time and save location;
Correspondingly, the segmentation rear video data read in the target position and playing out, comprising:
The segmentation rear video data are read based on the essential information and are played out.
Optionally, the corresponding segmenting video score to be saved of the determination segmented video data to be saved, comprising:
Determine the event information in the segmented video data to be saved;
It is scored based on default code of points the event information, obtains segmenting video score to be saved.Optionally,
It is described to be scored based on default code of points the event information, obtain segmenting video score to be saved, comprising:
It determines the type and quantity of the event information, and obtains preset kind score;
It is added up based on the quantity to the preset kind score, obtains the segmenting video score to be saved.
Optionally, described to be determined whether according to the segmenting video score to be saved by the segmented video data to be saved
It stores into target position, comprising:
Whether the residual storage capacity for judging database is zero;
If the residual storage capacity is not zero, the segmented video data to be saved is stored to the target position
In.
Optionally, after whether the residual storage capacity for judging database is zero, further includes:
If the residual storage capacity is zero, it is determined that in the database in existing all segmentation rear video scores
Minimum score;
Judge whether the segmenting video score to be saved is more than or equal to the minimum score;
If it is, by the minimum corresponding segmentation rear video data of score and its corresponding essential information from the number
According to being deleted in library, and the segmented video data to be saved is stored into the target position after deletion;
If it is not, then forbidding storing the segmented video data to be saved into the target position.
To achieve the above object, this application provides a kind of video living transmission systems, comprising:
Data determining module, for determining segmented video data to be saved;The segmented video data to be saved is to card
Immediately the data that the live video data after intermediate node is segmented;
Score determining module, for determining the corresponding segmenting video score to be saved of the segmented video data to be saved;
Determining module is stored, for determining whether to regard the segmentation to be saved according to the segmenting video score to be saved
Frequency is according to storing into target position;
Data read module, for reading the segmentation backsight frequency in the target position after detecting that recovery is smooth
According to and play out.
To achieve the above object, this application provides a kind of electronic equipment, comprising:
Memory, for storing computer program;
Processor realizes the step of aforementioned disclosed any net cast method when for executing the computer program
Suddenly.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages
Computer program is stored on medium, the computer program realizes that aforementioned disclosed any video is straight when being executed by processor
The step of broadcasting method.
By above scheme it is found that a kind of net cast method provided by the present application, comprising: determine segmenting video to be saved
Data;The segmented video data to be saved is the number being segmented to the live video data after Caton timing node
According to;Determine the corresponding segmenting video score to be saved of the segmented video data to be saved;According to the segmenting video to be saved
Score determines whether to store the segmented video data to be saved into target position;After detecting that recovery is smooth, read
Segmentation rear video data in the target position simultaneously play out.From the foregoing, it will be observed that the application live streaming occur Caton after, will be right
Live video data after Caton timing node is segmented, and determines that segmented video data to be saved is to be saved point corresponding
Section video score, judges whether to save segmented video data to be saved to target position based on segmenting video score to be saved
In, to the video data of preservation can be taken out and be played, realized to video data during Caton after restoring smooth
Retain, the loss of video data can be effectively prevented from, improve the usage experience of user.
Disclosed herein as well is a kind of video living transmission system and a kind of electronic equipment and a kind of computer readable storage medium,
Equally it is able to achieve above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Application.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of net cast method disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of another kind net cast method disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow chart of specific net cast method disclosed in the embodiment of the present application;
Fig. 4 is a kind of structure chart of video living transmission system disclosed in the embodiment of the present application;
Fig. 5 is the structure chart of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 6 is the structure chart of another kind electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
During existing live streaming, often it is possible that due to network environment it is poor caused by live streaming Caton problem, from
And lead to lose the video data during Caton is broadcast live, seriously affect user experience.
Therefore, the embodiment of the present application discloses a kind of net cast method, can effectively avoid the loss of video data, mention
The usage experience of user is risen.
Shown in Figure 1, a kind of net cast method disclosed in the embodiment of the present application includes:
S101: segmented video data to be saved is determined;Segmented video data to be saved be to Caton timing node after
The data that live video data is segmented;
Executing subject in the present embodiment is the equipment or server for sending live video data.Equipment can be object
Networked devices, including but not limited to smart phone, tablet computer, PC, PDA etc.;Server can include but is not limited to single net
The server group or be made of based on cloud computing a large number of computers or network servers that network server, multiple network servers form
Cloud.The embodiment of the present application can be used for various net cast scenes, and net cast scene includes but is not limited to teleconference, body
Educate the application scenarios such as match, news briefing, remote nursing.
In this step, determine that the process of segmented video data to be saved can be with specifically: detecting live streaming client
End during net cast occur Caton after, the live video data after Caton timing node is segmented, obtain to
Save segmented video data.Wherein, live streaming client can include but is not limited to smart phone, tablet computer, MP4, PC, PDA,
Wearable device and wear display equipment etc..When whether detection net cast occurs Caton, the hair of live data can use
Sending end is in real time or timing detects live streaming client;Or can use live streaming client and carry out self-test, block in live streaming
Caton information is fed back to the transmitting terminal of live data immediately after.
In a kind of specific embodiment, the present embodiment can be based on preset condition to straight after Caton timing node
It broadcasts video data to be segmented, obtains segmented video data to be saved.Specifically, preset condition can be preset data amount size
Or predetermined time period, that is, live video data is divided into multistage video according to preset data amount size;Or according to it is default when
Between length live video data is divided into multistage video.For example, if predetermined time period is 500ms, every 500ms to live streaming
Video data is once segmented, and segmentation rear video data are obtained.Certainly, above-mentioned preset data amount size and predetermined time period
It can preset, can also manually be set by client, the present embodiment is not specifically limited in this embodiment for system.
S102: the corresponding segmenting video score to be saved of segmented video data to be saved is determined;
Specifically, the present embodiment can determine the event information in segmented video data to be saved first, and based on default
Code of points scores to event information, obtains segmenting video score to be saved.Wherein, segmenting video score to be saved can be with
For the score value for characterizing segmenting video importance.
S103: determine whether to store segmented video data to be saved to target position according to segmenting video score to be saved
In;
After determining segmenting video score to be saved, will be according to segmenting video score to be saved judgement in the present embodiment
It is no to save segmented video data to be saved into target position.Specifically, score threshold can be preset, by judge to
The size relation for saving segmenting video score and score threshold determines whether to store segmented video data to be saved to target position
In setting;Segmenting video score to be saved video score corresponding with other existing videos can also be compared, and according to right
Determine whether to store segmented video data to be saved into target position than result.When saving video, can by it is each to
It saves segmented video data to be saved respectively into corresponding buffer area, realizes fragmented storage.
S104: after detecting that recovery is smooth, the segmentation rear video data in target position is read and are played out.
In this step, after the transmitting terminal of live data detects the recovery smoothness of live streaming client, target will be read
The segmentation rear video data stored in position, so that the video data during live streaming client obtains Caton.It is understood that
When whether the present embodiment detection Caton is restored, the side that live data transmitting terminal detects live streaming client equally can choose
Formula, or the mode of live streaming client active feedback live state information, this does not influence realization of the invention.
It should be noted that in a kind of specific embodiment, by each segmented video data to be saved in above-mentioned steps
It when preservation to corresponding buffer area, can be stored sequentially in time, thus can be straight when reading segmentation rear video data
It connects the sequence based on storage to be read out, guarantees the order of video data.In another specific embodiment, it can incite somebody to action
The corresponding video initial time of segmented video data to be saved is stored as mark, so that subsequent can use video starting
Time is to segmentation rear video data carry out sequence reading and broadcasting.
The application will be segmented the live video data after Caton timing node after Caton occurs for live streaming, and
It determines the corresponding segmenting video score to be saved of segmented video data to be saved, is judged whether based on segmenting video score to be saved
Segmented video data to be saved is saved into target position, to can be taken the video data of preservation after restoring smooth
It out and plays, realizes the reservation to video data during Caton, the loss of video data can be effectively prevented from, improve use
The usage experience at family.
The embodiment of the present application discloses another net cast method, and relative to a upper embodiment, the present embodiment is to technology
Scheme has made further instruction and optimization.It is shown in Figure 2, specific:
S201: segmented video data to be saved is determined;Segmented video data to be saved be to Caton timing node after
The data that live video data is segmented;
S202: the corresponding segmenting video score to be saved of segmented video data to be saved is determined;
S203: determine whether to store segmented video data to be saved to target position according to segmenting video score to be saved
In;
S204: if it is determined that storing segmented video data to be saved into target position, it is determined that segmenting video to be saved
The essential information and record of data;Essential information includes at least the video beginning and ending time of segmented video data to be saved and saves position
It sets;
S205: after detecting that recovery is smooth, the segmentation rear video data in target position are read simultaneously based on essential information
It plays out.
In the present embodiment, after storing segmented video data to be saved into target position, it may further determine that
The essential information of segmented video data to be saved is as index identification information and is recorded, wherein essential information includes at least
The video beginning and ending time of segmented video data to be saved and save location, so that subsequent can be based on above-mentioned essential information according to view
Frequency beginning and ending time sequence reading video data from holding position.
It is shown in Figure 3, a kind of specific net cast method is present embodiments provided, this method specifically includes:
S301: segmented video data to be saved is determined;Segmented video data to be saved be to Caton timing node after
The data that live video data is segmented;
S302: the event information in segmented video data to be saved is determined;
In this step, after segmented video data to be saved is stored into target position, further determine that in the video
Event information.
It should be pointed out that the present embodiment can pre-establish event base, it include a large amount of live streamings view collected in advance in library
The corresponding event data of event that may occur in frequency.In the present embodiment, it can use the event letter in current fragment video
The data of breath are matched with the data in event base, so that identification obtains the event information in current fragment video.
S303: the type and quantity of event information are determined, and obtains preset kind score;
S304: it is added up based on quantity to preset kind score, obtains segmenting video score to be saved;
After determining the event information in video data, this step will be commented event information based on preset code of points
Point, to obtain the corresponding score of current video.Specifically, the type and quantity of above-mentioned event information can be determined, and obtain needle
It adds up to the preset kind score of each event type, and then based on quantity to preset kind score, obtains working as forward sight
The score of frequency.Wherein, preset kind score can be set according to the significance level of type, be important types of events or Gao You
The first higher score of grade event setup.Such as, however, it is determined that the event in current video data are as follows: fire, tumble, humans and animals,
Corresponding preset kind score is respectively 1000,100,10 and 1, and it is respectively 2,5,3,2 that quantity, which occurs, for event, then adds up and obtain most
Whole video is scored at 2532 points.
S305: whether the residual storage capacity for judging database is zero;If residual storage capacity is not zero, enter
S306;If residual storage capacity is zero, enter S307;
S306: segmented video data to be saved is stored into target position, after detecting that recovery is smooth, reads target
Segmentation rear video data in position simultaneously play out;
Further, the present embodiment is saved by the essential information of video to before database, will first determine whether database
Residual storage capacity whether be zero, if residual storage capacity is not zero, then it represents that database can be with storing data, Ke Yizhi
It connects and saves above-mentioned current video data and corresponding essential information into database.
S307: the minimum score in all segmentation rear video scores existing in database is determined;
If residual storage capacity is zero, then it represents that database has been expired, and can not continue to store.In this step, it will obtain
All video scores existing in database are taken, and determine minimum score from all video scores.
S308: judge whether segmenting video score to be saved is more than or equal to minimum score;
S309: if it is, by the corresponding segmentation rear video data of minimum score and its corresponding essential information from data
It is deleted in library, and enters S306 after deletion;
S310: if it is not, then forbidding storing segmented video data to be saved into target position.
Further, after determining minimum score, the present embodiment will judge whether segmenting video score to be saved is big
In equal to minimum score.If segmenting video score to be saved is greater than minimum score, by the corresponding segmentation rear video of minimum score
Data and its corresponding essential information are deleted from database, and after deletion by current segmented video data to be saved and its
It is recorded in corresponding essential information write-in database.If segmenting video score to be saved is equal to minimum score, the present embodiment
Equally the corresponding segmentation rear video data of minimum score and its corresponding essential information are deleted from database, to ensure data
The information saved in library is time newest information.If segmenting video score to be saved be less than minimum score, will directly abandon to
Segmented video data and its corresponding essential information are saved, without the step of executing write-in database.
It is understood that the present embodiment can be in the conditional situation of database volume, in order to effectively guarantee to wrap
It, will be for every kind of event containing significance level is higher or the corresponding video score of video data of the higher event of priority is not exceeded
Quantity sets corresponding threshold value.For example, the default of tumble event is scored at 100, In if the default of event of fire is scored at 1000
Tumble event occurs 11 times in first segmenting video, and event of fire occurs 1 time in the second segmenting video, regards to two segmentations
After frequency is scored, obtains the first segmenting video and be scored at 1100, the second segmenting video is scored at 1000, leads to important journey
It spends the corresponding video of relatively low event and obtains higher score instead.In order to avoid this kind of situation, the present embodiment
Can be event statistics quantity setting threshold value be 9, it is ensured that the video score comprising more important event is higher.
In the present embodiment, segmented video data to be saved and its corresponding essential information are stored into database, thus
Guarantee system essential information after booting is restarted still has, and will not lose.In a kind of specific embodiment, if video
Live streaming the time it is shorter or without consider booting restart lose information in the case where, the present embodiment can also be by segmenting video to be saved
Data and its storage of corresponding essential information are in the queue.It, can be directly according to team since queue has the characteristics of first in first out
Storage order in column carries out the reading of segmentation rear video data, guarantees the played in order of video.
A kind of video living transmission system provided by the embodiments of the present application is introduced below, a kind of video described below is straight
Broadcasting system can be cross-referenced with a kind of above-described net cast method.
Shown in Figure 4, a kind of video living transmission system provided by the embodiments of the present application includes:
Data determining module 11, for determining segmented video data to be saved;Segmented video data to be saved is to Caton
The data that live video data after timing node is segmented;
Score determining module 12, for determining the corresponding segmenting video score to be saved of segmented video data to be saved;
Determining module 13 is stored, for determining whether according to segmenting video score to be saved by segmented video data to be saved
It stores into target position;
Data read module 14, for reading the segmentation rear video data in target position after detecting that recovery is smooth
And it plays out.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
In system, data determining module 11 can be specifically used for:
The live video data after Caton timing node is segmented based on preset condition, obtains segmentation view to be saved
Frequency evidence;Preset condition is preset data amount size or predetermined time period.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
System can further include:
Information logging modle, for determining whether to deposit segmented video data to be saved according to segmenting video score to be saved
After storage is into target position, however, it is determined that store segmented video data to be saved into target position, it is determined that be saved point
The essential information and record of section video data;Essential information include at least segmented video data to be saved the video beginning and ending time and
Save location;Correspondingly, data memory module is specifically used for: reading segmentation rear video data based on essential information and broadcast
It puts.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
In system, score determining module 12 can be specifically included:
Information determination unit, for determining the event information in segmented video data to be saved;
Event scoring unit obtains segmentation view to be saved for scoring based on default code of points event information
Frequency score.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
In system, event scoring unit can be specifically included:
It determines subelement, for determining the type and quantity of event information, and obtains preset kind score;
Cumulative subelement obtains segmenting video score to be saved for adding up based on quantity to preset kind score.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
In system, storage determining module 13 can be specifically included:
Capacity determination module, for judging whether the residual storage capacity of database is zero;
Data memory module stores segmented video data to be saved to mesh if being not zero for residual storage capacity
In cursor position.
On the basis of the above embodiments, net cast provided by the embodiments of the present application as a preferred implementation manner,
System can further include:
Minimum determining module, if being zero for residual storage capacity, it is determined that existing all segmentation backsights in database
Minimum score in frequency score;
Score judgment module, for judging whether segmenting video score to be saved is more than or equal to minimum score;
Data removing module, if being more than or equal to minimum score for segmenting video score to be saved, by minimum score
Corresponding segmentation rear video data and its corresponding essential information are deleted from database, and after deletion regard segmentation to be saved
Frequency is according to storing into target position;
Forbid memory module, if being less than minimum score for segmenting video score to be saved, forbids to be saved point
Section video data is stored into target position.
Present invention also provides a kind of electronic equipment, shown in Figure 5, a kind of electronic equipment provided by the embodiments of the present application
Include:
Memory 100, for storing computer program;
View provided by any of the above-described kind of embodiment may be implemented in processor 200 when for executing above-mentioned computer program
The step of frequency live broadcasting method.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage
There are operating system and computer-readable instruction, which is that the operating system and computer in non-volatile memory medium can
The operation of reading instruction provides environment.Processor 200 can be a central processing unit (Central in some embodiments
Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, mentioned for electronic equipment
For calculating and control ability, when executing the computer program saved in above-mentioned memory 100, it is public that previous embodiment institute may be implemented
The step of net cast method opened.
On the basis of the above embodiments, preferably, shown in Figure 6, the electronic equipment further include:
Input interface 300 is connected with processor 200, for obtaining computer program, parameter and the instruction of external importing,
It saves through the control of processor 200 into memory 100.The input interface 300 can be connected with input unit, and it is manual to receive user
The parameter or instruction of input.The input unit can be the touch layer covered on display screen, be also possible to be arranged in terminal enclosure
Key, trace ball or Trackpad, be also possible to keyboard, Trackpad or mouse etc..
Display unit 400 is connected with processor 200, for video-stream processor 200 processing data and for show can
Depending on the user interface changed.The display unit 400 can for light-emitting diode display, liquid crystal display, touch-control liquid crystal display and
OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..
The network port 500 is connected with processor 200, for being communicatively coupled with external each terminal device.The communication link
The communication technology used by connecing can be cable communicating technology or wireless communication technique, and such as mobile high definition chained technology (MHL) leads to
It is blue with universal serial bus (USB), high-definition media interface (HDMI), adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption
The tooth communication technology, communication technology based on IEEE802.11s etc..
Fig. 6 illustrates only the electronic equipment with component 100-500, it will be appreciated by persons skilled in the art that Fig. 6 shows
Structure out does not constitute the restriction to electronic equipment, may include than illustrating less perhaps more components or combining certain
A little components or different component layouts.
Present invention also provides a kind of computer readable storage medium, the storage medium may include: USB flash disk, mobile hard disk,
Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic
The various media that can store program code such as dish or CD.Computer program, above-mentioned calculating are stored on the storage medium
Machine program realizes the step of net cast method provided by aforementioned any embodiment when being executed by processor.
The application will be segmented the live video data after Caton timing node after Caton occurs for live streaming, and
It determines the corresponding segmenting video score to be saved of segmented video data to be saved, is judged whether based on segmenting video score to be saved
Segmented video data to be saved is saved into target position, to can be taken the video data of preservation after restoring smooth
It out and plays, realizes the reservation to video data during Caton, the loss of video data can be effectively prevented from, improve use
The usage experience at family.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also
Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application
It is interior.
It should also be noted that, in the present specification, 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 the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (10)
1. a kind of net cast method characterized by comprising
Determine segmented video data to be saved;The segmented video data to be saved is to regard to the live streaming after Caton timing node
Frequency is according to the data being segmented;
Determine the corresponding segmenting video score to be saved of the segmented video data to be saved;
Determine whether to store the segmented video data to be saved to target position according to the segmenting video score to be saved
In;
After detecting that recovery is smooth, reads the segmentation rear video data in the target position and play out.
2. net cast method according to claim 1, which is characterized in that the determination segmented video data to be saved,
Include:
The live video data after the Caton timing node is segmented based on preset condition, obtains described to be saved point
Section video data;The preset condition is preset data amount size or predetermined time period.
3. net cast method according to claim 1, which is characterized in that described to be obtained according to the segmenting video to be saved
Divide and determine whether after storing the segmented video data to be saved into target position, further includes:
If it is determined that storing the segmented video data to be saved into the target position, it is determined that the segmentation view to be saved
The essential information and record of frequency evidence;When the essential information includes at least the video start-stop of the segmented video data to be saved
Between and save location;
Correspondingly, the segmentation rear video data read in the target position and playing out, comprising:
The segmentation rear video data are read based on the essential information and are played out.
4. net cast method according to claim 1, which is characterized in that the determination segmenting video number to be saved
According to corresponding segmenting video score to be saved, comprising:
Determine the event information in the segmented video data to be saved;
It is scored based on default code of points the event information, obtains segmenting video score to be saved.
5. net cast method according to claim 4, which is characterized in that described to be based on default code of points to the thing
Part information scores, and obtains segmenting video score to be saved, comprising:
It determines the type and quantity of the event information, and obtains preset kind score;
It is added up based on the quantity to the preset kind score, obtains the segmenting video score to be saved.
6. net cast method according to any one of claims 1 to 5, which is characterized in that described according to described to be saved
Segmenting video score determines whether to store the segmented video data to be saved into target position, comprising:
Whether the residual storage capacity for judging database is zero;
If the residual storage capacity is not zero, the segmented video data to be saved is stored into the target position.
7. net cast method according to claim 6, which is characterized in that the residual storage capacity of the judgement database
After whether being zero, further includes:
If the residual storage capacity is zero, it is determined that minimum in existing all segmentation rear video scores in the database
Score;
Judge whether the segmenting video score to be saved is more than or equal to the minimum score;
If it is, by the minimum corresponding segmentation rear video data of score and its corresponding essential information from the database
Middle deletion, and after deletion store the segmented video data to be saved into the target position;
If it is not, then forbidding storing the segmented video data to be saved into the target position.
8. a kind of video living transmission system characterized by comprising
Data determining module, for determining segmented video data to be saved;When the segmented video data to be saved is to Caton
The data that live video data after intermediate node is segmented;
Score determining module, for determining the corresponding segmenting video score to be saved of the segmented video data to be saved;
Determining module is stored, for determining whether according to the segmenting video score to be saved by the segmenting video number to be saved
According to storing into target position;
Data read module, for after detecting that recovery is smooth, reading the segmentation rear video data in the target position simultaneously
It plays out.
9. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor, realizing the net cast method as described in any one of claim 1 to 7 when for executing the computer program
Step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the step of the net cast method as described in any one of claim 1 to 7 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683259.3A CN110401869A (en) | 2019-07-26 | 2019-07-26 | A kind of net cast method, system and electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683259.3A CN110401869A (en) | 2019-07-26 | 2019-07-26 | A kind of net cast method, system and electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110401869A true CN110401869A (en) | 2019-11-01 |
Family
ID=68326100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910683259.3A Pending CN110401869A (en) | 2019-07-26 | 2019-07-26 | A kind of net cast method, system and electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110401869A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112487709A (en) * | 2020-11-25 | 2021-03-12 | 江苏科技大学 | Marine diesel engine fault tracing method based on sensitivity analysis |
CN112788360A (en) * | 2020-12-30 | 2021-05-11 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN113749564A (en) * | 2021-09-01 | 2021-12-07 | 深圳市云鼠科技开发有限公司 | Map data drawing method, module, equipment and medium for sweeping robot |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015000142A1 (en) * | 2013-07-02 | 2015-01-08 | 华为技术有限公司 | Method, system and equipment for transmitting service data |
CN104639977A (en) * | 2015-02-05 | 2015-05-20 | 小米科技有限责任公司 | Program playing method and device |
CN105430475A (en) * | 2015-11-04 | 2016-03-23 | 北京奇虎科技有限公司 | Buffering method and device of video data |
CN106341698A (en) * | 2015-07-07 | 2017-01-18 | 腾讯科技(深圳)有限公司 | Video live broadcast processing method and device |
CN106911941A (en) * | 2017-03-02 | 2017-06-30 | 上海幻电信息科技有限公司 | A kind of adaptive video dicing method |
CN108401165A (en) * | 2017-02-04 | 2018-08-14 | 中国移动通信集团河北有限公司 | A kind of method, apparatus and equipment of video resource push |
CN109547810A (en) * | 2018-12-28 | 2019-03-29 | 北京奇艺世纪科技有限公司 | A kind of live broadcasting method and device |
CN109889920A (en) * | 2019-04-16 | 2019-06-14 | 威比网络科技(上海)有限公司 | Network courses video clipping method, system, equipment and storage medium |
-
2019
- 2019-07-26 CN CN201910683259.3A patent/CN110401869A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015000142A1 (en) * | 2013-07-02 | 2015-01-08 | 华为技术有限公司 | Method, system and equipment for transmitting service data |
CN104639977A (en) * | 2015-02-05 | 2015-05-20 | 小米科技有限责任公司 | Program playing method and device |
CN106341698A (en) * | 2015-07-07 | 2017-01-18 | 腾讯科技(深圳)有限公司 | Video live broadcast processing method and device |
CN105430475A (en) * | 2015-11-04 | 2016-03-23 | 北京奇虎科技有限公司 | Buffering method and device of video data |
CN108401165A (en) * | 2017-02-04 | 2018-08-14 | 中国移动通信集团河北有限公司 | A kind of method, apparatus and equipment of video resource push |
CN106911941A (en) * | 2017-03-02 | 2017-06-30 | 上海幻电信息科技有限公司 | A kind of adaptive video dicing method |
CN109547810A (en) * | 2018-12-28 | 2019-03-29 | 北京奇艺世纪科技有限公司 | A kind of live broadcasting method and device |
CN109889920A (en) * | 2019-04-16 | 2019-06-14 | 威比网络科技(上海)有限公司 | Network courses video clipping method, system, equipment and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112487709A (en) * | 2020-11-25 | 2021-03-12 | 江苏科技大学 | Marine diesel engine fault tracing method based on sensitivity analysis |
CN112487709B (en) * | 2020-11-25 | 2023-11-21 | 江苏科技大学 | Marine diesel engine fault tracing method based on sensitivity analysis |
CN112788360A (en) * | 2020-12-30 | 2021-05-11 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN112788360B (en) * | 2020-12-30 | 2023-06-20 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN113749564A (en) * | 2021-09-01 | 2021-12-07 | 深圳市云鼠科技开发有限公司 | Map data drawing method, module, equipment and medium for sweeping robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109120964B (en) | Message pushing method and device for video set, computer equipment and storage medium | |
CN110378732B (en) | Information display method, information association method, device, equipment and storage medium | |
CN108259939B (en) | New video push control method and device and server | |
CN110401869A (en) | A kind of net cast method, system and electronic equipment and storage medium | |
US10929460B2 (en) | Method and apparatus for storing resource and electronic device | |
US20180255341A1 (en) | Method and Apparatus for Video Playback | |
US11924485B2 (en) | Method and system of displaying a video | |
CN105812941A (en) | Video playing method and device and electronic equipment | |
CN109803152A (en) | Violation checking method, device, electronic equipment and storage medium | |
WO2017032312A1 (en) | Method and apparatus for presenting to-be-cleaned data, and electronic device | |
CN112822560B (en) | Virtual gift giving method, system, computer device and storage medium | |
US20200005737A1 (en) | Method for Controlling Display of Terminal, Storage Medium, and Electronic Device | |
US20150156236A1 (en) | Synchronize Tape Delay and Social Networking Experience | |
CN109597707A (en) | Clone volume data copying method, device and computer readable storage medium | |
CN112734498A (en) | Task reward acquisition method, device, terminal and storage medium | |
CN102187340B (en) | Breakpoint information management method and breakpoint information manager | |
CN114257875A (en) | Data transmission method and device, electronic equipment and storage medium | |
CN109462777B (en) | Video heat updating method, device, terminal and storage medium | |
CN103677893B (en) | Method for reducing size of image file of starting up and arithmetic device | |
US9606991B2 (en) | Comment distribution system, and a method and a program for operating the comment distribution system | |
CN104581224A (en) | Play content switching method and device and terminal | |
CN106815283A (en) | Data processing method, device and electronic equipment | |
WO2021169092A1 (en) | Information display control method and apparatus, electronic device and storage medium | |
CN111263203A (en) | Video advertisement push priority analysis system | |
CN113032082B (en) | Control display method, electronic equipment and computer readable storage medium |
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: 20191101 |
|
RJ01 | Rejection of invention patent application after publication |