CN106131643A - A kind of barrage processing method, processing means and electronic equipment thereof - Google Patents
A kind of barrage processing method, processing means and electronic equipment thereof Download PDFInfo
- Publication number
- CN106131643A CN106131643A CN201610552280.6A CN201610552280A CN106131643A CN 106131643 A CN106131643 A CN 106131643A CN 201610552280 A CN201610552280 A CN 201610552280A CN 106131643 A CN106131643 A CN 106131643A
- Authority
- CN
- China
- Prior art keywords
- barrage
- state
- painting canvas
- generated
- instruction
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 66
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000010422 painting Methods 0.000 claims abstract description 184
- 238000000034 method Methods 0.000 claims abstract description 99
- 230000008569 process Effects 0.000 claims abstract description 78
- 238000009877 rendering Methods 0.000 claims abstract description 31
- 230000000875 corresponding effect Effects 0.000 description 35
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000015654 memory Effects 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 230000004069 differentiation Effects 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000011017 operating method Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000011112 process operation Methods 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000007787 solid Substances 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/44012—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 rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
-
- 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/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
Embodiment of the present invention discloses the processing method of a kind of barrage, processing means and electronic equipment thereof.Wherein, the processing method of this barrage includes: according to the state of painting canvas, perform corresponding barrage to process, wherein, the state of described painting canvas includes for representing barrage the first state to be rendered and representing the second state that barrage is to be generated, and described barrage processes and includes corresponding with the first state rendering barrage and the generation barrage corresponding with the second state;After completing the process of described barrage, switch the state of described painting canvas every time.By the way, the embodiment of the present invention can perform corresponding barrage operation according to the condition selecting of painting canvas, it is to avoid different barrage operations performs on same painting canvas simultaneously, makes barrage render smoothness and carries out, promotes Consumer's Experience.
Description
Technical field
Embodiment of the present invention relates to Internet technical field, particularly relates to a kind of barrage processing method, processing means
And electronic equipment.
Background technology
In the playing process of all types of videos, for the ease of carrying out interaction between user, improve the enjoyment of viewing video,
Barrage function can be provided the user.
In panoramic video or other kinds of video, it is achieved barrage function has needed to generate barrage content and wash with watercolours
Dye two operating procedures of barrage.First by user input barrage content generate on painting canvas, then render material database or
Other data bases of person select corresponding template, such as, selects the color of barrage, font, distortion effects or other display effect
Really.Finally, barrage is rendered on screen, demonstrate color, font or other display effects of correspondence.
In prior art, different with the data processing feature generating barrage the two operating procedure owing to rendering barrage, logical
Often processed, the process between two operating procedures by different types of processor (such as central authorities process and graphic process unit)
Speed also exists difference.
In realizing process of the present invention, inventor finds that correlation technique there is problems in that when rendering barrage and generating bullet
When two actions of curtain perform on one piece of painting canvas simultaneously, differ, at bullet owing to rendering the processing speed of barrage and generation barrage
Curtain easily causes card when rendering, affect the smooth degree of video playback.
Summary of the invention
Embodiment of the present invention is mainly solving the technical problems that provide a kind of barrage processing method, processing means and electricity thereof
Subset, it is possible to solve simultaneously to perform in prior art render barrage and generate barrage operation, the problem causing card.
For solving above-mentioned technical problem, the technical scheme that embodiment of the present invention uses is: provide at a kind of barrage
Reason method.
Wherein, described method includes: according to the state of painting canvas, performs corresponding barrage and processes, wherein, and the shape of described painting canvas
State includes that described barrage processes and includes for representing barrage the first state to be rendered and representing the second state that barrage is to be generated
Corresponding with the first state renders barrage and the generation barrage corresponding with the second state;
After completing the process of described barrage, switch the state of described painting canvas every time.
Alternatively, described generation barrage specifically includes: obtains barrage and generates instruction;The painting canvas of described second state is carried out
Process, described painting canvas generates and generates, with described barrage, the barrage that instruction is corresponding.
Alternatively, render barrage and specifically include described in: the painting canvas of described first state is processed, renders on painting canvas
The barrage generated.
Alternatively, described painting canvas at least two.
Alternatively, described in render barrage, specifically include: choose the painting canvas switching to the first state the earliest;Render described choosing
In painting canvas on the barrage that generated.
For solving above-mentioned technical problem, another technical scheme that embodiment of the present invention uses is: provide a kind of barrage
Processing means, wherein, described processing means includes:
Barrage processing module, according to the state of painting canvas, performs corresponding barrage and processes, wherein, and the state bag of described painting canvas
Including for representing barrage the first state to be rendered and representing the second state that barrage is to be generated, described barrage processes and includes and the
What one state was corresponding renders barrage and the generation barrage corresponding with the second state;
State handover module, after completing the process of described barrage, switches the state of described painting canvas every time.
Alternatively, described barrage processing module specifically includes: instruction acquiring unit, is used for obtaining barrage and generates instruction;Bullet
Curtain signal generating unit, for processing the painting canvas of described second state, generates on described painting canvas and refers to the generation of described barrage
The barrage that order is corresponding.
Alternatively, described barrage processing module specifically includes: barrage rendering unit, for the painting canvas to described first state
Process, render the barrage generated on painting canvas.
Alternatively, described painting canvas at least two.
Alternatively, described barrage rendering unit specifically for: choose the painting canvas switching to the first state the earliest;Render described
The barrage generated on the painting canvas chosen.
For solving above-mentioned technical problem, another technical scheme that embodiment of the present invention uses is to provide a kind of electronics and sets
Standby, wherein, described electronic equipment includes:
At least one or more processor;And,
Memorizer;Wherein,
Described memorizer storage has the instruction repertorie that can be performed by least one or more processor described, described instruction journey
Sequence is arranged to perform:
According to the state of painting canvas, performing corresponding barrage and process, wherein, the state of described painting canvas includes for representing barrage
The second state that first state to be rendered is to be generated with representing barrage, described barrage processes and includes the wash with watercolours corresponding with the first state
Dye barrage and the generation barrage corresponding with the second state;
After completing the process of described barrage, switch the state of described painting canvas every time.
Embodiment of the present invention provides the benefit that: be different from the situation of prior art, the painting canvas of embodiment of the present invention
There is different states, perform corresponding barrage operation according to the condition selecting of painting canvas, it is to avoid different barrages operates same
Perform on painting canvas, it is ensured that the smoothness that barrage renders is carried out, and improves Consumer's Experience simultaneously.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of barrage processing method that the embodiment of the present invention provides;
Fig. 2 be another embodiment of the present invention provide a kind of barrage processing method method flow diagram;
Fig. 3 is the method flow diagram of step S106 in Fig. 2 that the embodiment of the present invention provides;
Fig. 4 is the device schematic diagram of a kind of barrage processing means that the embodiment of the present invention provides;
Fig. 5 is the device schematic diagram of the barrage processing module of a kind of barrage processing means that the embodiment of the present invention provides;
Fig. 6 is the schematic diagram of a kind of electronic equipment that the embodiment of the present invention provides;
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, not
For limiting the present invention.
The barrage processing method of the embodiment of the present invention, can apply to the barrage processing procedure that various video stream is play
In, all types of video such as such as panoramic video, television program video, Internet video.
The barrage that application embodiment of the present invention barrage processing method generates, can be presented on existing various types of video and broadcast
Put in equipment, such as game machine, desk computer, smart mobile phone, panel computer, electronic reader and other display terminals or
In person's user interaction device.
In embodiments of the present invention, barrage processes and barrage generation and barrage can be divided into render two steps.Here, use
Term " painting canvas " represents the process object that barrage processes.The operation that barrage processes, all with painting canvas as object, performs on painting canvas.Example
As, barrage generates on painting canvas, and is rendered on the display screen of video playback apparatus, is formed and final has reserved word
Body or the barrage of other display effect.Certainly, after barrage has rendered, same painting canvas is as processing object, it is also possible to weight
Newly used, painting canvas is generated another new barrage.
A kind of barrage processing method that Fig. 1 provides for the embodiment of the present invention, refers to Fig. 1, and this barrage processing method includes:
S101: according to the state of painting canvas, performs corresponding barrage and processes.Wherein, the state of described painting canvas includes for table
Showing barrage the first state to be rendered and represent the second state that barrage is to be generated, described barrage processes and includes and the first state pair
That answers renders barrage and the generation barrage corresponding with the second state.
As it has been described above, in the present embodiment, barrage processes and barrage generation and barrage can be divided into render two steps.Barrage
Generate the barrage referring to generate the corresponding word content of user input instruction.Barrage renders and includes the barrage generated is carried out wash with watercolours
Dye, and form final target display effect (the most special font, animation effect etc.) in video.
Accordingly, the state of this painting canvas can also include two, in the present embodiment, including for representing that barrage treats wash with watercolours
The second state that first state of dye is to be generated with representing barrage.Certainly, described painting canvas state can also be with other different shape
State is named, such as lock-out state and released state, processes operation with barrage corresponding.
This painting canvas state can be to arrange predetermined mark on painting canvas to represent the current state of painting canvas.
Barrage processes and can include corresponding with the first state rendering barrage and the generation barrage corresponding with the second state.Also
The state i.e. judging current painting canvas is the first state or the second state.If painting canvas is the first state, then performs barrage and render
Operation, if painting canvas is the second state, then performs barrage and generates operation.
S103: after every time completing the process of described barrage, switch the state of described painting canvas.
In the present embodiment, the state of painting canvas is two, including the first state and the second state.As it has been described above, " painting canvas "
For generating the carrier of barrage.During generating barrage, constantly recycle (i.e. after barrage has rendered, again
Called, continue on barrage, generate new barrage).Therefore, at painting canvas after being disposed through barrage, painting canvas is i.e. by currently
State switch to another state.
Such as, first at the first barrage that painting canvas (state of painting canvas is the second state) upper generation content is " the most good-looking ".
Then, call this painting canvas (now the state of painting canvas switches to the first state) and the first barrage is rendered, set in video playback
Predetermined visual effect is demonstrated in Bei.Then, it is further continued for calling this painting canvas (state of painting canvas switches to again the second state),
The second barrage that content is " plain " is regenerated on painting canvas.Then, the second barrage is rendered to calling this painting canvas.?
After, repetitive cycling aforesaid operations, in video display process, constantly generate barrage.
In prior art, it is possible that call same painting canvas simultaneously, perform the situation that different barrage processes.Especially
Be, in the case of being provided with multiple barrage, if call simultaneously multiple painting canvas carry out barrage operation time, occur that the probability of this situation is non-
Chang Gao.
The barrage processing method of the embodiment of the present invention, has carried out state differentiation to painting canvas, according to the different conditions of painting canvas, holds
The barrage operation that row is corresponding, so makes same painting canvas to be called simultaneously, performs different barrage operations.
Compared with prior art, the barrage processing method of the embodiment of the present invention, same painting canvas will not be called simultaneously, occur
Barrage renders to be needed to wait, and and then cause the generations of situations such as card pauses, affect Consumer's Experience and use.
Fig. 2 is the barrage processing method of another embodiment of the present invention.Referring to Fig. 2, this barrage processing method specifically includes
Following steps:
S102: obtain barrage and generate instruction.
This barrage generate instruction can be obtained by interactive device user instruction, by data-interface, outside acquisition
Portion's equipment instructs or the instruction of other different modes acquisition according to what practical situation computing automatically generated.
This interactive device can be to have the keyboard of button, touch screen, the mike of acquisition voice messaging, acquisition user's hands
The photographic head of gesture operation or other can gather the intelligence/non intelligent interactive device of user instruction.This external equipment can be
Predetermined server, data base or other electronics with certain operational capability calculate platform.
This barrage generates instruction and includes but not limited to the word content information of barrage and visual effect (the such as word of barrage
Body, action, transparency, size etc.).Wherein, the word content information of barrage can directly gather user by interactive device
Input content, or converted by the user speech information gathered.It is further possible to be by carrying that server provides
Show information or other different broadcast message.
The visual effect of barrage can be arranged according to user instruction, it would however also be possible to employ the visual effect of acquiescence or according to
The history at family uses data, determines after calculating.
S104: process the painting canvas of described second state, generates on described painting canvas and generates instruction with described barrage
Corresponding barrage.
After obtaining barrage generation instruction, can be called or capture one or more by central processing unit and be in the second shape
The painting canvas of state processes, and generates barrage on painting canvas.
The content that the barrage generated on painting canvas is specifically comprised by barrage generation instruction is determined, including the word of barrage
Content etc..
S106: the state of painting canvas is switched to the first state.After the barrage of painting canvas generates, it is still desirable to carry out figure and render
Operation, finally could show at video playback apparatus, and have predetermined visual effect.Therefore, painting canvas completes barrage raw
After becoming operation, painting canvas can be switched to the first state (barrage is to be rendered), wait for barrage Rendering operations.
S108: the painting canvas of described first state is processed, renders the barrage generated on painting canvas.Above-mentioned render process
Operation can be completed by graphic process unit, can be to be selected after painting canvas by central processing unit, transfer to graphic process unit to complete to render,
Or actively being captured by graphic process unit, the painting canvas selecting first state that is in carries out Rendering operations..
Based on above-mentioned steps, the painting canvas of the first state is the painting canvas being complete barrage generation operation.Graphic process unit
(GPU) painting canvas that can call the first state completes Rendering operations, and central processing unit and graphic process unit will not be occurred to adjust simultaneously
With painting canvas, because two kinds of barrages process processing speed difference, the situations such as card are caused to occur.
Graphic process unit is to have different framework from central processing unit, is exclusively used in the processor carrying out image rendering.At it
Reason device speed and processing mode all also exist obvious difference, if process same target simultaneously, meeting with central processing unit
Influencing each other, different task process needs to wait, causes the most smooth of process and card.
S110: painting canvas state is switched to the second state.Complete the painting canvas after barrage renders process, all operations of barrage
It is complete.Therefore, it can switch to painting canvas the second state, continue to call for central processing unit, painting canvas generates new
Barrage, enters next barrage and generates process.
In the present embodiment, the operation of above-mentioned steps S106 and step S110 can be completed by central processing unit.In that is
Central processor can either generate barrage on painting canvas, it is also possible to switching painting canvas state.Graphic process unit completes after barrage renders,
Can respond to central processing unit, inform that this painting canvas state is switched over by central processing unit.
In the present embodiment, described painting canvas can be two or more.Two or more painting canvas is set, it is provided that relatively
Big buffering capacity, generating barrage operation can be carried out continuously on multiple painting canvas, and the painting canvas not havinging the first state is not enough, leads
Cause the situation needing to wait.Accordingly, it is also possible to continuous print renders on multiple painting canvas having generated barrage, will not
Occur that the painting canvas of the second state is not enough, need the situation carrying out waiting.By arranging multiple painting canvas, nothing between two barrage operations
Need to wait for, barrage can be continuously generated according to the speed of oneself or render barrage, using the teaching of the invention it is possible to provide barrage processing speed faster.
The speed that specifically can generate according to actual barrage or other Video processing requirement, the process thread of processor
The practical situations such as number, arrange appropriate number of painting canvas, such as, 10,20 or more/less painting canvas.
In the present embodiment, as it has been described above, when painting canvas is two or more, there is multiple first state that is in
The situation that painting canvas calls for graphic process unit.Render sequential in order to further determine painting canvas, in the present embodiment, refer to
Fig. 3, step S106 specifically can also comprise the steps:
S1062: choose the painting canvas switching to the first state the earliest.
Usually, it should according to certain order, perform to be complete barrage and generate the painting canvas (picture of the first state of operation
Cloth), to avoid omitting the barrage Rendering operations of some painting canvas.Wherein, painting canvas switches to the time representation barrage life of the first state
Become the time that operation is finished.
Specifically can complete step S1062 in the following way: according to switching time, the painting canvas for the first state is carried out
Sequence, and by switching time formerly come forward position.Then each selected and sorted is in primary first state
Painting canvas.
Owing to the painting canvas after having performed barrage Rendering operations can switch to the second state.Therefore, after selecting every time, first
The painting canvas sequence of state all can be sequentially advanced one.Thus, it is possible to generate sequential, it being carried out successively according to the barrage of painting canvas
Barrage renders.It is of course also possible to use according to switching time, the side of the processing priority different to the painting canvas imparting of the first state
Method or other suitable method.
S1064: the barrage generated on the painting canvas chosen described in rendering.Choose the painting canvas switching to the first state the earliest
After, graphic process unit carry out barrage and render process.After graphic process unit has processed, can be by responding to central processing unit
Etc. mode, inform that central processing unit barrage renders and be finished, painting canvas state can be switched.
The painting canvas of the first state is switched to the earliest, it is ensured that the barrage energy being previously generated on painting canvas by above-mentioned selection
Enough preferentially carry out barrage render and show, situation about omitting also will not occur.
Present invention also offers a kind of barrage processing means.Fig. 4 is the barrage processing means of the embodiment of the present invention.Refer to
Fig. 4, this device includes:
Barrage processing module 100, for the state according to painting canvas, performs corresponding barrage and processes, wherein, and described painting canvas
State includes that described barrage processes bag for representing barrage the first state to be rendered and representing the second state that barrage is to be generated
Include and corresponding with the first state render barrage and the generation barrage corresponding with the second state..
And state handover module 200, after completing the process of described barrage, switch the state of described painting canvas every time.
The barrage processing means of the embodiment of the present invention, has carried out state differentiation to painting canvas, and according to the different conditions of painting canvas,
Perform corresponding barrage operation.Compared with prior art, the while that it being it can be avoided that different barrages operates on same painting canvas
Perform, make barrage render smoothness and carry out, promote Consumer's Experience.
Fig. 5 is the barrage processing module of the barrage processing means of the embodiment of the present invention, refers to Fig. 5, barrage processing module
100 specifically include:
Instruction acquiring unit 101, is used for obtaining barrage and generates instruction.
Barrage signal generating unit 102, for processing the painting canvas of described second state, generates and institute on described painting canvas
State barrage and generate the barrage that instruction is corresponding.After obtaining barrage generation instruction, can be called or capture one by central processing unit
Or multiple painting canvas being in the second state process, painting canvas generates barrage.
In embodiments of the present invention, referring to Fig. 5, this barrage processing module also includes:
Barrage rendering unit 103, for processing the painting canvas of described first state, renders the bullet generated on painting canvas
Curtain.Above-mentioned render process operation and can be completed by graphic process unit, can be to be selected after painting canvas by central processing unit, transfer to figure
Processor completes to render, or is actively captured by graphic process unit, and the painting canvas selecting first state that is in carries out Rendering operations.
Above-mentioned employing first, second state distinguishes painting canvas, and transfers to respectively at graphic process unit and central processing unit
Reason, it is possible to avoid two processors to call same painting canvas simultaneously and cause Ka Dun or the generation of slack situation.
In embodiments of the present invention, described painting canvas can also be two or more.By arranging multiple painting canvas, two barrages
Between operation without waiting for, barrage can be continuously generated according to the speed of oneself or render barrage, using the teaching of the invention it is possible to provide faster barrage
Processing speed.
In the present embodiment, when painting canvas is two or more, there is multiple painting canvas of the first state that is in for figure
The situation that shape processor calls.In order to further determine the sequential that renders of painting canvas, described barrage rendering unit 103 is specifically used
In:
Choose the painting canvas switching to the first state the earliest, and the barrage generated on the painting canvas chosen described in rendering.
Barrage rendering unit 103 is by selecting to switch to the earliest the painting canvas of the first state, it is ensured that on painting canvas formerly
The barrage generated can preferentially carry out barrage and renders and show, situation about omitting also will not occur.
In embodiments of the present invention, described barrage device can apply in multiple electronics color equipment, and wherein, barrage processes
Module 100 according to the state of painting canvas, performs corresponding barrage and processes, the state of painting canvas include for represent that barrage is to be rendered the
One state and represent barrage the second state to be generated, barrage processes and includes corresponding with the first state rendering barrage and with second
The generation barrage that state is corresponding.During generating barrage, can be by the instruction acquiring unit 101 in barrage processing module 100
Obtain barrage and generate instruction, generate instruction according to this barrage, barrage signal generating unit 102 use central processing unit to the second state
Painting canvas process, painting canvas generates generate with described barrage and instructs corresponding barrage.During rendering barrage, permissible
Used graphic process unit that the painting canvas of the first state is processed by the barrage rendering unit 103 in barrage processing module 100, wash with watercolours
The barrage that dye has generated.When painting canvas is two or more, during rendering barrage, barrage rendering unit 103 is chosen the earliest
Switch to the painting canvas of the first state, and use graphic process unit that the painting canvas chosen is processed.Hold in barrage processing module 100
Row barrage processes after end of operation, state handover module 200 switch the state of painting canvas, and the painting canvas of the first state switches to the
Two-state, switches to the second state by the painting canvas of the first state.
The barrage processing means of the embodiment of the present invention, has carried out state differentiation to painting canvas, and according to the different conditions of painting canvas,
Perform corresponding barrage operation.Compared with prior art, the while that it being it can be avoided that different barrages operates on same painting canvas
Perform, make barrage render smoothness and carry out, promote Consumer's Experience.
It should be noted that owing to barrage processing means and barrage processing method are based on identical inventive concept, therefore, side
Corresponding contents in method embodiment is equally applicable to device embodiment, the most no longer describes in detail.
Fig. 6 is the hardware architecture diagram of the electronic equipment of the barrage processing method that the embodiment of the present invention provides, such as Fig. 6 institute
Showing, this equipment includes:
One or more processors 610 and memorizer 620, in Fig. 6 as a example by a processor 610.
The equipment of barrage processing method can also include: input equipment 630 and output device 640.
Processor 610, memorizer 620, input equipment 630 and output device 640 can be by bus or other modes
Connect, in Fig. 6 as a example by being connected by bus.
Memorizer 620, as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, program as corresponding in the barrage processing method in the embodiment of the present invention
Instruction/module (such as, the barrage processing module 110 shown in accompanying drawing 4 and state handover module 120).Processor 610 is by running
Non-volatile software program, instruction and the module being stored in memorizer 620, thus perform the various functions application of server
And data process, i.e. realize said method embodiment barrage processing method.
Memorizer 620 can include storing program area and storage data field, and wherein, storage program area can store operation system
Application program required for system, at least one function;The use that storage data field can store according to barrage processing means is created
Data etc..Additionally, memorizer 620 can include high-speed random access memory, it is also possible to include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, deposit
Reservoir 620 is optional includes the memorizer remotely located relative to processor 610, and these remote memories can be connected by network
To barrage processing means.The example of above-mentioned network includes but not limited to the Internet, intranet, LAN, mobile radio communication
And combinations thereof.
Input equipment 630 can receive numeral or the character information of input, and produce the user with barrage processing means and set
Put and function controls relevant key signals input.Output device 640 can include the display devices such as display screen.
One or more module stores is in described memorizer 620, when by one or more processor
During 610 execution, perform the barrage processing method in above-mentioned any means embodiment.
The electronic equipment of the embodiment of the present invention, in barrage processing procedure, has carried out state differentiation to painting canvas, it is possible to according to
The different conditions of painting canvas, selects central processing unit or graphic process unit to perform corresponding barrage operation.Compared with prior art,
It is it can be avoided that the operation of different barrage performs on same painting canvas simultaneously, it is ensured that the execution that barrage renders, it is to avoid Ka Dun thus
Well improve Consumer's Experience.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has
Benefit effect.The ins and outs of the most detailed description, can be found in the method that the embodiment of the present invention is provided.
Professional should further appreciate that, each example described in conjunction with the embodiments described herein
Unit and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, hard in order to clearly demonstrate
Part and the interchangeability of software, the most generally describe composition and the step of each example according to function.
These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.
Professional and technical personnel can use different methods to realize described function to each specifically should being used for, but this realization
It is not considered that it is beyond the scope of this invention.Described computer software can be stored in computer read/write memory medium, this journey
Sequence is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD,
Read-only store-memory body or random store-memory body etc..
The foregoing is only embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilization is originally
Equivalent structure or equivalence flow process that description of the invention and accompanying drawing content are made convert, or are directly or indirectly used in what other were correlated with
Technical field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (11)
1. the processing method of a barrage, it is characterised in that including:
According to the state of painting canvas, performing corresponding barrage and process, wherein, the state of described painting canvas includes for representing that barrage treats wash with watercolours
First state of dye and represent barrage the second state to be generated, described barrage processes and includes corresponding with the first state rendering bullet
Curtain and the generation barrage corresponding with the second state;
After completing the process of described barrage, switch the state of described painting canvas every time.
Method the most according to claim 1, it is characterised in that described generation barrage specifically includes:
Obtain barrage and generate instruction;
The painting canvas of described second state is processed, described painting canvas generates and generates, with described barrage, the bullet that instruction is corresponding
Curtain.
Method the most according to claim 1, it is characterised in that described in render barrage and specifically include:
The painting canvas of described first state is processed, renders the barrage generated on painting canvas.
4. according to the method described in any one of claim 1-3, it is characterised in that described painting canvas at least two.
Method the most according to claim 4, it is characterised in that described in render barrage, specifically include:
Choose the painting canvas switching to the first state the earliest;
The barrage generated on the painting canvas chosen described in rendering.
6. the processing means of a barrage, it is characterised in that including:
Barrage processing module, according to the state of painting canvas, performs corresponding barrage and processes, and wherein, the state of described painting canvas includes using
In the second state that the first state that expression barrage is to be rendered is to be generated with representing barrage, described barrage processes and includes and the first shape
What state was corresponding renders barrage and the generation barrage corresponding with the second state;
State handover module, after completing the process of described barrage, switches the state of described painting canvas every time.
Device the most according to claim 6, it is characterised in that described barrage processing module specifically includes:
Instruction acquiring unit, is used for obtaining barrage and generates instruction;
Barrage signal generating unit, for processing the painting canvas of described second state, generates and described barrage on described painting canvas
Generate the barrage that instruction is corresponding.
Device the most according to claim 6, it is characterised in that described barrage processing module specifically includes:
Barrage rendering unit, for processing the painting canvas of described first state, renders the barrage generated on painting canvas.
9. according to the device described in any one of claim 6-8, it is characterised in that described painting canvas at least two.
Device the most according to claim 9, it is characterised in that described barrage rendering unit specifically for:
Choose the painting canvas switching to the first state the earliest;
The barrage generated on the painting canvas chosen described in rendering.
11. 1 kinds of electronic equipments, including:
At least one or more processor;And,
Memorizer;Wherein,
Described memorizer storage has the instruction repertorie that can be performed by least one or more processor described, described instruction repertorie quilt
It is arranged to carry out:
According to the state of painting canvas, performing corresponding barrage and process, wherein, the state of described painting canvas includes for representing that barrage treats wash with watercolours
First state of dye and represent barrage the second state to be generated, described barrage processes and includes corresponding with the first state rendering bullet
Curtain and the generation barrage corresponding with the second state;
After completing the process of described barrage, switch the state of described painting canvas every time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610552280.6A CN106131643A (en) | 2016-07-13 | 2016-07-13 | A kind of barrage processing method, processing means and electronic equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610552280.6A CN106131643A (en) | 2016-07-13 | 2016-07-13 | A kind of barrage processing method, processing means and electronic equipment thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131643A true CN106131643A (en) | 2016-11-16 |
Family
ID=57283706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610552280.6A Pending CN106131643A (en) | 2016-07-13 | 2016-07-13 | A kind of barrage processing method, processing means and electronic equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131643A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092643A (en) * | 2017-03-06 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of barrage rendering intent and device |
CN107333167A (en) * | 2017-05-22 | 2017-11-07 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device and the electronic equipment of video-see record |
CN110392293A (en) * | 2019-06-21 | 2019-10-29 | 平安普惠企业管理有限公司 | Barrage control method, device, equipment and storage medium based on canvas |
CN111026558A (en) * | 2019-11-25 | 2020-04-17 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and system based on WeChat applet |
CN111131910A (en) * | 2020-01-02 | 2020-05-08 | 广州虎牙科技有限公司 | Bullet screen implementation method and device, electronic equipment and readable storage medium |
CN114493809A (en) * | 2022-02-08 | 2022-05-13 | 北京百度网讯科技有限公司 | Auction message processing method, device, server, equipment, medium and product |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394489A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Subtitle rendering efficiency bottle neck automatically positioning method based on template and parameter step length |
US20130132455A1 (en) * | 2009-02-27 | 2013-05-23 | Adobe Systems Incorporated | Electronic content editing platform environment |
WO2014013690A1 (en) * | 2012-07-17 | 2014-01-23 | パナソニック株式会社 | Comment information generation device and comment information generation method |
CN104536980A (en) * | 2014-12-05 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | To-be-commented item quality information determination method and device |
CN104754396A (en) * | 2015-03-12 | 2015-07-01 | 腾讯科技(北京)有限公司 | Curtain popup data display method and device |
CN105307030A (en) * | 2015-09-30 | 2016-02-03 | 广州酷狗计算机科技有限公司 | Barrage displaying method and device |
US20160179349A1 (en) * | 2013-07-31 | 2016-06-23 | Sony Corporation | Information processing apparatus, information processing method, and program |
-
2016
- 2016-07-13 CN CN201610552280.6A patent/CN106131643A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394489A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Subtitle rendering efficiency bottle neck automatically positioning method based on template and parameter step length |
US20130132455A1 (en) * | 2009-02-27 | 2013-05-23 | Adobe Systems Incorporated | Electronic content editing platform environment |
WO2014013690A1 (en) * | 2012-07-17 | 2014-01-23 | パナソニック株式会社 | Comment information generation device and comment information generation method |
US20160179349A1 (en) * | 2013-07-31 | 2016-06-23 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN104536980A (en) * | 2014-12-05 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | To-be-commented item quality information determination method and device |
CN104754396A (en) * | 2015-03-12 | 2015-07-01 | 腾讯科技(北京)有限公司 | Curtain popup data display method and device |
CN105307030A (en) * | 2015-09-30 | 2016-02-03 | 广州酷狗计算机科技有限公司 | Barrage displaying method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092643A (en) * | 2017-03-06 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | A kind of barrage rendering intent and device |
CN107333167A (en) * | 2017-05-22 | 2017-11-07 | 武汉斗鱼网络科技有限公司 | A kind of processing method, device and the electronic equipment of video-see record |
CN110392293A (en) * | 2019-06-21 | 2019-10-29 | 平安普惠企业管理有限公司 | Barrage control method, device, equipment and storage medium based on canvas |
CN111026558A (en) * | 2019-11-25 | 2020-04-17 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and system based on WeChat applet |
CN111026558B (en) * | 2019-11-25 | 2020-11-17 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method and system based on WeChat applet |
US11711333B2 (en) | 2019-11-25 | 2023-07-25 | Shanghai Bilibili Technology Co., Ltd. | Bullet comment processing method and system based on WeChat applet |
CN111131910A (en) * | 2020-01-02 | 2020-05-08 | 广州虎牙科技有限公司 | Bullet screen implementation method and device, electronic equipment and readable storage medium |
CN114493809A (en) * | 2022-02-08 | 2022-05-13 | 北京百度网讯科技有限公司 | Auction message processing method, device, server, equipment, medium and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131643A (en) | A kind of barrage processing method, processing means and electronic equipment thereof | |
JP7114633B2 (en) | Screen mirroring method, device, terminal and storage medium | |
JP7013466B2 (en) | Application data processing methods, equipment, and computer programs | |
CN105988860B (en) | Method for executing application program and mobile device | |
CN105103111A (en) | User interface for computing device | |
CN103827924B (en) | Information processor, information processing method | |
CN103562862A (en) | Global composition system | |
CN107315580A (en) | Component processing method, device and the equipment of user interface, computer-readable recording medium | |
CN112788379A (en) | Display apparatus and method | |
CN111901832B (en) | Wireless screen projection module and screen projection method of all-in-one machine | |
CN110798615A (en) | Shooting method, shooting device, storage medium and terminal | |
US20180143741A1 (en) | Intelligent graphical feature generation for user content | |
US11989814B2 (en) | Image processing method and apparatus, electronic device, and storage medium | |
CN104599307A (en) | Mobile terminal animated image display method | |
CN110244985A (en) | A kind of view rendering method, computer storage medium and terminal device | |
CN112565868A (en) | Video playing method and device and electronic equipment | |
CN110971953A (en) | Video playing method, device, terminal and storage medium | |
CN109587561A (en) | Method for processing video frequency, device, electronic equipment and storage medium | |
CN106887029A (en) | Animation control methodses, device and terminal | |
CN112087668B (en) | Video processing method and device, video processing equipment and storage medium | |
CN111736942A (en) | Multi-application scene display method and device in VR system and VR equipment | |
CN101620497A (en) | Multi-picture operation system and operation method thereof | |
CN112784137A (en) | Display device, display method and computing device | |
CN110365918A (en) | A kind of information source switching method and equipment | |
WO2020248682A1 (en) | Display device and virtual scene generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |