CN113271502B - Video barrage-based data display method and device and computer equipment - Google Patents

Video barrage-based data display method and device and computer equipment Download PDF

Info

Publication number
CN113271502B
CN113271502B CN202010095032.XA CN202010095032A CN113271502B CN 113271502 B CN113271502 B CN 113271502B CN 202010095032 A CN202010095032 A CN 202010095032A CN 113271502 B CN113271502 B CN 113271502B
Authority
CN
China
Prior art keywords
data
video
display
target data
mask
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.)
Active
Application number
CN202010095032.XA
Other languages
Chinese (zh)
Other versions
CN113271502A (en
Inventor
许兴旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202010095032.XA priority Critical patent/CN113271502B/en
Publication of CN113271502A publication Critical patent/CN113271502A/en
Application granted granted Critical
Publication of CN113271502B publication Critical patent/CN113271502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a data display method based on a video barrage, which comprises the following steps: receiving a data display request; acquiring target data corresponding to the data display request and a display format of the target data; and displaying the target data to a video barrage mask in the display format. The invention also provides a data display device, computer equipment and a computer readable storage medium based on the video barrage. According to the video bullet screen display method and device, the video bullet screen is built in the video playing window, and then the target data is displayed on the video bullet screen according to the display format of the target data, so that fusion display between the video data and other data is achieved, the diversified requirements of users are met, and the user experience is improved.

Description

Video barrage-based data display method and device and computer equipment
Technical Field
The present invention relates to the field of video-barrage-based data display technologies, and in particular, to a video-barrage-based data display method, apparatus, computer device, and computer-readable storage medium.
Background
With the development of internet technology and the widespread popularization of computer devices, the manner of watching video through a mobile terminal such as a PC terminal and a mobile phone gradually replaces the original manner of watching video on a television. While watching video on the computer device, other computer operations, such as surfing the web, novice, and game play, may also be performed simultaneously.
However, in the prior art, video playing, novice watching or game playing requires that video data and target data such as text message data, web page data or game data are respectively displayed by different application programs. That is, in the related art, the video data and the target data cannot be displayed well in fusion. Therefore, the user's diversified demands cannot be satisfied.
Disclosure of Invention
In view of the above, the present invention provides a data display method, apparatus, computer device and computer readable storage medium based on video barrage, which can solve the problem of fusion display between video data and other data.
First, to achieve the above object, the present invention provides a data display method based on a video bullet screen, the method comprising:
receiving a data display request; acquiring target data corresponding to the data display request and a display format of the target data; and displaying the target data to a video barrage mask in the display format.
In one example, the presenting the target data to a video bullet screen in the display format includes: establishing the video bullet screen mask according to the display page size contained in the display format; and rendering the target data to the video barrage mask in real time through a rendering technology.
In one example, the presenting the target data to a video bullet screen in the display format includes: establishing the video bullet screen mask according to the display page size contained in the display format; and mapping the target data to the video barrage mask in real time in a through image mapping mode.
In one example, the target data includes one of text message data, web page data and game data; the display format includes a display style and a display layout.
In one example, the method further comprises: monitoring and receiving user interaction data on the video bullet screen; and feeding back the user interaction data to a server corresponding to the target data.
In addition, in order to achieve the above object, the present invention further provides a data display device based on a video bullet screen, the device comprising:
the receiving module is used for receiving the data display request; the acquisition module is used for acquiring the target data corresponding to the data display request and the display format of the target data; and the display module is used for displaying the target data to a video barrage mask in the display format.
In one example, the display module is further configured to: establishing the video bullet screen mask according to the display page size contained in the display format; and rendering the target data to the video barrage mask in real time through a rendering technology.
In one example, the display module is further configured to: establishing the video bullet screen mask according to the display page size contained in the display format; and mapping the target data to the video barrage mask in real time in a through image mapping mode.
Furthermore, the invention also provides a computer device, which comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and the computer program realizes the steps of the video bullet screen-based data display method when being executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing a computer program executable by at least one processor to cause the at least one processor to perform the steps of the video-bullet screen-based data display method as described above.
Compared with the prior art, the data display method, the device, the computer equipment and the computer readable storage medium based on the video barrage can acquire the target data corresponding to the data display request and the display format of the target data after receiving the data display request, and then display the target data to the video barrage mask in the display format. By the method, the video barrage mask is built in the video playing window, and then the target data is displayed on the video barrage mask according to the display format of the target data, so that fusion display between the video data and other data is realized, the diversified requirements of users are met, and the user experience is improved.
Drawings
FIG. 1 is a schematic view of an application environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for displaying video-barrage-based data according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S204 of FIG. 2 according to an embodiment;
FIG. 4 is a flowchart illustrating another embodiment of step S204 of FIG. 2;
FIG. 5 is a flow diagram of an embodiment based on FIG. 2;
FIG. 6 is a flowchart illustrating an implementation process according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative hardware architecture of a computer device according to the present invention;
FIG. 8 is a block diagram illustrating an embodiment of a video-barrage-based data display apparatus according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
FIG. 1 is a schematic view of an application environment according to an embodiment of the present invention. Referring to fig. 1, the computer device 1 is connected to a server 2 and provides a display interface for interaction with a user, for example, when the user views a video, the display interface displays a video playing window. Thus, the user can watch video on the computer device 1 and select whether to display the target data through the video play window. After the computer device 1 receives the data display request sent by the user, it can acquire the target data corresponding to the data display request and the display format of the target data from the server 2, and then display the target data to the video barrage mask in the display format. In this embodiment, the computer device 1 may be a terminal device such as a mobile terminal, for example, a mobile phone, a tablet, a portable device, or a PC; the server 2 may be a short message server, a data server, a game server, or the like. In other embodiments, the computer device 1 may also be used as a separate functional module, and then attached to a mobile terminal such as a mobile phone, a tablet, a portable device, or a PC, so as to implement a function of displaying data based on a video barrage. There is no limitation in this regard.
Fig. 2 is a flowchart illustrating an embodiment of a video-barrage-based data display method according to the present invention. It will be appreciated that the flow charts in the method embodiments are not intended to limit the order in which the steps are performed. An exemplary description will be made below using the application environment shown in fig. 1 as an example, with a computer device as an execution subject.
As shown in fig. 2, the video-bullet screen-based data display method may include steps S200 to S204, in which:
step S200, a data display request is received.
Step S202, obtaining the target data corresponding to the data display request and the display format of the target data.
Specifically, the computer device 1 provides a display interface, through which a user views video, for example, by starting a video playing window to play video, and views video data displayed by the video playing window. The computer device 1 may receive a data display request sent by a user through the video playing window. For example, the user triggers the data display request by clicking, touching or sliding a preset position of the video window, or operating a button set on the video playing window. The computer device 1 may then monitor and receive user-triggered data display requests.
In a specific embodiment, the data display request may be a request for accessing web page data, and the computer device 1 sets an input box on the video playing window, and the user may input the URL address through the input box to request to access the corresponding web page data. In another specific embodiment, the data display request may be a short message data of a user requesting display setting, such as a mobile phone short message, a micro message short message, etc.; the computer device 1 can set a mobile phone number binding function or a micro signal binding function on the video playing window, and then trigger a data request for displaying the mobile phone short message or the micro message short message by starting the function of receiving the mobile phone short message or the micro message short message. In another specific embodiment, the data display request may also be a request to display game data, and then the computer device 1 sets a game selection box in the video playing window, and the user may add a favorite game shortcut or game name to the game selection box, and then trigger to display game data from the game selection box when the game needs to be started.
After receiving the data display request, the computer device 1 may obtain the corresponding target data and the display format of the target data according to the data display request. In this embodiment, the target data includes one of short message data, web page data and game data; the display format includes a display style and a display layout. Wherein, the display style is the display of single data, the display layout is the combined display of a plurality of data, and the display style and the display layout are the original display modes of the server 2 for the target data through the pairing application program. For example, as for the text message data, the text message data is composed of text or a photograph, and thus, the display format includes the font size, font color, photograph of the text, the relative position of the photograph and the text, and the like. For web page data, the display format includes text, pictures, video, web page links on the web page, and combinations of these data. The display format of the game data is game map data provided by the game server, game character data, and game execution data of the user operating the game character (such as display data of actions such as operating the game character to fight, jump, etc.).
And step S204, displaying the target data to a video barrage mask in the display format.
Specifically, after the computer device 1 acquires the target data and the corresponding display format, the target data is further displayed on a video barrage mask in the video playing window in the display format. In this embodiment, the computer device 1 establishes a video bullet screen at a preset position of the video playing window, and sets the video bullet screen as a conditional trigger. That is, after the computer device 1 monitors that the user triggers the data display request through the video playing window, the target data and the display format are obtained, then the video bullet screen is triggered to pop up, and the target data is displayed in the display format.
Referring to FIG. 3, in an exemplary embodiment, step S204 may include steps S300-S302.
And step S300, the video bullet screen mask is built according to the display page size contained in the display format.
Step S302, rendering the target data to the video barrage mask in real time through a rendering technology.
Specifically, the computer device 1 adjusts an initial video bullet screen preset according to the display style and the display layout data contained in the display format, including a display shape and a display size; and then rendering the received target data to the adjusted video barrage mask in real time. In this embodiment, the step of acquiring the target data by the computer device 1 is to acquire the resource address of the target data first, and establish a connection, so that the target data can be received in real time and then rendered to the video barrage mask by a rendering technique. The target data can be drawn to the video barrage mask according to the corresponding original display format through a rendering technology, and of course, in a specific rendering process, since the game picture and the video playing picture are dynamic, the transparency of the video barrage mask can be automatically adjusted to be semitransparent for displaying the game data, so that the video barrage mask cannot be influenced by the video playing picture. In short, the target data is displayed to the video bullet screen of the video playing window through the rendering technology, so that the display format in the target data can be well restored.
Referring to fig. 4, in another exemplary embodiment, step S204 may include steps S400 to S402.
Step S400, the video bullet screen is built according to the display page size contained in the display format.
And step S402, mapping the target data to the video barrage mask in real time in an image mapping mode.
Specifically, the computer device 1 adjusts an initial video bullet screen preset according to the display style and the display layout data contained in the display format, including a display shape and a display size; and then mapping the received target data to the adjusted video barrage mask in real time. In this embodiment, after the computer device 1 obtains the target data, the application program corresponding to the target data is also called to display, and then the display effect is mapped to the video barrage mask in real time. Of course, the process of calling the corresponding application program to display is executed through the background, and the display result of the background execution is mapped to the video barrage mask. The mapping technology is any image mapping technology which is mature in the prior art, and the computer equipment 1 maps the display image of the target data in the corresponding application program to the video bullet screen in an equal ratio or in a reduced or enlarged mode through the mapping technology. Therefore, the display format in the target data can also be well restored.
Referring to fig. 5, in an exemplary embodiment, the video-bullet-screen-based data display method may further include steps S500 to S502 in addition to steps S200 to S204.
And step S500, monitoring and receiving user interaction data on the video barrage mask.
Step S502, feeding back the user interaction data to a server corresponding to the target data.
Specifically, the computer device 1 may further monitor the video barrage mask, and when monitoring the interaction data executed by the user through the video barrage mask, including the input interaction data, the computer device 1 feeds back the user interaction data to the server 2 corresponding to the target data. In this embodiment, since the size of the video barrage mask and the display format of the target data correspond to each other, the computer device 1 may monitor the position of the user's click, touch, or slide operation on the video barrage mask, and then determine the specific operation instruction of the user on the target data according to the display format of the target data of the size of the video barrage mask. For example, the display range of the target data is 200×200, the computer device 1 divides the video barrage mask into 100×100 coordinate units, and then according to the position of the clicking operation of the user in the video barrage mask, for example, (50, 50), the computer device 1 may determine that the specific operation instruction of the user is at the position point of (100 ) in the display range corresponding to the target data.
In this embodiment, the computer device 1 feeds back the user interaction data to the server 2 corresponding to the target data, and the target data in the server 2 is refreshed. For example, for the web page data, the user clicks the link in the video barrage mask, the computer device 1 returns the operation instruction of clicking the link to the web page data server, and then the web page data server adaptively jumps to the linked web page; for interaction of game data, the user drags the game character in the video barrage mask, then the computer device 1 can feed back the movement data of the game character to a game data server, and then the game data server can adaptively move the game character from one position of the game map to a corresponding position; of course, for the interaction of the sms data, the user replies text in the video barrage mask, and the computer device 1 may return the replied text to the sms data server, i.e. reply sms. In this way, the computer device 1 can capture the user's interaction data for the target data and then feed it back to the server 2 in real time. The computer device 1 can display target data in a video playing window, and can receive interactive data for the displayed target data and feed back the interactive data.
Referring to fig. 6, an effect diagram of an execution flow application in an embodiment of the invention is shown.
In this embodiment, the computer device 1 opens a video playing window and plays a video, where the video playing window is an existing common video playing window, and the video barrage in the video frame is also a common video barrage. The computer device 1 then provides the user with a start button of the data fusion display function, and if the user clicks the start button, the data fusion display function is started, and then a target data selection box is further provided for user selection, through which the user can select the displayed target data. When the user selects a text or a text, the computer device 1 invokes corresponding text data according to a text data source or a text data source set in advance by the user, such as a mobile phone short message, a micro-message short message, or a novel text library, and renders or maps the text data to the video barrage mask. When the user selects a web page, the computer device 1 pops up a website input frame, acquires corresponding web page data according to the website input by the user, and renders or maps the web page data to the video barrage mask. When the user selects the game, the computer device 1 starts the selected game according to a game list preset by the user, pops up a game setting frame, receives relevant settings of the user for game data display, such as whether semitransparent display is performed or whether the video control button is disabled; then, corresponding game data is acquired from a corresponding game data server, and rendered or mapped to the video barrage mask.
In addition, for displaying text, text message or web page data, the computer device 1 further sets an intelligent anti-shielding button on the video playing window, and when receiving that the user selects intelligent anti-shielding, the computer device can avoid the character display in the video picture from the video barrage mask of the displayed text content. Otherwise, the video barrage mask of the text content is fixed in the video picture for display.
As can be seen from the foregoing, the data display method based on the video barrage according to the present embodiment can obtain, after receiving a data display request, target data corresponding to the data display request and a display format of the target data, and then display the target data to a video barrage mask in the display format. By the method, the video barrage mask is built in the video playing window, and then the target data is displayed on the video barrage mask according to the display format of the target data, so that fusion display between the video data and other data is realized, the diversified requirements of users are met, and the user experience is improved.
In addition, the present invention also provides a computer device, and referring to fig. 7, a schematic diagram of an optional hardware architecture of the computer device of the present invention is shown.
In this embodiment, the computer device 1 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13, which may be communicatively connected to each other through a system bus. The computer device 1 is connected to a network (not shown in fig. 7) via a network interface 13, and is connected to other computer devices via a network, such as a data server (not shown in fig. 7) for data interaction. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband Code Division MultIPle Access, WCDMA), a 4G network, a 5G network, bluetooth (Bluetooth), wi-Fi, a telephony network, etc.
It is noted that fig. 7 only shows a computer device 1 with components 11-13, but it is understood that not all shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the computer device 1, such as a hard disk or a memory of the computer device 1. In other embodiments, the memory 11 may also be an external storage device of the computer device 1, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are equipped in the computer device 1. Of course, the memory 11 may also comprise both an internal memory unit of the computer device 1 and an external memory device. In this embodiment, the memory 11 is generally used to store an operating system and various application software installed in the computer device 1, and the program code of the video bullet screen-based data display apparatus 200. Further, the memory 11 may be used to temporarily store various types of data that have been output or are to be output.
The processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the computer device 1, such as performing data interaction or communication related control and processing, etc. In this embodiment, the processor 12 is configured to execute the program code stored in the memory 11 or process data, such as an application program of the video-bullet-based data display apparatus 200, which is not limited herein.
The network interface 13 may comprise a wireless network interface or a wired network interface, which network interface 13 is typically used for establishing a communication connection between the computer device 1 and other computer devices.
In this embodiment, when the video-bullet-screen-based data display apparatus 200 is installed and operated in the computer device 1, after receiving a data display request, the target data corresponding to the data display request and the display format of the target data can be obtained, and then the target data is displayed on a video bullet screen in the display format when the video-bullet-screen-based data display apparatus 200 is operated. By the method, the video barrage mask is built in the video playing window, and then the target data is displayed on the video barrage mask according to the display format of the target data, so that fusion display between the video data and other data is realized, the diversified requirements of users are met, and the user experience is improved.
So far, the hardware structure and function of the computer device of the present invention have been described in detail. In the following, various embodiments of the present invention will be presented based on the above-described computer apparatus.
Referring to fig. 8, a block diagram of a video-barrage-based data display apparatus 200 according to an embodiment of the invention is shown.
In this embodiment, the video-bullet-based data display apparatus 200 includes a series of computer program instructions stored in the memory 11, which when executed by the processor 12, implement the video-bullet-based data display function of the embodiment of the present invention. In some embodiments, the video-bullet-based data display apparatus 200 may be divided into one or more modules based on the particular operations implemented by portions of the computer program instructions. For example, in fig. 8, the video bullet screen based data display apparatus 200 may be divided into a receiving module 201, an acquiring module 202, a display module 203, and a feedback module 204. Wherein:
the receiving module 201 is configured to receive a data display request.
The obtaining module 202 is configured to obtain the target data corresponding to the data display request and a display format of the target data.
Specifically, the computer device provides a display interface, through which a user views video, for example, by starting a video playing window to play video, and views video data displayed by the video playing window. The receiving module 201 may receive a data display request sent by a user through the video playing window. For example, the user triggers the data display request by clicking, touching or sliding a preset position of the video window, or operating a button set on the video playing window. The receiving module 201 may monitor and receive a data display request triggered by a user.
In a specific embodiment, the data display request may be a request for accessing web page data, and the computer device sets an input box on the video playing window, and the user may input a URL address through the input box to request to access the corresponding web page data. In another specific embodiment, the data display request may be a short message data of a user requesting display setting, such as a mobile phone short message, a micro message short message, etc.; the computer equipment can set a mobile phone number binding function or a micro-signal binding function on the video playing window, and then trigger a data request for displaying the mobile phone short message or the micro-message short message by starting the function of receiving the mobile phone short message or the micro-message short message. In another specific embodiment, the data display request may also be a request to display game data, and then the computer device sets a game selection box in the video playing window, and the user may add a favorite game shortcut or game name to the game selection box, and then trigger to display game data from the game selection box when the game needs to be started.
After the receiving module 201 receives the data display request, the obtaining module 202 may obtain the corresponding target data and the display format of the target data according to the data display request. In this embodiment, the target data includes one of short message data, web page data and game data; the display format includes a display style and a display layout. The display style is the display of single data, the display layout is the combined display of a plurality of data, and the display style and the display layout are the original display modes of the server for the target data through the pairing application program. For example, as for the text message data, the text message data is composed of text or a photograph, and thus, the display format includes the font size, font color, photograph of the text, the relative position of the photograph and the text, and the like. For web page data, the display format includes text, pictures, video, web page links on the web page, and combinations of these data. The display format of the game data is game map data provided by the game server, game character data, and game execution data of the user operating the game character (such as display data of actions such as operating the game character to fight, jump, etc.).
The display module 203 is configured to display the target data to a video barrage mask in the display format.
Specifically, after the obtaining module 202 obtains the target data and the corresponding display format, the display module 203 further displays the target data to the video barrage mask in the video playing window in the display format. In this embodiment, the computer device establishes a video bullet screen at a preset position of the video playing window, and sets a conditional trigger. That is, after the receiving module 201 detects that the user triggers the data display request through the video playing window, the obtaining module 202 obtains the target data and the display format, and then the display module 203 triggers the video bullet screen to pop up, and the display format displays the target data.
In an embodiment, the display module 203 establishes the video barrage mask according to the display page size included in the display format, and then renders the target data to the video barrage mask in real time through a rendering technology.
Specifically, the display module 203 adjusts a preset initial video bullet screen, including a display shape and a display size, according to a display style and display layout data included in the display format; and then rendering the received target data to the adjusted video barrage mask in real time. In this embodiment, the step of acquiring the target data by the acquiring module 202 is to acquire the resource address of the target data first, and establish a connection, so that the display module 203 can receive the target data in real time and then render the target data to the video barrage mask through a rendering technology. The target data can be drawn to the video barrage mask according to the corresponding original display format by using a rendering technology, and of course, in a specific rendering process, since the game picture and the video playing picture are dynamic, the display module 203 can automatically adjust the transparency of the video barrage mask to be semitransparent, so that the video barrage mask cannot be influenced by the video playing picture. In short, the target data is displayed to the video bullet screen of the video playing window through the rendering technology, so that the display format in the target data can be well restored.
In another embodiment, the display module 203 first establishes the video barrage mask according to the display page size included in the display format, and then maps the target data to the video barrage mask in real time through an image mapping manner.
Specifically, the display module 203 adjusts a preset initial video bullet screen, including a display shape and a display size, according to a display style and display layout data included in the display format; and then mapping the received target data to the adjusted video barrage mask in real time. In this embodiment, after the obtaining module 202 obtains the target data, the display module 203 invokes an application program corresponding to the target data to display, and then maps the display effect to the video barrage mask in real time. Of course, the process of calling the corresponding application program to display is executed through the background, and the display result of the background execution is mapped to the video barrage mask. The mapping technology is any image mapping technology that is mature in the prior art, and the display module 203 maps the display image of the target data in the corresponding application program to the video bullet screen in an equal ratio or in a reduced or enlarged manner through the mapping technology. Therefore, the display format in the target data can also be well restored.
The feedback module 204 is configured to monitor and receive user interaction data on the video bullet screen, and feed back the user interaction data to a server corresponding to the target data.
Specifically, the feedback module 204 may monitor the video barrage mask, and when it is monitored that the user performs the interaction data including the input interaction data through the video barrage mask, the feedback module 204 feeds back the user interaction data to the server corresponding to the target data. In this embodiment, since the size of the video barrage mask and the display format of the target data correspond to each other, the feedback module 204 may monitor the position of the user's clicking, touching or sliding operation on the video barrage mask, and then determine the specific operation instruction of the user on the target data according to the display format of the target data of the size of the video barrage mask. For example, the display range of the target data is 200×200, the computer device divides the video barrage mask into 100×100 coordinate units, and then, according to the position of the clicking operation of the user in the video barrage mask, for example, (50, 50), the feedback module 204 may determine that the specific operation instruction of the user is at the position point of (100 ) in the display range corresponding to the target data.
In this embodiment, the feedback module 204 feeds back the user interaction data to a server corresponding to the target data, where the target data in the server is refreshed. For example, for the web page data, the user clicks on the link in the video barrage mask, the feedback module 204 returns the operation instruction of clicking on the link to the web page data server, and then the web page data server adaptively jumps to the linked web page; for interaction of game data, the user drags the game character in the video barrage mask, then the feedback module 204 may feed back the movement data of the game character to the game data server, and then the game data server may adaptively move the game character from one position of the game map to a corresponding position; of course, for the interaction of the sms data, the user replies text in the video barrage mask, and the feedback module 204 may return the replied text to the sms data server, i.e. reply sms. In this way, the feedback module 204 may capture the user interaction data for the target data and then feed it back to the server in real time. Therefore, the computer equipment can display the target data in the video playing window, and can receive the interactive data for the displayed target data and feed back the interactive data.
As can be seen from the above, the computer device is capable of, after receiving a data display request, acquiring target data corresponding to the data display request and a display format of the target data, and then displaying the target data in the display format to a video bullet screen. By the method, the video barrage mask is built in the video playing window, and then the target data is displayed on the video barrage mask according to the display format of the target data, so that fusion display between the video data and other data is realized, the diversified requirements of users are met, and the user experience is improved.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method for displaying data based on a video bullet screen, the method comprising the steps of:
providing a setting for triggering a data display request in a video playing window, and receiving the data display request triggered by a user, wherein the data display request is a display request, triggered by the user, of data which is currently required to be displayed in a target application in use in the video playing window, and the target application is other application programs except an application program for playing the video in computer equipment;
acquiring target data corresponding to the data display request and a display format of the target data, wherein the display format is an original display mode of the target application on the target data;
and displaying the target data to a video barrage mask in the display format, wherein the video barrage mask is adjusted according to the display format.
2. The video-bullet-based data display method of claim 1 wherein said presenting said target data to a video bullet screen in said display format comprises:
establishing the video bullet screen mask according to the display page size contained in the display format;
and rendering the target data to the video barrage mask in real time through a rendering technology.
3. The video-bullet-based data display method of claim 1 wherein said presenting said target data to a video bullet screen in said display format comprises:
establishing the video bullet screen mask according to the display page size contained in the display format;
and mapping the target data to the video barrage mask in real time in a through image mapping mode.
4. The video-barrage-based data display method of claim 1, wherein the target data comprises one of text message data, web page data and game data; the display format includes a display style and a display layout.
5. The video-bullet screen-based data display method of claim 1, further comprising:
monitoring and receiving user interaction data on the video bullet screen;
and feeding back the user interaction data to a server corresponding to the target data.
6. A video-bullet screen-based data display apparatus, the apparatus comprising:
the receiving module is used for providing a setting for triggering a data display request in a video playing window and receiving the data display request triggered by a user, wherein the data display request is a display request, triggered by the user, of data which is required to be displayed currently in a target application in use in the video playing window, and the target application is other application programs except an application program for playing the video in computer equipment;
the acquisition module is used for acquiring target data corresponding to the data display request and a display format of the target data, wherein the display format is an original display mode of the target application on the target data;
and the display module is used for displaying the target data to a video barrage mask in the display format, wherein the video barrage mask is adjusted according to the display format.
7. The video-bullet screen-based data display apparatus of claim 6 wherein said display module is further configured to:
establishing the video bullet screen mask according to the display page size contained in the display format;
and rendering the target data to the video barrage mask in real time through a rendering technology.
8. The video-bullet screen-based data display apparatus of claim 6 wherein said display module is further configured to:
establishing the video bullet screen mask according to the display page size contained in the display format;
and mapping the target data to the video barrage mask in real time in a through image mapping mode.
9. A computer device comprising a memory, a processor, the memory having stored thereon a computer program executable on the processor, the computer program implementing the steps of the video-bullet screen-based data display method of any of claims 1-5 when executed by the processor.
10. A computer readable storage medium storing a computer program executable by at least one processor to cause the at least one processor to perform the steps of the video-bullet screen-based data display method of any one of claims 1-5.
CN202010095032.XA 2020-02-17 2020-02-17 Video barrage-based data display method and device and computer equipment Active CN113271502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010095032.XA CN113271502B (en) 2020-02-17 2020-02-17 Video barrage-based data display method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010095032.XA CN113271502B (en) 2020-02-17 2020-02-17 Video barrage-based data display method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN113271502A CN113271502A (en) 2021-08-17
CN113271502B true CN113271502B (en) 2023-04-28

Family

ID=77227429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010095032.XA Active CN113271502B (en) 2020-02-17 2020-02-17 Video barrage-based data display method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN113271502B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2099200A1 (en) * 2008-03-04 2009-09-09 Vodafone Holding GmbH Method and client device for displaying contents on a mobile terminal
CN106792034A (en) * 2017-02-10 2017-05-31 深圳创维-Rgb电子有限公司 Live method and mobile terminal is carried out based on mobile terminal
WO2017113856A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Barrage display method and device
CN110535839A (en) * 2019-08-15 2019-12-03 咪咕文化科技有限公司 A kind of information processing method, equipment, system and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307001A (en) * 2015-09-30 2016-02-03 天脉聚源(北京)科技有限公司 Method and device for real-time displaying release information on video program
CN106792176A (en) * 2016-12-27 2017-05-31 三星电子(中国)研发中心 The method and intelligent terminal of short message are shown in video playback
CN106658145B (en) * 2016-12-27 2020-07-03 北京奇虎科技有限公司 Live broadcast data processing method and device
CN110019961A (en) * 2017-08-24 2019-07-16 北京搜狗科技发展有限公司 Method for processing video frequency and device, for the device of video processing
CN108416256A (en) * 2018-01-17 2018-08-17 南京邮电大学 The family's cloud intelligent monitor system and monitoring method of feature based identification
CN109348252B (en) * 2018-11-01 2020-01-10 腾讯科技(深圳)有限公司 Video playing method, video transmission method, device, equipment and storage medium
CN110225365A (en) * 2019-04-23 2019-09-10 北京奇艺世纪科技有限公司 A kind of method, server and the client of the interaction of masking-out barrage
CN110753270B (en) * 2019-10-16 2022-06-10 北京达佳互联信息技术有限公司 Information display method, device, terminal, server, system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2099200A1 (en) * 2008-03-04 2009-09-09 Vodafone Holding GmbH Method and client device for displaying contents on a mobile terminal
WO2017113856A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Barrage display method and device
CN106792034A (en) * 2017-02-10 2017-05-31 深圳创维-Rgb电子有限公司 Live method and mobile terminal is carried out based on mobile terminal
CN110535839A (en) * 2019-08-15 2019-12-03 咪咕文化科技有限公司 A kind of information processing method, equipment, system and computer readable storage medium

Also Published As

Publication number Publication date
CN113271502A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN111541930B (en) Live broadcast picture display method and device, terminal and storage medium
CN111629240B (en) Multi-screen interactive display method and device
CN108427546B (en) Full screen adaptation method of display device, display device and storage medium
EP4296851A1 (en) Method and apparatus for displaying application picture, and terminal, screen projection system and medium
EP2075714A1 (en) Apparatus and methods for retrieving/downloading content on a communication device
CN110990741B (en) Page display method and device, electronic equipment, server and storage medium
CN110704059B (en) Image processing method, device, electronic equipment and storage medium
EP3142006A2 (en) Device control method and apparatus
US11314391B2 (en) Navigation bar controlling method and terminal
CN106791915B (en) Method and device for displaying video image
CN110572706B (en) Video screenshot method, terminal and computer-readable storage medium
EP3061214B1 (en) Method and apparatus for displaying image
CN112437318A (en) Content display method, device and system and storage medium
CN111381749A (en) Image display and processing method, device, equipment and storage medium
CN112843680A (en) Picture display method and device, terminal equipment and storage medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN108933947B (en) Bullet screen display method and device
CN110971974B (en) Configuration parameter creating method, device, terminal and storage medium
CN113590072A (en) Split screen display method and device
CN112016023A (en) Service processing method, device, terminal and storage medium
CN113271502B (en) Video barrage-based data display method and device and computer equipment
CN112328193A (en) Multi-terminal screen combination method, device, equipment and computer storage medium
JP2012079188A (en) Style information processor and method
CN111010528A (en) Video call method, mobile terminal and computer readable storage medium
CN108415746B (en) Application interface display method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant