CN106804009A - Barrage loading method and system - Google Patents

Barrage loading method and system Download PDF

Info

Publication number
CN106804009A
CN106804009A CN201710071141.6A CN201710071141A CN106804009A CN 106804009 A CN106804009 A CN 106804009A CN 201710071141 A CN201710071141 A CN 201710071141A CN 106804009 A CN106804009 A CN 106804009A
Authority
CN
China
Prior art keywords
barrage
period
preloading
data
broadcasting
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
Application number
CN201710071141.6A
Other languages
Chinese (zh)
Inventor
黄保强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710071141.6A priority Critical patent/CN106804009A/en
Publication of CN106804009A publication Critical patent/CN106804009A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie

Abstract

The present invention provides a kind of barrage loading method and system, and the method includes:In the preloading period before the next broadcasting period for playing video, next barrage data for playing the period are preloaded;The barrage data that simultaneous display is preloaded when next broadcasting period is played, return to previous step.The present invention is by according to pre-configured broadcasting period and preloading period, segmentation preloading is carried out to barrage data in the preloading period before each broadcasting period, so that corresponding a small amount of barrage data only need to be loaded in each preloading period, internal memory and traffic overhead are significantly reduced, while high pressing cost need not be expended and the real-time of barrage is sacrificed.

Description

Barrage loading method and system
Technical field
The application is related to video display arts field, and in particular to a kind of barrage loading method and system.
Background technology
At present in video playback, in order to attract user interaction, increase entertaining, it will usually increase barrage function to video, User can freely send barrage, and playing progress rate and barrage show and accomplish substantially synchronous.
Under normal circumstances, only one of which video is being played in the broadcast interface of application software, can disposably be loaded this and be regarded All barrages of frequency, then these barrages, countershaft is illustrated in above video on time.But at some in particular cases, disposably Load the scheme of all barrages committed memory can be caused excessive and expend flow it is excessive the problems such as, such as when a page contains Multitude of video, and each video band barrage when, disposably load all barrages scheme be difficult to meet reduce EMS memory occupation, The demand of traffic overhead is reduced, internal memory spilling, mobile phone interim card, mobile phone is may result in without response, or even barrage real-time effect Really bad the problems such as.
In addition to the above-mentioned scheme for disposably loading all barrages, also there is the side all barrages being pressed into former video Case, i.e., remake to former video, and all barrages are pressed into former video according to time shaft, as video Point, suppress the new video with barrage.The defect of such scheme is that pressing cost is high, and due to that must enter in advance Row compacting, it is impossible to ensure the real-time of barrage.
The content of the invention
In view of drawbacks described above of the prior art or deficiency, expect to provide a kind of high pressing cost and sacrificial of need not expending The real-time of domestic animal barrage, you can realize reducing the internal memory of barrage loading and the barrage loading method and system of traffic overhead.
In a first aspect, the present invention provides a kind of barrage loading method, the method includes:
In the preloading period before the next broadcasting period for playing video, next barrage data for playing the period are entered Row is preloaded;
The barrage data that simultaneous display is preloaded when next broadcasting period is played, return to previous step.
Second aspect, the present invention provides a kind of barrage loading system, and the system includes:
Barrage is segmented pre-add carrier unit, is configured in the preloading period before the next broadcasting period for playing video, Next barrage data for playing the period are preloaded;
Barrage display unit, is configured to the barrage number that simultaneous display is preloaded when next broadcasting period is played According to.
The third aspect, the present invention also provides a kind of video barrage synchronous display system, including above-mentioned barrage loading system, with And audio/video player system.
Fourth aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory Comprising the instruction that can be performed by the one or more processors with so that the one or more processors are performed according to of the invention each The barrage loading method that embodiment is provided.
5th aspect, the present invention also provides a kind of computer-readable recording medium of the computer program that is stored with, the calculating Machine program makes computer perform the barrage loading method provided according to various embodiments of the present invention.
The barrage loading method and system of many embodiment offers of the present invention are by according to the pre-configured broadcasting period and in advance The loading period, segmentation preloading is carried out to barrage data in the preloading period before each broadcasting period so that each pre-add Corresponding a small amount of barrage data only need to be loaded in the load period, internal memory and traffic overhead is significantly reduced, while need not expend high Pressing cost and sacrifice barrage real-time;
The barrage loading method and system of some embodiments of the invention offer are further by playing next broadcasting period When timing cycle check whether corresponding barrage data have been cached into internal memory, proceed to preload if uncached so that Loading to barrage applies to ensure.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, the application other Feature, objects and advantages will become more apparent upon:
The flow chart of the barrage loading method that Fig. 1 is provided for one embodiment of the invention.
Fig. 2 is the time diagram of barrage data preloading in method shown in Fig. 1.
Fig. 3 is the flow chart of step S20 in a kind of preferred embodiment of method shown in Fig. 1.
Fig. 4 is the flow chart of step S40 in a kind of preferred embodiment of method shown in Fig. 1.
Fig. 5 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
Fig. 6 is the flow chart of step S60 in a kind of preferred embodiment of method shown in Fig. 5.
The structural representation of the barrage loading system that Fig. 7 is provided for one embodiment of the invention.
Fig. 8 is a kind of structural representation of preferred embodiment of system shown in Figure 7.
A kind of structural representation of equipment that Fig. 9 is provided for one embodiment of the invention.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to It is easy to description, the part related to invention is illustrate only in accompanying drawing.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
The flow chart of the barrage loading method that Fig. 1 is provided for one embodiment of the invention.Fig. 2 is barrage in method shown in Fig. 1 The time diagram that data are preloaded.
As shown in figure 1, in the present embodiment, the barrage loading method that the present invention is provided includes:
S20:In the preloading period before the next broadcasting period for playing video, to next barrage number for playing the period According to being preloaded;
S40:The barrage data that simultaneous display is preloaded when next broadcasting period is played, return to previous step.
In the present embodiment, it is each to play the period and determined according to pre-configured broadcasting period duration, it is each preload the period according to Pre-configured preloading period duration determines.In more embodiments, each broadcasting period and each preloading period can also be according to realities Border demand is configured to according to different condition determination, for example, according to the parameter determination of user input, or, according to barrage data in cloud The storage mode (for example whether by duration segmentation and every section data volume etc.) at end, etc. achievable identical technique effect.
Specifically, as shown in Figure 1-2, in the present embodiment, play period duration to be configured to 15 seconds, preload period duration It is configured to 5 seconds.It is each play the period be respectively (- 15 seconds 0 second), (- 30 seconds 15 seconds), (- 45 seconds 30 seconds) ..., the rest may be inferred;It is right Should in it is each broadcasting the period each preloading period be respectively (- 0 second -5 seconds), (- 15 seconds 10 seconds), (- 30 seconds 25 seconds) ..., according to This analogizes.In the present embodiment, play period duration to be configured to 15 seconds, preload period duration and be configured to 5 seconds, respectively play the period It is fixed duration with each preloading period configuration, can will also plays period duration and in advance according to the actual requirements in more embodiments Loading period duration is configured to the duration of different values, by each broadcasting period and each preloading period configuration be fixed duration or Duration is not fixed, identical technique effect is capable of achieving.
When the command information for playing video is received, step S20 is performed, to the within the preloading period of (- 0 second -5 seconds) The barrage data of one broadcasting period (- 15 seconds 0 second) are preloaded, by barrage data buffer storage to the internal memory of (- 15 seconds 0 second);
When barrage load time axle is reached 0 second, step S40 is performed, when the first broadcasting period (- 15 seconds 0 second) are played The barrage data of (- 15 seconds 0 second) that simultaneous display is cached;
When barrage load time axle is reached 10 seconds, return and perform step S20, in the preloading period of (- 15 seconds 10 seconds) The interior barrage data to the second broadcasting period (- 30 seconds 15 seconds) are preloaded, by the barrage data buffer storage of (- 30 seconds 15 seconds) extremely In internal memory;
When barrage load time axle is reached 15 seconds, step S40 is continued executing with, (15 seconds -30 period is played playing second Second) when the barrage data of (- 30 seconds 15 seconds) that are cached of simultaneous display;..., the rest may be inferred, iterative cycles step S20-S40, Until when playing last broadcasting period, not returning again to perform step S20.
Preferably, as shown in figure 1, in the present embodiment, a cycle interruption mechanism is also configured with step S40, pass through Judge currently playing next broadcasting period, whether last played the period, chose whether that return to step S20 is circulated. In more embodiments, can also according to the actual requirements for the barrage loading method that the present invention is provided configures different cycle interruption machines System, for example, it is also possible to interrupt circulation when following any one condition is met:Barrage data to next broadcasting period preload mistake When losing, when continuously preloading failure several times, when receiving the end of playing signal of audio/video player system transmission, etc. can be real Existing identical technique effect.
Fig. 3 is the flow chart of step S20 in a kind of preferred embodiment of method shown in Fig. 1.
As shown in figure 3, in a preferred embodiment, step S20 includes:
S21:The barrage data of next broadcasting period are downloaded when entering and preloading the period;
S23:In barrage data buffer storage to the internal memory of the next broadcasting period that will be downloaded.
Specifically, it is configured to 15 seconds in above-mentioned broadcasting period duration, preloads the embodiment that period duration is configured to 5 seconds In, in the preloading period interior barrage data for downloading (- 15 seconds 0 second) and caching to internal memory of (- 0 second -5 seconds), at (0 second -15 Second) the preloading period in download the barrage data and caching of (- 30 seconds 15 seconds) in internal memory ... ..., the rest may be inferred.
In more embodiments, also step S21 can be configured to according to the actual requirements to download follow-up some broadcasting periods, can Realize identical technique effect.For example, (- 15 seconds 10 seconds) the preloading period in download (- 30 seconds 15 seconds) and (30 seconds- 45 seconds) barrage data, and in barrage data buffer storage to the internal memory of (- 30 seconds 15 seconds) that will be downloaded;In (- 30 seconds 25 seconds) Check whether the barrage data of (- 45 seconds 30 seconds) are downloaded in the preloading period to finish:Continue to download if not downloaded, and, The barrage data of (- 60 seconds 45 seconds) are downloaded, and in barrage data buffer storage to the internal memory of (- 45 seconds 30 seconds) that will be downloaded ... ..., The rest may be inferred.
Fig. 4 is the flow chart of step S40 in a kind of preferred embodiment of method shown in Fig. 1.
As shown in figure 4, in a preferred embodiment, step S40 includes:
S41:Check whether barrage load time axle is synchronous with video playback time axle:It is no, then obtain video playback time Axle is with lock in time axle;
S43:According to the barrage data that barrage load time axle simultaneous display is preloaded.
Specifically, in step S41, video is often played carries out 1 inspection for 1 second, and barrage load time axle is broadcast with video Whether synchronous put time shaft, if both lead times were more than 2 seconds, obtain video playback time axle to calibrate during barrage loading Countershaft.In more embodiments, whether the synchronous inspection of time shaft can be configured to enter with different frequency in the different time OK, and the threshold value of lead time can be configured to different size, is capable of achieving identical technique effect.
In step S43, according to barrage load time axle, with bullet of the audio video synchronization display caching played in internal memory Curtain data.
The various embodiments described above are pre- before each broadcasting period by according to pre-configured broadcasting period and preloading period Segmentation preloading is carried out to barrage data in the loading period so that only need to load corresponding a small amount of barrage in each preloading period Data, significantly reduce internal memory and traffic overhead, while need not expend high pressing cost and sacrifice the real-time of barrage.
Fig. 5 is a kind of flow chart of preferred embodiment of method shown in Fig. 1.
As shown in figure 5, in a preferred embodiment, any one method shown in Fig. 1-Fig. 4 is further comprised:
S60:Play this it is next play period when check whether next barrage data for playing the period have been cached to interior In depositing:It is no, then continue to preload next barrage data for playing the period before next preloading period.
Specifically, equally it is configured to 15 seconds in above-mentioned broadcasting period duration, preloads the implementation that period duration is configured to 5 seconds In example, when commencing play out the first broadcasting period (- 15 seconds 0 second), check whether the barrage data of (- 15 seconds 0 second) have been cached to interior In depositing, if uncached, before next preloading period (- 15 seconds 10 seconds), i.e., in the period of (- 10 seconds 0 second), continue to (0 Seconds -15 seconds) barrage data preloaded;When commencing play out the second broadcasting period (- 30 seconds 15 seconds), check (15 seconds -30 Second) barrage data whether cached into internal memory, if uncached, before next preloading period (- 30 seconds 25 seconds), that is, exist In the period of (- 25 seconds 15 seconds), continue to preload the barrage data of (- 30 seconds 15 seconds);..., the rest may be inferred.
Fig. 6 is the flow chart of step S60 in a kind of preferred embodiment of method shown in Fig. 5.
As shown in fig. 6, in a preferred embodiment, step S60 includes:
S61:When next broadcasting period is played, whether regular check next barrage data for playing the period have cached Into internal memory:
It is then to stop checking;
It is no, then perform step S63:Continue to enter next barrage data for playing the period before next preloading period Row is preloaded;And, S65:Judge to check number of times whether less than pre-configured number of times:
It is then to continue regular check;
It is no, then stop checking.
Specifically, in the present embodiment, the time interval of regular check is 1 second, and pre-configured inspection frequency threshold value is 3 It is secondary, can be according to the actual requirements also different values by above-mentioned two parameter configurations, as long as under the influence of not in more embodiments The barrage data that one preloading period was carried out are preloaded, you can realize identical technique effect.
Above-described embodiment further checks that corresponding barrage data are by the timing cycle when next broadcasting period is played It is no to have cached into internal memory, proceed to preload if uncached, so as to the loading to barrage applies to ensure.
The structural representation of the barrage loading system that Fig. 7 is provided for one embodiment of the invention.System shown in Figure 7 can be corresponded to and held Any one method shown in row Fig. 1-6.
As shown in fig. 7, in the present embodiment, the barrage loading system 10 that the present invention is provided includes:
Barrage segmentation pre-add carrier unit 11, is configured to the preloading period before the next broadcasting period for playing video In, next barrage data for playing the period are preloaded;
Barrage display unit 13, is configured to the barrage number that simultaneous display is preloaded when next broadcasting period is played According to.
With the above method accordingly, it is each to play the period according in advance in the barrage loading system 10 that the present embodiment is provided The broadcasting period duration of configuration determines, each to preload the period according to pre-configured preloading period duration determination.In more implementations In example, each broadcasting period and each preloading period can also be configured to be determined according to different condition according to the actual requirements, be capable of achieving phase Same technique effect.
Specifically, in the present embodiment, barrage loading system 10 is configured to the software program being arranged in mobile phone, barrage point Section pre-add carrier unit 11 is segmented by communications such as 4G or WIFI from service end 30 downloads the bullet for needing to be preloaded Curtain data, barrage display unit 13 obtains video playback time axle from the audio/video player system 20 for being likewise configured to software program, So as to the barrage data for preloading be shown with the audio video synchronization played.
In another embodiment, audio/video player system 20 is configured to the hardware unit for being exclusively used in carrying out video playback, barrage Loading system 10 is configured to the software program being arranged in the hardware unit.
In another embodiment, barrage loading system 10 may be additionally configured to the hardware unit for being exclusively used in carrying out barrage loading, The hardware unit can be configured to the audio/video player system 20 of hardware by wired or wireless connection, or, being configured to being provided with The terminals such as the mobile phone of audio/video player system 20 of software, by wired or wireless connection, are its loading barrage.
In certain embodiments, can also be configured to integrate by barrage loading system 10 and audio/video player system 20 regards Frequency barrage synchronous display system.Can be configured to for barrage loading system 10 and audio/video player system 20 by the system that this is integrated Integrated software, or, the hardware for integrating, or, the barrage loading system 10 for being configured to software is arranged on and is configured to hardware In audio/video player system 20, or even other it will be appreciated by those skilled in the art that different configuration modes.
Fig. 8 is a kind of structural representation of preferred embodiment of system shown in Figure 7.Barrage point in system shown in Figure 8 Section pre-add carrier unit 11 and barrage display unit 13 can respectively correspond to the step shown in the step S20 and Fig. 4 performed shown in Fig. 3 S40。
As shown in figure 8, in a preferred embodiment, barrage segmentation pre-add carrier unit 11 includes:
Barrage pulls subelement 111, is configured to be downloaded when the preloading period is entered the barrage of next broadcasting period Data;
Barrage caches subelement 113, is configured to the barrage data buffer storage of next broadcasting period that will be downloaded to internal memory In.
In a preferred embodiment, barrage pulls subelement 111 and is further configured to judge next broadcasting period Whether last plays the period:It is no, then carry out the download in next preloading period;It is, then in next preloading period In no longer carry out the download.
In more preferred embodiments, can also be interrupted using following any one configuration mode carries out pre-add to barrage data The circulation for carrying and showing:Barrage pull subelement 111 receive in the absence of it is next broadcasting the period barrage data download feedback Information, then stop downloading;Barrage pulls the continuous download feedback information for receiving failed download several times of subelement 111, then stop Only download;Deng achievable identical technique effect.
Also shown in FIG. 8, in a preferred embodiment, barrage display unit 13 includes:
Barrage display control subelement 131, be configured to check the barrage load time axle with video playback time axle whether It is synchronous:It is no, then video playback time axle is obtained with lock in time axle;
Barrage shows subelement 133, is configured to the barrage number preloaded according to barrage load time axle simultaneous display According to.
In a preferred embodiment, barrage display control subelement 131 is further configured to playing next broadcasting Check whether next barrage data for playing the period have been cached into internal memory during the period:It is no, then control barrage segmentation to preload Unit 111 continues to preload next barrage data for playing the period before next preloading period.Concrete principle is joined According to the method shown in above-mentioned Fig. 5, here is omitted.
In a preferred embodiment, barrage display control subelement 131 be further configured to inspection result for no and Timing cycle is checked when checking that number of times is less than pre-configured number of times.Method of the concrete principle with reference to shown in above-mentioned Fig. 6, no longer goes to live in the household of one's in-laws on getting married herein State.
A kind of structural representation of equipment that Fig. 9 is provided for one embodiment of the invention.
As shown in figure 9, as on the other hand, present invention also provides a kind of equipment 900, including one or more centres Reason unit (CPU) 901, it can add according to program of the storage in read-only storage (ROM) 902 or from storage part 908 The program that is downloaded in random access storage device (RAM) 903 and perform various appropriate actions and treatment.In RAM903, also deposit Contain equipment 900 and operate required various programs and data.CPU901, ROM902 and RAM903 pass through the phase each other of bus 904 Even.Input/output (I/O) interface 905 is also connected to bus 904.
I/O interfaces 905 are connected to lower component:Including the importation 906 of keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 907 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 908 including hard disk etc.; And the communications portion 909 of the NIC including LAN card, modem etc..Communications portion 909 via such as because The network of spy's net performs communication process.Driver 910 is also according to needing to be connected to I/O interfaces 905.Detachable media 911, such as Disk, CD, magneto-optic disk, semiconductor memory etc., as needed on driver 910, in order to read from it Computer program be mounted into as needed storage part 908.
Especially, in accordance with an embodiment of the present disclosure, the barrage loading method of any of the above-described embodiment description can be implemented It is computer software programs.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in Computer program on machine readable media, the computer program includes the program code for performing barrage loading method. In such embodiments, the computer program can be downloaded and installed by communications portion 909 from network, and/or from Detachable media 911 is mounted.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation One part for module, program segment or code of table a, part for the module, program segment or code is used comprising one or more In the executable instruction of the logic function for realizing regulation.It should also be noted that in some are as the realization replaced, being marked in square frame The function of note can also occur with different from the order marked in accompanying drawing.For example, two square frames for succeedingly representing are actually Can perform substantially in parallel, they can also be performed in the opposite order sometimes, depending on this function according to involved by.Also It is noted that the combination of the square frame in each square frame and block diagram and/or flow chart in block diagram and/or flow chart, Ke Yitong The function of execution regulation or the special hardware based system of operation is crossed to realize, or can be by specialized hardware and calculating The combination of machine instruction is realized.
Being described in unit involved in the embodiment of the present application or module can be realized by way of software, it is also possible to Realized by way of hardware.Described unit or module can also be set within a processor, for example, each unit can With the software program in being provided in computer or intelligent movable equipment, or the hardware unit being separately configured.Wherein, this The title of a little units or module does not constitute the restriction to the unit or module in itself under certain conditions.
As another aspect, present invention also provides a kind of computer-readable recording medium, the computer-readable storage medium Matter can be the computer-readable recording medium included in the device of above-described embodiment;Can also be individualism, it is unassembled Enter the computer-readable recording medium in equipment.Computer-readable recording medium storage has one or more than one program, should Program is used for performing the barrage loading method for being described in the application by one or more than one processor.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art Member is it should be appreciated that involved invention scope in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, while should also cover in the case where the application design is not departed from, is appointed by above-mentioned technical characteristic or its equivalent feature Other technical schemes that meaning is combined and formed.Such as features described above has similar functions with (but not limited to) disclosed herein The technical characteristic technical scheme being replaced mutually and formed.

Claims (17)

1. a kind of barrage loading method, it is characterised in that methods described includes:
In the preloading period before the next broadcasting period for playing video, next barrage data for playing the period are carried out Preload;
The barrage data that simultaneous display is preloaded when next broadcasting period is played, return to previous step.
2. barrage loading method according to claim 1, it is characterised in that described to play next broadcasting period of video In the preceding preloading period, carrying out preloading to next barrage data for playing the period includes:
The barrage data of next broadcasting period are downloaded when the preloading period is entered;
In barrage data buffer storage to the internal memory of the next broadcasting period that will be downloaded.
3. barrage loading method according to claim 1, it is characterised in that described when next broadcasting period is played The barrage data that simultaneous display is preloaded include:
Check whether barrage load time axle is synchronous with video playback time axle:It is no, then video playback time axle is obtained with synchronization Time shaft;
According to the barrage data that the barrage load time axle simultaneous display is preloaded.
4. barrage loading method according to claim 1, it is characterised in that described when next broadcasting period is played The barrage data that simultaneous display is preloaded, returning to previous step includes:
The barrage data that simultaneous display is preloaded when next broadcasting period is played;
Judge next broadcasting period, whether last played the period:It is no, then return to previous step;It is then to terminate.
5. the barrage loading method according to claim any one of 1-4, it is characterised in that each broadcasting period is according in advance The broadcasting period duration of configuration determines that each preloading period determines according to pre-configured preloading period duration.
6. the barrage loading method according to claim any one of 1-4, it is characterised in that also include:
Check whether next barrage data for playing the period have been cached into internal memory when next broadcasting period is played: It is no, then continue to preload next barrage data for playing the period before next preloading period.
7. barrage loading method according to claim 6, it is characterised in that described when next broadcasting period is played Check whether next barrage data for playing the period have been cached into internal memory:It is no, then continue to next broadcasting period Barrage data carry out preloading and include:
Play it is described it is next play the period when next barrage data for playing the period described in regular check whether cached to interior In depositing:
It is then to stop checking;
It is no, then continue to preload next barrage data for playing the period before next preloading period, and judge Check whether number of times is less than pre-configured number of times:
It is then to continue regular check;
It is no, then stop checking.
8. a kind of barrage loading system, it is characterised in that the system includes:
Barrage is segmented pre-add carrier unit, is configured in the preloading period before the next broadcasting period for playing video, to institute The barrage data for stating next broadcasting period are preloaded;
Barrage display unit, is configured to the barrage data that simultaneous display is preloaded when next broadcasting period is played.
9. barrage loading system according to claim 8, it is characterised in that the barrage segmentation pre-add carrier unit includes:
Barrage pulls subelement, is configured to be downloaded when the preloading period is entered the barrage data of next broadcasting period;
Barrage caches subelement, is configured in barrage data buffer storage to the internal memory of next broadcasting period that will be downloaded.
10. barrage loading system according to claim 9, it is characterised in that the barrage pulls subelement and further matches somebody with somebody Put for judging next broadcasting period, whether last played the period:It is no, then carried out in next preloading period described Download;It is then no longer to carry out the download in next preloading period.
11. barrage loading systems according to claim 8, it is characterised in that the barrage display unit includes:
Barrage display control subelement, is configured to check whether barrage load time axle is synchronous with video playback time axle:It is no, Video playback time axle is then obtained with lock in time axle;
Barrage shows subelement, is configured to the barrage data preloaded according to the barrage load time axle simultaneous display.
12. barrage loading systems according to claim 11, it is characterised in that the barrage display control subelement enters one Step be configured to play it is described it is next play the period when check it is described it is next play the period barrage data whether cached to In internal memory:It is no, then control barrage segmentation pre-add carrier unit when continuing to next broadcasting before next preloading period The barrage data of section are preloaded.
13. barrage loading systems according to claim 12, it is characterised in that the barrage display control subelement enters one Timing cycle inspection when it is no that step is configured in inspection result and inspection number of times is less than pre-configured number of times.
The 14. barrage loading system according to claim any one of 8-13, it is characterised in that it is each it is described broadcasting the period according to Pre-configured broadcasting period duration determines that each preloading period determines according to pre-configured preloading period duration.
A kind of 15. video barrage synchronous display systems, including the barrage loading system as described in claim any one of 8-14, with And audio/video player system.
16. a kind of equipment, it is characterised in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors Perform the method as any one of claim 1-7.
17. a kind of computer-readable recording mediums of the computer program that is stored with, it is characterised in that the program is executed by processor Methods of the Shi Shixian as any one of claim 1-7.
CN201710071141.6A 2017-02-09 2017-02-09 Barrage loading method and system Pending CN106804009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710071141.6A CN106804009A (en) 2017-02-09 2017-02-09 Barrage loading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710071141.6A CN106804009A (en) 2017-02-09 2017-02-09 Barrage loading method and system

Publications (1)

Publication Number Publication Date
CN106804009A true CN106804009A (en) 2017-06-06

Family

ID=58988504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710071141.6A Pending CN106804009A (en) 2017-02-09 2017-02-09 Barrage loading method and system

Country Status (1)

Country Link
CN (1) CN106804009A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600850A (en) * 2018-03-20 2018-09-28 腾讯科技(深圳)有限公司 Video sharing method, client, server and storage medium
CN112565877A (en) * 2020-12-10 2021-03-26 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517092A (en) * 2012-06-29 2014-01-15 腾讯科技(深圳)有限公司 Method and device for video displaying
CN103607659A (en) * 2013-11-25 2014-02-26 小米科技有限责任公司 Method, device and server for displaying program comments on intelligent display equipment
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105898377A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 User terminal, server and danmaku loading method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517092A (en) * 2012-06-29 2014-01-15 腾讯科技(深圳)有限公司 Method and device for video displaying
CN103607659A (en) * 2013-11-25 2014-02-26 小米科技有限责任公司 Method, device and server for displaying program comments on intelligent display equipment
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105898377A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 User terminal, server and danmaku loading method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600850A (en) * 2018-03-20 2018-09-28 腾讯科技(深圳)有限公司 Video sharing method, client, server and storage medium
CN108600850B (en) * 2018-03-20 2019-08-23 腾讯科技(深圳)有限公司 Video sharing method, client, server and storage medium
CN112565877A (en) * 2020-12-10 2021-03-26 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium
CN112565877B (en) * 2020-12-10 2022-10-18 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103327117B (en) Cross-system running method and device for application programs
KR101595076B1 (en) Graphics render matching for displays
CN108681436A (en) Image quality parameter adjusting method, device, terminal and storage medium
WO2021159770A1 (en) Video playback method, device, apparatus, and storage medium
CN108566561A (en) Video broadcasting method, device and storage medium
WO2019128829A1 (en) Action execution method and apparatus, storage medium and electronic apparatus
CN103870303A (en) Method and device for reducing size of software installation package
CN112839238B (en) Screen projection playing method and device and storage medium
CN107147921A (en) Based on section and the intelligence CDN video playback accelerated methods dispatched and equipment
CN106470353B (en) Multimedia data processing method and device and electronic equipment
CN106804009A (en) Barrage loading method and system
US9380189B2 (en) Method of providing information configuration function in video play device and video play device
US9948691B2 (en) Reducing input processing latency for remotely executed applications
CN110267077A (en) Offline cache method, apparatus, terminal and readable storage medium storing program for executing
CN110381077A (en) For the treating method and apparatus of digital certificate
CN112770168A (en) Video playing method and related device and equipment
CN108156524A (en) Control method for playing back, device and the computer readable storage medium of multimedia resource
WO2017071642A1 (en) Media playback method, device and computer storage medium
CN107820111B (en) Information equipment
CN110277110A (en) A kind of recording of Webpage, playback method, device and terminal
US10469794B2 (en) Information processing apparatus, information processing method, and information processing system for content management using play lists
CN114416013A (en) Data transmission method, data transmission device, electronic equipment and computer-readable storage medium
CN104793841A (en) Animation playing control method and system
CN112055238B (en) Video playing control method, device and system
KR102459197B1 (en) Method and apparatus for presentation customization and interactivity

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170606