CN106331879B - Barrage display method and device based on panoramic video - Google Patents
Barrage display method and device based on panoramic video Download PDFInfo
- Publication number
- CN106331879B CN106331879B CN201610736928.5A CN201610736928A CN106331879B CN 106331879 B CN106331879 B CN 106331879B CN 201610736928 A CN201610736928 A CN 201610736928A CN 106331879 B CN106331879 B CN 106331879B
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- screen information
- time point
- coordinate range
- panoramic video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
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/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/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/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 relates to a barrage display method and device based on a panoramic video. The method comprises the following steps: acquiring a first coordinate range and a first time point of a panoramic video watched by a user currently; acquiring bullet screen information matched with the first coordinate range and the first time point according to the second coordinate range and the second time point corresponding to the bullet screen information; and displaying the matched bullet screen information. According to the method and the device for displaying the bullet screen based on the panoramic video, disclosed by the invention, different bullet screens can be displayed when a user rotates a picture to watch different parts of the panoramic video, so that the flexibility of bullet screen display based on the panoramic video and the experience of the user watching the panoramic video can be improved.
Description
Technical Field
The invention relates to the technical field of videos, in particular to a barrage display method and device based on a panoramic video.
Background
When watching videos, the user can give comments through the barrage and also can see comments given by others through the barrage. In the related art, in the process of playing a video, the bullet screens are usually displayed in a manner of scrolling from the right side to the left side of a playing window, or one bullet screen occupies one line, or multiple bullet screens multiplex one line.
In the process of playing the panoramic video, a user can only see the local part of the panoramic video on the screen of the terminal equipment, and when the user rotates the picture to watch different parts of the panoramic video, the bullet screen seen by the user cannot change.
Disclosure of Invention
Technical problem
In view of this, the technical problem to be solved by the present invention is that the flexibility of the bullet screen display mode based on the panoramic video is low.
Solution scheme
In order to solve the above technical problem, according to an embodiment of the present invention, there is provided a bullet screen display method based on a panoramic video, including:
acquiring a first coordinate range and a first time point of a panoramic video watched by a user currently;
acquiring bullet screen information matched with the first coordinate range and the first time point according to a second coordinate range and a second time point corresponding to the bullet screen information;
and displaying the matched bullet screen information.
For the above method, in a possible implementation manner, acquiring the bullet screen information matched with the first coordinate range and the first time point includes:
and acquiring the bullet screen information, wherein the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking the bullet screen information as the matched bullet screen information.
For the above method, in a possible implementation manner, acquiring the bullet screen information matched with the first coordinate range and the first time point includes:
acquiring bullet screen information of which the coincidence degree of the second coordinate range and the first coordinate range is greater than a coincidence degree threshold value and the time interval between the second time point and the first time point is smaller than a time threshold value;
and under the condition that the number of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
For the method, in a possible implementation manner, when the number of the acquired bullet screen information is smaller than a first preset value, the overlap ratio threshold is reduced, and bullet screen information in which the overlap ratio of the second coordinate range and the first coordinate range is greater than the overlap ratio threshold and the time interval between the second time point and the first time point is smaller than the time threshold is acquired again;
and under the condition that the reduced contact ratio threshold value is not 0, if the quantity of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
For the above method, in a possible implementation manner, in a case that the reduced overlap ratio threshold is 0, the acquired bullet screen information is used as the matched bullet screen information.
For the above method, in a possible implementation manner, under the condition that the reduced overlap ratio threshold is 0, if the number of the acquired bullet screen information is smaller than the first preset value, bullet screen information in which the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than the distance threshold and the time interval between the second time point and the first time point is smaller than the time threshold is continuously acquired, and all the acquired bullet screen information is used as the matched bullet screen information.
For the above method, in one possible implementation, the method further includes:
under the condition that the barrage information input by the user is received, acquiring a coordinate range and a time point of watching the panoramic video when the barrage information is input by the user as the second coordinate range and the second time point;
and respectively establishing corresponding relations between the bullet screen information input by the user and the second coordinate range and the second time point.
In order to solve the above technical problem, according to another embodiment of the present invention, there is provided a full-view video based bullet screen display device including:
the first acquisition module is used for acquiring a first coordinate range and a first time point of a panoramic video watched by a user currently;
the second acquisition module is used for acquiring the bullet screen information matched with the first coordinate range and the first time point according to a second coordinate range and a second time point corresponding to the bullet screen information;
and the display module is used for displaying the matched bullet screen information.
For the apparatus, in a possible implementation manner, the second obtaining module is configured to:
and acquiring the bullet screen information, wherein the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking the bullet screen information as the matched bullet screen information.
For the apparatus, in a possible implementation manner, the second obtaining module is configured to:
acquiring bullet screen information of which the coincidence degree of the second coordinate range and the first coordinate range is greater than a coincidence degree threshold value and the time interval between the second time point and the first time point is smaller than a time threshold value;
and under the condition that the number of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
For the apparatus, in a possible implementation manner, the second obtaining module is further configured to:
when the number of the acquired bullet screen information is smaller than a first preset value, reducing the contact ratio threshold value, and acquiring the bullet screen information again, wherein the contact ratio of the second coordinate range and the first coordinate range is larger than the contact ratio threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value;
and under the condition that the reduced contact ratio threshold value is not 0, if the quantity of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
For the apparatus, in a possible implementation manner, the second obtaining module is further configured to:
and taking the acquired bullet screen information as the matched bullet screen information under the condition that the reduced coincidence degree threshold is 0.
For the apparatus, in a possible implementation manner, the second obtaining module is further configured to:
and under the condition that the reduced overlap ratio threshold value is 0, if the number of the acquired bullet screen information is smaller than the first preset value, continuously acquiring bullet screen information of which the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than a distance threshold value and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking all the acquired bullet screen information as the matched bullet screen information.
For the above apparatus, in one possible implementation manner, the apparatus further includes:
a third obtaining module, configured to, in a case where the barrage information input by the user is received, obtain a coordinate range and a time point of viewing the panoramic video when the user inputs the barrage information as the second coordinate range and the second time point;
and the corresponding relation establishing module is used for respectively establishing the corresponding relation between the bullet screen information input by the user and the second coordinate range as well as the second time point.
Advantageous effects
According to the method and the device for displaying the bullet screen based on the panoramic video, disclosed by the embodiment of the invention, different bullet screens can be displayed when a user rotates a picture to watch different parts of the panoramic video, so that the flexibility of bullet screen display based on the panoramic video and the experience of the user watching the panoramic video can be improved.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Fig. 1 shows a flowchart of an implementation of a barrage display method based on panoramic video according to an embodiment of the present invention;
fig. 2 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention;
fig. 4 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention;
fig. 5 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating a structure of a full-view video based bullet screen display device according to another embodiment of the present invention;
fig. 7 is a block diagram illustrating an exemplary structure of a bullet screen display device based on a panoramic video according to another embodiment of the present invention;
fig. 8 is a block diagram illustrating a structure of a full-view video based bullet screen display device according to another embodiment of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, procedures, components, and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Example 1
Fig. 1 shows a flowchart of an implementation of a barrage display method based on panoramic video according to an embodiment of the present invention. The execution main body of the embodiment of the present invention may be a mobile terminal such as a mobile phone and a tablet computer, may also be a PC (personal computer), and may also be other bullet screen display devices based on a panoramic video, which is not limited herein. As shown in fig. 1, the method mainly includes:
in step S101, a first coordinate range and a first time point of a panoramic video currently viewed by a user are acquired.
It should be noted that, in the process of watching the panoramic video by the user, different parts of the panoramic video can be watched through rotation of the terminal device, gesture dragging operation, mouse operation, keyboard operation, or the like.
The first coordinate range may be a local abscissa range and an ordinate range of the panoramic video displayed on the screen when the user watches the panoramic video currently. The first point in time may be a point in time in the panoramic video when the user is currently watching the panoramic video.
In step S102, bullet screen information matched with the first coordinate range and the first time point is acquired according to the second coordinate range and the second time point corresponding to the bullet screen information.
In the embodiment of the invention, each piece of bullet screen information corresponds to the specified coordinate range and the specified time point, and whether each piece of bullet screen information is matched with the first coordinate range and the first time point of the panoramic video watched by the user currently can be respectively determined according to the second coordinate range and the second time point corresponding to each piece of bullet screen information.
In step S103, the matched bullet screen information is displayed.
For example, the manner of displaying the matched bullet screen information may be to sequentially move and display the matched bullet screen information, for example, sequentially scroll the matched bullet screen information from the right side to the left side of the playing window. For another example, the manner of displaying the matched bullet screen information may be that one piece of bullet screen information occupies one line, or multiple pieces of bullet screen information multiplex one line.
According to the embodiment, the barrage information can be filtered according to the coordinate range of the panoramic video watched by the user, so that different barrages can be displayed when the user rotates the picture to watch different parts of the panoramic video, and the flexibility of barrage display based on the panoramic video and the experience of watching the panoramic video by the user can be improved.
As an example of the embodiment of the present invention, in a process of viewing a panoramic video by a user, if it is detected that a coordinate range of the panoramic video viewed by the user changes, the matched bullet screen information may be obtained according to the new coordinate range, and after the bullet screen information matched according to the original coordinate range is displayed (for example, after the bullet screen information matched according to the original coordinate range is scrolled from the right side of the screen to the left side of the screen and disappears), the bullet screen information matched according to the new coordinate range may be displayed.
Fig. 2 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention. As shown in fig. 2, the method mainly includes:
in step S201, a first coordinate range and a first time point of a panoramic video currently viewed by a user are acquired.
In step S202, according to the second coordinate range and the second time point corresponding to the bullet screen information, bullet screen information in which the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold and the time interval between the second time point and the first time point is less than the time threshold is obtained as matched bullet screen information.
The coincidence degree of the second coordinate range and the first coordinate range may be the coincidence degree of areas, for example, according to the second coordinate range corresponding to the barrage information and the first coordinate range of the panoramic video currently viewed by the user, the ratio of the area of the coincidence portion of the area corresponding to the second coordinate range and the area corresponding to the first coordinate range to the total area may be determined as the coincidence degree. The overlap ratio threshold and the time threshold may be set as required, for example, the overlap ratio threshold may be 50%, the time threshold may be 2 seconds, and if the overlap ratio between the second coordinate range corresponding to a certain piece of bullet screen information and the first coordinate range of the panoramic video currently watched by the user is greater than 50%, and the time interval between the second time point corresponding to the bullet screen information and the first time point of the panoramic video currently watched by the user is less than 2 seconds, the bullet screen information may be used as the matched bullet screen information.
In step S203, the matched bullet screen information is displayed.
Wherein, the steps S201 and S203 refer to the description of the steps S101 and S103.
Fig. 3 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention. As shown in fig. 3, the method mainly includes:
in step S301, a first coordinate range and a first time point of a panoramic video currently viewed by a user are acquired.
In step S302, according to a second coordinate range and a second time point corresponding to the bullet screen information, bullet screen information is obtained, where a coincidence degree between the second coordinate range and the first coordinate range is greater than a coincidence degree threshold, and a time interval between the second time point and the first time point is smaller than a time threshold.
In step S303, it is determined whether the number of the acquired bullet screen information is greater than or equal to a first preset value, if so, step S304 is executed, otherwise, step S305 is executed.
In step S304, the acquired bullet screen information is taken as matching bullet screen information.
In step S305, the overlap ratio threshold is reduced, and the bullet screen information that the overlap ratio between the second coordinate range and the first coordinate range is greater than the overlap ratio threshold and the time interval between the second time point and the first time point is smaller than the time threshold is obtained again.
In step S306, it is determined whether the reduced contact ratio threshold is 0, if so, step S304 is executed, otherwise, step S303 is executed.
As an example of the embodiment of the present invention, after acquiring the bullet screen information in which the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold and the time interval between the second time point and the first time point is less than the time threshold, it is determined whether the number of the acquired bullet screen information is greater than or equal to a first preset value, for example, the first preset value may be 3. If the number of the acquired bullet screen information is greater than or equal to the first preset value, the acquired bullet screen information can be used as the matched bullet screen information. If the number of the acquired bullet screen information is smaller than the first preset value, the contact ratio threshold value can be gradually reduced until the number of the acquired bullet screen information according to the reduced contact ratio threshold value is larger than or equal to the first preset value, or the reduced contact ratio threshold value is 0. For example, gradually decreasing the overlap threshold may be such that the overlap threshold is halved each time. According to the example, the number of the acquired bullet screen information can be increased by reducing the contact ratio threshold value when the acquired bullet screen information is less, so that the flexibility of bullet screen display based on the panoramic video can be improved, and the experience of watching the bullet screen of the panoramic video by a user is improved.
In step S307, the matched bullet screen information is displayed.
Wherein, the steps S301 and S307 refer to the description of the steps S101 and S103.
Fig. 4 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention. As shown in fig. 4, the method mainly includes:
in step S401, a first coordinate range and a first time point of a panoramic video currently viewed by a user are acquired.
In step S402, the bullet screen information, in which the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold and the time interval between the second time point and the first time point is smaller than the time threshold, is obtained according to the second coordinate range and the second time point corresponding to the bullet screen information.
In step S403, it is determined whether the number of the acquired bullet screen information is greater than or equal to a first preset value, if so, step S404 is executed, otherwise, step S405 is executed.
In step S404, the acquired bullet screen information is taken as matching bullet screen information.
In step S405, the overlap ratio threshold is reduced, and the bullet screen information that the overlap ratio between the second coordinate range and the first coordinate range is greater than the overlap ratio threshold and the time interval between the second time point and the first time point is smaller than the time threshold is obtained again.
In step S406, it is determined whether the reduced contact ratio threshold is 0, if so, step S407 is executed, otherwise, step S403 is executed.
In step S407, it is determined whether the number of the acquired bullet screen information is greater than or equal to a first preset value, if so, step S404 is executed, otherwise, step S408 is executed.
In step S408, the bullet screen information that the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than the distance threshold and the time interval between the second time point and the first time point is smaller than the time threshold is obtained.
As an example of the embodiment of the present invention, in a case that the reduced contact ratio threshold is 0, if the number of the acquired bullet screen information is still smaller than the first preset value, bullet screen information is acquired, where a minimum distance (which may be a smaller one of the horizontal direction distance and the vertical direction distance, for example) between a boundary of the second coordinate range and the first coordinate range is smaller than the distance threshold, and a time interval between the second time point and the first time point is smaller than the time threshold, and the distance threshold may be 100px, for example. In this example, the bullet screen information in which the coincidence degree of the second coordinate range and the first coordinate range is greater than 0 and the time interval between the second time point and the first time point is smaller than the time threshold, and the bullet screen information in which the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than the distance threshold and the time interval between the second time point and the first time point is smaller than the time threshold are taken as the matched bullet screen information. According to the example, the number of the acquired barrage information can be increased when the acquired barrage information is less, so that the flexibility of barrage display based on the panoramic video can be improved, and the experience of watching the barrage of the panoramic video by a user is improved.
In step S409, the matched bullet screen information is displayed.
Wherein, the steps S401 and S409 refer to the description of the steps S101 and S103.
Fig. 5 shows a flowchart of an exemplary implementation of a barrage display method based on panoramic video according to an embodiment of the present invention. As shown in fig. 5, the method mainly includes:
in step S501, in the case where the bullet screen information input by the user is received, the coordinate range and the time point at which the panoramic video is viewed when the user inputs the bullet screen information are acquired as the second coordinate range and the second time point.
In step S502, the correspondence between the bullet screen information input by the user and the second coordinate range and the second time point is respectively established.
As an example of the embodiment of the present invention, in a case where the barrage information input by the user is received, while the barrage information input by the user is acquired, a coordinate range and a time point of viewing the panoramic video when the user inputs the barrage information are acquired as the second coordinate range and the second time point, and a corresponding relationship between the barrage information input by the user and the second coordinate range and the second time point is established.
For example, the coordinate range and the time point when the user views the panoramic video when the user starts inputting the bullet screen information may be used as the second coordinate range and the second time point, or the coordinate range and the time point when the user views the panoramic video when the user inputs the bullet screen information may be used as the second coordinate range and the second time point, which is not limited herein.
In step S503, a first coordinate range and a first time point at which the user is currently watching the panoramic video are acquired.
In step S504, bullet screen information matched with the first coordinate range and the first time point is acquired according to the second coordinate range and the second time point corresponding to the bullet screen information.
In step S505, the matched bullet screen information is displayed.
Wherein, the steps S503, S504 and S505 refer to the description of the steps S101, S102 and S103.
In this way, by acquiring the first coordinate range and the first time point of the panoramic video currently watched by the user, acquiring the bullet screen information matched with the first coordinate range and the first time point according to the second coordinate range and the second time point corresponding to the bullet screen information, and displaying the matched bullet screen information, the bullet screen display method based on the panoramic video according to the embodiment of the invention can display different bullet screens when the user rotates the picture to watch different parts of the panoramic video, thereby improving the flexibility of bullet screen display based on the panoramic video and the experience of the user watching the panoramic video.
Example 2
Fig. 6 is a block diagram illustrating a structure of a bullet screen display device based on a panoramic video according to another embodiment of the present invention. The apparatus may be used to operate the bullet screen display method based on the panoramic video shown in fig. 1 to 5. For convenience of explanation, only portions related to the embodiment of the present invention are shown in fig. 6.
As shown in fig. 6, the apparatus includes: the first obtaining module 61 is configured to obtain a first coordinate range and a first time point of a panoramic video currently watched by a user; a second obtaining module 62, configured to obtain bullet screen information matched with the first coordinate range and the first time point according to a second coordinate range and a second time point corresponding to the bullet screen information; and the display module 63 is used for displaying the matched bullet screen information.
Fig. 7 is a block diagram illustrating an exemplary structure of a bullet screen display device based on panoramic video according to another embodiment of the present invention. The apparatus may be used to operate the bullet screen display method based on the panoramic video shown in fig. 1 to 5. For convenience of explanation, only portions related to the embodiment of the present invention are shown in fig. 7. Components in fig. 7 that are numbered the same as those in fig. 6 have the same functions, and detailed descriptions of these components are omitted for the sake of brevity. As shown in fig. 7:
in a possible implementation manner, the second obtaining module 62 is configured to: and acquiring the bullet screen information, wherein the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking the bullet screen information as the matched bullet screen information.
In a possible implementation manner, the second obtaining module 62 is configured to: acquiring bullet screen information of which the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value and the time interval between the second time point and the first time point is smaller than the time threshold value; and under the condition that the number of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
In a possible implementation manner, the second obtaining module 62 is further configured to: when the number of the acquired bullet screen information is smaller than a first preset value, reducing the contact ratio threshold value, and acquiring the bullet screen information again, wherein the contact ratio of the second coordinate range and the first coordinate range is larger than the contact ratio threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value; and under the condition that the reduced contact ratio threshold value is not 0, if the quantity of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
In a possible implementation manner, the second obtaining module 62 is further configured to: and taking the acquired bullet screen information as the matched bullet screen information under the condition that the reduced coincidence degree threshold is 0.
In a possible implementation manner, the second obtaining module 62 is further configured to: and under the condition that the reduced overlap ratio threshold value is 0, if the number of the acquired bullet screen information is smaller than the first preset value, continuously acquiring bullet screen information of which the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than a distance threshold value and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking all the acquired bullet screen information as the matched bullet screen information.
In one possible implementation, the apparatus further includes: a third obtaining module 64, configured to, in a case that the barrage information input by the user is received, obtain a coordinate range and a time point of viewing the panoramic video when the barrage information is input by the user as the second coordinate range and the second time point; a corresponding relationship establishing module 65, configured to respectively establish a corresponding relationship between the bullet screen information input by the user and the second coordinate range and the second time point.
It should be noted that, in this way, by acquiring the first coordinate range and the first time point of the panoramic video currently watched by the user, acquiring the bullet screen information matched with the first coordinate range and the first time point according to the second coordinate range and the second time point corresponding to the bullet screen information, and displaying the matched bullet screen information, the bullet screen display device based on the panoramic video according to the embodiment of the present invention can display different bullet screens when the user rotates the frame to watch different parts of the panoramic video, so that the flexibility of bullet screen display based on the panoramic video and the experience of the user watching the panoramic video can be improved.
Example 3
Fig. 7 is a block diagram illustrating a structure of a full-view video based bullet screen display device according to another embodiment of the present invention. The panorama video based bullet screen display device 1100 may be a host server with computing capability, a personal computer PC, or a portable computer or terminal that can be carried, etc. The specific embodiments of the present invention do not limit the specific implementation of the compute node.
The panorama video-based bullet screen display apparatus 1100 includes a processor (processor)1110, a communication Interface (Communications Interface)1120, a memory 1130, and a bus 1140. The processor 1110, the communication interface 1120, and the memory 1130 communicate with each other via the bus 1140.
The communication interface 1120 is used to communicate with network devices, including, for example, virtual machine management centers, shared storage, and the like.
Processor 1110 is configured to execute programs. Processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 1130 is used to store files. The memory 1130 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1130 may also be a memory array. The storage 1130 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules.
In one possible embodiment, the program may be a program code including computer operation instructions. The procedure is particularly useful for: the operations of the steps in example 1 were carried out.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may select different ways to implement the described functionality for specific applications, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
If the described functionality is implemented in the form of computer software and sold or used as a stand-alone product, it is to some extent possible to consider all or part of the technical solution of the invention (for example, the part contributing to the prior art) to be embodied in the form of a computer software product. The computer software product is generally stored in a non-volatile storage medium readable by a computer and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the methods according to the embodiments of the present invention. The storage medium includes various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (12)
1. A barrage display method based on panoramic video is characterized by comprising the following steps:
acquiring a first coordinate range and a first time point of a panoramic video watched by a user currently;
acquiring bullet screen information matched with the first coordinate range and the first time point according to a second coordinate range and a second time point corresponding to the bullet screen information; wherein, obtain with first coordinate scope and the bullet curtain information that first time point matches, include: acquiring bullet screen information, wherein the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking the bullet screen information as the matched bullet screen information; a second coordinate range corresponding to the barrage information represents a coordinate range for watching the panoramic video when the user inputs the barrage information, and a second time point corresponding to the barrage information represents a time point for watching the panoramic video when the user inputs the barrage information;
and displaying the matched bullet screen information.
2. The method of claim 1, wherein obtaining bullet screen information that matches the first coordinate range and the first time point comprises:
acquiring bullet screen information of which the coincidence degree of the second coordinate range and the first coordinate range is greater than a coincidence degree threshold value and the time interval between the second time point and the first time point is smaller than a time threshold value;
and under the condition that the number of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
3. The method according to claim 2, wherein in a case that the number of the acquired bullet screen information is smaller than a first preset value, the contact ratio threshold is reduced, and bullet screen information that the contact ratio of the second coordinate range and the first coordinate range is larger than the contact ratio threshold and the time interval between the second time point and the first time point is smaller than the time threshold is acquired again;
and under the condition that the reduced contact ratio threshold value is not 0, if the quantity of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
4. The method according to claim 3, characterized in that, in the case where the reduced overlap ratio threshold is 0, the acquired bullet screen information is taken as the matched bullet screen information.
5. The method according to claim 3, wherein if the reduced contact ratio threshold is 0, if the number of the acquired bullet screen information is smaller than the first preset value, continuously acquiring bullet screen information in which a minimum distance between a second coordinate range and a boundary of the first coordinate range is smaller than a distance threshold and a time interval between the second time point and the first time point is smaller than the time threshold, and taking all the acquired bullet screen information as the matched bullet screen information.
6. The method of claim 1, further comprising:
under the condition that the barrage information input by the user is received, acquiring a coordinate range and a time point of watching the panoramic video when the barrage information is input by the user as the second coordinate range and the second time point;
and respectively establishing corresponding relations between the bullet screen information input by the user and the second coordinate range and the second time point.
7. The utility model provides a bullet screen display device based on panoramic video which characterized in that includes:
the first acquisition module is used for acquiring a first coordinate range and a first time point of a panoramic video watched by a user currently;
the second acquisition module is used for acquiring the bullet screen information matched with the first coordinate range and the first time point according to a second coordinate range and a second time point corresponding to the bullet screen information; the second obtaining module is configured to: acquiring bullet screen information, wherein the coincidence degree of the second coordinate range and the first coordinate range is greater than the coincidence degree threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking the bullet screen information as the matched bullet screen information; a second coordinate range corresponding to the barrage information represents a coordinate range for watching the panoramic video when the user inputs the barrage information, and a second time point corresponding to the barrage information represents a time point for watching the panoramic video when the user inputs the barrage information;
and the display module is used for displaying the matched bullet screen information.
8. The apparatus of claim 7, wherein the second obtaining module is configured to:
acquiring bullet screen information of which the coincidence degree of the second coordinate range and the first coordinate range is greater than a coincidence degree threshold value and the time interval between the second time point and the first time point is smaller than a time threshold value;
and under the condition that the number of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
9. The apparatus of claim 8, wherein the second obtaining module is further configured to:
when the number of the acquired bullet screen information is smaller than a first preset value, reducing the contact ratio threshold value, and acquiring the bullet screen information again, wherein the contact ratio of the second coordinate range and the first coordinate range is larger than the contact ratio threshold value, and the time interval between the second time point and the first time point is smaller than the time threshold value;
and under the condition that the reduced contact ratio threshold value is not 0, if the quantity of the acquired bullet screen information is greater than or equal to a first preset value, taking the acquired bullet screen information as the matched bullet screen information.
10. The apparatus of claim 9, wherein the second obtaining module is further configured to:
and taking the acquired bullet screen information as the matched bullet screen information under the condition that the reduced coincidence degree threshold is 0.
11. The apparatus of claim 9, wherein the second obtaining module is further configured to:
and under the condition that the reduced overlap ratio threshold value is 0, if the number of the acquired bullet screen information is smaller than the first preset value, continuously acquiring bullet screen information of which the minimum distance between the second coordinate range and the boundary of the first coordinate range is smaller than a distance threshold value and the time interval between the second time point and the first time point is smaller than the time threshold value, and taking all the acquired bullet screen information as the matched bullet screen information.
12. The apparatus of claim 7, further comprising:
a third obtaining module, configured to, in a case where the barrage information input by the user is received, obtain a coordinate range and a time point of viewing the panoramic video when the user inputs the barrage information as the second coordinate range and the second time point;
and the corresponding relation establishing module is used for respectively establishing the corresponding relation between the bullet screen information input by the user and the second coordinate range as well as the second time point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610736928.5A CN106331879B (en) | 2016-08-26 | 2016-08-26 | Barrage display method and device based on panoramic video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610736928.5A CN106331879B (en) | 2016-08-26 | 2016-08-26 | Barrage display method and device based on panoramic video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331879A CN106331879A (en) | 2017-01-11 |
CN106331879B true CN106331879B (en) | 2019-12-31 |
Family
ID=57790879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610736928.5A Expired - Fee Related CN106331879B (en) | 2016-08-26 | 2016-08-26 | Barrage display method and device based on panoramic video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106331879B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108347640A (en) * | 2017-01-22 | 2018-07-31 | 北京康得新创科技股份有限公司 | Information processing method based on video and device |
CN107197339B (en) * | 2017-04-10 | 2019-12-31 | 北京小鸟看看科技有限公司 | Display control method and device of film bullet screen and head-mounted display equipment |
CN109246463B (en) * | 2017-06-02 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying bullet screen |
CN108924534B (en) * | 2017-06-21 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Panoramic image display method, client, server and storage medium |
CN110971982B (en) * | 2018-09-29 | 2022-06-14 | 阿里巴巴(中国)有限公司 | Bullet screen display method and device |
CN113891137B (en) * | 2021-09-27 | 2023-06-16 | 武汉斗鱼网络科技有限公司 | Bullet screen display method and system during switching of horizontal and vertical video screens |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8775948B2 (en) * | 2009-12-08 | 2014-07-08 | International Business Machines Corporation | Method for capturing collaborative, real-time feedback on socio-technical interactions in a virtual environment and graphically displaying the interaction patterns for later review |
JP2014022861A (en) * | 2012-07-17 | 2014-02-03 | Sharp Corp | Terminal device, computer program, and presentation system |
CN105657438A (en) * | 2015-11-09 | 2016-06-08 | 乐视致新电子科技(天津)有限公司 | Method and apparatus for processing panoramic live video resource |
CN105611481B (en) * | 2015-12-30 | 2018-04-17 | 北京时代拓灵科技有限公司 | A kind of man-machine interaction method and system based on spatial sound |
-
2016
- 2016-08-26 CN CN201610736928.5A patent/CN106331879B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN106331879A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331879B (en) | Barrage display method and device based on panoramic video | |
CN105989130B (en) | Electronic map methods of exhibiting, device and electronic equipment | |
EP3206110B1 (en) | Method of providing handwriting style correction function and electronic device adapted thereto | |
CN108211352B (en) | Method and terminal for adjusting image quality | |
US20190114043A1 (en) | Method, apparatus, and electronic device for displaying a page and storage medium | |
CN104869305B (en) | Method and apparatus for processing image data | |
CN106156240B (en) | Information processing method, information processing device and user equipment | |
JP2016085381A (en) | Encryption method, encryption device and encryption system | |
CN106873857B (en) | Automatic application icon layout method and device | |
CN107809581A (en) | Image processing method, device, terminal device and unmanned plane | |
CN104182126B (en) | A kind of mobile terminal Dialing Method and device | |
CN109117241B (en) | Display direction control method, system and mobile terminal | |
CN108073380A (en) | Electronic device, display control method and related product | |
CN103744591A (en) | Display page switching method and device | |
CN113873148A (en) | Video recording method, video recording device, electronic equipment and readable storage medium | |
CN112019891A (en) | Multimedia content display method and device, terminal and storage medium | |
CN103713849A (en) | Method and device for image shooting and terminal device | |
CN112612570B (en) | Method and system for viewing shielded area of application program | |
EP3054380B1 (en) | Document presentation method and user terminal | |
CN106341620B (en) | Panoramic video playing method and device | |
CN104867109A (en) | Display method and electronic equipment | |
CN110262742B (en) | Information flow advertisement display method and terminal | |
CN105511759B (en) | image processing method and electronic equipment | |
CN109766530B (en) | Method and device for generating chart frame, storage medium and electronic equipment | |
CN105549822A (en) | Icon moving method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200508 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 200241, room 2, floor 02, building 555, Dongchuan Road, Minhang District, Shanghai Patentee before: Transmission network technology (Shanghai) Co., Ltd |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191231 Termination date: 20200826 |