CN108989870A - Control the method and system in barrage region - Google Patents
Control the method and system in barrage region Download PDFInfo
- Publication number
- CN108989870A CN108989870A CN201710406357.3A CN201710406357A CN108989870A CN 108989870 A CN108989870 A CN 108989870A CN 201710406357 A CN201710406357 A CN 201710406357A CN 108989870 A CN108989870 A CN 108989870A
- Authority
- CN
- China
- Prior art keywords
- barrage
- region
- curved section
- barrage region
- video pictures
- 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
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/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
- H04N21/4314—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 for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
-
- 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/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
- H04N21/4756—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
-
- 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)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method and systems for controlling barrage region, are related to video broadcasting field.The described method includes: barrage region and non-barrage region are determined on video pictures in real time according to curved section, and show barrage information according to predetermined policy in barrage region in response to the curved section that user draws on video pictures.The present invention enables to not show barrage information in non-barrage region, to effectively solve the problems, such as that the video display effect of full frame Dynamic Display barrage is impaired.
Description
Technical field
The present invention relates to video broadcasting field more particularly to a kind of method and systems for controlling barrage region.
Background technique
Barrage is a popular application of current internet video.When user opens barrage function, then in the video of viewing
On picture, by the comment of the Overlapping display user in the form of dynamic.User can input the comment of oneself in comment area, these are commented
By also will appear in the broadcasting pictures of the video.The advantage of barrage is can to carry out the sharing and friendship that viewing between user is experienced
Stream, obtains the enjoyment of emotional resonance;However, video pictures are caused to block, allow human eye to spend entangled by the mode of full frame dynamic superposition
Disorderly, it influences to watch video effect.
Summary of the invention
The invention solves a technical problem be it is a kind of control barrage region method and system enable to user
Barrage display area is divided by simple operations, the video display effect for effectively solving full frame Dynamic Display barrage impaired is asked
Topic.
According to an aspect of the present invention, a kind of method for controlling barrage region is proposed, comprising: in response to user in video pictures
The curved section of upper drafting determines barrage region and non-barrage region according to curved section on video pictures in real time;In barrage region
Barrage information is shown according to predetermined policy.
Further, it is determined that the two-end-point of curved section, constructs figure according to the two-end-point of curved section, by the region in figure
As non-barrage region, using the region outside figure as barrage region.
Further, according to the two-end-point of curved section, to construct figure include: the line segment between two-end-point with curved section is pair
Linea angulata constructs rectangle.
Further, according to the two-end-point of curved section, to construct figure include: the line segment between two-end-point with curved section is half
Diameter building is round.
Further, it is determined that coordinate points nearest apart from each boundary of video pictures in curved section, construct according to each coordinate points
Rectangular graph, wherein curved section is included in rectangular graph, and the up-and-down boundary and right boundary of rectangular graph are drawn with video respectively
The up-and-down boundary in face is parallel with right boundary;Using the region in rectangular graph as non-barrage region, by the area outside rectangular graph
Domain is as barrage region.
Further, this method further include: in response to multiple curved sections that user draws on video pictures, regarding in real time
Multiple barrage regions and multiple non-barrage regions are determined on frequency picture.
Further, show that barrage information includes: that barrage region is divided on figure according to predetermined policy in barrage region
Barrage region, figure left barrage region and figure right barrage region below square barrage region, figure;It is big according to barrage font
It is small respectively by barrage region, figure left barrage region and figure right barrage region below barrage region above figure, figure
It is divided into M1 row, M2 row, N1 column and N2 column, wherein M1, M2, N1 and N2 are natural number;Respectively above figure barrage region,
Circulation display comment content in each row in barrage region below figure, and/or it is right in figure left barrage region and figure respectively
Circulation display comment content in each column in square barrage region.
According to another aspect of the present invention, it is also proposed that a kind of system for controlling barrage region, comprising: area determination unit,
Curved section for drawing on video pictures in response to user determines barrage region according to curved section on video pictures in real time
With non-barrage region;Barrage display unit, for showing barrage information according to predetermined policy in barrage region.
Further, area determination unit is also used to determine the two-end-point of curved section, is constructed according to the two-end-point of curved section
Figure, using the region in figure as non-barrage region, using the region outside figure as barrage region.
Further, area determination unit is also used to the line segment between the two-end-point using curved section and constructs rectangle as diagonal line.
Further, area determination unit is also used to the line segment between the two-end-point using curved section and constructs circle as radius.
Further, area determination unit is also used to determine coordinate nearest apart from each boundary of video pictures in curved section
Point, according to each coordinate points construct rectangular graph, wherein curved section be included in rectangular graph in, the up-and-down boundary of rectangular graph and
Right boundary is parallel with the up-and-down boundary of video pictures and right boundary respectively;Using the region in rectangular graph as non-barrage area
Domain, using the region outside rectangular graph as barrage region.
Further, area determination unit is also used to the multiple curved sections drawn on video pictures in response to user, real
When multiple barrage regions and multiple non-barrage regions are determined on video pictures.
Further, barrage display unit is used to for being divided into barrage region barrage region above figure, barrage below figure
Region, figure left barrage region and figure right barrage region;According to barrage font size respectively by barrage area above figure
Domain, below figure barrage region, figure left barrage region and figure right barrage region division be M1 row, M2 row, N1 column and
N2 column, wherein M1, M2, N1 and N2 are natural number;Respectively above the figure barrage region, below figure barrage region each row
Middle circulation display comment content, and/or recycled in each column in figure left barrage region and figure right barrage region respectively
Display comment content.
According to another aspect of the present invention, it is also proposed that a kind of system for controlling barrage region, comprising: memory;And coupling
It is connected to the processor of memory, processor is configured as the method for example above-mentioned based on the instruction execution for being stored in memory.
According to another aspect of the present invention, it is also proposed that a kind of computer readable storage medium is stored thereon with computer journey
The step of sequence instruction, which realizes above-mentioned method when being executed by processor.
Compared with prior art, the curved section that the present invention is drawn on video pictures in response to user, according to curved section reality
When barrage region and non-barrage region are determined on video pictures, and show barrage information according to predetermined policy in barrage region,
So that not showing barrage information in non-barrage region, the video display effect of full frame Dynamic Display barrage can effectively solve the problem that
Impaired problem.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Detailed description of the invention
The attached drawing for constituting part of specification describes the embodiment of the present invention, and together with the description for solving
Release the principle of the present invention.
The present invention can be more clearly understood according to following detailed description referring to attached drawing, in which:
Fig. 1 is the flow diagram of one embodiment of the method in present invention control barrage region.
Fig. 2 is the flow diagram of another embodiment of the method in present invention control barrage region.
Fig. 3 is barrage picture drawing of the present invention.
Fig. 4 is the flow diagram of the further embodiment of the method in present invention control barrage region.
Fig. 5 is the flow diagram of another embodiment of the method in present invention control barrage region.
Fig. 6 is the schematic diagram that the present invention constructs rectangular graph in video pictures.
Fig. 7 is the structural schematic diagram of one embodiment of the system in present invention control barrage region.
Fig. 8 is the structural schematic diagram of another embodiment of the system in present invention control barrage region.
Fig. 9 is the structural schematic diagram of the further embodiment of the system in present invention control barrage region.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having
Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality
Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention
And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
Attached drawing, the present invention is described in more detail.
Fig. 1 is the flow diagram of one embodiment of the method in present invention control barrage region.This method includes following
Step:
In step 110, in response to the curved section that user draws on video pictures, according to curved section in real time in video pictures
Upper determining barrage region and non-barrage region.For example, user only need to draw one with finger on video pictures for touch screen terminal
Oblique line constructs figure with the starting point of this oblique line, can be using the region in figure as non-barrage area, by the region outside figure
As barrage region.It can also be using the region outside figure as barrage area, using the region in figure as non-barrage area.
In step 120, barrage information is shown according to predetermined policy in barrage region.Wherein, the figure layer in barrage region can be with
It is added in video pictures by the way of transparency overlay.In one embodiment, barrage region can be divided into above figure
Barrage region, figure left barrage region and figure right barrage region below barrage region, figure;According to barrage font size
Barrage region, figure lower section barrage region, figure left barrage region and figure right barrage region above figure are drawn respectively
It is divided into M1 row, M2 row, N1 column and N2 column, wherein M1, M2, N1 and N2 are natural number;Barrage region, figure above figure respectively
Circulation display comment content in each row in barrage region below shape, alternatively, respectively in figure left barrage region and figure right
Circulation display comment content in each column in barrage region.
In this embodiment, the curved section drawn on video pictures in response to user, according to curved section in real time in video
Barrage region and non-barrage region are determined on picture, and show barrage information according to predetermined policy in barrage region, so that
Barrage information is not shown in non-barrage region, be can effectively solve the problem that the video display effect of full frame Dynamic Display barrage is impaired and is asked
Topic.
Fig. 2 is the flow diagram of another embodiment of the method in present invention control barrage region.This method include with
Lower step:
In step 210, the curved section that user draws on video pictures is obtained.Wherein, after user opens barrage function, bullet
Curtain can in whole screen from left to right, scrolling display from top to bottom.User can arbitrarily draw in video pictures at this time
A camber line out.
In step 220, rectangle is constructed by diagonal line of the line segment between the two-end-point of curved section.The wide height of the rectangle can divide
It is high not parallel with the width of video pictures.In this step, the activity trajectory for considering user can not had to, i.e., only need to know curved section
The pixel coordinates of two endpoints constructed if two endpoints of curved section are not closed state according to two coordinate points
One rectangle, the up-and-down boundary of rectangle and the up-and-down boundary of video pictures are parallel, the right boundary of rectangle and a left side for video pictures
Right margin is parallel.
In step 230, using the region in rectangle as non-barrage region, using the region outside rectangle as barrage region.Example
Such as, as shown in figure 3, can be using rectangle as boundary, video pictures are divided into three regions: rectangle inside region is non-barrage area
Domain does not show barrage information in rectangle inside region, it can be ensured that the video information overwhelming majority is shown;Rectangle upper and lower and square
Shape two side areas is barrage region, shows barrage information in barrage region, realizes comment Real-Time Sharing.
In step 240, comment is shown using left and right or by the way of scrolling up and down in barrage region.Wherein it is possible to by video
Picture is averagely divided into N column and M row according to font size, and N and M are natural number.For barrage region, including rectangle upper and lower area
Domain and rectangle two side areas.For rectangle two side areas, it is divided into N_LEFT and N_RIGHT, each column can show k1 word, be loaded into
1 or a plurality of comment.M_TOP and M_BOTTOM row is divided into, every row can according to font size for rectangle upper and lower region
Show k2 word, be loaded into 1 or a plurality of comment, wherein k1 and k2 be according to font size and and layout position, decision each column or
The maximum number for the content that every row can be shown.In each update, each column moves down v1 word, and every row moves right v2
Word, wherein a kind of quantization of update displacement when v1 and v2 is to each update, it will be understood by those of skill in the art that
The displacement of update and the frequency of update can be comprehensively considered according to practical viewing effect.When a comment has been shown, the column or
The row is loaded into next comment, for example, add one section of blank below in every comment, when this section of blank is fully displayed on screen,
Then new comment content is loaded into it is necessary to select next comment when refreshing next time.
In this embodiment, user can in video pictures an arbitrarily drawn curve, between the two-end-point of curve
Line segment is diagonal line to one rectangle of building, using the region in rectangle as non-barrage region, using the region outside rectangle as
Barrage region, and display user comment is recycled in barrage region.The embodiment can be real in user side real-time control barrage region
Real-Time Sharing is now commented on, is shared to reach viewing effect and comment on, the comprehensive experience that the two gets both is obtained.
Fig. 4 is the flow diagram of the further embodiment of the method in present invention control barrage region.This method include with
Lower step:
In step 410, the curved section that user draws on video pictures is obtained.User can need to adjust in real time according to oneself
Whole drawn curve on video pictures.
In step 420, constructed using the line segment between the two-end-point of curved section as radius round.In this step, can not have to
The activity trajectory for considering user, i.e., only need the pixel coordinate for knowing two endpoints of curved section, if two of curved section are held
Point is not closed state, then constructs a circle according to two coordinate points.
In step 430, using the region in circle as non-barrage region, using the region outside circle as barrage region.I.e.
Using circle as boundary, video image is divided into two regions, rounded interior areas is the region that user wants viewing video, the region
For non-barrage area, user comment may be displayed on the region outside circle.
In step 440, the circulation display comment content in the column or row in barrage region.By the figure layer in barrage region using saturating
The mode of bright superposition is added in video pictures, both can be in barrage region it can be seen that video pictures can also be seen that in barrage
Hold.
In this embodiment, user can in video pictures an arbitrarily drawn curve, between the two-end-point of curve
Line segment is radius to one circle of building, using the region in circle as non-barrage region, using the region outside rectangle as bullet
Curtain region, and display user comment is recycled in barrage region, avoid full frame scrolling display barrage bring picture result of broadcast
Video display effect is not only effectively ensured in impaired influence, realization, but also can obtain barrage sharing, and the two gets both.Also, user can be real
When adjust display area as needed, it is easy to operate flexibly, it is practical.
Fig. 5 is the flow diagram of another embodiment of the method in present invention control barrage region.This method include with
Lower step:
In step 510, the curved section that user draws on video pictures is obtained.User can need to adjust in real time according to oneself
Whole drawn curve on video pictures.
In step 520, coordinate points nearest apart from each boundary of video pictures in curved section are determined, constructed according to each coordinate points
Rectangular graph, wherein curved section is included in rectangular graph, and the up-and-down boundary and right boundary of rectangular graph are drawn with video respectively
The up-and-down boundary in face is parallel with right boundary.The step considers the activity trajectory of user, and the rectangular graph of composition is to include
The minimum rectangle of the curved section.As shown in fig. 6,610 be video pictures, user arbitrarily marks a curved section on video pictures
620, wherein the A coordinate points in curved section 620 are the nearest coordinate points in the coboundary apart from video pictures, and B coordinate points are distance
The nearest coordinate points of the lower boundary of video pictures, C coordinate points are the nearest coordinate points of the left margin apart from video pictures, D coordinate
The point coordinate points nearest for the right margin apart from video pictures.The tangent line of A, B, C, D coordinate points can be determined respectively, wherein each
Tangent line is parallel with corresponding boundary respectively, so that four tangent lines may be constructed a rectangle.
In step 530, using the region in rectangular graph as non-barrage region, using the region outside rectangular graph as barrage
Region.
In step 540, the figure layer in barrage region is added in video pictures by the way of transparency overlay, and in barrage
Circulation display comment content in the column or row in region.
In this embodiment, user can in video pictures an arbitrarily drawn curve, determine in curved section that distance regards
The nearest coordinate points in each boundary of frequency picture construct rectangular graph according to each coordinate points, wherein curved section is included in rectangular graph
Interior, the up-and-down boundary and right boundary of rectangular graph are parallel with the up-and-down boundary of video pictures and right boundary respectively, by rectangle
Region in figure is as non-barrage region, using the region outside rectangular graph as barrage region, and it is aobvious in barrage region circulation
Show user comment, avoid the impaired influence of full frame scrolling display barrage bring picture result of broadcast, realization was both effectively ensured
Video display effect, and barrage sharing can be obtained.
In another embodiment of the present invention, user can draw a plurality of curved section on video pictures, to be formed
Multiple barrage regions and multiple non-barrage regions, i.e. user carry out personal settings, can adjust barrage display area in real time, mention
High viewing effect.
In one embodiment, if two endpoints of curved section are closed state, i.e., the region that user draws can be constituted
One closed figure, then can be directly using the closed figure as boundary, and the region in figure is non-barrage area, the area outside figure
Domain is barrage area, wherein the figure can have any shape.
Fig. 7 is the structural schematic diagram of one embodiment of the system in present invention control barrage region.The system includes region
Determination unit 710 and barrage display unit 720, in which:
Area determination unit 710 is used for the curved section drawn on video pictures in response to user, real-time according to curved section
Barrage region and non-barrage region are determined on video pictures.For example, user need to only use on video pictures for touch screen terminal
Finger draws an oblique line, constructs figure with the starting point of this oblique line, can will scheme using the region in figure as non-barrage area
Region outside shape is as barrage region.It can also be using the region outside figure as barrage area, using the region in figure as non-ballistic
Curtain area.
Barrage display unit 720 is used to show barrage information according to predetermined policy in barrage region.Wherein, barrage region
Figure layer can be added in video pictures by the way of transparency overlay.In one embodiment, barrage region can be divided into
Barrage region, figure lower section barrage region, figure left barrage region and figure right barrage region above figure;According to barrage
Font size is respectively by barrage region, figure lower section barrage region, figure left barrage region and figure right bullet above figure
Curtain region division is M1 row, M2 row, N1 column and N2 column, wherein M1, M2, N1 and N2 are natural number;The barrage above figure respectively
Circulation display comment content in each row in barrage region below region, figure, alternatively, respectively in figure left barrage region and figure
Circulation display comment content in each column in shape right barrage region.
In this embodiment, the curved section drawn on video pictures in response to user, according to curved section in real time in video
Barrage region and non-barrage region are determined on picture, and show barrage information according to predetermined policy in barrage region, so that
Barrage information is not shown in non-barrage region, be can effectively solve the problem that the video display effect of full frame Dynamic Display barrage is impaired and is asked
Topic.
In one embodiment of the invention, area determination unit 710 in response to user on video pictures for drawing
Curved section, using the line segment between the two-end-point of curved section as diagonal line construct rectangle, using the region in rectangle as non-barrage area
Domain, using the region outside rectangle as barrage region.Wherein, the wide height of the rectangle can be high parallel with the width of video pictures respectively.
For example, as shown in figure 3, video pictures can be divided into three regions using rectangle as boundary: rectangle inside region is non-barrage area
Domain does not show barrage information in rectangle inside region, it can be ensured that the video information overwhelming majority is shown;Rectangle upper and lower and square
Shape two side areas is barrage region, shows barrage information in barrage region, realizes comment Real-Time Sharing.
Barrage display unit 720 is used to show comment in barrage region using left and right or by the way of scrolling up and down.Wherein, may be used
Video pictures to be averagely divided into N column and M row according to font size, wherein N and M is natural number.For two lateral areas of rectangle
Domain is divided into N_LEFT and N_RIGHT, and each column can show k1 word, is loaded into 1 or a plurality of comment.For rectangle upper and lower area
Domain is divided into M_TOP and M_BOTTOM row according to font size, and every row can show k2 word, is loaded into 1 or a plurality of comment,
In, k1 and k2 be according to font size and and layout position, determine the maximum number for the content that each column or row can be shown.Every
When secondary update, each column moves down v1 word, and every row moves right v2 word, wherein when v1 and v2 is to each update more
A kind of quantization of new displacement, it will be understood by those of skill in the art that update can be comprehensively considered according to practical viewing effect
Displacement and update frequency.When a comment has been shown, the column or the row are loaded into next comment, for example, commenting at every
Behind plus one section of blank, when this section of blank is fully displayed on screen, then when refreshing it is necessary to selecting next to comment next time
By being loaded into new comment content.
In this embodiment, user can in video pictures an arbitrarily drawn curve, between the two-end-point of curve
Line segment is diagonal line to one rectangle of building, using the region in rectangle as non-barrage region, using the region outside rectangle as
Barrage region, and display user comment is recycled in barrage region.The embodiment can be real in user side real-time control barrage region
Real-Time Sharing is now commented on, is shared to reach viewing effect and comment on, the comprehensive experience that the two gets both is obtained.
In another embodiment of the present invention, area determination unit 710 in response to user on video pictures for drawing
The curved section of system constructs circle by diagonal line of the line segment between the two-end-point of curved section, using the region in circle as non-barrage
Region, using the region outside circle as barrage region.I.e. using circle as boundary, video image is divided into two regions, in circle
Region is the region that user wants viewing video, which is non-barrage area, and user comment may be displayed on the region outside circle.
Barrage display unit 720 is used for the circulation display comment content in the column or row in barrage region.
In this embodiment, user can in video pictures an arbitrarily drawn curve, between the two-end-point of curve
Line segment is radius to one circle of building, using the region in circle as non-barrage region, using the region outside rectangle as bullet
Curtain region, and display user comment is recycled in barrage region, it avoids full frame scrolling display barrage information bring picture and plays
Video display effect is not only effectively ensured in the influence of impaired performance, realization, but also can obtain barrage sharing, and the two gets both.Also, user
Display area can be adjusted as needed in real time, it is easy to operate flexible, it is practical.
In another embodiment of the present invention, area determination unit 710 is also used in response to user on video pictures
The multiple curved sections drawn, determine coordinate points nearest apart from each boundary of video pictures in curved section, are constructed according to each coordinate points
Rectangular graph, wherein curved section is included in rectangular graph, and the up-and-down boundary and right boundary of rectangular graph are drawn with video respectively
The up-and-down boundary in face is parallel with right boundary, using the region in rectangular graph as non-barrage region, by the area outside rectangular graph
Domain is as barrage region.Barrage display unit 720 is used for view that the figure layer in barrage region is added to by the way of transparency overlay
In frequency picture, and the circulation display comment content in the column or row in barrage region.
In this embodiment, user can in video pictures an arbitrarily drawn curve, determine in curved section that distance regards
The nearest coordinate points in each boundary of frequency picture construct rectangular graph according to each coordinate points, wherein curved section is included in rectangular graph
Interior, the up-and-down boundary and right boundary of rectangular graph are parallel with the up-and-down boundary of video pictures and right boundary respectively, by rectangle
Region in figure is as non-barrage region, using the region outside rectangular graph as barrage region, and it is aobvious in barrage region circulation
Show user comment, avoid the impaired influence of full frame scrolling display barrage bring picture result of broadcast, realization was both effectively ensured
Video display effect, and barrage sharing can be obtained.
In another embodiment of the present invention, area determination unit 710 is also used in response to user on video pictures
The multiple curved sections drawn determine multiple barrage regions and multiple non-barrage regions on video pictures in real time.I.e. user carries out
Personal settings can adjust barrage display area in real time, improve viewing effect.
In another embodiment of the present invention, if two endpoints of curved section be closed state, i.e., user draw area
Domain can constitute a closed figure, then area determination unit 710 is also used to scheme directly using the closed figure as boundary
Region in shape is non-barrage area, and the region outside figure is barrage area, wherein the figure can have any shape.
Fig. 8 is the structural schematic diagram of another embodiment of the system in present invention control barrage region.The system includes depositing
Reservoir 810 and processor 820.Wherein:
Memory 810 can be disk, flash memory or other any non-volatile memory mediums.Memory for store Fig. 1,
2, the instruction in embodiment corresponding to 4,5.
Processor 820 is coupled to memory 810, can be used as one or more integrated circuits to implement, such as micro process
Device or microcontroller.The processor 820 can effectively solve the problem that full frame Dynamic Display bullet for executing the instruction stored in memory
The impaired problem of the video display effect of curtain.
It in one embodiment, can be as shown in figure 9, the system 900 includes memory 910 and processor 920.Processing
Device 920 is coupled to memory 910 by BUS bus 930.The system 900 can also be connected to outside by memory interface 940 and deposit
Storage device 950 can also be connected to network or an other department of computer science to call external data by network interface 960
System (not shown), no longer describes in detail herein.
In this embodiment, it is instructed by memory stores data, then above-metioned instruction is handled by processor, it can be effective
Solve the problems, such as that the video display effect of full frame Dynamic Display barrage is impaired.
In another embodiment, a kind of computer readable storage medium, is stored thereon with computer program instructions, this refers to
The step of order realizes the method in embodiment corresponding to Fig. 1,2,4,5 when being executed by processor.Those skilled in the art answer
Understand, the embodiment of the present invention can provide as method, apparatus or computer program product.Therefore, the present invention can be used completely hard
The form of part embodiment, complete software embodiment or embodiment combining software and hardware aspects.Moreover, the present invention can be used
The computer that one or more wherein includes computer usable program code can be with non-transient storage medium (including but not
Be limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of equipment (system) and computer program product
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
So far, the present invention is described in detail.In order to avoid covering design of the invention, it is public that this field institute is not described
The some details known.Those skilled in the art as described above, completely it can be appreciated how implementing technology disclosed herein
Scheme.
Method and device of the invention may be achieved in many ways.For example, can by software, hardware, firmware or
Person's software, hardware, firmware any combination realize method and device of the invention.The step of for the method it is above-mentioned
Sequence is merely to be illustrated, and the step of method of the invention is not limited to sequence described in detail above, unless with other sides
Formula illustrates.In addition, in some embodiments, the present invention can be also embodied as recording program in the recording medium, these
Program includes for realizing machine readable instructions according to the method for the present invention.Thus, the present invention also covers storage for executing
The recording medium of program according to the method for the present invention.
Although some specific embodiments of the invention are described in detail by example, the skill of this field
Art personnel it should be understood that above example merely to being illustrated, the range being not intended to be limiting of the invention.The skill of this field
Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above embodiments.This hair
Bright range is defined by the following claims.
Claims (16)
1. a kind of method for controlling barrage region characterized by comprising
In response to the curved section that user draws on video pictures, determined on the video pictures in real time according to the curved section
Barrage region and non-barrage region;
Barrage information is shown according to predetermined policy in the barrage region.
2. the method according to claim 1, wherein
The two-end-point for determining the curved section constructs figure according to the two-end-point of the curved section, by the region in the figure
As the non-barrage region, using the region outside the figure as the barrage region.
3. according to the method described in claim 2, it is characterized in that, including: according to the two-end-point of curved section building figure
Rectangle is constructed by diagonal line of the line segment between the two-end-point of the curved section.
4. according to the method described in claim 2, it is characterized in that, including: according to the two-end-point of curved section building figure
It is constructed using the line segment between the two-end-point of the curved section as radius round.
5. the method according to claim 1, wherein
It determines the coordinate points that each boundary of video pictures described in distance is nearest in the curved section, constructs histogram according to each coordinate points
Shape, wherein the curved section be included in the rectangular graph in, the up-and-down boundary and right boundary of the rectangular graph respectively with
The up-and-down boundary of the video pictures is parallel with right boundary;
Using the region in the rectangular graph as the non-barrage region, using the region outside the rectangular graph as the bullet
Curtain region.
6. the method according to claim 1, wherein
In response to multiple curved sections that the user draws on video pictures, multiple bullets are determined on the video pictures in real time
Curtain region and multiple non-barrage regions.
7. -6 any method according to claim 1, which is characterized in that shown in the barrage region according to predetermined policy
Barrage information includes:
The barrage region is divided into barrage region above figure, figure lower section barrage region, figure left barrage region and figure
Shape right barrage region;
According to barrage font size respectively by barrage region, figure lower section barrage region, figure left barrage above the figure
Region and figure right barrage region division are M1 row, M2 row, N1 column and N2 column, wherein M1, M2, N1 and N2 are natural number;
Barrage region, circulation display comment content in each row in barrage region below figure above the figure respectively, and/or
The circulation display comment content in each column in the figure left barrage region and figure right barrage region respectively.
8. a kind of system for controlling barrage region characterized by comprising
Area determination unit, the curved section for drawing on video pictures in response to the user are real according to the curved section
When barrage region and non-barrage region are determined on the video pictures;
Barrage display unit, for showing barrage information according to predetermined policy in the barrage region.
9. system according to claim 8, which is characterized in that the area determination unit is also used to determine the curved section
Two-end-point, figure is constructed according to the two-end-point of the curved section, using the region in the figure as the non-barrage region,
Using the region outside the figure as the barrage region.
10. system according to claim 9, which is characterized in that the area determination unit is also used to the curved section
Two-end-point between line segment be diagonal line construct rectangle.
11. system according to claim 9, which is characterized in that the area determination unit is also used to the curved section
Two-end-point between line segment be that radius building is round.
12. system according to claim 9, which is characterized in that the area determination unit is also used to determine the curve
The nearest coordinate points in each boundary of video pictures described in distance in section construct rectangular graph according to each coordinate points, wherein the curve
Section is included in the rectangular graph, and the up-and-down boundary and right boundary of the rectangular graph are upper with the video pictures respectively
Lower boundary is parallel with right boundary;Using the region in the rectangular graph as the non-barrage region, by the rectangular graph
Outer region is as the barrage region.
13. system according to claim 8, which is characterized in that the area determination unit is also used in response to the use
Multiple curved sections that family is drawn on video pictures determine multiple barrage regions and multiple non-ballistic on the video pictures in real time
Curtain region.
14. according to any system of claim 8-13, which is characterized in that the barrage display unit is used for the bullet
Curtain region is divided into barrage region above figure, barrage region, figure left barrage region and figure right barrage area below figure
Domain;According to barrage font size respectively by barrage region, figure lower section barrage region, figure left barrage area above the figure
Domain and figure right barrage region division are M1 row, M2 row, N1 column and N2 column, wherein M1, M2, N1 and N2 are natural number;Respectively
Barrage region, circulation display comment content in each row in barrage region below figure above the figure, and/or respectively in institute
State circulation display comment content in each column in figure left barrage region and figure right barrage region.
15. a kind of system for controlling barrage region characterized by comprising
Memory;And
It is coupled to the processor of the memory, the processor is configured to based on the instruction execution for being stored in the memory
Method as described in any one of claim 1 to 7.
16. a kind of computer readable storage medium, is stored thereon with computer program instructions, real when which is executed by processor
The step of existing claim 1 to 7 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710406357.3A CN108989870A (en) | 2017-06-02 | 2017-06-02 | Control the method and system in barrage region |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710406357.3A CN108989870A (en) | 2017-06-02 | 2017-06-02 | Control the method and system in barrage region |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108989870A true CN108989870A (en) | 2018-12-11 |
Family
ID=64502686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710406357.3A Pending CN108989870A (en) | 2017-06-02 | 2017-06-02 | Control the method and system in barrage region |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108989870A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209451A (en) * | 2019-05-28 | 2019-09-06 | 南京南方电讯有限公司 | A kind of horse race lamp display system and method based on the superposition of different display engines |
CN110234033A (en) * | 2019-05-31 | 2019-09-13 | 上海临奇智能科技有限公司 | A kind of barrage rendering method and equipment |
CN112188263A (en) * | 2020-09-10 | 2021-01-05 | 珠海格力电器股份有限公司 | Bullet screen information control method and playing equipment |
CN112312190A (en) * | 2020-10-10 | 2021-02-02 | 游艺星际(北京)科技有限公司 | Video picture display method and device, electronic equipment and storage medium |
CN112954484A (en) * | 2021-02-09 | 2021-06-11 | 维沃移动通信有限公司 | Bullet screen information display method and device |
CN113766336A (en) * | 2020-06-04 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Video playing control method and device |
CN115086742A (en) * | 2022-06-13 | 2022-09-20 | 北京达佳互联信息技术有限公司 | Audio and video generation method and device |
WO2023231661A1 (en) * | 2022-05-31 | 2023-12-07 | 北京字跳网络技术有限公司 | Information interaction method and apparatus, electronic device, and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500066A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Screenshot device and method suitable for touch screen devices |
CN105635848A (en) * | 2015-12-24 | 2016-06-01 | 深圳市金立通信设备有限公司 | Bullet-screen display method and terminal |
CN105786314A (en) * | 2016-02-25 | 2016-07-20 | 北京京东尚科信息技术有限公司 | Window adjusting method and electronic device using same |
CN105959817A (en) * | 2016-06-27 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Video bullet screen sending method and device |
US20160277328A1 (en) * | 2013-11-19 | 2016-09-22 | Sony Interactive Entertainment Inc. | Information processing device, display method and computer program |
CN106095275A (en) * | 2016-06-15 | 2016-11-09 | 珠海市魅族科技有限公司 | A kind of screenshotss method and device |
CN106101805A (en) * | 2016-06-28 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of personalized barrage sending method and device |
CN106303731A (en) * | 2016-08-01 | 2017-01-04 | 北京奇虎科技有限公司 | The display packing of barrage and device |
CN106293447A (en) * | 2015-08-18 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Display packing and display device |
-
2017
- 2017-06-02 CN CN201710406357.3A patent/CN108989870A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500066A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Screenshot device and method suitable for touch screen devices |
US20160277328A1 (en) * | 2013-11-19 | 2016-09-22 | Sony Interactive Entertainment Inc. | Information processing device, display method and computer program |
CN106293447A (en) * | 2015-08-18 | 2017-01-04 | 北京智谷睿拓技术服务有限公司 | Display packing and display device |
CN105635848A (en) * | 2015-12-24 | 2016-06-01 | 深圳市金立通信设备有限公司 | Bullet-screen display method and terminal |
CN105786314A (en) * | 2016-02-25 | 2016-07-20 | 北京京东尚科信息技术有限公司 | Window adjusting method and electronic device using same |
CN106095275A (en) * | 2016-06-15 | 2016-11-09 | 珠海市魅族科技有限公司 | A kind of screenshotss method and device |
CN105959817A (en) * | 2016-06-27 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Video bullet screen sending method and device |
CN106101805A (en) * | 2016-06-28 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of personalized barrage sending method and device |
CN106303731A (en) * | 2016-08-01 | 2017-01-04 | 北京奇虎科技有限公司 | The display packing of barrage and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209451A (en) * | 2019-05-28 | 2019-09-06 | 南京南方电讯有限公司 | A kind of horse race lamp display system and method based on the superposition of different display engines |
CN110234033A (en) * | 2019-05-31 | 2019-09-13 | 上海临奇智能科技有限公司 | A kind of barrage rendering method and equipment |
CN113766336A (en) * | 2020-06-04 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Video playing control method and device |
CN113766336B (en) * | 2020-06-04 | 2023-09-22 | 腾讯科技(深圳)有限公司 | Video playing control method and device, computer equipment and storage medium |
CN112188263A (en) * | 2020-09-10 | 2021-01-05 | 珠海格力电器股份有限公司 | Bullet screen information control method and playing equipment |
CN112312190A (en) * | 2020-10-10 | 2021-02-02 | 游艺星际(北京)科技有限公司 | Video picture display method and device, electronic equipment and storage medium |
CN112954484A (en) * | 2021-02-09 | 2021-06-11 | 维沃移动通信有限公司 | Bullet screen information display method and device |
WO2023231661A1 (en) * | 2022-05-31 | 2023-12-07 | 北京字跳网络技术有限公司 | Information interaction method and apparatus, electronic device, and storage medium |
CN115086742A (en) * | 2022-06-13 | 2022-09-20 | 北京达佳互联信息技术有限公司 | Audio and video generation method and device |
CN115086742B (en) * | 2022-06-13 | 2024-05-14 | 北京达佳互联信息技术有限公司 | Audio and video generation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108989870A (en) | Control the method and system in barrage region | |
US9544343B2 (en) | Content sharing system for small-screen devices | |
KR20190136085A (en) | On-screen comment display method and electronic device | |
JP2022519149A (en) | Exhibition area State recognition methods, devices, electronic devices, and recording media | |
KR20200037887A (en) | Method and apparatus for generating synthetic picture | |
WO2018192511A1 (en) | Image data processing method and device | |
CN107038738A (en) | Object is shown using modified rendering parameter | |
CN108874292A (en) | Annotate display methods, device and intelligent interaction plate | |
WO2017092430A1 (en) | Method and device for realizing user interface control based on virtual reality application | |
US20210274145A1 (en) | Methods, systems, and media for generating and rendering immersive video content | |
CN105955935A (en) | Text control realization method and apparatus | |
WO2020001028A1 (en) | Staggered display method for picture, electronic device and storage medium | |
CN105741327A (en) | Method and apparatus for extracting dominant color and assertive color of picture | |
CN104182195A (en) | Game object display method and device | |
CN105975264A (en) | Implementation method and device of character control | |
KR20220110493A (en) | Method and apparatus for displaying objects in video, electronic devices and computer readable storage media | |
CN107179981A (en) | A kind of method of game resource optimization | |
CN104504270B (en) | A kind of method and device of dynamically distributes head image information | |
CN105096365A (en) | 3D interface local refreshing method and system | |
WO2015129710A1 (en) | Method for generating camera work, device for generating camera work, and program for generating camera work | |
WO2017113713A1 (en) | Method and device for adjusting display interface | |
CN106023280B (en) | A kind of method for drafting of data trend curve graph | |
US20220326967A1 (en) | Devices, methods, systems, and media for an extended screen distributed user interface in augmented reality | |
KR102483781B1 (en) | Operating method of augmented reality glass for providing docent service | |
US20140306958A1 (en) | Stereoscopic rendering system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181211 |
|
RJ01 | Rejection of invention patent application after publication |